diff --git a/assets/aleksei-polechin-cv.pdf b/assets/aleksei-polechin-cv.pdf deleted file mode 100644 index 110b25a..0000000 Binary files a/assets/aleksei-polechin-cv.pdf and /dev/null differ diff --git a/index.csr.html b/index.csr.html index 69e9176..121b21b 100644 --- a/index.csr.html +++ b/index.csr.html @@ -24,5 +24,5 @@ - + diff --git a/index.html b/index.html index c8ee073..e44a3b8 100644 --- a/index.html +++ b/index.html @@ -19,10 +19,10 @@ gtag("config", "GT-TBBPZFBN"); - + -

Aleksei Polechin
Front-end developer
with graphic design skills

Download CV

Angular, TypeScript, JavaScript, NodeJs, Adobe Suite

- +

Aleksei Polechin
Front-end developer
with graphic design skills

Angular, TypeScript, JavaScript, NodeJs, Adobe Suite

+ - \ No newline at end of file + \ No newline at end of file diff --git a/main-CBLWPKFD.js b/main-GG6QWL56.js similarity index 68% rename from main-CBLWPKFD.js rename to main-GG6QWL56.js index c9616e9..6b87c75 100644 --- a/main-CBLWPKFD.js +++ b/main-GG6QWL56.js @@ -1,8 +1,8 @@ -var nh=Object.defineProperty,rh=Object.defineProperties;var oh=Object.getOwnPropertyDescriptors;var vr=Object.getOwnPropertySymbols;var Wa=Object.prototype.hasOwnProperty,Za=Object.prototype.propertyIsEnumerable;var qa=(e,t,n)=>t in e?nh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})Wa.call(t,n)&&qa(e,n,t[n]);if(vr)for(var n of vr(t))Za.call(t,n)&&qa(e,n,t[n]);return e},$=(e,t)=>rh(e,oh(t));var Ya=(e,t)=>{var n={};for(var r in e)Wa.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&vr)for(var r of vr(e))t.indexOf(r)<0&&Za.call(e,r)&&(n[r]=e[r]);return n};var ai=null;var si=1,Qa=Symbol("SIGNAL");function P(e){let t=ai;return ai=e,t}function Ka(){return ai}var ci={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 ih(e){if(!(hi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===si)){if(!e.producerMustRecompute(e)&&!li(e)){e.dirty=!1,e.lastCleanEpoch=si;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=si}}function ui(e){return e&&(e.nextProducerIndex=0),P(e)}function Ja(e,t){if(P(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(hi(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function li(e){pi(e);for(let t=0;t0}function pi(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function sh(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ah(e){return e.producerNode!==void 0}function ch(){throw new Error}var uh=ch;function Xa(e){uh=e}function v(e){return typeof e=="function"}function _t(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var yr=_t(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +var nh=Object.defineProperty,rh=Object.defineProperties;var oh=Object.getOwnPropertyDescriptors;var vr=Object.getOwnPropertySymbols;var qa=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable;var Ga=(e,t,n)=>t in e?nh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||={})qa.call(t,n)&&Ga(e,n,t[n]);if(vr)for(var n of vr(t))Wa.call(t,n)&&Ga(e,n,t[n]);return e},$=(e,t)=>rh(e,oh(t));var Za=(e,t)=>{var n={};for(var r in e)qa.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&vr)for(var r of vr(e))t.indexOf(r)<0&&Wa.call(e,r)&&(n[r]=e[r]);return n};var si=null;var ii=1,Ya=Symbol("SIGNAL");function P(e){let t=si;return si=e,t}function Qa(){return si}var ai={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 ih(e){if(!(fi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ii)){if(!e.producerMustRecompute(e)&&!ui(e)){e.dirty=!1,e.lastCleanEpoch=ii;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ii}}function ci(e){return e&&(e.nextProducerIndex=0),P(e)}function Ka(e,t){if(P(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(fi(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ui(e){hi(e);for(let t=0;t0}function hi(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function sh(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function ah(e){return e.producerNode!==void 0}function ch(){throw new Error}var uh=ch;function Ja(e){uh=e}function v(e){return typeof e=="function"}function _t(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var yr=_t(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function vn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=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(v(r))try{r()}catch(i){t=i instanceof yr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ec(i)}catch(s){t=t??[],s instanceof yr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new yr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ec(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)&&vn(n,t)}remove(t){let{_finalizers:n}=this;n&&vn(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var gi=B.EMPTY;function Dr(e){return e instanceof B||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function ec(e){v(e)?e():e.unsubscribe()}var we={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var At={setTimeout(e,t,...n){let{delegate:r}=At;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=At;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wr(e){At.setTimeout(()=>{let{onUnhandledError:t}=we;if(t)t(e);else throw e})}function yn(){}var tc=mi("C",void 0,void 0);function nc(e){return mi("E",void 0,e)}function rc(e){return mi("N",e,void 0)}function mi(e,t,n){return{kind:e,value:t,error:n}}var ut=null;function Rt(e){if(we.useDeprecatedSynchronousErrorHandling){let t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ut;if(ut=null,n)throw r}}else e()}function oc(e){we.useDeprecatedSynchronousErrorHandling&&ut&&(ut.errorThrown=!0,ut.error=e)}var lt=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Dr(t)&&t.add(this)):this.destination=fh}static create(t,n,r){return new Ot(t,n,r)}next(t){this.isStopped?yi(rc(t),this):this._next(t)}error(t){this.isStopped?yi(nc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?yi(tc,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()}}},lh=Function.prototype.bind;function vi(e,t){return lh.call(e,t)}var Di=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Er(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Er(r)}else Er(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Er(n)}}},Ot=class extends lt{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&we.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&vi(t.next,i),error:t.error&&vi(t.error,i),complete:t.complete&&vi(t.complete,i)}):o=t}this.destination=new Di(o)}};function Er(e){we.useDeprecatedSynchronousErrorHandling?oc(e):wr(e)}function dh(e){throw e}function yi(e,t){let{onStoppedNotification:n}=we;n&&At.setTimeout(()=>n(e,t))}var fh={closed:!0,next:yn,error:dh,complete:yn};var Pt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function re(e){return e}function wi(...e){return Ei(e)}function Ei(e){return e.length===0?re:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{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=ph(n)?n:new Ot(n,r,o);return Rt(()=>{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=ic(r),new r((o,i)=>{let s=new Ot({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Pt](){return this}pipe(...n){return Ei(n)(this)}toPromise(n){return n=ic(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 ic(e){var t;return(t=e??we.Promise)!==null&&t!==void 0?t:Promise}function hh(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function ph(e){return e&&e instanceof lt||hh(e)&&Dr(e)}function Ii(e){return v(e?.lift)}function N(e){return t=>{if(Ii(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 _(e,t,n,r,o){return new Ci(e,t,n,r,o)}var Ci=class extends lt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function kt(){return N((e,t)=>{let n=null;e._refCount++;let r=_(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 Ft=class extends A{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ii(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 B;let n=this.getSubject();t.add(this.source.subscribe(_(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=B.EMPTY)}return t}refCount(){return kt()(this)}};var sc=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Ir(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new sc}next(n){Rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Rt(()=>{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(){Rt(()=>{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?gi:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,vn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new Ir(t,n),e})(),Ir=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:gi}};var Y=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 oe=new A(e=>e.complete());function ac(e){return e&&v(e.schedule)}function cc(e){return e[e.length-1]}function uc(e){return v(cc(e))?e.pop():void 0}function Qe(e){return ac(cc(e))?e.pop():void 0}function dc(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{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function lc(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 dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function fc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(x){return new Promise(function(j,V){i.push([f,x,j,V])>1||c(f,x)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(r[f](m))}catch(x){p(i[0][3],x)}}function u(f){f.value instanceof dt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function hc(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 lc=="function"?lc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Lt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Cr(e){return v(e?.then)}function br(e){return v(e[Pt])}function Mr(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Sr(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 gh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Tr=gh();function xr(e){return v(e?.[Tr])}function Nr(e){return fc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function _r(e){return v(e?.getReader)}function H(e){if(e instanceof A)return e;if(e!=null){if(br(e))return mh(e);if(Lt(e))return vh(e);if(Cr(e))return yh(e);if(Mr(e))return pc(e);if(xr(e))return Dh(e);if(_r(e))return wh(e)}throw Sr(e)}function mh(e){return new A(t=>{let n=e[Pt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function vh(e){return new A(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,wr)})}function Dh(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function pc(e){return new A(t=>{Eh(e,t).catch(n=>t.error(n))})}function wh(e){return pc(Nr(e))}function Eh(e,t){var n,r,o,i;return dc(this,void 0,void 0,function*(){try{for(n=hc(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 te(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 Ar(e,t=0){return N((n,r)=>{n.subscribe(_(r,o=>te(r,e,()=>r.next(o),t),()=>te(r,e,()=>r.complete(),t),o=>te(r,e,()=>r.error(o),t)))})}function Rr(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function gc(e,t){return H(e).pipe(Rr(t),Ar(t))}function mc(e,t){return H(e).pipe(Rr(t),Ar(t))}function vc(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function yc(e,t){return new A(n=>{let r;return te(n,t,()=>{r=e[Tr](),te(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)}),()=>v(r?.return)&&r.return()})}function Or(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{te(n,t,()=>{let r=e[Symbol.asyncIterator]();te(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Dc(e,t){return Or(Nr(e),t)}function wc(e,t){if(e!=null){if(br(e))return gc(e,t);if(Lt(e))return vc(e,t);if(Cr(e))return mc(e,t);if(Mr(e))return Or(e,t);if(xr(e))return yc(e,t);if(_r(e))return Dc(e,t)}throw Sr(e)}function z(e,t){return t?wc(e,t):H(e)}function D(...e){let t=Qe(e);return z(e,t)}function jt(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new A(t?o=>t.schedule(r,0,o):r)}function bi(e){return!!e&&(e instanceof A||v(e.lift)&&v(e.subscribe))}var $e=_t(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function S(e,t){return N((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Ih}=Array;function Ch(e,t){return Ih(t)?e(...t):e(t)}function Pr(e){return S(t=>Ch(e,t))}var{isArray:bh}=Array,{getPrototypeOf:Mh,prototype:Sh,keys:Th}=Object;function Ec(e){if(e.length===1){let t=e[0];if(bh(t))return{args:t,keys:null};if(xh(t)){let n=Th(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function xh(e){return e&&typeof e=="object"&&Mh(e)===Sh}function Ic(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function kr(...e){let t=Qe(e),n=uc(e),{args:r,keys:o}=Ec(e);if(r.length===0)return z([],t);let i=new A(Nh(r,t,o?s=>Ic(o,s):re));return n?i.pipe(Pr(n)):i}function Nh(e,t,n=re){return r=>{Cc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=z(e[c],t),l=!1;u.subscribe(_(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Cc(e,t,n){e?te(n,e,t):t()}function bc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=x=>u{i&&t.next(x),u++;let j=!1;H(n(x,l++)).subscribe(_(t,V=>{o?.(V),i?f(V):t.next(V)},()=>{j=!0},void 0,()=>{if(j)try{for(u--;c.length&&um(V)):m(V)}p()}catch(V){t.error(V)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function U(e,t,n=1/0){return v(t)?U((r,o)=>S((i,s)=>t(r,i,o,s))(H(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>bc(r,o,e,n)))}function Mi(e=1/0){return U(re,e)}function Mc(){return Mi(1)}function Vt(...e){return Mc()(z(e,Qe(e)))}function Fr(e){return new A(t=>{H(e()).subscribe(t)})}var _h=["addListener","removeListener"],Ah=["addEventListener","removeEventListener"],Rh=["on","off"];function Dn(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return Dn(e,t,n).pipe(Pr(r));let[o,i]=kh(e)?Ah.map(s=>a=>e[s](t,a,n)):Oh(e)?_h.map(Sc(e,t)):Ph(e)?Rh.map(Sc(e,t)):[];if(!o&&Lt(e))return U(s=>Dn(s,t,n))(H(e));if(!o)throw new TypeError("Invalid event target");return new A(s=>{let a=(...c)=>s.next(1i(a)})}function Sc(e,t){return n=>r=>e[n](t,r)}function Oh(e){return v(e.addListener)&&v(e.removeListener)}function Ph(e){return v(e.on)&&v(e.off)}function kh(e){return v(e.addEventListener)&&v(e.removeEventListener)}function de(e,t){return N((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ke(e){return N((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=H(e(s,Ke(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Tc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(_(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ft(e,t){return v(t)?U(e,t,1):U(e,1)}function Je(e){return N((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ue(e){return e<=0?()=>oe:N((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Si(e){return S(()=>e)}function Lr(e=Fh){return N((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Fh(){return new $e}function $t(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ee(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):re,Ue(1),n?Je(t):Lr(()=>new $e))}function Ut(e){return e<=0?()=>oe:N((t,n)=>{let r=[];t.subscribe(_(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Ti(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):re,Ut(1),n?Je(t):Lr(()=>new $e))}function xi(e,t){return N(Tc(e,t,arguments.length>=2,!0))}function Ni(...e){let t=Qe(e);return N((n,r)=>{(t?Vt(e,n,t):Vt(e,n)).subscribe(r)})}function fe(e,t){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let u=0,l=i++;H(e(c,l)).subscribe(o=_(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bt(e){return N((t,n)=>{H(e).subscribe(_(n,()=>n.complete(),yn)),!n.closed&&t.subscribe(n)})}function q(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):re}var y=class extends Error{constructor(t,n){super(go(t,n)),this.code=t}};function go(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function ys(e){return{toString:e}.toString()}function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function ie(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ie).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 xc(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Lh=k({__forward_ref__:k});function uu(e){return e.__forward_ref__=uu,e.toString=function(){return ie(this())},e}function pe(e){return lu(e)?e():e}function lu(e){return typeof e=="function"&&e.hasOwnProperty(Lh)&&e.__forward_ref__===uu}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mo(e){return Nc(e,fu)||Nc(e,hu)}function du(e){return mo(e)!==null}function Nc(e,t){return e.hasOwnProperty(t)?e[t]:null}function jh(e){let t=e&&(e[fu]||e[hu]);return t||null}function _c(e){return e&&(e.hasOwnProperty(Ac)||e.hasOwnProperty(Vh))?e[Ac]:null}var fu=k({\u0275prov:k}),Ac=k({\u0275inj:k}),hu=k({ngInjectableDef:k}),Vh=k({ngInjectorDef:k}),w=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=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function pu(e){return e&&!!e.\u0275providers}var $h=k({\u0275cmp:k}),Uh=k({\u0275dir:k}),Bh=k({\u0275pipe:k}),Hh=k({\u0275mod:k}),Wr=k({\u0275fac:k}),En=k({__NG_ELEMENT_ID__:k}),Rc=k({__NG_ENV_ID__:k});function zh(e){return typeof e=="string"?e:e==null?"":String(e)}function Gh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():zh(e)}function qh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function Ds(e,t){throw new y(-201,!1)}var b=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(b||{}),$i;function gu(){return $i}function he(e){let t=$i;return $i=e,t}function mu(e,t,n){let r=mo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&b.Optional)return null;if(t!==void 0)return t;Ds(e,"Injector")}var Wh={},In=Wh,Zh="__NG_DI_FLAG__",Zr="ngTempTokenPath",Yh="ngTokenPath",Qh=/\n/gm,Kh="\u0275",Oc="__source",qt;function Jh(){return qt}function Xe(e){let t=qt;return qt=e,t}function Xh(e,t=b.Default){if(qt===void 0)throw new y(-203,!1);return qt===null?mu(e,void 0,t):qt.get(e,t&b.Optional?null:void 0,t)}function T(e,t=b.Default){return(gu()||Xh)(pe(e),t)}function h(e,t=b.Default){return T(e,vo(t))}function vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ui(e){let t=[];for(let n=0;n{let e=new B;return e.closed=!0,e})();var pi=B.EMPTY;function Dr(e){return e instanceof B||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Xa(e){v(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var At={setTimeout(e,t,...n){let{delegate:r}=At;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=At;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wr(e){At.setTimeout(()=>{let{onUnhandledError:t}=De;if(t)t(e);else throw e})}function yn(){}var ec=gi("C",void 0,void 0);function tc(e){return gi("E",void 0,e)}function nc(e){return gi("N",e,void 0)}function gi(e,t,n){return{kind:e,value:t,error:n}}var ut=null;function Rt(e){if(De.useDeprecatedSynchronousErrorHandling){let t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ut;if(ut=null,n)throw r}}else e()}function rc(e){De.useDeprecatedSynchronousErrorHandling&&ut&&(ut.errorThrown=!0,ut.error=e)}var lt=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Dr(t)&&t.add(this)):this.destination=fh}static create(t,n,r){return new Ot(t,n,r)}next(t){this.isStopped?vi(nc(t),this):this._next(t)}error(t){this.isStopped?vi(tc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?vi(ec,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()}}},lh=Function.prototype.bind;function mi(e,t){return lh.call(e,t)}var yi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Er(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Er(r)}else Er(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Er(n)}}},Ot=class extends lt{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&De.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&mi(t.next,i),error:t.error&&mi(t.error,i),complete:t.complete&&mi(t.complete,i)}):o=t}this.destination=new yi(o)}};function Er(e){De.useDeprecatedSynchronousErrorHandling?rc(e):wr(e)}function dh(e){throw e}function vi(e,t){let{onStoppedNotification:n}=De;n&&At.setTimeout(()=>n(e,t))}var fh={closed:!0,next:yn,error:dh,complete:yn};var Pt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function re(e){return e}function Di(...e){return wi(e)}function wi(e){return e.length===0?re:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{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=ph(n)?n:new Ot(n,r,o);return Rt(()=>{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=oc(r),new r((o,i)=>{let s=new Ot({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Pt](){return this}pipe(...n){return wi(n)(this)}toPromise(n){return n=oc(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 oc(e){var t;return(t=e??De.Promise)!==null&&t!==void 0?t:Promise}function hh(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function ph(e){return e&&e instanceof lt||hh(e)&&Dr(e)}function Ei(e){return v(e?.lift)}function N(e){return t=>{if(Ei(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 _(e,t,n,r,o){return new Ii(e,t,n,r,o)}var Ii=class extends lt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function kt(){return N((e,t)=>{let n=null;e._refCount++;let r=_(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 Ft=class extends A{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ei(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 B;let n=this.getSubject();t.add(this.source.subscribe(_(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=B.EMPTY)}return t}refCount(){return kt()(this)}};var ic=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Z=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Ir(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ic}next(n){Rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Rt(()=>{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(){Rt(()=>{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?pi:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,vn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new Ir(t,n),e})(),Ir=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:pi}};var Y=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 oe=new A(e=>e.complete());function sc(e){return e&&v(e.schedule)}function ac(e){return e[e.length-1]}function cc(e){return v(ac(e))?e.pop():void 0}function Qe(e){return sc(ac(e))?e.pop():void 0}function lc(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{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function uc(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 dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function dc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(x){return new Promise(function(j,V){i.push([f,x,j,V])>1||c(f,x)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(r[f](m))}catch(x){p(i[0][3],x)}}function u(f){f.value instanceof dt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function fc(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 uc=="function"?uc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Lt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Cr(e){return v(e?.then)}function br(e){return v(e[Pt])}function Mr(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Sr(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 gh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Tr=gh();function xr(e){return v(e?.[Tr])}function Nr(e){return dc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function _r(e){return v(e?.getReader)}function H(e){if(e instanceof A)return e;if(e!=null){if(br(e))return mh(e);if(Lt(e))return vh(e);if(Cr(e))return yh(e);if(Mr(e))return hc(e);if(xr(e))return Dh(e);if(_r(e))return wh(e)}throw Sr(e)}function mh(e){return new A(t=>{let n=e[Pt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function vh(e){return new A(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,wr)})}function Dh(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function hc(e){return new A(t=>{Eh(e,t).catch(n=>t.error(n))})}function wh(e){return hc(Nr(e))}function Eh(e,t){var n,r,o,i;return lc(this,void 0,void 0,function*(){try{for(n=fc(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 te(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 Ar(e,t=0){return N((n,r)=>{n.subscribe(_(r,o=>te(r,e,()=>r.next(o),t),()=>te(r,e,()=>r.complete(),t),o=>te(r,e,()=>r.error(o),t)))})}function Rr(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function pc(e,t){return H(e).pipe(Rr(t),Ar(t))}function gc(e,t){return H(e).pipe(Rr(t),Ar(t))}function mc(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function vc(e,t){return new A(n=>{let r;return te(n,t,()=>{r=e[Tr](),te(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)}),()=>v(r?.return)&&r.return()})}function Or(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{te(n,t,()=>{let r=e[Symbol.asyncIterator]();te(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function yc(e,t){return Or(Nr(e),t)}function Dc(e,t){if(e!=null){if(br(e))return pc(e,t);if(Lt(e))return mc(e,t);if(Cr(e))return gc(e,t);if(Mr(e))return Or(e,t);if(xr(e))return vc(e,t);if(_r(e))return yc(e,t)}throw Sr(e)}function z(e,t){return t?Dc(e,t):H(e)}function D(...e){let t=Qe(e);return z(e,t)}function jt(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new A(t?o=>t.schedule(r,0,o):r)}function Ci(e){return!!e&&(e instanceof A||v(e.lift)&&v(e.subscribe))}var $e=_t(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function S(e,t){return N((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Ih}=Array;function Ch(e,t){return Ih(t)?e(...t):e(t)}function Pr(e){return S(t=>Ch(e,t))}var{isArray:bh}=Array,{getPrototypeOf:Mh,prototype:Sh,keys:Th}=Object;function wc(e){if(e.length===1){let t=e[0];if(bh(t))return{args:t,keys:null};if(xh(t)){let n=Th(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function xh(e){return e&&typeof e=="object"&&Mh(e)===Sh}function Ec(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function kr(...e){let t=Qe(e),n=cc(e),{args:r,keys:o}=wc(e);if(r.length===0)return z([],t);let i=new A(Nh(r,t,o?s=>Ec(o,s):re));return n?i.pipe(Pr(n)):i}function Nh(e,t,n=re){return r=>{Ic(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=z(e[c],t),l=!1;u.subscribe(_(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ic(e,t,n){e?te(n,e,t):t()}function Cc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=x=>u{i&&t.next(x),u++;let j=!1;H(n(x,l++)).subscribe(_(t,V=>{o?.(V),i?f(V):t.next(V)},()=>{j=!0},void 0,()=>{if(j)try{for(u--;c.length&&um(V)):m(V)}p()}catch(V){t.error(V)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function U(e,t,n=1/0){return v(t)?U((r,o)=>S((i,s)=>t(r,i,o,s))(H(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>Cc(r,o,e,n)))}function bi(e=1/0){return U(re,e)}function bc(){return bi(1)}function Vt(...e){return bc()(z(e,Qe(e)))}function Fr(e){return new A(t=>{H(e()).subscribe(t)})}var _h=["addListener","removeListener"],Ah=["addEventListener","removeEventListener"],Rh=["on","off"];function Dn(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return Dn(e,t,n).pipe(Pr(r));let[o,i]=kh(e)?Ah.map(s=>a=>e[s](t,a,n)):Oh(e)?_h.map(Mc(e,t)):Ph(e)?Rh.map(Mc(e,t)):[];if(!o&&Lt(e))return U(s=>Dn(s,t,n))(H(e));if(!o)throw new TypeError("Invalid event target");return new A(s=>{let a=(...c)=>s.next(1i(a)})}function Mc(e,t){return n=>r=>e[n](t,r)}function Oh(e){return v(e.addListener)&&v(e.removeListener)}function Ph(e){return v(e.on)&&v(e.off)}function kh(e){return v(e.addEventListener)&&v(e.removeEventListener)}function de(e,t){return N((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ke(e){return N((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=H(e(s,Ke(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Sc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(_(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ft(e,t){return v(t)?U(e,t,1):U(e,1)}function Je(e){return N((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ue(e){return e<=0?()=>oe:N((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Mi(e){return S(()=>e)}function Lr(e=Fh){return N((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Fh(){return new $e}function $t(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function we(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):re,Ue(1),n?Je(t):Lr(()=>new $e))}function Ut(e){return e<=0?()=>oe:N((t,n)=>{let r=[];t.subscribe(_(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Si(e,t){let n=arguments.length>=2;return r=>r.pipe(e?de((o,i)=>e(o,i,r)):re,Ut(1),n?Je(t):Lr(()=>new $e))}function Ti(e,t){return N(Sc(e,t,arguments.length>=2,!0))}function xi(...e){let t=Qe(e);return N((n,r)=>{(t?Vt(e,n,t):Vt(e,n)).subscribe(r)})}function fe(e,t){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let u=0,l=i++;H(e(c,l)).subscribe(o=_(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bt(e){return N((t,n)=>{H(e).subscribe(_(n,()=>n.complete(),yn)),!n.closed&&t.subscribe(n)})}function q(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):re}var y=class extends Error{constructor(t,n){super(go(t,n)),this.code=t}};function go(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function vs(e){return{toString:e}.toString()}function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function ie(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ie).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 Tc(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Lh=k({__forward_ref__:k});function cu(e){return e.__forward_ref__=cu,e.toString=function(){return ie(this())},e}function pe(e){return uu(e)?e():e}function uu(e){return typeof e=="function"&&e.hasOwnProperty(Lh)&&e.__forward_ref__===cu}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mo(e){return xc(e,du)||xc(e,fu)}function lu(e){return mo(e)!==null}function xc(e,t){return e.hasOwnProperty(t)?e[t]:null}function jh(e){let t=e&&(e[du]||e[fu]);return t||null}function Nc(e){return e&&(e.hasOwnProperty(_c)||e.hasOwnProperty(Vh))?e[_c]:null}var du=k({\u0275prov:k}),_c=k({\u0275inj:k}),fu=k({ngInjectableDef:k}),Vh=k({ngInjectorDef:k}),w=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=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function hu(e){return e&&!!e.\u0275providers}var $h=k({\u0275cmp:k}),Uh=k({\u0275dir:k}),Bh=k({\u0275pipe:k}),Hh=k({\u0275mod:k}),Wr=k({\u0275fac:k}),En=k({__NG_ELEMENT_ID__:k}),Ac=k({__NG_ENV_ID__:k});function zh(e){return typeof e=="string"?e:e==null?"":String(e)}function Gh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():zh(e)}function qh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new y(-200,e)}function ys(e,t){throw new y(-201,!1)}var b=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(b||{}),Vi;function pu(){return Vi}function he(e){let t=Vi;return Vi=e,t}function gu(e,t,n){let r=mo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&b.Optional)return null;if(t!==void 0)return t;ys(e,"Injector")}var Wh={},In=Wh,Zh="__NG_DI_FLAG__",Zr="ngTempTokenPath",Yh="ngTokenPath",Qh=/\n/gm,Kh="\u0275",Rc="__source",qt;function Jh(){return qt}function Xe(e){let t=qt;return qt=e,t}function Xh(e,t=b.Default){if(qt===void 0)throw new y(-203,!1);return qt===null?gu(e,void 0,t):qt.get(e,t&b.Optional?null:void 0,t)}function T(e,t=b.Default){return(pu()||Xh)(pe(e),t)}function h(e,t=b.Default){return T(e,vo(t))}function vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $i(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Qh,` - `)}`}function Zt(e,t){let n=e.hasOwnProperty(Wr);return n?e[Wr]:null}function ws(e,t){e.forEach(n=>Array.isArray(n)?ws(n,t):t(n))}function vu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Cn={},gt=[],mt=new w(""),yu=new w("",-1),Du=new w(""),Qr=class{get(t,n=In){if(n===In){let r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}},wu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(wu||{}),Ne=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ne||{}),nt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(nt||{});function rp(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 Bi(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function up(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=kc(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=kc(i,o)),t}function pp(e){return e.map(hp).join(",")}function gp(e){let t=[],n=[],r=1,o=2;for(;r{let t=Su(e),n=$(g({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ne.Emulated,styles:e.styles||gt,_:null,schemas:e.schemas||null,tView:null,id:""});Tu(n);let r=e.dependencies;return n.directiveDefs=Lc(r,!1),n.pipeDefs=Lc(r,!0),n.id=yp(n),n})}function mp(e){return vt(e)||Iu(e)}function vp(e){return e!==null}function Fc(e,t){if(e==null)return Cn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=nt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==nt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Pn(e){return ys(()=>{let t=Su(e);return Tu(t),t})}function vt(e){return e[$h]||null}function Iu(e){return e[Uh]||null}function Cu(e){return e[Bh]||null}function bu(e){let t=vt(e)||Iu(e)||Cu(e);return t!==null?t.standalone:!1}function Mu(e,t){let n=e[Hh]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function Su(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||Cn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||gt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fc(e.inputs,t),outputs:Fc(e.outputs),debugInfo:null}}function Tu(e){e.features?.forEach(t=>t(e))}function Lc(e,t){if(!e)return null;let n=t?Cu:mp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(vp)}function yp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function en(e){return{\u0275providers:e}}function Dp(...e){return{\u0275providers:xu(!0,e),\u0275fromNgModule:!0}}function xu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ws(t,s=>{let a=s;Hi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Nu(o,i),n}function Nu(e,t){for(let n=0;n{t(i,r)})}}function Hi(e,t,n,r){if(e=pe(e),!e)return!1;let o=null,i=_c(e),s=!i&&vt(e);if(!i&&!s){let c=e.ngModule;if(i=_c(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Hi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{ws(i.imports,l=>{Hi(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Nu(u,t)}if(!a){let u=Zt(o)||(()=>new o);t({provide:o,useFactory:u,deps:gt},o),t({provide:Du,useValue:o,multi:!0},o),t({provide:mt,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Cs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Cs(e,t){for(let n of e)pu(n)&&(n=n.\u0275providers),Array.isArray(n)?Cs(n,t):t(n)}var wp=k({provide:String,useValue:k});function _u(e){return e!==null&&typeof e=="object"&&wp in e}function Ep(e){return!!(e&&e.useExisting)}function Ip(e){return!!(e&&e.useFactory)}function zi(e){return typeof e=="function"}var yo=new w(""),Br={},Cp={},_i;function bs(){return _i===void 0&&(_i=new Qr),_i}var me=class{},bn=class extends me{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,qi(t,s=>this.processProvider(s)),this.records.set(yu,Ht(void 0,this)),o.has("environment")&&this.records.set(me,Ht(void 0,this));let i=this.records.get(yo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Du,gt,b.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Xe(this),r=he(void 0),o;try{return t()}finally{Xe(n),he(r)}}get(t,n=In,r=b.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Rc))return t[Rc](this);r=vo(r);let o,i=Xe(this),s=he(void 0);try{if(!(r&b.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Np(t)&&mo(t);u&&this.injectableDefInScope(u)?c=Ht(Gi(t),Br):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&b.Self?bs():this.parent;return n=r&b.Optional&&n===In?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(ie(t)),i)throw a;return tp(a,t,"R3InjectorError",this.source)}else throw a}finally{he(s),Xe(i)}}resolveInjectorInitializers(){let t=P(null),n=Xe(this),r=he(void 0),o;try{let i=this.get(mt,gt,b.Self);for(let s of i)s()}finally{Xe(n),he(r),P(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=pe(t);let n=zi(t)?t:pe(t&&t.provide),r=Mp(t);if(!zi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ht(void 0,Br,!0),o.factory=()=>Ui(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=P(null);try{return n.value===Br&&(n.value=Cp,n.value=n.factory()),typeof n.value=="object"&&n.value&&xp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{P(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=pe(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 Gi(e){let t=mo(e),n=t!==null?t.factory:Zt(e);if(n!==null)return n;if(e instanceof w)throw new y(204,!1);if(e instanceof Function)return bp(e);throw new y(204,!1)}function bp(e){if(e.length>0)throw new y(204,!1);let n=jh(e);return n!==null?()=>n.factory(e):()=>new e}function Mp(e){if(_u(e))return Ht(void 0,e.useValue);{let t=Sp(e);return Ht(t,Br)}}function Sp(e,t,n){let r;if(zi(e)){let o=pe(e);return Zt(o)||Gi(o)}else if(_u(e))r=()=>pe(e.useValue);else if(Ip(e))r=()=>e.useFactory(...Ui(e.deps||[]));else if(Ep(e))r=()=>T(pe(e.useExisting));else{let o=pe(e&&(e.useClass||e.provide));if(Tp(e))r=()=>new o(...Ui(e.deps));else return Zt(o)||Gi(o)}return r}function Ht(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Tp(e){return!!e.deps}function xp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Np(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function qi(e,t){for(let n of e)Array.isArray(n)?qi(n,t):n&&pu(n)?qi(n.\u0275providers,t):t(n)}function Re(e,t){e instanceof bn&&e.assertNotDestroyed();let n,r=Xe(e),o=he(void 0);try{return t()}finally{Xe(r),he(o)}}function _p(){return gu()!==void 0||Jh()!=null}function Ap(e){return typeof e=="function"}var ae=0,M=1,I=2,K=3,Ce=4,Me=5,_e=6,jc=7,rt=8,Yt=9,Be=10,J=11,Mn=12,Vc=13,kn=14,ve=15,Sn=16,zt=17,Do=18,wo=19,Au=20,tt=21,Ai=22,ge=23,ce=25,Ru=1,Tn=6,He=7,Kr=8,Jr=9,se=10,Xr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Xr||{});function xe(e){return Array.isArray(e)&&typeof e[Ru]=="object"}function Oe(e){return Array.isArray(e)&&e[Ru]===!0}function Ou(e){return(e.flags&4)!==0}function Eo(e){return e.componentOffset>-1}function Rp(e){return(e.flags&1)===1}function Fn(e){return!!e.template}function eo(e){return(e[I]&512)!==0}var Wi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Pu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Io(){return ku}function ku(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pp),Op}Io.ngInherit=!0;function Op(){let e=Lu(this),t=e?.current;if(t){let n=e.previous;if(n===Cn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pp(e,t,n,r,o){let i=this.declaredInputs[r],s=Lu(e)||kp(e,{previous:Cn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Wi(u&&u.currentValue,n,c===Cn),Pu(e,t,o,n)}var Fu="__ngSimpleChanges__";function Lu(e){return e[Fu]||null}function kp(e,t){return e[Fu]=t}var $c=null;var et=function(e,t,n){$c?.(e,t,n)},ju="svg",Fp="math";function ze(e){for(;Array.isArray(e);)e=e[ae];return e}function Pe(e,t){return ze(t[e.index])}function Lp(e,t){return e.data[t]}function Ln(e,t){let n=t[e];return xe(n)?n:n[ae]}function Ms(e){return(e[I]&128)===128}function jp(e){return Oe(e[K])}function Uc(e,t){return t==null?null:e[t]}function Vu(e){e[zt]=0}function $u(e){e[I]&1024||(e[I]|=1024,Ms(e)&&Co(e))}function xn(e){return!!(e[I]&9216||e[ge]?.dirty)}function Zi(e){e[Be].changeDetectionScheduler?.notify(7),e[I]&64&&(e[I]|=1024),xn(e)&&Co(e)}function Co(e){e[Be].changeDetectionScheduler?.notify(0);let t=yt(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!Ms(t)));)t=yt(t)}function Uu(e,t){if((e[I]&256)===256)throw new y(911,!1);e[tt]===null&&(e[tt]=[]),e[tt].push(t)}function Vp(e,t){if(e[tt]===null)return;let n=e[tt].indexOf(t);n!==-1&&e[tt].splice(n,1)}function yt(e){let t=e[K];return Oe(t)?t[K]:t}var R={lFrame:Qu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Bu=!1;function $p(){return R.lFrame.elementDepthCount}function Up(){R.lFrame.elementDepthCount++}function Bp(){R.lFrame.elementDepthCount--}function Hu(){return R.bindingsEnabled}function jn(){return R.skipHydrationRootTNode!==null}function Hp(e){return R.skipHydrationRootTNode===e}function zp(e){R.skipHydrationRootTNode=e}function Gp(){R.skipHydrationRootTNode=null}function be(){return R.lFrame.lView}function Ss(){return R.lFrame.tView}function qe(){let e=zu();for(;e!==null&&e.type===64;)e=e.parent;return e}function zu(){return R.lFrame.currentTNode}function qp(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function bo(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function Gu(){return R.lFrame.isParent}function Wp(){R.lFrame.isParent=!1}function qu(){return Bu}function Bc(e){Bu=e}function Zp(e){return R.lFrame.bindingIndex=e}function Yp(){return R.lFrame.inI18n}function Qp(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yi(t)}function Kp(){return R.lFrame.currentDirectiveIndex}function Yi(e){R.lFrame.currentDirectiveIndex=e}function Wu(e){R.lFrame.currentQueryIndex=e}function Jp(e){let t=e[M];return t.type===2?t.declTNode:t.type===1?e[Me]:null}function Zu(e,t,n){if(n&b.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&b.Host);)if(o=Jp(i),o===null||(i=i[kn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=Yu();return r.currentTNode=t,r.lView=e,!0}function Ts(e){let t=Yu(),n=e[M];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yu(){let e=R.lFrame,t=e===null?null:e.child;return t===null?Qu(e):t}function Qu(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 Ku(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ju=Ku;function xs(){let e=Ku();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 Xp(){return R.lFrame.selectedIndex}function Dt(e){R.lFrame.selectedIndex=e}function tn(){R.lFrame.currentNamespace=ju}function Vn(){eg()}function eg(){R.lFrame.currentNamespace=null}function Xu(){return R.lFrame.currentNamespace}var el=!0;function tl(){return el}function st(e){el=e}function tg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ku(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 nl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[zt]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,Hc(a,i)):Hc(a,i)}var Wt=-1,Nn=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function rg(e){return e instanceof Nn}function og(e){return(e.flags&8)!==0}function ig(e){return(e.flags&16)!==0}var Oi={},Qi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=vo(r);let o=this.injector.get(t,Oi,r);return o!==Oi||n===Oi?o:this.parentInjector.get(t,n,r)}};function ol(e){return e!==Wt}function to(e){return e&32767}function sg(e){return e>>16}function no(e,t){let n=sg(e),r=t;for(;n>0;)r=r[kn],n--;return r}var Ki=!0;function zc(e){let t=Ki;return Ki=e,t}var ag=256,il=ag-1,sl=5,cg=0,Te={};function ug(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(En)&&(r=n[En]),r==null&&(r=n[En]=cg++);let o=r&il,i=1<>sl)]|=i}function al(e,t){let n=cl(e,t);if(n!==-1)return n;let r=t[M];r.firstCreatePass&&(e.injectorIndex=t.length,Pi(r.data,e),Pi(t,null),Pi(r.blueprint,null));let o=Ns(e,t),i=e.injectorIndex;if(ol(o)){let s=to(o),a=no(o,t),c=a[M].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Pi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ns(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=hl(o),r===null)return Wt;if(n++,o=o[kn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wt}function lg(e,t,n){ug(e,t,n)}function ul(e,t,n){if(n&b.Optional||e!==void 0)return e;Ds(t,"NodeInjector")}function ll(e,t,n,r){if(n&b.Optional&&r===void 0&&(r=null),!(n&(b.Self|b.Host))){let o=e[Yt],i=he(void 0);try{return o?o.get(t,r,n&b.Optional):mu(t,r,n&b.Optional)}finally{he(i)}}return ul(r,t,n)}function dl(e,t,n,r=b.Default,o){if(e!==null){if(t[I]&2048&&!(r&b.Self)){let s=gg(e,t,n,r,Te);if(s!==Te)return s}let i=fl(e,t,n,r,Te);if(i!==Te)return i}return ll(t,n,r,o)}function fl(e,t,n,r,o){let i=hg(n);if(typeof i=="function"){if(!Zu(t,e,r))return r&b.Host?ul(o,n,r):ll(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&b.Optional))Ds(n);else return s}finally{Ju()}}else if(typeof i=="number"){let s=null,a=cl(e,t),c=Wt,u=r&b.Host?t[ve][Me]:null;for((a===-1||r&b.SkipSelf)&&(c=a===-1?Ns(e,t):t[a+8],c===Wt||!qc(r,!1)?a=-1:(s=t[M],a=to(c),t=no(c,t)));a!==-1;){let l=t[M];if(Gc(i,a,l.data)){let d=dg(a,t,n,s,r,u);if(d!==Te)return d}c=t[a+8],c!==Wt&&qc(r,t[M].data[a+8]===u)&&Gc(i,a,t)?(s=l,a=to(c),t=no(c,t)):a=-1}}return o}function dg(e,t,n,r,o,i){let s=t[M],a=s.data[e+8],c=r==null?Eo(a)&&Ki:r!=s&&(a.type&3)!==0,u=o&b.Host&&i===a,l=fg(a,s,n,c,u);return l!==null?_n(t,s,l,a):Te}function fg(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f=c&&m.type===n)return f}if(o){let f=s[c];if(f&&Fn(f)&&f.type===n)return c}return null}function _n(e,t,n,r){let o=e[n],i=t.data;if(rg(o)){let s=o;s.resolving&&qh(Gh(i[n]));let a=zc(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?he(s.injectImpl):null,l=Zu(e,r,b.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&tg(n,i[n],t)}finally{u!==null&&he(u),zc(a),s.resolving=!1,Ju()}}return o}function hg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(En)?e[En]:void 0;return typeof t=="number"?t>=0?t&il:pg:t}function Gc(e,t,n){let r=1<>sl)]&r)}function qc(e,t){return!(e&b.Self)&&!(e&b.Host&&t)}var pt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return dl(this._tNode,this._lView,t,vo(r),n)}};function pg(){return new pt(qe(),be())}function _s(e){return ys(()=>{let t=e.prototype.constructor,n=t[Wr]||Ji(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Wr]||Ji(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ji(e){return lu(e)?()=>{let t=Ji(pe(e));return t&&t()}:Zt(e)}function gg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=fl(i,s,n,r|b.Self,Te);if(a!==Te)return a;let c=i.parent;if(!c){let u=s[Au];if(u){let l=u.get(n,Te,r);if(l!==Te)return l}c=hl(s),s=s[kn]}i=c}return o}function hl(e){let t=e[M],n=t.type;return n===2?t.declTNode:n===1?e[Me]:null}function Wc(e,t=null,n=null,r){let o=pl(e,t,n,r);return o.resolveInjectorInitializers(),o}function pl(e,t=null,n=null,r,o=new Set){let i=[n||gt,Dp(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new bn(i,t||bs(),r||null,o)}var ht=class ht{static create(t,n){if(Array.isArray(t))return Wc({name:""},n,t,"");{let r=t.name??"";return Wc({name:r},t.parent,t.providers,r)}}};ht.THROW_IF_NOT_FOUND=In,ht.NULL=new Qr,ht.\u0275prov=E({token:ht,providedIn:"any",factory:()=>T(yu)}),ht.__NG_ELEMENT_ID__=-1;var Ge=ht;var mg=new w("");mg.__NG_ELEMENT_ID__=e=>{let t=qe();if(t===null)throw new y(204,!1);if(t.type&2)return t.value;if(e&b.Optional)return null;throw new y(204,!1)};var vg="ngOriginalError";function ki(e){return e[vg]}var gl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=yg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Xi=class extends gl{constructor(t){super(),this._lView=t}onDestroy(t){return Uu(this._lView,t),()=>Vp(this._lView,t)}};function yg(){return new Xi(be())}var wt=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Y(!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.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var es=class extends Z{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,_p()&&(this.destroyRef=h(gl,{optional:!0})??void 0,this.pendingTasks=h(wt,{optional:!0})??void 0)}emit(t){let n=P(null);try{super.next(t)}finally{P(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},X=es;function ro(...e){}function ml(e){let t,n;function r(){e=ro;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Zc(e){return queueMicrotask(()=>e()),()=>{e=ro}}var As="isAngularZone",oo=As+"_ID",Dg=0,W=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 X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1),typeof Zone>"u")throw new y(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.callbackScheduled=!1,Ig(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(As)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(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,wg,ro,ro);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)}},wg={};function Rs(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 Eg(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{ml(()=>{e.callbackScheduled=!1,ts(e),e.isCheckStableRunning=!0,Rs(e),e.isCheckStableRunning=!1})}),ts(e))}function Ig(e){let t=()=>{Eg(e)},n=Dg++;e._inner=e._inner.fork({name:"angular",properties:{[As]:!0,[oo]:n,[oo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Cg(c))return r.invokeTask(i,s,a,c);try{return Yc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Qc(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Yc(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bg(c)&&t(),Qc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ts(e),Rs(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ts(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Yc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qc(e){e._nesting--,Rs(e)}var ns=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Cg(e){return vl(e,"__ignore_ng_zone__")}function bg(e){return vl(e,"__scheduler_tick__")}function vl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ot=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&&ki(t);for(;n&&ki(n);)n=ki(n);return n||null}},Mg=new w("",{providedIn:"root",factory:()=>{let e=h(W),t=h(ot);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Sg(){return Os(qe(),be())}function Os(e,t){return new nn(Pe(e,t))}var nn=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Sg;let e=t;return e})();var Tg="ngSkipHydration",xg="ngskiphydration";function yl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nPg}),Pg="ng",Ps=new w(""),ke=new w("",{providedIn:"platform",factory:()=>"unknown"});var ks=new w("",{providedIn:"root",factory:()=>Mo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function kg(){let e=new rn;return h(ke)==="browser"&&(e.store=Fg(Mo(),h(So))),e}var rn=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function Hg(e,t,n=!1){let r=e.getAttribute(Fi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let l=t.get(rn,null,{optional:!0});l!==null&&(c=l.get(Nl,[])[Number(r)])}let u={data:c,firstChild:e.firstChild??null};return n&&(u.firstChild=e,To(u,0,e.nextSibling)),a?e.setAttribute(Fi,a):e.removeAttribute(Fi),u}function zg(){_l=Hg}function Ls(e,t,n=!1){return _l(e,t,n)}function Gg(e){let t=e._lView;return t[M].type===2?null:(eo(t)&&(t=t[ce]),t)}function qg(e){return e.textContent?.replace(/\s/gm,"")}function Wg(e){let t=Mo(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=qg(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function To(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function is(e,t){return e.segmentHeads?.[t]??null}function Zg(e,t){let n=e.data,r=n[Lg]?.[t]??null;return r===null&&n[Fs]?.[t]&&(r=js(e,t)),r}function Al(e,t){return e.data[Fs]?.[t]??null}function js(e,t){let n=Al(e,t)??[],r=0;for(let o of n)r+=o[so]*(o[Tl]??1);return r}function Yg(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[xl];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function $n(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[xl];e.disconnectedNodes=n?new Set(n):null}return!!Yg(e)?.has(t)}var jr=new w(""),Rl=!1,Ol=new w("",{providedIn:"root",factory:()=>Rl});var Qg=/^>|^->||--!>|)/g,Jg="\u200B$1\u200B";function Xg(e){return e.replace(Qg,t=>t.replace(Kg,Jg))}function em(e){return e.ownerDocument.body}function Pl(e){return e instanceof Function?e():e}function Vr(e){return(e??h(Ge)).get(ke)==="browser"}var Et=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Et||{}),tm;function Vs(e,t){return tm(e,t)}function Gt(e,t,n,r,o){if(r!=null){let i,s=!1;Oe(r)?i=r:xe(r)&&(s=!0,r=r[ae]);let a=ze(r);e===0&&n!==null?o==null?$l(t,n,a):ao(t,n,a,o||null,!0):e===1&&n!==null?ao(t,n,a,o||null,!0):e===2?Bs(t,a,s):e===3&&t.destroyNode(a),i!=null&&gm(t,e,i,n,o)}}function kl(e,t){return e.createText(t)}function Fl(e,t){return e.createComment(Xg(t))}function $s(e,t,n){return e.createElement(t,n)}function nm(e,t){Ll(e,t),t[ae]=null,t[Me]=null}function rm(e,t,n,r,o,i){r[ae]=o,r[Me]=t,xo(e,r,n,1,o,i)}function Ll(e,t){t[Be].changeDetectionScheduler?.notify(8),xo(e,t,t[J],2,null,null)}function om(e){let t=e[Mn];if(!t)return Li(e[M],e);for(;t;){let n=null;if(xe(t))n=t[Mn];else{let r=t[se];r&&(n=r)}if(!n){for(;t&&!t[Ce]&&t!==e;)xe(t)&&Li(t[M],t),t=t[K];t===null&&(t=e),xe(t)&&Li(t[M],t),n=t&&t[Ce]}t=n}}function im(e,t,n,r){let o=se+r,i=n.length;r>0&&(n[o-1][Ce]=t),r0&&(e[n-1][Ce]=r[Ce]);let i=Yr(e,se+t);nm(r[M],r);let s=i[Do];s!==null&&s.detachView(i[M]),r[K]=null,r[Ce]=null,r[I]&=-129}return r}function Vl(e,t){if(!(t[I]&256)){let n=t[J];n.destroyNode&&xo(e,t,n,3,null,null),om(t)}}function Li(e,t){if(t[I]&256)return;let n=P(null);try{t[I]&=-129,t[I]|=256,t[ge]&&di(t[ge]),am(e,t),sm(e,t),t[M].type===1&&t[J].destroy();let r=t[Sn];if(r!==null&&Oe(t[K])){r!==t[K]&&Us(r,t);let o=t[Do];o!==null&&o.detachView(e)}Og(t)}finally{P(n)}}function sm(e,t){let n=e.cleanup,r=t[jc];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[jc]=null);let o=t[tt];if(o!==null){t[tt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ne.None||i===Ne.Emulated)return null}return Pe(r,n)}}function ao(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $l(e,t,n){e.appendChild(t,n)}function Jc(e,t,n,r,o){r!==null?ao(e,t,n,r,o):$l(e,t,n)}function Ul(e,t){return e.parentNode(t)}function lm(e,t){return e.nextSibling(t)}function dm(e,t,n){return hm(e,t,n)}function fm(e,t,n){return e.type&40?Pe(e,n):null}var hm=fm,Xc;function Bl(e,t,n,r){let o=cm(e,r,t),i=t[J],s=r.parent||t[Me],a=dm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cce&&vm(e,t,ce,!1),et(s?2:0,o),n(r,o)}finally{Dt(i),et(s?3:1,o)}}function Kl(e,t,n){if(Ou(t)){let r=P(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Mm(e){Dl(e)?zl(e):Wg(e)}function Sm(){ed=Mm}function Tm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return jn()&&(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,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=nt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?tu(r,n,u,a,c):tu(r,n,u,a)}return r}function tu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function xm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Rm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Eo(n)&&Vm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||al(n,t),Qt(r,t);let s=n.initialInputs;for(let a=o;a{Co(e.lView)},consumerOnSignalRead(){this.lView[ge]=this}});function Xm(e){let t=e[ge]??Object.create(ev);return t.lView=e,t}var ev=$(g({},ci),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=yt(e.lView);for(;t&&!ad(t[M]);)t=yt(t);t&&$u(t)},consumerOnSignalRead(){this.lView[ge]=this}});function ad(e){return e.type!==2}var tv=100;function cd(e,t=!0,n=0){let r=e[Be],o=r.rendererFactory,i=!1;i||o.begin?.();try{nv(e,n)}catch(s){throw t&&Hm(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function nv(e,t){let n=qu();try{Bc(!0),ls(e,t);let r=0;for(;xn(e);){if(r===tv)throw new y(103,!1);r++,ls(e,1)}}finally{Bc(n)}}function rv(e,t,n,r){let o=t[I];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Be].inlineEffectRunner?.flush(),Ts(t);let a=!0,c=null,u=null;i||(ad(e)?(u=Ym(t),c=ui(u)):Ka()===null?(a=!1,u=Xm(t),c=ui(u)):t[ge]&&(di(t[ge]),t[ge]=null));try{Vu(t),Zp(e.bindingStartIndex),n!==null&&Ql(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Hr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&zr(t,f,0,null),Ri(t,0)}if(s||ov(t),ud(t,0),e.contentQueries!==null&&rd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Hr(t,f)}else{let f=e.contentHooks;f!==null&&zr(t,f,1),Ri(t,1)}ym(e,t);let d=e.components;d!==null&&dd(t,d,0);let p=e.viewQuery;if(p!==null&&us(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Hr(t,f)}else{let f=e.viewHooks;f!==null&&zr(t,f,2),Ri(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ai]){for(let f of t[Ai])f();t[Ai]=null}i||(t[I]&=-73)}catch(l){throw i||Co(t),l}finally{u!==null&&(Ja(u,c),a&&Km(u)),xs()}}function ud(e,t){for(let n=El(e);n!==null;n=Il(n))for(let r=se;r-1&&(ss(t,r),Yr(n,r))}this._attachedToViewContainer=!1}Vl(this._lView[M],this._lView)}onDestroy(t){Uu(this._lView,t)}markForCheck(){fd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){Zi(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,cd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=eo(this._lView),n=this._lView[Sn];n!==null&&!t&&Us(n,this._lView),Ll(this._lView[M],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=eo(this._lView),r=this._lView[Sn];r!==null&&!n&&jl(r,this._lView),Zi(this._lView)}};var sv=new RegExp(`^(\\d+)*(${Sl}|${Ml})*(.*)`);function av(e){let t=e.match(sv),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function cv(e){return!e.prev&&e.parent?.type===8}function ji(e){return e.index-ce}function uv(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function No(e,t,n,r){let o=ji(r),i=uv(e,o);if(i===void 0){let s=e.data[$g];if(s?.[o])i=dv(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(cv(r)){let u=ji(r.parent);i=is(e,u)}else{let u=Pe(c,n);if(a)i=u.firstChild;else{let l=ji(c),d=is(e,l);if(c.type===2&&d){let f=js(e,l)+1;i=_o(f,d)}else i=u.nextSibling}}}}return i}function _o(e,t){let n=t;for(let r=0;r0&&(i.firstChild=e,e=_o(r[so],e)),n.push(i)}return[e,n]}var gd=()=>null;function Dv(e,t){let n=e[Tn];return!t||n===null||n.length===0?null:n[0].data[Vg]===t?n.shift():(hd(e),null)}function wv(){gd=Dv}function ru(e,t){return gd(e,t)}var An=class{},md=new w("",{providedIn:"root",factory:()=>!1});var vd=new w(""),ds=class{},lo=class{};function Ev(e){let t=Error(`No component factory found for ${ie(e)}.`);return t[Iv]=e,t}var Iv="ngComponent";var fs=class{resolveComponentFactory(t){throw Ev(t)}},Qs=class Qs{};Qs.NULL=new fs;var Jt=Qs,Xt=class{};var Cv=(()=>{let t=class t{};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var ou=new Set;function Bn(e){ou.has(e)||(ou.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var yd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function hs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Gl(e,n,i.join(" "))}}function _v(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Rv;let e=t;return e})();function Rv(){let e=qe();return Pv(e,be())}var Ov=Ao,Dd=class extends Ov{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Os(this._hostTNode,this._hostLView)}get injector(){return new pt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ns(this._hostTNode,this._hostLView);if(ol(t)){let n=no(t,this._hostLView),r=to(t),o=n[M].data[r+8];return new pt(o,n)}else return new pt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=su(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-se}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ru(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,nu(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Ap(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?t:new Rn(vt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let x=(s?u:this.parentInjector).get(me,null);x&&(i=x)}let l=vt(c.componentType??{}),d=ru(this._lContainer,l?.id??null),p=d?.firstChild??null,f=c.create(u,o,p,i);return this.insertImpl(f.hostView,a,nu(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(jp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new Dd(c,c[Me],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Wm(s,o,i,r),t.attachToViewContainerRef(),vu(Vi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=su(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ss(this._lContainer,n);r&&(Yr(Vi(this._lContainer),n),Vl(r[M],r))}detach(t){let n=this._adjustIndex(t,-1),r=ss(this._lContainer,n);return r&&Yr(Vi(this._lContainer),n)!=null?new Kt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function su(e){return e[Kr]}function Vi(e){return e[Kr]||(e[Kr]=[])}function Pv(e,t){let n,r=t[e.index];return Oe(r)?n=r:(n=Bm(r,t,null,e),t[e.index]=n,qs(t,n)),wd(n,t,e,r),new Dd(n,e,t)}function kv(e,t){let n=e[J],r=n.createComment(""),o=Pe(t,e),i=Ul(n,o);return ao(n,i,r,lm(n,o),!1),r}var wd=Id,Ed=()=>!1;function Id(e,t,n,r){if(e[He])return;let o;n.type&8?o=ze(r):o=kv(t,n),e[He]=o}function Fv(e,t,n){if(e[He]&&e[Tn])return!0;let r=n[_e],o=t.index-ce;if(!r||Ng(t)||$n(r,o))return!1;let s=is(r,o),a=r.data[Fs]?.[o],[c,u]=yv(s,a);return e[He]=c,e[Tn]=u,!0}function Lv(e,t,n,r){Ed(e,n,t)||Id(e,t,n,r)}function jv(){wd=Lv,Ed=Fv}var it=class{},On=class{};var gs=class extends it{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fo(this);let i=Mu(t);this._bootstrapComponents=Pl(i.bootstrap),this._r3Injector=pl(t,n,[{provide:it,useValue:this},{provide:Jt,useValue:this.componentFactoryResolver},...r],ie(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ms=class extends On{constructor(t){super(),this.moduleType=t}create(t){return new gs(this.moduleType,t,[])}};var ho=class extends it{constructor(t){super(),this.componentFactoryResolver=new fo(this),this.instance=null;let n=new bn([...t.providers,{provide:it,useValue:this},{provide:Jt,useValue:this.componentFactoryResolver}],t.parent||bs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ws(e,t,n=null){return new ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Hn(e){return(e.flags&32)===32}var Vv=Cd;function Cd(e,t,n,r){return st(!0),t[J].createComment("")}function $v(e,t,n,r){let o=t[_e],i=!o||jn()||Hn(n)||$n(o,r);if(st(i),i)return Cd(e,t,n,r);let s=o.data[jg]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=No(o,e,t,n);To(o,r,a);let c=js(o,r);return _o(c,a)}function Uv(){Vv=$v}function au(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";od(e,n,i[s],s,r)}function Bv(e,t,n,r,o,i){let s=t.consts,a=Uc(s,o),c=Gs(t,e,2,r,a);return Nm(t,n,c,Uc(s,i)),c.attrs!==null&&hs(c,c.attrs,!1),c.mergedAttrs!==null&&hs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function F(e,t,n,r){let o=be(),i=Ss(),s=ce+e,a=o[J],c=i.firstCreatePass?Bv(s,i,o,t,n,r):i.data[s],u=bd(i,o,c,a,t,e);o[s]=u;let l=Rp(c);return bo(c,!0),ql(a,u,c),!Hn(c)&&tl()&&Bl(i,o,u,c),$p()===0&&Qt(u,o),Up(),l&&(wm(i,o,c),Kl(i,c,o)),r!==null&&Em(o,c),F}function L(){let e=qe();Gu()?Wp():(e=e.parent,bo(e,!1));let t=e;Hp(t)&&Gp(),Bp();let n=Ss();return n.firstCreatePass&&(nl(n,e),Ou(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&og(t)&&au(n,t,be(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ig(t)&&au(n,t,be(),t.stylesWithoutHost,!1),L}function G(e,t,n,r){return F(e,t,n,r),L(),G}var bd=(e,t,n,r,o,i)=>(st(!0),$s(r,o,Xu()));function Hv(e,t,n,r,o,i){let s=t[_e],a=!s||jn()||Hn(n)||$n(s,i);if(st(a),a)return $s(r,o,Xu());let c=No(s,e,t,n);return Al(s,i)&&To(s,i,c.nextSibling),s&&(yl(n)||Dl(c))&&Eo(n)&&(zp(n),zl(c)),c}function zv(){bd=Hv}var Gv=(e,t,n,r)=>(st(!0),Fl(t[J],""));function qv(e,t,n,r){let o,i=t[_e],s=!i||jn()||$n(i,r)||Hn(n);if(st(s),s)return Fl(t[J],"");let a=No(i,e,t,n),c=Zg(i,r);return To(i,r,a),o=_o(c,a),o}function Wv(){Gv=qv}var po="en-US";var Zv=po;function Yv(e){typeof e=="string"&&(Zv=e.toLowerCase().replace(/_/g,"-"))}function ye(e,t=""){let n=be(),r=Ss(),o=e+ce,i=r.firstCreatePass?Gs(r,o,1,t,null):r.data[o],s=Md(r,n,i,t,e);n[o]=s,tl()&&Bl(r,n,s,i),bo(i,!1)}var Md=(e,t,n,r,o)=>(st(!0),kl(t[J],r));function Qv(e,t,n,r,o){let i=t[_e],s=!i||jn()||Hn(n)||$n(i,o);return st(s),s?kl(t[J],r):No(i,e,t,n)}function Kv(){Md=Qv}var Jv=(()=>{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=xu(!1,r.type),i=o.length>0?Ws([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=E({token:t,providedIn:"environment",factory:()=>new t(T(me))});let e=t;return e})();function Fe(e){Bn("NgStandalone"),e.getStandaloneInjector=t=>t.get(Jv).getOrCreateStandaloneInjector(e)}var Ro=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Sd=new w("");function zn(e){return!!e&&typeof e.then=="function"}function Td(e){return!!e&&typeof e.subscribe=="function"}var xd=new w(""),Nd=(()=>{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=h(xd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(zn(s))r.push(s);else if(Td(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),on=new w("");function Xv(){Xa(()=>{throw new y(600,!1)})}function ey(e){return e.isBoundToModule}var ty=10;function ny(e,t,n){try{let r=n();return zn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Le=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=h(Mg),this.afterRenderEffectManager=h(yd),this.zonelessEnabled=h(md),this.externalTestViews=new Set,this.beforeRender=new Z,this.afterTick=new Z,this.componentTypes=[],this.components=[],this.isStable=h(wt).hasPendingTasks.pipe(S(r=>!r)),this._injector=h(me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let r;return new Promise(o=>{r=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{r.unsubscribe()})}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof lo;if(!this._injector.get(Nd).done){let f=!i&&bu(r),m=!1;throw new y(405,m)}let a;i?a=r:a=this._injector.get(Jt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=ey(a)?void 0:this._injector.get(it),u=o||a.selector,l=a.create(Ge.NULL,[],u,c),d=l.location.nativeElement,p=l.injector.get(Sd,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Gr(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let o=P(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,P(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(Xt,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;ixn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>xn(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Gr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(on,[]);[...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),()=>Gr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Gr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var $r;function Oo(e){$r??=new WeakMap;let t=$r.get(e);if(t)return t;let n=e.isStable.pipe(Ee(r=>r)).toPromise().then(()=>{});return $r.set(e,n),e.onDestroy(()=>$r?.delete(e)),n}function ry(e,t,n,r){if(!n&&!xn(e))return;cd(e,t,n&&!r?0:1)}var vs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Zs=(()=>{let t=class t{compileModuleSync(r){return new ms(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Mu(r),s=Pl(i.declarations).reduce((a,c)=>{let u=vt(c);return u&&a.push(new Rn(u)),a},[]);return new vs(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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var oy=(()=>{let t=class t{constructor(){this.zone=h(W),this.changeDetectionScheduler=h(An),this.applicationRef=h(Le)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function iy({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new W(sy()),[{provide:W,useFactory:e},{provide:mt,multi:!0,useFactory:()=>{let n=h(oy,{optional:!0});return()=>n.initialize()}},{provide:mt,multi:!0,useFactory:()=>{let n=h(ay);return()=>{n.initialize()}}},t===!0?{provide:vd,useValue:!0}:[]]}function sy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ay=(()=>{let t=class t{constructor(){this.subscription=new B,this.initialized=!1,this.zone=h(W),this.pendingTasks=h(wt)}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(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var cy=(()=>{let t=class t{constructor(){this.appRef=h(Le),this.taskService=h(wt),this.ngZone=h(W),this.zonelessEnabled=h(md),this.disableScheduling=h(vd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new B,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(oo):null,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ns||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Zc:ml;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(oo+this.angularZoneId))}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Zc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function uy(){return typeof $localize<"u"&&$localize.locale||po}var Ys=new w("",{providedIn:"root",factory:()=>h(Ys,b.Optional|b.SkipSelf)||uy()});var _d=new w("");function Ur(e){return!!e.platformInjector}function ly(e){let t=Ur(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{Ur(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ot,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Ur(e)){let i=()=>t.destroy(),s=e.platformInjector.get(_d);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{Gr(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return ny(r,n,()=>{let i=t.get(Nd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Ys,po);if(Yv(s||po),Ur(e)){let a=t.get(Le);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return dy(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function dy(e,t){let n=e.injector.get(Le);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new y(-403,!1);t.push(e)}var qr=null;function fy(e=[],t){return Ge.create({name:t,providers:[{provide:yo,useValue:"platform"},{provide:_d,useValue:new Set([()=>qr=null])},...e]})}function hy(e=[]){if(qr)return qr;let t=fy(e);return qr=t,Xv(),py(t),t}function py(e){e.get(Ps,null)?.forEach(n=>n())}var Gn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=gy;let e=t;return e})();function gy(e){return my(qe(),be(),(e&16)===16)}function my(e,t,n){if(Eo(e)&&!n){let r=Ln(e.index,t);return new Kt(r,r)}else if(e.type&175){let r=t[ve];return new Kt(r,t)}return null}function Ad(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=hy(r),i=[iy({}),{provide:An,useExisting:cy},...n||[]],s=new ho({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return ly({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var Rd=new w("");var cu=!1;function vy(){cu||(cu=!0,zg(),zv(),Kv(),Wv(),Uv(),jv(),wv(),Sm())}function yy(e,t){return Oo(e)}function Od(){return en([{provide:jr,useFactory:()=>{let e=!0;return Vr()&&(e=!!h(rn,{optional:!0})?.get(Nl,null)),e&&Bn("NgHydration"),e}},{provide:mt,useValue:()=>{hv(!1),Vr()&&h(jr)&&(Dy(),vy())},multi:!0},{provide:Ol,useFactory:()=>Vr()&&h(jr)},{provide:on,useFactory:()=>{if(Vr()&&h(jr)){let e=h(Le),t=h(Ge);return()=>{yy(e,t).then(()=>{vv(e)})}}return()=>{}},multi:!0}])}function Dy(){let e=Mo(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Bg){t=n;break}if(!t)throw new y(-507,!1)}var $d=null;function sn(){return $d}function Ud(e){$d??=e}var Po=class{};var ne=new w(""),Bd=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(My),providedIn:"platform"});let e=t;return e})();var My=(()=>{let t=class t extends Bd{constructor(){super(),this._doc=h(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return sn().getBaseHref(this._doc)}onPopState(r){let o=sn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=sn().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=E({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Hd(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 Pd(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 It(e){return e&&e[0]!=="?"?"?"+e:e}var Fo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(zd),providedIn:"root"});let e=t;return e})(),Sy=new w(""),zd=(()=>{let t=class t extends Fo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??h(ne).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 Hd(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+It(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+It(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+It(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)(T(Bd),T(Sy,8))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var qn=(()=>{let t=class t{constructor(r){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Ny(Pd(kd(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+It(o))}normalize(r){return t.stripTrailingSlash(xy(this._basePath,kd(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+It(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+It(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=It,t.joinWithSlash=Hd,t.stripTrailingSlash=Pd,t.\u0275fac=function(o){return new(o||t)(T(Fo))},t.\u0275prov=E({token:t,factory:()=>Ty(),providedIn:"root"});let e=t;return e})();function Ty(){return new qn(T(Fo))}function xy(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function kd(e){return e.replace(/\/index.html$/,"")}function Ny(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Ks(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 Gd="browser",_y="server";function Wn(e){return e===_y}var ko=class{};var jo=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Xd=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Xd||{}),Js=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new jo,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}};var Vo=class e extends Js{constructor(t={}){super(t),this.type=Xd.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var Ay=new w("");var Ry=new w(""),qd="b",Wd="h",Zd="s",Yd="st",Qd="u",Kd="rt",Lo=new w(""),Oy=["GET","HEAD"];function Py(e,t){let f=h(Lo),{isCacheActive:n}=f,r=Ya(f,["isCacheActive"]),{transferCache:o,method:i}=e;if(!n||o===!1||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!Oy.includes(i)||!r.includeRequestsWithAuthHeaders&&ky(e)||r.filter?.(e)===!1)return t(e);let s=h(rn),a=h(Ry,{optional:!0}),c=Wn(h(ke));if(a&&!c)throw new y(2803,!1);let u=c&&a?Vy(e.url,a):e.url,l=Ly(e,u),d=s.get(l,null),p=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(p=o.includeHeaders),d){let{[qd]:m,[Kd]:x,[Wd]:j,[Zd]:V,[Yd]:Ve,[Qd]:ee}=d,Tt=m;switch(x){case"arraybuffer":Tt=new TextEncoder().encode(m).buffer;break;case"blob":Tt=new Blob([m]);break}let xt=new jo(j);return D(new Vo({body:Tt,headers:xt,status:V,statusText:Ve,url:ee}))}return t(e).pipe(q(m=>{m instanceof Vo&&c&&s.set(l,{[qd]:m.body,[Wd]:Fy(m.headers,p),[Zd]:m.status,[Yd]:m.statusText,[Qd]:u,[Kd]:e.responseType})}))}function ky(e){return e.headers.has("authorization")||e.headers.has("proxy-authorization")}function Fy(e,t){if(!t)return{};let n={};for(let r of t){let o=e.getAll(r);o!==null&&(n[r]=o)}return n}function Jd(e){return[...e.keys()].sort().map(t=>`${t}=${e.getAll(t)}`).join("&")}function Ly(e,t){let{params:n,method:r,responseType:o}=e,i=Jd(n),s=e.serializeBody();s instanceof URLSearchParams?s=Jd(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=jy(a);return c}function jy(e){let t=0;for(let n of e)t=Math.imul(31,t)+n.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function ef(e){return[{provide:Lo,useFactory:()=>(Bn("NgHttpTransferCache"),g({isCacheActive:!0},e))},{provide:Ay,useValue:Py,multi:!0,deps:[rn,Lo]},{provide:on,multi:!0,useFactory:()=>{let t=h(Le),n=h(Lo);return()=>{Oo(t).then(()=>{n.isCacheActive=!1})}}}]}function Vy(e,t){let n=new URL(e,"resolve://").origin,r=t[n];return r?e.replace(n,r):e}var ta=class extends Po{constructor(){super(...arguments),this.supportsDOMEvents=!0}},na=class e extends ta{static makeCurrent(){Ud(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}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=Uy();return n==null?null:By(n)}resetBaseElement(){Zn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ks(document.cookie,t)}},Zn=null;function Uy(){return Zn=Zn||document.querySelector("base"),Zn?Zn.getAttribute("href"):null}function By(e){return new URL(e,document.baseURI).pathname}var Hy=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),$o=new w(""),of=(()=>{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 y(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(T($o),T(W))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Yn=class{constructor(t){this._doc=t}},Xs="ng-app-id",sf=(()=>{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=Wn(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[${Xs}="${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(Xs),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Xs,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)(T(ne),T(So),T(ks,8),T(ke))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),ea={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/Math/MathML"},ia=/%COMP%/g,af="%COMP%",zy=`_nghost-${af}`,Gy=`_ngcontent-${af}`,qy=!0,Wy=new w("",{providedIn:"root",factory:()=>qy});function Zy(e){return Gy.replace(ia,e)}function Yy(e){return zy.replace(ia,e)}function cf(e,t){return t.map(n=>n.replace(ia,e))}var tf=(()=>{let t=class t{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Wn(c),this.defaultRenderer=new Qn(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ne.ShadowDom&&(o=$(g({},o),{encapsulation:Ne.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Uo?i.applyToHost(r):i instanceof Kn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(o.encapsulation){case Ne.Emulated:s=new Uo(u,l,o,this.appId,d,a,c,p);break;case Ne.ShadowDom:return new ra(u,l,r,o,a,c,this.nonce,p);default:s=new Kn(u,l,o,d,a,c,p);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(T(of),T(sf),T(So),T(Wy),T(ne),T(ke),T(W),T(ks))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Qn=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(ea[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(nf(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(nf(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-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=ea[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=ea[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=sn().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 nf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ra=class extends Qn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=cf(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(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(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Kn=class extends Qn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?cf(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Uo=class extends Kn{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Zy(u),this.hostAttr=Yy(u)}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}},Qy=(()=>{let t=class t extends Yn{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)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Ky=(()=>{let t=class t extends Yn{constructor(r){super(r),this.delegate=h(Rd,{optional:!0})}supports(r){return this.delegate?this.delegate.supports(r):!1}addEventListener(r,o,i){return this.delegate.addEventListener(r,o,i)}removeEventListener(r,o,i){return this.delegate.removeEventListener(r,o,i)}};t.\u0275fac=function(o){return new(o||t)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),rf=["alt","control","meta","shift"],Jy={"\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"},Xy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},eD=(()=>{let t=class t extends Yn{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(()=>sn().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="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),rf.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(r,o){let i=Jy[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"),rf.forEach(a=>{if(a!==i){let c=Xy[a];c(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)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})();function uf(e,t){return Ad(g({rootComponent:e},tD(t)))}function tD(e){return{appProviders:[...sD,...e?.providers??[]],platformProviders:iD}}function nD(){na.makeCurrent()}function rD(){return new ot}function oD(){return bl(document),document}var iD=[{provide:ke,useValue:Gd},{provide:Ps,useValue:nD,multi:!0},{provide:ne,useFactory:oD,deps:[]}];var sD=[{provide:yo,useValue:"root"},{provide:ot,useFactory:rD,deps:[]},{provide:$o,useClass:Qy,multi:!0,deps:[ne,W,ke]},{provide:$o,useClass:eD,multi:!0,deps:[ne]},{provide:$o,useClass:Ky,multi:!0},tf,sf,of,{provide:Xt,useExisting:tf},{provide:ko,useClass:Hy,deps:[]},[]];var lf=(()=>{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)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var oa=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay",e}(oa||{});function df(...e){let t=[],n=new Set,r=n.has(oa.HttpTransferCacheOptions);for(let{\u0275providers:o,\u0275kind:i}of e)n.add(i),o.length&&t.push(o);return en([[],Od(),n.has(oa.NoHttpTransferCache)||r?[]:ef({}),t])}var C="primary",pr=Symbol("RouteTitle"),la=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 fn(e){return new la(e)}function cD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function wf(e){return e.length>0?e[e.length-1]:null}function ct(e){return bi(e)?e:zn(e)?z(Promise.resolve(e)):D(e)}var lD={exact:If,subset:Cf},Ef={exact:dD,subset:fD,ignored:()=>!0};function ff(e,t,n){return lD[n.paths](e.root,t.root,n.matrixParams)&&Ef[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function dD(e,t){return je(e,t)}function If(e,t,n){if(!bt(e.segments,t.segments)||!zo(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!If(e.children[r],t.children[r],n))return!1;return!0}function fD(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Df(e[n],t[n]))}function Cf(e,t,n){return bf(e,t,t.segments,n)}function bf(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!bt(o,n)||t.hasChildren()||!zo(o,n,r))}else if(e.segments.length===n.length){if(!bt(e.segments,n)||!zo(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Cf(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!bt(e.segments,o)||!zo(e.segments,o,r)||!e.children[C]?!1:bf(e.children[C],t,i,r)}}function zo(e,t,n){return t.every((r,o)=>Ef[n](e[o].parameters,r.parameters))}var Ze=class{constructor(t=new O([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=fn(this.queryParams),this._queryParamMap}toString(){return gD.serialize(this)}},O=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 Go(this)}},Ct=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=fn(this.parameters),this._parameterMap}toString(){return Sf(this)}};function hD(e,t){return bt(e,t)&&e.every((n,r)=>je(n.parameters,t[r].parameters))}function bt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function pD(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 La=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>new or,providedIn:"root"});let e=t;return e})(),or=class{parse(t){let n=new ha(t);return new Ze(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Jn(t.root,!0)}`,r=yD(t.queryParams),o=typeof t.fragment=="string"?`#${mD(t.fragment)}`:"";return`${n}${r}${o}`}},gD=new or;function Go(e){return e.segments.map(t=>Sf(t)).join("/")}function Jn(e,t){if(!e.hasChildren())return Go(e);if(t){let n=e.children[C]?Jn(e.children[C],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==C&&r.push(`${o}:${Jn(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=pD(e,(r,o)=>o===C?[Jn(e.children[C],!1)]:[`${o}:${Jn(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[C]!=null?`${Go(e)}/${n[0]}`:`${Go(e)}/(${n.join("//")})`}}function Mf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bo(e){return Mf(e).replace(/%3B/gi,";")}function mD(e){return encodeURI(e)}function fa(e){return Mf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qo(e){return decodeURIComponent(e)}function hf(e){return qo(e.replace(/\+/g,"%20"))}function Sf(e){return`${fa(e.path)}${vD(e.parameters)}`}function vD(e){return Object.entries(e).map(([t,n])=>`;${fa(t)}=${fa(n)}`).join("")}function yD(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Bo(n)}=${Bo(o)}`).join("&"):`${Bo(n)}=${Bo(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var DD=/^[^\/()?;#]+/;function sa(e){let t=e.match(DD);return t?t[0]:""}var wD=/^[^\/()?;=#]+/;function ED(e){let t=e.match(wD);return t?t[0]:""}var ID=/^[^=?&#]+/;function CD(e){let t=e.match(ID);return t?t[0]:""}var bD=/^[^&#]+/;function MD(e){let t=e.match(bD);return t?t[0]:""}var ha=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],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 O(t,n)),r}parseSegment(){let t=sa(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new Ct(qo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=ED(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=sa(this.remaining);o&&(r=o,this.capture(r))}t[qo(n)]=qo(r)}parseQueryParam(t){let n=CD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=MD(this.remaining);s&&(r=s,this.capture(r))}let o=hf(n),i=hf(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=sa(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(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 O([],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 y(4011,!1)}};function Tf(e){return e.segments.length>0?new O([],{[C]:e}):e}function xf(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=xf(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 O(e.segments,t);return SD(n)}function SD(e){if(e.numberOfChildren===1&&e.children[C]){let t=e.children[C];return new O(e.segments.concat(t.segments),t.children)}return e}function ir(e){return e instanceof Ze}function TD(e,t,n=null,r=null){let o=Nf(e);return _f(o,t,n,r)}function Nf(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new O(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Tf(r);return t??o}function _f(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return aa(o,o,o,n,r);let i=xD(t);if(i.toRoot())return aa(o,o,new O([],{}),n,r);let s=ND(i,o,e),a=s.processChildren?tr(s.segmentGroup,s.index,i.commands):Rf(s.segmentGroup,s.index,i.commands);return aa(o,s.segmentGroup,a,n,r)}function Wo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function sr(e){return typeof e=="object"&&e!=null&&e.outlets}function aa(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=Af(e,t,n);let a=Tf(xf(s));return new Ze(a,i,o)}function Af(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Af(i,t,n)}),new O(e.segments,r)}var Zo=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Wo(r[0]))throw new y(4003,!1);let o=r.find(sr);if(o&&o!==wf(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function xD(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Zo(!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(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Zo(n,t,r)}var un=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function ND(e,t,n){if(e.isAbsolute)return new un(t,!0,0);if(!n)return new un(t,!1,NaN);if(n.parent===null)return new un(n,!0,0);let r=Wo(e.commands[0])?0:1,o=n.segments.length-1+r;return _D(n,o,e.numberOfDoubleDots)}function _D(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new un(r,!1,o-i)}function AD(e){return sr(e[0])?e[0].outlets:{[C]:e}}function Rf(e,t,n){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return tr(e,t,n);let r=RD(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==C)&&e.children[C]&&e.numberOfChildren===1&&e.children[C].segments.length===0){let i=tr(e.children[C],t,n);return new O(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Rf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function RD(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(sr(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!gf(c,u,s))return i;r+=2}else{if(!gf(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function pa(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=pa(new O([],{}),0,r))}),t}function pf(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function gf(e,t,n){return e==n.path&&je(t,n.parameters)}var nr="imperative",Q=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Q||{}),De=class{constructor(t,n){this.id=t,this.url=n}},ar=class extends De{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Q.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Mt=class extends De{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Q.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},le=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(le||{}),ga=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(ga||{}),We=class extends De{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},St=class extends De{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationSkipped}},cr=class extends De{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Q.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Yo=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ma=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},va=class extends De{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Q.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ya=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Da=class extends De{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wa=class{constructor(t){this.route=t,this.type=Q.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ea=class{constructor(t){this.route=t,this.type=Q.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ia=class{constructor(t){this.snapshot=t,this.type=Q.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ca=class{constructor(t){this.snapshot=t,this.type=Q.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ba=class{constructor(t){this.snapshot=t,this.type=Q.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ma=class{constructor(t){this.snapshot=t,this.type=Q.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ur=class{},hn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function PD(e,t){return e.providers&&!e._injector&&(e._injector=Ws(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Se(e){return e.outlet||C}function kD(e,t){let n=e.filter(r=>Se(r)===t);return n.push(...e.filter(r=>Se(r)!==t)),n}function gr(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 Sa=class{get injector(){return gr(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new ni(this.rootInjector),this.attachRef=null}},ni=(()=>{let t=class t{constructor(r){this.rootInjector=r,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 Sa(this.rootInjector),this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)(T(me))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Qo=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=Ta(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Ta(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=xa(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return xa(t,this._root).map(n=>n.value)}};function Ta(e,t){if(e===t.value)return t;for(let n of t.children){let r=Ta(e,n);if(r)return r}return null}function xa(e,t){if(e===t.value)return[t];for(let n of t.children){let r=xa(e,n);if(r.length)return r.unshift(t),r}return[]}var ue=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function cn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ko=class extends Qo{constructor(t,n){super(t),this.snapshot=n,ja(this,t)}toString(){return this.snapshot.toString()}};function Of(e){let t=FD(e),n=new Y([new Ct("",{})]),r=new Y({}),o=new Y({}),i=new Y({}),s=new Y(""),a=new pn(n,r,i,s,o,C,e,t.root);return a.snapshot=t.root,new Ko(new ue(a,[]),t)}function FD(e){let t={},n={},r={},o="",i=new ln([],t,r,o,n,C,e,null,{});return new Xo("",new ue(i,[]))}var pn=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(S(u=>u[pr]))??D(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.params.pipe(S(t=>fn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(t=>fn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Jo(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&&kf(o)&&(r.resolve[pr]=o.title),r}var ln=class{get title(){return this.data?.[pr]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=fn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=fn(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}')`}},Xo=class extends Qo{constructor(t,n){super(n),this.url=t,ja(this,n)}toString(){return Pf(this._root)}};function ja(e,t){t.value._routerState=e,t.children.forEach(n=>ja(e,n))}function Pf(e){let t=e.children.length>0?` { ${e.children.map(Pf).join(", ")} } `:"";return`${e.value}${t}`}function ca(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,je(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),je(t.params,n.params)||e.paramsSubject.next(n.params),uD(t.url,n.url)||e.urlSubject.next(n.url),je(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Na(e,t){let n=je(e.params,t.params)&&hD(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Na(e.parent,t.parent))}function kf(e){return typeof e.title=="string"||e.title===null}var Va=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=C,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=h(ni),this.location=h(Ao),this.changeDetector=h(Gn),this.inputBinder=h($a,{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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(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 y(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new _a(r,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Pn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Io]});let e=t;return e})(),_a=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===pn?this.route:t===ni?this.childContexts:this.parent.get(t,n)}},$a=new w("");function LD(e,t,n){let r=lr(e,t._root,n?n._root:void 0);return new Ko(r,t)}function lr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=jD(e,t,n);return new ue(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=>lr(e,a)),s}}let r=VD(t.value),o=t.children.map(i=>lr(e,i));return new ue(r,o)}}function jD(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return lr(e,r,o);return lr(e,r)})}function VD(e){return new pn(new Y(e.url),new Y(e.params),new Y(e.queryParams),new Y(e.fragment),new Y(e.data),e.outlet,e.component,e)}var dr=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Ff="ngNavigationCancelingError";function ei(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=ir(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Lf(!1,le.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Lf(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Ff]=!0,n.cancellationCode=t,n}function $D(e){return jf(e)&&ir(e.url)}function jf(e){return!!e&&e[Ff]}var UD=(e,t,n,r)=>S(o=>(new Aa(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Aa=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),ca(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=cn(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=cn(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=cn(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=cn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ma(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ca(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(ca(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),ca(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},ti=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},dn=class{constructor(t,n){this.component=t,this.route=n}};function BD(e,t,n){let r=e._root,o=t?t._root:null;return Xn(r,o,n,[r.value])}function HD(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function mn(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!du(e)?e:t.get(e):r}function Xn(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=cn(t);return e.children.forEach(s=>{zD(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>rr(a,n.getContext(s),o)),o}function zD(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 c=GD(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ti(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Xn(e,t,a?a.children:null,r,o):Xn(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new dn(a.outlet.component,s))}else s&&rr(t,a,o),o.canActivateChecks.push(new ti(r)),i.component?Xn(e,null,a?a.children:null,r,o):Xn(e,null,n,r,o);return o}function GD(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!bt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!bt(e.url,t.url)||!je(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Na(e,t)||!je(e.queryParams,t.queryParams);case"paramsChange":default:return!Na(e,t)}}function rr(e,t,n){let r=cn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?rr(s,t.children.getContext(i),n):rr(s,null,n):rr(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new dn(t.outlet.component,o)):n.canDeactivateChecks.push(new dn(null,o)):n.canDeactivateChecks.push(new dn(null,o))}function mr(e){return typeof e=="function"}function qD(e){return typeof e=="boolean"}function WD(e){return e&&mr(e.canLoad)}function ZD(e){return e&&mr(e.canActivate)}function YD(e){return e&&mr(e.canActivateChild)}function QD(e){return e&&mr(e.canDeactivate)}function KD(e){return e&&mr(e.canMatch)}function Vf(e){return e instanceof $e||e?.name==="EmptyError"}var Ho=Symbol("INITIAL_VALUE");function gn(){return fe(e=>kr(e.map(t=>t.pipe(Ue(1),Ni(Ho)))).pipe(S(t=>{for(let n of t)if(n!==!0){if(n===Ho)return Ho;if(n===!1||JD(n))return n}return!0}),de(t=>t!==Ho),Ue(1)))}function JD(e){return ir(e)||e instanceof dr}function XD(e,t){return U(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?D($(g({},n),{guardsResult:!0})):ew(s,r,o,e).pipe(U(a=>a&&qD(a)?tw(r,i,e,t):D(a)),S(a=>$(g({},n),{guardsResult:a})))})}function ew(e,t,n,r){return z(e).pipe(U(o=>sw(o.component,o.route,n,t,r)),Ee(o=>o!==!0,!0))}function tw(e,t,n,r){return z(t).pipe(ft(o=>Vt(rw(o.route.parent,r),nw(o.route,r),iw(e,o.path,n),ow(e,o.route,n))),Ee(o=>o!==!0,!0))}function nw(e,t){return e!==null&&t&&t(new ba(e)),D(!0)}function rw(e,t){return e!==null&&t&&t(new Ia(e)),D(!0)}function ow(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return D(!0);let o=r.map(i=>Fr(()=>{let s=gr(t)??n,a=mn(i,s),c=ZD(a)?a.canActivate(t,e):Re(s,()=>a(t,e));return ct(c).pipe(Ee())}));return D(o).pipe(gn())}function iw(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>HD(s)).filter(s=>s!==null).map(s=>Fr(()=>{let a=s.guards.map(c=>{let u=gr(s.node)??n,l=mn(c,u),d=YD(l)?l.canActivateChild(r,e):Re(u,()=>l(r,e));return ct(d).pipe(Ee())});return D(a).pipe(gn())}));return D(i).pipe(gn())}function sw(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let c=gr(t)??o,u=mn(a,c),l=QD(u)?u.canDeactivate(e,t,n,r):Re(c,()=>u(e,t,n,r));return ct(l).pipe(Ee())});return D(s).pipe(gn())}function aw(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),c=WD(a)?a.canLoad(t,n):Re(e,()=>a(t,n));return ct(c)});return D(i).pipe(gn(),$f(r))}function $f(e){return wi(q(t=>{if(typeof t!="boolean")throw ei(e,t)}),S(t=>t===!0))}function cw(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),c=KD(a)?a.canMatch(t,n):Re(e,()=>a(t,n));return ct(c)});return D(i).pipe(gn(),$f(r))}var fr=class{constructor(t){this.segmentGroup=t||null}},hr=class extends Error{constructor(t){super(),this.urlTree=t}};function an(e){return jt(new fr(e))}function uw(e){return jt(new y(4e3,!1))}function lw(e){return jt(Lf(!1,le.GuardRejected))}var Ra=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 D(r);if(o.numberOfChildren>1||!o.children[C])return uw(`${t.redirectTo}`);o=o.children[C]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:p,params:f,data:m,title:x}=o,j=Re(i,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:p,title:x}));if(j instanceof Ze)throw new hr(j);n=j}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new hr(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Ze(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[0]===":"){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,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new O(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new y(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}},Oa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dw(e,t,n,r,o){let i=Ua(e,t,n);return i.matched?(r=PD(t,r),cw(r,t,n,o).pipe(S(s=>s===!0?i:g({},Oa)))):D(i)}function Ua(e,t,n){if(t.path==="**")return fw(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},Oa):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||cD)(n,e,t);if(!o)return g({},Oa);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.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 fw(e){return{matched:!0,parameters:e.length>0?wf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function mf(e,t,n,r){return n.length>0&&gw(e,n,r)?{segmentGroup:new O(t,pw(r,new O(n,e.children))),slicedSegments:[]}:n.length===0&&mw(e,n,r)?{segmentGroup:new O(e.segments,hw(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new O(e.segments,e.children),slicedSegments:n}}function hw(e,t,n,r){let o={};for(let i of n)if(ri(e,t,i)&&!r[Se(i)]){let s=new O([],{});o[Se(i)]=s}return g(g({},r),o)}function pw(e,t){let n={};n[C]=t;for(let r of e)if(r.path===""&&Se(r)!==C){let o=new O([],{});n[Se(r)]=o}return n}function gw(e,t,n){return n.some(r=>ri(e,t,r)&&Se(r)!==C)}function mw(e,t,n){return n.some(r=>ri(e,t,r))}function ri(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function vw(e,t,n,r){return Se(e)!==r&&(r===C||!ri(t,n,e))?!1:Ua(t,e,n).matched}function yw(e,t,n){return t.length===0&&!e.children[n]}var Pa=class{};function Dw(e,t,n,r,o,i,s="emptyOnly"){return new ka(e,t,n,r,o,s,i).recognize()}var ww=31,ka=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 Ra(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){let t=mf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(S(({children:n,rootSnapshot:r})=>{let o=new ue(r,n),i=new Xo("",o),s=TD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new ln([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),C,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,C,n).pipe(S(r=>({children:r,rootSnapshot:n})),Ke(r=>{if(r instanceof hr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof fr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(S(s=>s instanceof ue?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return z(i).pipe(ft(s=>{let a=r.children[s],c=kD(n,s);return this.processSegmentGroup(t,c,a,s,o)}),xi((s,a)=>(s.push(...a),s)),Je(null),Ti(),U(s=>{if(s===null)return an(r);let a=Uf(s);return Ew(a),D(a)}))}processSegment(t,n,r,o,i,s,a){return z(n).pipe(ft(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Ke(u=>{if(u instanceof fr)return D(null);throw u}))),Ee(c=>!!c),Ke(c=>{if(Vf(c))return yw(r,o,i)?D(new Pa):an(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return vw(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):an(o):an(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:p}=Ua(n,o,i);if(!c)return an(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ww&&(this.allowRedirects=!1));let f=new ln(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,vf(o),Se(o),o.component??o._loadedComponent??null,o,yf(o)),m=Jo(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let x=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,x).pipe(U(j=>this.processSegment(t,r,n,j.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=dw(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(fe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(fe(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:f}=c,m=new ln(p,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,vf(r),Se(r),r.component??r._loadedComponent??null,r,yf(r)),x=Jo(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(x.params),m.data=Object.freeze(x.data);let{segmentGroup:j,slicedSegments:V}=mf(n,p,f,u);if(V.length===0&&j.hasChildren())return this.processChildren(l,u,j,m).pipe(S(ee=>new ue(m,ee)));if(u.length===0&&V.length===0)return D(new ue(m,[]));let Ve=Se(r)===i;return this.processSegment(l,u,j,V,Ve?C:i,!0,m).pipe(S(ee=>new ue(m,ee instanceof ue?[ee]:[])))}))):an(n)))}getChildConfig(t,n,r){return n.children?D({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?D({routes:n._loadedRoutes,injector:n._loadedInjector}):aw(t,n,r,this.urlSerializer).pipe(U(o=>o?this.configLoader.loadChildren(t,n).pipe(q(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):lw(n))):D({routes:[],injector:t})}};function Ew(e){e.sort((t,n)=>t.value.outlet===C?-1:n.value.outlet===C?1:t.value.outlet.localeCompare(n.value.outlet))}function Iw(e){let t=e.value.routeConfig;return t&&t.path===""}function Uf(e){let t=[],n=new Set;for(let r of e){if(!Iw(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=Uf(r.children);t.push(new ue(r.value,o))}return t.filter(r=>!n.has(r))}function vf(e){return e.data||{}}function yf(e){return e.resolve||{}}function Cw(e,t,n,r,o,i){return U(s=>Dw(e,t,n,r,s.extractedUrl,o,i).pipe(S(({state:a,tree:c})=>$(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function bw(e,t){return U(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return D(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Bf(c))s.add(u);let a=0;return z(s).pipe(ft(c=>i.has(c)?Mw(c,r,e,t):(c.data=Jo(c,c.parent,e).resolve,D(void 0))),q(()=>a++),Ut(1),U(c=>a===s.size?D(n):oe))})}function Bf(e){let t=e.children.map(n=>Bf(n)).flat();return[e,...t]}function Mw(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!kf(o)&&(i[pr]=o.title),Sw(i,e,t,r).pipe(S(s=>(e._resolvedData=s,e.data=Jo(e,e.parent,n).resolve,null)))}function Sw(e,t,n,r){let o=da(e);if(o.length===0)return D({});let i={};return z(o).pipe(U(s=>Tw(e[s],t,n,r).pipe(Ee(),q(a=>{if(a instanceof dr)throw ei(new or,a);i[s]=a}))),Ut(1),Si(i),Ke(s=>Vf(s)?oe:jt(s)))}function Tw(e,t,n,r){let o=gr(t)??r,i=mn(e,o),s=i.resolve?i.resolve(t,n):Re(o,()=>i(t,n));return ct(s)}function ua(e){return fe(t=>{let n=e(t);return n?z(n).pipe(S(()=>t)):D(t)})}var Hf=(()=>{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[pr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(xw),providedIn:"root"});let e=t;return e})(),xw=(()=>{let t=class t extends Hf{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)(T(lf))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ba=new w("",{providedIn:"root",factory:()=>({})}),Nw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["ng-component"]],standalone:!0,features:[Fe],decls:1,vars:0,template:function(o,i){o&1&&G(0,"router-outlet")},dependencies:[Va],encapsulation:2});let e=t;return e})();function Ha(e){let t=e.children&&e.children.map(Ha),n=t?$(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==C&&(n.component=Nw),n}var za=new w(""),_w=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=h(Zs)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return D(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=ct(r.loadComponent()).pipe(S(zf),q(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),$t(()=>{this.componentLoaders.delete(r)})),i=new Ft(o,()=>new Z).pipe(kt());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Aw(o,this.compiler,r,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(o)})),a=new Ft(s,()=>new Z).pipe(kt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Aw(e,t,n,r){return ct(e.loadChildren()).pipe(S(zf),U(o=>o instanceof On||Array.isArray(o)?D(o):z(t.compileModuleAsync(o))),S(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(za,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ha),injector:i}}))}function Rw(e){return e&&typeof e=="object"&&"default"in e}function zf(e){return Rw(e)?e.default:e}var Ga=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(Ow),providedIn:"root"});let e=t;return e})(),Ow=(()=>{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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Pw=new w("");var kw=new w(""),Fw=(()=>{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=h(_w),this.environmentInjector=h(me),this.urlSerializer=h(La),this.rootContexts=h(ni),this.location=h(qn),this.inputBindingEnabled=h($a,{optional:!0})!==null,this.titleStrategy=h(Hf),this.options=h(Ba,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=h(Ga),this.createViewTransition=h(Pw,{optional:!0}),this.navigationErrorHandler=h(kw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let r=i=>this.events.next(new wa(i)),o=i=>this.events.next(new Ea(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next($(g(g({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new Y({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:nr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(de(s=>s.id!==0),S(s=>$(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),fe(s=>{let a=!1,c=!1;return D(s).pipe(fe(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",le.SupersededByNewNavigation),oe;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?$(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let p="";return this.events.next(new St(u.id,this.urlSerializer.serialize(u.rawUrl),p,ga.IgnoredSameUrlNavigation)),u.resolve(!1),oe}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return D(u).pipe(fe(p=>{let f=this.transitions?.getValue();return this.events.next(new ar(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),f!==this.transitions?.getValue()?oe:Promise.resolve(p)}),Cw(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),q(p=>{s.targetSnapshot=p.targetSnapshot,s.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=$(g({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let f=new Yo(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:p,extractedUrl:f,source:m,restoredState:x,extras:j}=u,V=new ar(p,this.urlSerializer.serialize(f),m,x);this.events.next(V);let Ve=Of(this.rootComponentType).snapshot;return this.currentTransition=s=$(g({},u),{targetSnapshot:Ve,urlAfterRedirects:f,extras:$(g({},j),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,D(s)}else{let p="";return this.events.next(new St(u.id,this.urlSerializer.serialize(u.extractedUrl),p,ga.IgnoredByUrlHandlingStrategy)),u.resolve(!1),oe}}),q(u=>{let l=new ma(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),S(u=>(this.currentTransition=s=$(g({},u),{guards:BD(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),XD(this.environmentInjector,u=>this.events.next(u)),q(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw ei(this.urlSerializer,u.guardsResult);let l=new va(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),de(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",le.GuardRejected),!1)),ua(u=>{if(u.guards.canActivateChecks.length)return D(u).pipe(q(l=>{let d=new ya(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),fe(l=>{let d=!1;return D(l).pipe(bw(this.paramsInheritanceStrategy,this.environmentInjector),q({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",le.NoDataFromResolver)}}))}),q(l=>{let d=new Da(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ua(u=>{let l=d=>{let p=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(d.routeConfig).pipe(q(f=>{d.component=f}),S(()=>{})));for(let f of d.children)p.push(...l(f));return p};return kr(l(u.targetSnapshot.root)).pipe(Je(null),Ue(1))}),ua(()=>this.afterPreactivation()),fe(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?z(d).pipe(S(()=>s)):D(s)}),S(u=>{let l=LD(r.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=$(g({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),q(()=>{this.events.next(new ur)}),UD(this.rootContexts,r.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ue(1),q({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Mt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Bt(this.transitionAbortSubject.pipe(q(u=>{throw u}))),$t(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",le.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ke(u=>{if(c=!0,jf(u))this.events.next(new We(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),$D(u)?this.events.next(new hn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new cr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Re(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof dr){let{message:p,cancellationCode:f}=ei(this.urlSerializer,d);this.events.next(new We(s.id,this.urlSerializer.serialize(s.extractedUrl),p,f)),this.events.next(new hn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let p=r.errorHandler(u);s.resolve(!!p)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return oe}))}))}cancelNavigationTransition(r,o,i){let s=new We(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(){let r=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return r.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Lw(e){return e!==nr}var jw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(Vw),providedIn:"root"});let e=t;return e})(),Fa=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},Vw=(()=>{let t=class t extends Fa{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=_s(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Gf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h($w),providedIn:"root"});let e=t;return e})(),$w=(()=>{let t=class t extends Gf{constructor(){super(...arguments),this.location=h(qn),this.urlSerializer=h(La),this.options=h(Ba,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=h(Ga),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ze,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Of(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 ar)this.stateMemento=this.createStateMemento();else if(r instanceof St)this.rawUrlTree=o.initialUrl;else if(r instanceof Yo){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??i,o)}}else r instanceof ur?(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(o.targetBrowserUrl??this.rawUrlTree,o)):r instanceof We&&(r.code===le.GuardRejected||r.code===le.NoDataFromResolver)?this.restoreHistory(o):r instanceof cr?this.restoreHistory(o,!0):r instanceof Mt&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=r instanceof Ze?this.urlSerializer.serialize(r):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=_s(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),er=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(er||{});function Uw(e,t){e.events.pipe(de(n=>n instanceof Mt||n instanceof We||n instanceof cr||n instanceof St),S(n=>n instanceof Mt||n instanceof St?er.COMPLETE:(n instanceof We?n.code===le.Redirect||n.code===le.SupersededByNewNavigation:!1)?er.REDIRECTING:er.FAILED),de(n=>n!==er.REDIRECTING),Ue(1)).subscribe(()=>{t()})}function Bw(e){throw e}var Hw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},qf=(()=>{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.console=h(Ro),this.stateManager=h(Gf),this.options=h(Ba,{optional:!0})||{},this.pendingTasks=h(wt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=h(Fw),this.urlSerializer=h(La),this.location=h(qn),this.urlHandlingStrategy=h(Ga),this._events=new Z,this.errorHandler=this.options.errorHandler||Bw,this.navigated=!1,this.routeReuseStrategy=h(jw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=h(za,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!h($a,{optional:!0}),this.eventsSubscription=new B,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 We&&o.code!==le.Redirect&&o.code!==le.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Mt)this.navigated=!0;else if(o instanceof hn){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=g({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Lw(i.source)},a);this.scheduleNavigation(c,nr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}qw(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),nr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=g({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(r);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Ha),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c??this.options.defaultQueryParamsHandling){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 p;try{let f=i?i.snapshot:this.routerState.snapshot.root;p=Nf(f)}catch{(typeof r[0]!="string"||r[0][0]!=="/")&&(r=[]),p=this.currentUrlTree.root}return _f(p,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=ir(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,nr,null,o)}navigate(r,o={skipLocationChange:!1}){return Gw(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({},Hw):o===!1?i=g({},zw):i=o,ir(r))return ff(this.currentUrlTree,r,i);let s=this.parseUrl(r);return ff(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((p,f)=>{c=p,u=f});let d=this.pendingTasks.add();return Uw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Gw(e){for(let t=0;tn.\u0275providers)])}function Zw(e){return e.routerState.root}function Yw(){let e=h(Ge);return t=>{let n=e.get(Le);if(t!==n.components[0])return;let r=e.get(qf),o=e.get(Qw);e.get(Kw)===1&&r.initialNavigation(),e.get(Jw,null,b.Optional)?.setUpPreloading(),e.get(Ww,null,b.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Qw=new w("",{factory:()=>new Z}),Kw=new w("",{providedIn:"root",factory:()=>1});var Jw=new w("");var oi=(()=>{let t=class t{constructor(r){this.elementRef=r,this.appClick="",this.destroyed$=new Z}ngOnInit(){this.appClick&&Dn(this.elementRef.nativeElement,"click").pipe(Bt(this.destroyed$)).subscribe(()=>{this.track()})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}track(){window.gtag("event","Clicked",{event_category:this.trackCategory||"Link",event_label:this.appClick})}};t.\u0275fac=function(o){return new(o||t)(Un(nn))},t.\u0275dir=Pn({type:t,selectors:[["","appClick",""]],inputs:{appClick:"appClick",trackCategory:"trackCategory"},standalone:!0});let e=t;return e})();var Zf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-links"]],standalone:!0,features:[Fe],decls:10,vars:0,consts:[["href","https://www.linkedin.com/in/aleksei-p/","target","_blank","appClick","LinkedIn link",1,"profile-link"],[1,"sr-only"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",1,"icon"],["fill","currentColor","d","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"],["href","https://github.com/alekart","target","_blank","appClick","GitHub link",1,"profile-link"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"icon"],["fill","currentColor","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]],template:function(o,i){o&1&&(F(0,"a",0)(1,"span",1),ye(2," Get in touch on LinkedIn "),L(),tn(),F(3,"svg",2),G(4,"path",3),L()(),Vn(),F(5,"a",4)(6,"span",1),ye(7," Check out my code on GitHub "),L(),tn(),F(8,"svg",5),G(9,"path",6),L()())},dependencies:[oi],styles:["a.profile-link[_ngcontent-%COMP%]{display:inline-block;margin:0 10px;font-size:40px}"]});let e=t;return e})();var Yf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-intro"]],standalone:!0,features:[Fe],decls:39,vars:0,consts:[[1,"logo-full","svg-shadow"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 627 627",1,"alek-logo"],["id","uuid-e78cf07c-5296-4015-b7be-d1373f5ef3ed"],["points","383.98 228.96 325.51 312.94 438.11 474.68 555.04 474.68 383.98 228.96","fill","none"],["id","uuid-c8667381-0771-42b6-96ee-8c9746b688d4"],["points","466.95 69.52 350.02 69.52 67.96 474.68 254.89 474.68 317.22 385.15 247.22 385.15 466.95 69.52","fill","none"],["clip-path","url(#uuid-e78cf07c-5296-4015-b7be-d1373f5ef3ed)"],["x1","321.5","y1","228.5","x2","527.5","y2","515.5","fill","none","stroke-miterlimit","10","stroke-width","110",1,"logo-line","logo-line--two"],["clip-path","url(#uuid-c8667381-0771-42b6-96ee-8c9746b688d4)"],["points","325.51 431 161 431 440.27 29.6","fill","none","stroke-miterlimit","10","stroke-width","110",1,"logo-line","logo-line--one"],[1,"alek-logo-type"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 140.48 24.92",1,"svg-shadow"],["points","11.46 0 0 24.92 2.67 24.92 12.55 3.12 22.47 24.92 25.14 24.92 13.67 0 11.46 0","fill","currentColor"],["points","47.36 0 44.9 0 44.9 24.92 61.31 24.92 61.31 22.64 47.36 22.64 47.36 0","fill","currentColor"],[1,"broken"],["x","81.32","width","17.41","height","2.28","fill","currentColor"],["x","81.32","y","11.15","width","17.41","height","2.25","fill","currentColor"],["x","81.32","y","22.64","width","17.41","height","2.28","fill","currentColor"],["points","128.8 11.37 139.81 0 136.7 0 125.63 11.41 137.42 24.92 140.48 24.92 128.8 11.37","fill","currentColor"],["x","119.61","width","2.46","height","24.92","fill","currentColor"],[1,"who-i-am"],[1,"name"],[1,"bold"],[1,"job"],["target","_blank","appClick","CV Download","href","assets/aleksei-polechin-cv.pdf",1,"btn"],[1,"social-links"],[1,"skills"]],template:function(o,i){o&1&&(F(0,"div",0),tn(),F(1,"svg",1)(2,"defs")(3,"clipPath",2),G(4,"polygon",3),L(),F(5,"clipPath",4),G(6,"polygon",5),L()(),F(7,"g",6),G(8,"line",7),L(),F(9,"g",8),G(10,"polyline",9),L()()(),Vn(),F(11,"div",10),tn(),F(12,"svg",11),G(13,"polygon",12)(14,"polygon",13),F(15,"g",14),G(16,"rect",15)(17,"rect",16)(18,"rect",17),L(),F(19,"g"),G(20,"polygon",18)(21,"rect",19),L()()(),Vn(),F(22,"div",20)(23,"p")(24,"span",21)(25,"span",22),ye(26,"Aleksei"),L(),ye(27," Polechin"),L(),G(28,"br"),F(29,"strong",23),ye(30,"Front-end developer"),L(),G(31,"br"),ye(32," with graphic design skills "),L(),F(33,"a",24),ye(34,"Download CV"),L(),F(35,"div",25),G(36,"app-links"),L(),F(37,"p",26),ye(38,"Angular, TypeScript, JavaScript, NodeJs, Adobe Suite"),L()())},dependencies:[Zf,oi],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center}.logo-full[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.alek-logo[_ngcontent-%COMP%]{width:90px;animation:blink .3s forwards;animation-delay:.55s}.alek-logo[_ngcontent-%COMP%]:hover{animation:none}.alek-logo[_ngcontent-%COMP%]:hover .logo-line[_ngcontent-%COMP%]{animation:none;stroke-dasharray:0;stroke-dashoffset:0}.alek-logo-type[_ngcontent-%COMP%]{position:relative;display:block;width:140px;margin-top:10px;animation:alek-in .6s both;animation-delay:1s}.skills[_ngcontent-%COMP%]{font-size:11px;color:#bebebe}.logo-line[_ngcontent-%COMP%]{stroke:currentColor}.logo-line--two[_ngcontent-%COMP%]{stroke-dasharray:400;stroke-dashoffset:400;stroke-width:110px;animation:dash .3s ease-in-out forwards;animation-delay:.25s}.logo-line--one[_ngcontent-%COMP%]{stroke-width:110px;stroke-dasharray:1000;stroke-dashoffset:1000;animation:dash .55s ease-in-out forwards}.who-i-am[_ngcontent-%COMP%]{margin-top:70px;font-size:13px;text-align:center;animation:alek-in-2 .6s both;animation-delay:2s}.job[_ngcontent-%COMP%], .name[_ngcontent-%COMP%]{letter-spacing:.1em;white-space:nowrap}.name[_ngcontent-%COMP%]{margin-bottom:0;margin-top:20px;font-size:16px;letter-spacing:.128em}.broken[_ngcontent-%COMP%]{animation:broken 4s infinite}"]});let e=t;return e})();var Qf=[{path:"",component:Yf,title:"Alek - Aleksei Polechin - Front-end developer with graphic design skills"}];var Kf={providers:[Wf(Qf),df()]};var Jf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-footer"]],standalone:!0,features:[Fe],decls:2,vars:0,template:function(o,i){o&1&&(F(0,"footer"),ye(1,"\xA9 Aleksei Polechin"),L())},styles:["[_nghost-%COMP%]{display:flex;flex:0 0 40px;width:100%;height:40px;font-size:10px;text-align:center;color:#888;align-items:center;justify-content:center}"]});let e=t;return e})();var Xf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-root"]],standalone:!0,features:[Fe],decls:3,vars:0,template:function(o,i){o&1&&(F(0,"main"),G(1,"router-outlet"),L(),G(2,"app-footer"))},dependencies:[Va,Jf],styles:["main[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:15dvh}"]});let e=t;return e})();uf(Xf,Kf).catch(e=>console.error(e)); + `)}`}function Zt(e,t){let n=e.hasOwnProperty(Wr);return n?e[Wr]:null}function Ds(e,t){e.forEach(n=>Array.isArray(n)?Ds(n,t):t(n))}function mu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Cn={},gt=[],mt=new w(""),vu=new w("",-1),yu=new w(""),Qr=class{get(t,n=In){if(n===In){let r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}},Du=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Du||{}),Ne=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ne||{}),nt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(nt||{});function rp(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 Ui(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function up(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ee(s)&&(t+=Pc(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=Pc(i,o)),t}function pp(e){return e.map(hp).join(",")}function gp(e){let t=[],n=[],r=1,o=2;for(;r{let t=Mu(e),n=$(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||Ne.Emulated,styles:e.styles||gt,_:null,schemas:e.schemas||null,tView:null,id:""});Su(n);let r=e.dependencies;return n.directiveDefs=Fc(r,!1),n.pipeDefs=Fc(r,!0),n.id=yp(n),n})}function mp(e){return vt(e)||Eu(e)}function vp(e){return e!==null}function kc(e,t){if(e==null)return Cn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=nt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==nt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Pn(e){return vs(()=>{let t=Mu(e);return Su(t),t})}function vt(e){return e[$h]||null}function Eu(e){return e[Uh]||null}function Iu(e){return e[Bh]||null}function Cu(e){let t=vt(e)||Eu(e)||Iu(e);return t!==null?t.standalone:!1}function bu(e,t){let n=e[Hh]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function Mu(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||Cn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||gt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:kc(e.inputs,t),outputs:kc(e.outputs),debugInfo:null}}function Su(e){e.features?.forEach(t=>t(e))}function Fc(e,t){if(!e)return null;let n=t?Iu:mp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(vp)}function yp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function en(e){return{\u0275providers:e}}function Dp(...e){return{\u0275providers:Tu(!0,e),\u0275fromNgModule:!0}}function Tu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ds(t,s=>{let a=s;Bi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&xu(o,i),n}function xu(e,t){for(let n=0;n{t(i,r)})}}function Bi(e,t,n,r){if(e=pe(e),!e)return!1;let o=null,i=Nc(e),s=!i&&vt(e);if(!i&&!s){let c=e.ngModule;if(i=Nc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Bi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ds(i.imports,l=>{Bi(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&xu(u,t)}if(!a){let u=Zt(o)||(()=>new o);t({provide:o,useFactory:u,deps:gt},o),t({provide:yu,useValue:o,multi:!0},o),t({provide:mt,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Is(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Is(e,t){for(let n of e)hu(n)&&(n=n.\u0275providers),Array.isArray(n)?Is(n,t):t(n)}var wp=k({provide:String,useValue:k});function Nu(e){return e!==null&&typeof e=="object"&&wp in e}function Ep(e){return!!(e&&e.useExisting)}function Ip(e){return!!(e&&e.useFactory)}function Hi(e){return typeof e=="function"}var yo=new w(""),Br={},Cp={},Ni;function Cs(){return Ni===void 0&&(Ni=new Qr),Ni}var me=class{},bn=class extends me{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,Gi(t,s=>this.processProvider(s)),this.records.set(vu,Ht(void 0,this)),o.has("environment")&&this.records.set(me,Ht(void 0,this));let i=this.records.get(yo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(yu,gt,b.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Xe(this),r=he(void 0),o;try{return t()}finally{Xe(n),he(r)}}get(t,n=In,r=b.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Ac))return t[Ac](this);r=vo(r);let o,i=Xe(this),s=he(void 0);try{if(!(r&b.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Np(t)&&mo(t);u&&this.injectableDefInScope(u)?c=Ht(zi(t),Br):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&b.Self?Cs():this.parent;return n=r&b.Optional&&n===In?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(ie(t)),i)throw a;return tp(a,t,"R3InjectorError",this.source)}else throw a}finally{he(s),Xe(i)}}resolveInjectorInitializers(){let t=P(null),n=Xe(this),r=he(void 0),o;try{let i=this.get(mt,gt,b.Self);for(let s of i)s()}finally{Xe(n),he(r),P(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(t){t=pe(t);let n=Hi(t)?t:pe(t&&t.provide),r=Mp(t);if(!Hi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ht(void 0,Br,!0),o.factory=()=>$i(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=P(null);try{return n.value===Br&&(n.value=Cp,n.value=n.factory()),typeof n.value=="object"&&n.value&&xp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{P(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=pe(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 zi(e){let t=mo(e),n=t!==null?t.factory:Zt(e);if(n!==null)return n;if(e instanceof w)throw new y(204,!1);if(e instanceof Function)return bp(e);throw new y(204,!1)}function bp(e){if(e.length>0)throw new y(204,!1);let n=jh(e);return n!==null?()=>n.factory(e):()=>new e}function Mp(e){if(Nu(e))return Ht(void 0,e.useValue);{let t=Sp(e);return Ht(t,Br)}}function Sp(e,t,n){let r;if(Hi(e)){let o=pe(e);return Zt(o)||zi(o)}else if(Nu(e))r=()=>pe(e.useValue);else if(Ip(e))r=()=>e.useFactory(...$i(e.deps||[]));else if(Ep(e))r=()=>T(pe(e.useExisting));else{let o=pe(e&&(e.useClass||e.provide));if(Tp(e))r=()=>new o(...$i(e.deps));else return Zt(o)||zi(o)}return r}function Ht(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Tp(e){return!!e.deps}function xp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Np(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function Gi(e,t){for(let n of e)Array.isArray(n)?Gi(n,t):n&&hu(n)?Gi(n.\u0275providers,t):t(n)}function Re(e,t){e instanceof bn&&e.assertNotDestroyed();let n,r=Xe(e),o=he(void 0);try{return t()}finally{Xe(r),he(o)}}function _p(){return pu()!==void 0||Jh()!=null}function Ap(e){return typeof e=="function"}var ae=0,M=1,I=2,K=3,Ie=4,be=5,_e=6,Lc=7,rt=8,Yt=9,Be=10,J=11,Mn=12,jc=13,kn=14,ve=15,Sn=16,zt=17,Do=18,wo=19,_u=20,tt=21,_i=22,ge=23,ce=25,Au=1,Tn=6,He=7,Kr=8,Jr=9,se=10,Xr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Xr||{});function xe(e){return Array.isArray(e)&&typeof e[Au]=="object"}function Oe(e){return Array.isArray(e)&&e[Au]===!0}function Ru(e){return(e.flags&4)!==0}function Eo(e){return e.componentOffset>-1}function Rp(e){return(e.flags&1)===1}function Fn(e){return!!e.template}function eo(e){return(e[I]&512)!==0}var qi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ou(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Io(){return Pu}function Pu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pp),Op}Io.ngInherit=!0;function Op(){let e=Fu(this),t=e?.current;if(t){let n=e.previous;if(n===Cn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pp(e,t,n,r,o){let i=this.declaredInputs[r],s=Fu(e)||kp(e,{previous:Cn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new qi(u&&u.currentValue,n,c===Cn),Ou(e,t,o,n)}var ku="__ngSimpleChanges__";function Fu(e){return e[ku]||null}function kp(e,t){return e[ku]=t}var Vc=null;var et=function(e,t,n){Vc?.(e,t,n)},Lu="svg",Fp="math";function ze(e){for(;Array.isArray(e);)e=e[ae];return e}function Pe(e,t){return ze(t[e.index])}function Lp(e,t){return e.data[t]}function Ln(e,t){let n=t[e];return xe(n)?n:n[ae]}function bs(e){return(e[I]&128)===128}function jp(e){return Oe(e[K])}function $c(e,t){return t==null?null:e[t]}function ju(e){e[zt]=0}function Vu(e){e[I]&1024||(e[I]|=1024,bs(e)&&Co(e))}function xn(e){return!!(e[I]&9216||e[ge]?.dirty)}function Wi(e){e[Be].changeDetectionScheduler?.notify(7),e[I]&64&&(e[I]|=1024),xn(e)&&Co(e)}function Co(e){e[Be].changeDetectionScheduler?.notify(0);let t=yt(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!bs(t)));)t=yt(t)}function $u(e,t){if((e[I]&256)===256)throw new y(911,!1);e[tt]===null&&(e[tt]=[]),e[tt].push(t)}function Vp(e,t){if(e[tt]===null)return;let n=e[tt].indexOf(t);n!==-1&&e[tt].splice(n,1)}function yt(e){let t=e[K];return Oe(t)?t[K]:t}var R={lFrame:Yu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Uu=!1;function $p(){return R.lFrame.elementDepthCount}function Up(){R.lFrame.elementDepthCount++}function Bp(){R.lFrame.elementDepthCount--}function Bu(){return R.bindingsEnabled}function jn(){return R.skipHydrationRootTNode!==null}function Hp(e){return R.skipHydrationRootTNode===e}function zp(e){R.skipHydrationRootTNode=e}function Gp(){R.skipHydrationRootTNode=null}function Ce(){return R.lFrame.lView}function Ms(){return R.lFrame.tView}function qe(){let e=Hu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Hu(){return R.lFrame.currentTNode}function qp(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function bo(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function zu(){return R.lFrame.isParent}function Wp(){R.lFrame.isParent=!1}function Gu(){return Uu}function Uc(e){Uu=e}function Zp(e){return R.lFrame.bindingIndex=e}function Yp(){return R.lFrame.inI18n}function Qp(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zi(t)}function Kp(){return R.lFrame.currentDirectiveIndex}function Zi(e){R.lFrame.currentDirectiveIndex=e}function qu(e){R.lFrame.currentQueryIndex=e}function Jp(e){let t=e[M];return t.type===2?t.declTNode:t.type===1?e[be]:null}function Wu(e,t,n){if(n&b.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&b.Host);)if(o=Jp(i),o===null||(i=i[kn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=Zu();return r.currentTNode=t,r.lView=e,!0}function Ss(e){let t=Zu(),n=e[M];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Zu(){let e=R.lFrame,t=e===null?null:e.child;return t===null?Yu(e):t}function Yu(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 Qu(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ku=Qu;function Ts(){let e=Qu();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 Xp(){return R.lFrame.selectedIndex}function Dt(e){R.lFrame.selectedIndex=e}function tn(){R.lFrame.currentNamespace=Lu}function Vn(){eg()}function eg(){R.lFrame.currentNamespace=null}function Ju(){return R.lFrame.currentNamespace}var Xu=!0;function el(){return Xu}function st(e){Xu=e}function tg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Pu(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 tl(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[zt]+=65536),(a>14>16&&(e[I]&3)===t&&(e[I]+=16384,Bc(a,i)):Bc(a,i)}var Wt=-1,Nn=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function rg(e){return e instanceof Nn}function og(e){return(e.flags&8)!==0}function ig(e){return(e.flags&16)!==0}var Ri={},Yi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=vo(r);let o=this.injector.get(t,Ri,r);return o!==Ri||n===Ri?o:this.parentInjector.get(t,n,r)}};function rl(e){return e!==Wt}function to(e){return e&32767}function sg(e){return e>>16}function no(e,t){let n=sg(e),r=t;for(;n>0;)r=r[kn],n--;return r}var Qi=!0;function Hc(e){let t=Qi;return Qi=e,t}var ag=256,ol=ag-1,il=5,cg=0,Te={};function ug(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(En)&&(r=n[En]),r==null&&(r=n[En]=cg++);let o=r&ol,i=1<>il)]|=i}function sl(e,t){let n=al(e,t);if(n!==-1)return n;let r=t[M];r.firstCreatePass&&(e.injectorIndex=t.length,Oi(r.data,e),Oi(t,null),Oi(r.blueprint,null));let o=xs(e,t),i=e.injectorIndex;if(rl(o)){let s=to(o),a=no(o,t),c=a[M].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Oi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function al(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function xs(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=fl(o),r===null)return Wt;if(n++,o=o[kn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wt}function lg(e,t,n){ug(e,t,n)}function cl(e,t,n){if(n&b.Optional||e!==void 0)return e;ys(t,"NodeInjector")}function ul(e,t,n,r){if(n&b.Optional&&r===void 0&&(r=null),!(n&(b.Self|b.Host))){let o=e[Yt],i=he(void 0);try{return o?o.get(t,r,n&b.Optional):gu(t,r,n&b.Optional)}finally{he(i)}}return cl(r,t,n)}function ll(e,t,n,r=b.Default,o){if(e!==null){if(t[I]&2048&&!(r&b.Self)){let s=gg(e,t,n,r,Te);if(s!==Te)return s}let i=dl(e,t,n,r,Te);if(i!==Te)return i}return ul(t,n,r,o)}function dl(e,t,n,r,o){let i=hg(n);if(typeof i=="function"){if(!Wu(t,e,r))return r&b.Host?cl(o,n,r):ul(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&b.Optional))ys(n);else return s}finally{Ku()}}else if(typeof i=="number"){let s=null,a=al(e,t),c=Wt,u=r&b.Host?t[ve][be]:null;for((a===-1||r&b.SkipSelf)&&(c=a===-1?xs(e,t):t[a+8],c===Wt||!Gc(r,!1)?a=-1:(s=t[M],a=to(c),t=no(c,t)));a!==-1;){let l=t[M];if(zc(i,a,l.data)){let d=dg(a,t,n,s,r,u);if(d!==Te)return d}c=t[a+8],c!==Wt&&Gc(r,t[M].data[a+8]===u)&&zc(i,a,t)?(s=l,a=to(c),t=no(c,t)):a=-1}}return o}function dg(e,t,n,r,o,i){let s=t[M],a=s.data[e+8],c=r==null?Eo(a)&&Qi:r!=s&&(a.type&3)!==0,u=o&b.Host&&i===a,l=fg(a,s,n,c,u);return l!==null?_n(t,s,l,a):Te}function fg(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f=c&&m.type===n)return f}if(o){let f=s[c];if(f&&Fn(f)&&f.type===n)return c}return null}function _n(e,t,n,r){let o=e[n],i=t.data;if(rg(o)){let s=o;s.resolving&&qh(Gh(i[n]));let a=Hc(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?he(s.injectImpl):null,l=Wu(e,r,b.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&tg(n,i[n],t)}finally{u!==null&&he(u),Hc(a),s.resolving=!1,Ku()}}return o}function hg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(En)?e[En]:void 0;return typeof t=="number"?t>=0?t&ol:pg:t}function zc(e,t,n){let r=1<>il)]&r)}function Gc(e,t){return!(e&b.Self)&&!(e&b.Host&&t)}var pt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ll(this._tNode,this._lView,t,vo(r),n)}};function pg(){return new pt(qe(),Ce())}function Ns(e){return vs(()=>{let t=e.prototype.constructor,n=t[Wr]||Ki(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Wr]||Ki(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ki(e){return uu(e)?()=>{let t=Ki(pe(e));return t&&t()}:Zt(e)}function gg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=dl(i,s,n,r|b.Self,Te);if(a!==Te)return a;let c=i.parent;if(!c){let u=s[_u];if(u){let l=u.get(n,Te,r);if(l!==Te)return l}c=fl(s),s=s[kn]}i=c}return o}function fl(e){let t=e[M],n=t.type;return n===2?t.declTNode:n===1?e[be]:null}function qc(e,t=null,n=null,r){let o=hl(e,t,n,r);return o.resolveInjectorInitializers(),o}function hl(e,t=null,n=null,r,o=new Set){let i=[n||gt,Dp(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new bn(i,t||Cs(),r||null,o)}var ht=class ht{static create(t,n){if(Array.isArray(t))return qc({name:""},n,t,"");{let r=t.name??"";return qc({name:r},t.parent,t.providers,r)}}};ht.THROW_IF_NOT_FOUND=In,ht.NULL=new Qr,ht.\u0275prov=E({token:ht,providedIn:"any",factory:()=>T(vu)}),ht.__NG_ELEMENT_ID__=-1;var Ge=ht;var mg=new w("");mg.__NG_ELEMENT_ID__=e=>{let t=qe();if(t===null)throw new y(204,!1);if(t.type&2)return t.value;if(e&b.Optional)return null;throw new y(204,!1)};var vg="ngOriginalError";function Pi(e){return e[vg]}var pl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=yg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ji=class extends pl{constructor(t){super(),this._lView=t}onDestroy(t){return $u(this._lView,t),()=>Vp(this._lView,t)}};function yg(){return new Ji(Ce())}var wt=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Y(!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.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();var Xi=class extends Z{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,_p()&&(this.destroyRef=h(pl,{optional:!0})??void 0,this.pendingTasks=h(wt,{optional:!0})??void 0)}emit(t){let n=P(null);try{super.next(t)}finally{P(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},X=Xi;function ro(...e){}function gl(e){let t,n;function r(){e=ro;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Wc(e){return queueMicrotask(()=>e()),()=>{e=ro}}var _s="isAngularZone",oo=_s+"_ID",Dg=0,W=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 X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1),typeof Zone>"u")throw new y(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.callbackScheduled=!1,Ig(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_s)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(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,wg,ro,ro);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)}},wg={};function As(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 Eg(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{gl(()=>{e.callbackScheduled=!1,es(e),e.isCheckStableRunning=!0,As(e),e.isCheckStableRunning=!1})}),es(e))}function Ig(e){let t=()=>{Eg(e)},n=Dg++;e._inner=e._inner.fork({name:"angular",properties:{[_s]:!0,[oo]:n,[oo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Cg(c))return r.invokeTask(i,s,a,c);try{return Zc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Yc(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Zc(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!bg(c)&&t(),Yc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,es(e),As(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function es(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Zc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yc(e){e._nesting--,As(e)}var ts=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Cg(e){return ml(e,"__ignore_ng_zone__")}function bg(e){return ml(e,"__scheduler_tick__")}function ml(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ot=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&&Pi(t);for(;n&&Pi(n);)n=Pi(n);return n||null}},Mg=new w("",{providedIn:"root",factory:()=>{let e=h(W),t=h(ot);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Sg(){return Rs(qe(),Ce())}function Rs(e,t){return new nn(Pe(e,t))}var nn=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Sg;let e=t;return e})();var Tg="ngSkipHydration",xg="ngskiphydration";function vl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nPg}),Pg="ng",Os=new w(""),ke=new w("",{providedIn:"platform",factory:()=>"unknown"});var Ps=new w("",{providedIn:"root",factory:()=>Mo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function kg(){let e=new rn;return h(ke)==="browser"&&(e.store=Fg(Mo(),h(So))),e}var rn=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function Hg(e,t,n=!1){let r=e.getAttribute(ki);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let l=t.get(rn,null,{optional:!0});l!==null&&(c=l.get(xl,[])[Number(r)])}let u={data:c,firstChild:e.firstChild??null};return n&&(u.firstChild=e,To(u,0,e.nextSibling)),a?e.setAttribute(ki,a):e.removeAttribute(ki),u}function zg(){Nl=Hg}function Fs(e,t,n=!1){return Nl(e,t,n)}function Gg(e){let t=e._lView;return t[M].type===2?null:(eo(t)&&(t=t[ce]),t)}function qg(e){return e.textContent?.replace(/\s/gm,"")}function Wg(e){let t=Mo(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=qg(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function To(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function os(e,t){return e.segmentHeads?.[t]??null}function Zg(e,t){let n=e.data,r=n[Lg]?.[t]??null;return r===null&&n[ks]?.[t]&&(r=Ls(e,t)),r}function _l(e,t){return e.data[ks]?.[t]??null}function Ls(e,t){let n=_l(e,t)??[],r=0;for(let o of n)r+=o[so]*(o[Sl]??1);return r}function Yg(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[Tl];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function $n(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Tl];e.disconnectedNodes=n?new Set(n):null}return!!Yg(e)?.has(t)}var jr=new w(""),Al=!1,Rl=new w("",{providedIn:"root",factory:()=>Al});var Qg=/^>|^->||--!>|)/g,Jg="\u200B$1\u200B";function Xg(e){return e.replace(Qg,t=>t.replace(Kg,Jg))}function em(e){return e.ownerDocument.body}function Ol(e){return e instanceof Function?e():e}function Vr(e){return(e??h(Ge)).get(ke)==="browser"}var Et=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Et||{}),tm;function js(e,t){return tm(e,t)}function Gt(e,t,n,r,o){if(r!=null){let i,s=!1;Oe(r)?i=r:xe(r)&&(s=!0,r=r[ae]);let a=ze(r);e===0&&n!==null?o==null?Vl(t,n,a):ao(t,n,a,o||null,!0):e===1&&n!==null?ao(t,n,a,o||null,!0):e===2?Us(t,a,s):e===3&&t.destroyNode(a),i!=null&&gm(t,e,i,n,o)}}function Pl(e,t){return e.createText(t)}function kl(e,t){return e.createComment(Xg(t))}function Vs(e,t,n){return e.createElement(t,n)}function nm(e,t){Fl(e,t),t[ae]=null,t[be]=null}function rm(e,t,n,r,o,i){r[ae]=o,r[be]=t,xo(e,r,n,1,o,i)}function Fl(e,t){t[Be].changeDetectionScheduler?.notify(8),xo(e,t,t[J],2,null,null)}function om(e){let t=e[Mn];if(!t)return Fi(e[M],e);for(;t;){let n=null;if(xe(t))n=t[Mn];else{let r=t[se];r&&(n=r)}if(!n){for(;t&&!t[Ie]&&t!==e;)xe(t)&&Fi(t[M],t),t=t[K];t===null&&(t=e),xe(t)&&Fi(t[M],t),n=t&&t[Ie]}t=n}}function im(e,t,n,r){let o=se+r,i=n.length;r>0&&(n[o-1][Ie]=t),r0&&(e[n-1][Ie]=r[Ie]);let i=Yr(e,se+t);nm(r[M],r);let s=i[Do];s!==null&&s.detachView(i[M]),r[K]=null,r[Ie]=null,r[I]&=-129}return r}function jl(e,t){if(!(t[I]&256)){let n=t[J];n.destroyNode&&xo(e,t,n,3,null,null),om(t)}}function Fi(e,t){if(t[I]&256)return;let n=P(null);try{t[I]&=-129,t[I]|=256,t[ge]&&li(t[ge]),am(e,t),sm(e,t),t[M].type===1&&t[J].destroy();let r=t[Sn];if(r!==null&&Oe(t[K])){r!==t[K]&&$s(r,t);let o=t[Do];o!==null&&o.detachView(e)}Og(t)}finally{P(n)}}function sm(e,t){let n=e.cleanup,r=t[Lc];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Lc]=null);let o=t[tt];if(o!==null){t[tt]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ne.None||i===Ne.Emulated)return null}return Pe(r,n)}}function ao(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Vl(e,t,n){e.appendChild(t,n)}function Kc(e,t,n,r,o){r!==null?ao(e,t,n,r,o):Vl(e,t,n)}function $l(e,t){return e.parentNode(t)}function lm(e,t){return e.nextSibling(t)}function dm(e,t,n){return hm(e,t,n)}function fm(e,t,n){return e.type&40?Pe(e,n):null}var hm=fm,Jc;function Ul(e,t,n,r){let o=cm(e,r,t),i=t[J],s=r.parent||t[be],a=dm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cce&&vm(e,t,ce,!1),et(s?2:0,o),n(r,o)}finally{Dt(i),et(s?3:1,o)}}function Ql(e,t,n){if(Ru(t)){let r=P(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Mm(e){yl(e)?Hl(e):Wg(e)}function Sm(){Xl=Mm}function Tm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return jn()&&(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 Xc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=nt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?eu(r,n,u,a,c):eu(r,n,u,a)}return r}function eu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function xm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Rm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Eo(n)&&Vm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||sl(n,t),Qt(r,t);let s=n.initialInputs;for(let a=o;a{Co(e.lView)},consumerOnSignalRead(){this.lView[ge]=this}});function Xm(e){let t=e[ge]??Object.create(ev);return t.lView=e,t}var ev=$(g({},ai),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=yt(e.lView);for(;t&&!sd(t[M]);)t=yt(t);t&&Vu(t)},consumerOnSignalRead(){this.lView[ge]=this}});function sd(e){return e.type!==2}var tv=100;function ad(e,t=!0,n=0){let r=e[Be],o=r.rendererFactory,i=!1;i||o.begin?.();try{nv(e,n)}catch(s){throw t&&Hm(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function nv(e,t){let n=Gu();try{Uc(!0),us(e,t);let r=0;for(;xn(e);){if(r===tv)throw new y(103,!1);r++,us(e,1)}}finally{Uc(n)}}function rv(e,t,n,r){let o=t[I];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Be].inlineEffectRunner?.flush(),Ss(t);let a=!0,c=null,u=null;i||(sd(e)?(u=Ym(t),c=ci(u)):Qa()===null?(a=!1,u=Xm(t),c=ci(u)):t[ge]&&(li(t[ge]),t[ge]=null));try{ju(t),Zp(e.bindingStartIndex),n!==null&&Yl(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Hr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&zr(t,f,0,null),Ai(t,0)}if(s||ov(t),cd(t,0),e.contentQueries!==null&&nd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Hr(t,f)}else{let f=e.contentHooks;f!==null&&zr(t,f,1),Ai(t,1)}ym(e,t);let d=e.components;d!==null&&ld(t,d,0);let p=e.viewQuery;if(p!==null&&cs(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Hr(t,f)}else{let f=e.viewHooks;f!==null&&zr(t,f,2),Ai(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[_i]){for(let f of t[_i])f();t[_i]=null}i||(t[I]&=-73)}catch(l){throw i||Co(t),l}finally{u!==null&&(Ka(u,c),a&&Km(u)),Ts()}}function cd(e,t){for(let n=wl(e);n!==null;n=El(n))for(let r=se;r-1&&(is(t,r),Yr(n,r))}this._attachedToViewContainer=!1}jl(this._lView[M],this._lView)}onDestroy(t){$u(this._lView,t)}markForCheck(){dd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){Wi(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,ad(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=eo(this._lView),n=this._lView[Sn];n!==null&&!t&&$s(n,this._lView),Fl(this._lView[M],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=eo(this._lView),r=this._lView[Sn];r!==null&&!n&&Ll(r,this._lView),Wi(this._lView)}};var sv=new RegExp(`^(\\d+)*(${Ml}|${bl})*(.*)`);function av(e){let t=e.match(sv),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function cv(e){return!e.prev&&e.parent?.type===8}function Li(e){return e.index-ce}function uv(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function No(e,t,n,r){let o=Li(r),i=uv(e,o);if(i===void 0){let s=e.data[$g];if(s?.[o])i=dv(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(cv(r)){let u=Li(r.parent);i=os(e,u)}else{let u=Pe(c,n);if(a)i=u.firstChild;else{let l=Li(c),d=os(e,l);if(c.type===2&&d){let f=Ls(e,l)+1;i=_o(f,d)}else i=u.nextSibling}}}}return i}function _o(e,t){let n=t;for(let r=0;r0&&(i.firstChild=e,e=_o(r[so],e)),n.push(i)}return[e,n]}var pd=()=>null;function Dv(e,t){let n=e[Tn];return!t||n===null||n.length===0?null:n[0].data[Vg]===t?n.shift():(fd(e),null)}function wv(){pd=Dv}function nu(e,t){return pd(e,t)}var An=class{},gd=new w("",{providedIn:"root",factory:()=>!1});var md=new w(""),ls=class{},lo=class{};function Ev(e){let t=Error(`No component factory found for ${ie(e)}.`);return t[Iv]=e,t}var Iv="ngComponent";var ds=class{resolveComponentFactory(t){throw Ev(t)}},Ys=class Ys{};Ys.NULL=new ds;var Jt=Ys,Xt=class{};var Cv=(()=>{let t=class t{};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>null});let e=t;return e})();var ru=new Set;function Bn(e){ru.has(e)||(ru.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var vd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=E({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function fs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&zl(e,n,i.join(" "))}}function _v(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Rv;let e=t;return e})();function Rv(){let e=qe();return Pv(e,Ce())}var Ov=Ao,yd=class extends Ov{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Rs(this._hostTNode,this._hostLView)}get injector(){return new pt(this._hostTNode,this._hostLView)}get parentInjector(){let t=xs(this._hostTNode,this._hostLView);if(rl(t)){let n=no(t,this._hostLView),r=to(t),o=n[M].data[r+8];return new pt(o,n)}else return new pt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=iu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-se}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=nu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,tu(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Ap(t),a;if(s)a=n;else{let m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?t:new Rn(vt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let x=(s?u:this.parentInjector).get(me,null);x&&(i=x)}let l=vt(c.componentType??{}),d=nu(this._lContainer,l?.id??null),p=d?.firstChild??null,f=c.create(u,o,p,i);return this.insertImpl(f.hostView,a,tu(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(jp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new yd(c,c[be],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Wm(s,o,i,r),t.attachToViewContainerRef(),mu(ji(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=iu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=is(this._lContainer,n);r&&(Yr(ji(this._lContainer),n),jl(r[M],r))}detach(t){let n=this._adjustIndex(t,-1),r=is(this._lContainer,n);return r&&Yr(ji(this._lContainer),n)!=null?new Kt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function iu(e){return e[Kr]}function ji(e){return e[Kr]||(e[Kr]=[])}function Pv(e,t){let n,r=t[e.index];return Oe(r)?n=r:(n=Bm(r,t,null,e),t[e.index]=n,Gs(t,n)),Dd(n,t,e,r),new yd(n,e,t)}function kv(e,t){let n=e[J],r=n.createComment(""),o=Pe(t,e),i=$l(n,o);return ao(n,i,r,lm(n,o),!1),r}var Dd=Ed,wd=()=>!1;function Ed(e,t,n,r){if(e[He])return;let o;n.type&8?o=ze(r):o=kv(t,n),e[He]=o}function Fv(e,t,n){if(e[He]&&e[Tn])return!0;let r=n[_e],o=t.index-ce;if(!r||Ng(t)||$n(r,o))return!1;let s=os(r,o),a=r.data[ks]?.[o],[c,u]=yv(s,a);return e[He]=c,e[Tn]=u,!0}function Lv(e,t,n,r){wd(e,n,t)||Ed(e,t,n,r)}function jv(){Dd=Lv,wd=Fv}var it=class{},On=class{};var ps=class extends it{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fo(this);let i=bu(t);this._bootstrapComponents=Ol(i.bootstrap),this._r3Injector=hl(t,n,[{provide:it,useValue:this},{provide:Jt,useValue:this.componentFactoryResolver},...r],ie(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},gs=class extends On{constructor(t){super(),this.moduleType=t}create(t){return new ps(this.moduleType,t,[])}};var ho=class extends it{constructor(t){super(),this.componentFactoryResolver=new fo(this),this.instance=null;let n=new bn([...t.providers,{provide:it,useValue:this},{provide:Jt,useValue:this.componentFactoryResolver}],t.parent||Cs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function qs(e,t,n=null){return new ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Hn(e){return(e.flags&32)===32}var Vv=Id;function Id(e,t,n,r){return st(!0),t[J].createComment("")}function $v(e,t,n,r){let o=t[_e],i=!o||jn()||Hn(n)||$n(o,r);if(st(i),i)return Id(e,t,n,r);let s=o.data[jg]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=No(o,e,t,n);To(o,r,a);let c=Ls(o,r);return _o(c,a)}function Uv(){Vv=$v}function su(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";rd(e,n,i[s],s,r)}function Bv(e,t,n,r,o,i){let s=t.consts,a=$c(s,o),c=zs(t,e,2,r,a);return Nm(t,n,c,$c(s,i)),c.attrs!==null&&fs(c,c.attrs,!1),c.mergedAttrs!==null&&fs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function F(e,t,n,r){let o=Ce(),i=Ms(),s=ce+e,a=o[J],c=i.firstCreatePass?Bv(s,i,o,t,n,r):i.data[s],u=Cd(i,o,c,a,t,e);o[s]=u;let l=Rp(c);return bo(c,!0),Gl(a,u,c),!Hn(c)&&el()&&Ul(i,o,u,c),$p()===0&&Qt(u,o),Up(),l&&(wm(i,o,c),Ql(i,c,o)),r!==null&&Em(o,c),F}function L(){let e=qe();zu()?Wp():(e=e.parent,bo(e,!1));let t=e;Hp(t)&&Gp(),Bp();let n=Ms();return n.firstCreatePass&&(tl(n,e),Ru(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&og(t)&&su(n,t,Ce(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&ig(t)&&su(n,t,Ce(),t.stylesWithoutHost,!1),L}function G(e,t,n,r){return F(e,t,n,r),L(),G}var Cd=(e,t,n,r,o,i)=>(st(!0),Vs(r,o,Ju()));function Hv(e,t,n,r,o,i){let s=t[_e],a=!s||jn()||Hn(n)||$n(s,i);if(st(a),a)return Vs(r,o,Ju());let c=No(s,e,t,n);return _l(s,i)&&To(s,i,c.nextSibling),s&&(vl(n)||yl(c))&&Eo(n)&&(zp(n),Hl(c)),c}function zv(){Cd=Hv}var Gv=(e,t,n,r)=>(st(!0),kl(t[J],""));function qv(e,t,n,r){let o,i=t[_e],s=!i||jn()||$n(i,r)||Hn(n);if(st(s),s)return kl(t[J],"");let a=No(i,e,t,n),c=Zg(i,r);return To(i,r,a),o=_o(c,a),o}function Wv(){Gv=qv}var po="en-US";var Zv=po;function Yv(e){typeof e=="string"&&(Zv=e.toLowerCase().replace(/_/g,"-"))}function Me(e,t=""){let n=Ce(),r=Ms(),o=e+ce,i=r.firstCreatePass?zs(r,o,1,t,null):r.data[o],s=bd(r,n,i,t,e);n[o]=s,el()&&Ul(r,n,s,i),bo(i,!1)}var bd=(e,t,n,r,o)=>(st(!0),Pl(t[J],r));function Qv(e,t,n,r,o){let i=t[_e],s=!i||jn()||Hn(n)||$n(i,o);return st(s),s?Pl(t[J],r):No(i,e,t,n)}function Kv(){bd=Qv}var Jv=(()=>{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=Tu(!1,r.type),i=o.length>0?qs([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=E({token:t,providedIn:"environment",factory:()=>new t(T(me))});let e=t;return e})();function Fe(e){Bn("NgStandalone"),e.getStandaloneInjector=t=>t.get(Jv).getOrCreateStandaloneInjector(e)}var Ro=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Md=new w("");function zn(e){return!!e&&typeof e.then=="function"}function Sd(e){return!!e&&typeof e.subscribe=="function"}var Td=new w(""),xd=(()=>{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=h(Td,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(zn(s))r.push(s);else if(Sd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),on=new w("");function Xv(){Ja(()=>{throw new y(600,!1)})}function ey(e){return e.isBoundToModule}var ty=10;function ny(e,t,n){try{let r=n();return zn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Le=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=h(Mg),this.afterRenderEffectManager=h(vd),this.zonelessEnabled=h(gd),this.externalTestViews=new Set,this.beforeRender=new Z,this.afterTick=new Z,this.componentTypes=[],this.components=[],this.isStable=h(wt).hasPendingTasks.pipe(S(r=>!r)),this._injector=h(me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let r;return new Promise(o=>{r=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{r.unsubscribe()})}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof lo;if(!this._injector.get(xd).done){let f=!i&&Cu(r),m=!1;throw new y(405,m)}let a;i?a=r:a=this._injector.get(Jt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=ey(a)?void 0:this._injector.get(it),u=o||a.selector,l=a.create(Ge.NULL,[],u,c),d=l.location.nativeElement,p=l.injector.get(Md,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Gr(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new y(101,!1);let o=P(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,P(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(Xt,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;ixn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>xn(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Gr(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(on,[]);[...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),()=>Gr(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new y(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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Gr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var $r;function Oo(e){$r??=new WeakMap;let t=$r.get(e);if(t)return t;let n=e.isStable.pipe(we(r=>r)).toPromise().then(()=>{});return $r.set(e,n),e.onDestroy(()=>$r?.delete(e)),n}function ry(e,t,n,r){if(!n&&!xn(e))return;ad(e,t,n&&!r?0:1)}var ms=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Ws=(()=>{let t=class t{compileModuleSync(r){return new gs(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=bu(r),s=Ol(i.declarations).reduce((a,c)=>{let u=vt(c);return u&&a.push(new Rn(u)),a},[]);return new ms(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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var oy=(()=>{let t=class t{constructor(){this.zone=h(W),this.changeDetectionScheduler=h(An),this.applicationRef=h(Le)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function iy({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new W(sy()),[{provide:W,useFactory:e},{provide:mt,multi:!0,useFactory:()=>{let n=h(oy,{optional:!0});return()=>n.initialize()}},{provide:mt,multi:!0,useFactory:()=>{let n=h(ay);return()=>{n.initialize()}}},t===!0?{provide:md,useValue:!0}:[]]}function sy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ay=(()=>{let t=class t{constructor(){this.subscription=new B,this.initialized=!1,this.zone=h(W),this.pendingTasks=h(wt)}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(()=>{W.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{W.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var cy=(()=>{let t=class t{constructor(){this.appRef=h(Le),this.taskService=h(wt),this.ngZone=h(W),this.zonelessEnabled=h(gd),this.disableScheduling=h(md,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new B,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(oo):null,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ts||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Wc:gl;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(oo+this.angularZoneId))}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Wc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function uy(){return typeof $localize<"u"&&$localize.locale||po}var Zs=new w("",{providedIn:"root",factory:()=>h(Zs,b.Optional|b.SkipSelf)||uy()});var Nd=new w("");function Ur(e){return!!e.platformInjector}function ly(e){let t=Ur(e)?e.r3Injector:e.moduleRef.injector,n=t.get(W);return n.run(()=>{Ur(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ot,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Ur(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Nd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{Gr(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return ny(r,n,()=>{let i=t.get(xd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Zs,po);if(Yv(s||po),Ur(e)){let a=t.get(Le);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return dy(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function dy(e,t){let n=e.injector.get(Le);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new y(-403,!1);t.push(e)}var qr=null;function fy(e=[],t){return Ge.create({name:t,providers:[{provide:yo,useValue:"platform"},{provide:Nd,useValue:new Set([()=>qr=null])},...e]})}function hy(e=[]){if(qr)return qr;let t=fy(e);return qr=t,Xv(),py(t),t}function py(e){e.get(Os,null)?.forEach(n=>n())}var Gn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=gy;let e=t;return e})();function gy(e){return my(qe(),Ce(),(e&16)===16)}function my(e,t,n){if(Eo(e)&&!n){let r=Ln(e.index,t);return new Kt(r,r)}else if(e.type&175){let r=t[ve];return new Kt(r,t)}return null}function _d(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=hy(r),i=[iy({}),{provide:An,useExisting:cy},...n||[]],s=new ho({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return ly({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var Ad=new w("");var au=!1;function vy(){au||(au=!0,zg(),zv(),Kv(),Wv(),Uv(),jv(),wv(),Sm())}function yy(e,t){return Oo(e)}function Rd(){return en([{provide:jr,useFactory:()=>{let e=!0;return Vr()&&(e=!!h(rn,{optional:!0})?.get(xl,null)),e&&Bn("NgHydration"),e}},{provide:mt,useValue:()=>{hv(!1),Vr()&&h(jr)&&(Dy(),vy())},multi:!0},{provide:Rl,useFactory:()=>Vr()&&h(jr)},{provide:on,useFactory:()=>{if(Vr()&&h(jr)){let e=h(Le),t=h(Ge);return()=>{yy(e,t).then(()=>{vv(e)})}}return()=>{}},multi:!0}])}function Dy(){let e=Mo(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Bg){t=n;break}if(!t)throw new y(-507,!1)}var Vd=null;function sn(){return Vd}function $d(e){Vd??=e}var Po=class{};var ne=new w(""),Ud=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(My),providedIn:"platform"});let e=t;return e})();var My=(()=>{let t=class t extends Ud{constructor(){super(),this._doc=h(ne),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return sn().getBaseHref(this._doc)}onPopState(r){let o=sn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=sn().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=E({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Bd(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 Od(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 It(e){return e&&e[0]!=="?"?"?"+e:e}var Fo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(Hd),providedIn:"root"});let e=t;return e})(),Sy=new w(""),Hd=(()=>{let t=class t extends Fo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??h(ne).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 Bd(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+It(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+It(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+It(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)(T(Ud),T(Sy,8))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var qn=(()=>{let t=class t{constructor(r){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Ny(Od(Pd(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+It(o))}normalize(r){return t.stripTrailingSlash(xy(this._basePath,Pd(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+It(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+It(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=It,t.joinWithSlash=Bd,t.stripTrailingSlash=Od,t.\u0275fac=function(o){return new(o||t)(T(Fo))},t.\u0275prov=E({token:t,factory:()=>Ty(),providedIn:"root"});let e=t;return e})();function Ty(){return new qn(T(Fo))}function xy(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Pd(e){return e.replace(/\/index.html$/,"")}function Ny(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Qs(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 zd="browser",_y="server";function Wn(e){return e===_y}var ko=class{};var jo=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Jd=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Jd||{}),Ks=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new jo,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}};var Vo=class e extends Ks{constructor(t={}){super(t),this.type=Jd.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var Ay=new w("");var Ry=new w(""),Gd="b",qd="h",Wd="s",Zd="st",Yd="u",Qd="rt",Lo=new w(""),Oy=["GET","HEAD"];function Py(e,t){let f=h(Lo),{isCacheActive:n}=f,r=Za(f,["isCacheActive"]),{transferCache:o,method:i}=e;if(!n||o===!1||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!Oy.includes(i)||!r.includeRequestsWithAuthHeaders&&ky(e)||r.filter?.(e)===!1)return t(e);let s=h(rn),a=h(Ry,{optional:!0}),c=Wn(h(ke));if(a&&!c)throw new y(2803,!1);let u=c&&a?Vy(e.url,a):e.url,l=Ly(e,u),d=s.get(l,null),p=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(p=o.includeHeaders),d){let{[Gd]:m,[Qd]:x,[qd]:j,[Wd]:V,[Zd]:Ve,[Yd]:ee}=d,Tt=m;switch(x){case"arraybuffer":Tt=new TextEncoder().encode(m).buffer;break;case"blob":Tt=new Blob([m]);break}let xt=new jo(j);return D(new Vo({body:Tt,headers:xt,status:V,statusText:Ve,url:ee}))}return t(e).pipe(q(m=>{m instanceof Vo&&c&&s.set(l,{[Gd]:m.body,[qd]:Fy(m.headers,p),[Wd]:m.status,[Zd]:m.statusText,[Yd]:u,[Qd]:e.responseType})}))}function ky(e){return e.headers.has("authorization")||e.headers.has("proxy-authorization")}function Fy(e,t){if(!t)return{};let n={};for(let r of t){let o=e.getAll(r);o!==null&&(n[r]=o)}return n}function Kd(e){return[...e.keys()].sort().map(t=>`${t}=${e.getAll(t)}`).join("&")}function Ly(e,t){let{params:n,method:r,responseType:o}=e,i=Kd(n),s=e.serializeBody();s instanceof URLSearchParams?s=Kd(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=jy(a);return c}function jy(e){let t=0;for(let n of e)t=Math.imul(31,t)+n.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function Xd(e){return[{provide:Lo,useFactory:()=>(Bn("NgHttpTransferCache"),g({isCacheActive:!0},e))},{provide:Ay,useValue:Py,multi:!0,deps:[rn,Lo]},{provide:on,multi:!0,useFactory:()=>{let t=h(Le),n=h(Lo);return()=>{Oo(t).then(()=>{n.isCacheActive=!1})}}}]}function Vy(e,t){let n=new URL(e,"resolve://").origin,r=t[n];return r?e.replace(n,r):e}var ea=class extends Po{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ta=class e extends ea{static makeCurrent(){$d(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}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=Uy();return n==null?null:By(n)}resetBaseElement(){Zn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Qs(document.cookie,t)}},Zn=null;function Uy(){return Zn=Zn||document.querySelector("base"),Zn?Zn.getAttribute("href"):null}function By(e){return new URL(e,document.baseURI).pathname}var Hy=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),$o=new w(""),rf=(()=>{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 y(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(T($o),T(W))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Yn=class{constructor(t){this._doc=t}},Js="ng-app-id",of=(()=>{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=Wn(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[${Js}="${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(Js),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Js,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)(T(ne),T(So),T(Ps,8),T(ke))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Xs={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/Math/MathML"},oa=/%COMP%/g,sf="%COMP%",zy=`_nghost-${sf}`,Gy=`_ngcontent-${sf}`,qy=!0,Wy=new w("",{providedIn:"root",factory:()=>qy});function Zy(e){return Gy.replace(oa,e)}function Yy(e){return zy.replace(oa,e)}function af(e,t){return t.map(n=>n.replace(oa,e))}var ef=(()=>{let t=class t{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Wn(c),this.defaultRenderer=new Qn(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ne.ShadowDom&&(o=$(g({},o),{encapsulation:Ne.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Uo?i.applyToHost(r):i instanceof Kn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(o.encapsulation){case Ne.Emulated:s=new Uo(u,l,o,this.appId,d,a,c,p);break;case Ne.ShadowDom:return new na(u,l,r,o,a,c,this.nonce,p);default:s=new Kn(u,l,o,d,a,c,p);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(T(rf),T(of),T(So),T(Wy),T(ne),T(ke),T(W),T(Ps))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Qn=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(Xs[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(tf(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(tf(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new y(-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=Xs[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Xs[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=sn().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 tf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var na=class extends Qn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=af(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(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(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Kn=class extends Qn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?af(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Uo=class extends Kn{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Zy(u),this.hostAttr=Yy(u)}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}},Qy=(()=>{let t=class t extends Yn{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)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),Ky=(()=>{let t=class t extends Yn{constructor(r){super(r),this.delegate=h(Ad,{optional:!0})}supports(r){return this.delegate?this.delegate.supports(r):!1}addEventListener(r,o,i){return this.delegate.addEventListener(r,o,i)}removeEventListener(r,o,i){return this.delegate.removeEventListener(r,o,i)}};t.\u0275fac=function(o){return new(o||t)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})(),nf=["alt","control","meta","shift"],Jy={"\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"},Xy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},eD=(()=>{let t=class t extends Yn{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(()=>sn().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="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),nf.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(r,o){let i=Jy[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"),nf.forEach(a=>{if(a!==i){let c=Xy[a];c(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)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac});let e=t;return e})();function cf(e,t){return _d(g({rootComponent:e},tD(t)))}function tD(e){return{appProviders:[...sD,...e?.providers??[]],platformProviders:iD}}function nD(){ta.makeCurrent()}function rD(){return new ot}function oD(){return Cl(document),document}var iD=[{provide:ke,useValue:zd},{provide:Os,useValue:nD,multi:!0},{provide:ne,useFactory:oD,deps:[]}];var sD=[{provide:yo,useValue:"root"},{provide:ot,useFactory:rD,deps:[]},{provide:$o,useClass:Qy,multi:!0,deps:[ne,W,ke]},{provide:$o,useClass:eD,multi:!0,deps:[ne]},{provide:$o,useClass:Ky,multi:!0},ef,of,rf,{provide:Xt,useExisting:ef},{provide:ko,useClass:Hy,deps:[]},[]];var uf=(()=>{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)(T(ne))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ra=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay",e}(ra||{});function lf(...e){let t=[],n=new Set,r=n.has(ra.HttpTransferCacheOptions);for(let{\u0275providers:o,\u0275kind:i}of e)n.add(i),o.length&&t.push(o);return en([[],Rd(),n.has(ra.NoHttpTransferCache)||r?[]:Xd({}),t])}var C="primary",pr=Symbol("RouteTitle"),ua=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 fn(e){return new ua(e)}function cD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.lengthr[i]===o)}else return e===t}function Df(e){return e.length>0?e[e.length-1]:null}function ct(e){return Ci(e)?e:zn(e)?z(Promise.resolve(e)):D(e)}var lD={exact:Ef,subset:If},wf={exact:dD,subset:fD,ignored:()=>!0};function df(e,t,n){return lD[n.paths](e.root,t.root,n.matrixParams)&&wf[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function dD(e,t){return je(e,t)}function Ef(e,t,n){if(!bt(e.segments,t.segments)||!zo(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Ef(e.children[r],t.children[r],n))return!1;return!0}function fD(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yf(e[n],t[n]))}function If(e,t,n){return Cf(e,t,t.segments,n)}function Cf(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!bt(o,n)||t.hasChildren()||!zo(o,n,r))}else if(e.segments.length===n.length){if(!bt(e.segments,n)||!zo(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!If(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!bt(e.segments,o)||!zo(e.segments,o,r)||!e.children[C]?!1:Cf(e.children[C],t,i,r)}}function zo(e,t,n){return t.every((r,o)=>wf[n](e[o].parameters,r.parameters))}var Ze=class{constructor(t=new O([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=fn(this.queryParams),this._queryParamMap}toString(){return gD.serialize(this)}},O=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 Go(this)}},Ct=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=fn(this.parameters),this._parameterMap}toString(){return Mf(this)}};function hD(e,t){return bt(e,t)&&e.every((n,r)=>je(n.parameters,t[r].parameters))}function bt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function pD(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 Fa=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>new or,providedIn:"root"});let e=t;return e})(),or=class{parse(t){let n=new fa(t);return new Ze(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Jn(t.root,!0)}`,r=yD(t.queryParams),o=typeof t.fragment=="string"?`#${mD(t.fragment)}`:"";return`${n}${r}${o}`}},gD=new or;function Go(e){return e.segments.map(t=>Mf(t)).join("/")}function Jn(e,t){if(!e.hasChildren())return Go(e);if(t){let n=e.children[C]?Jn(e.children[C],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==C&&r.push(`${o}:${Jn(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=pD(e,(r,o)=>o===C?[Jn(e.children[C],!1)]:[`${o}:${Jn(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[C]!=null?`${Go(e)}/${n[0]}`:`${Go(e)}/(${n.join("//")})`}}function bf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bo(e){return bf(e).replace(/%3B/gi,";")}function mD(e){return encodeURI(e)}function da(e){return bf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qo(e){return decodeURIComponent(e)}function ff(e){return qo(e.replace(/\+/g,"%20"))}function Mf(e){return`${da(e.path)}${vD(e.parameters)}`}function vD(e){return Object.entries(e).map(([t,n])=>`;${da(t)}=${da(n)}`).join("")}function yD(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Bo(n)}=${Bo(o)}`).join("&"):`${Bo(n)}=${Bo(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var DD=/^[^\/()?;#]+/;function ia(e){let t=e.match(DD);return t?t[0]:""}var wD=/^[^\/()?;=#]+/;function ED(e){let t=e.match(wD);return t?t[0]:""}var ID=/^[^=?&#]+/;function CD(e){let t=e.match(ID);return t?t[0]:""}var bD=/^[^&#]+/;function MD(e){let t=e.match(bD);return t?t[0]:""}var fa=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],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 O(t,n)),r}parseSegment(){let t=ia(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(t),new Ct(qo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=ED(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=ia(this.remaining);o&&(r=o,this.capture(r))}t[qo(n)]=qo(r)}parseQueryParam(t){let n=CD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=MD(this.remaining);s&&(r=s,this.capture(r))}let o=ff(n),i=ff(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=ia(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(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 O([],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 y(4011,!1)}};function Sf(e){return e.segments.length>0?new O([],{[C]:e}):e}function Tf(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Tf(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 O(e.segments,t);return SD(n)}function SD(e){if(e.numberOfChildren===1&&e.children[C]){let t=e.children[C];return new O(e.segments.concat(t.segments),t.children)}return e}function ir(e){return e instanceof Ze}function TD(e,t,n=null,r=null){let o=xf(e);return Nf(o,t,n,r)}function xf(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new O(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Sf(r);return t??o}function Nf(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return sa(o,o,o,n,r);let i=xD(t);if(i.toRoot())return sa(o,o,new O([],{}),n,r);let s=ND(i,o,e),a=s.processChildren?tr(s.segmentGroup,s.index,i.commands):Af(s.segmentGroup,s.index,i.commands);return sa(o,s.segmentGroup,a,n,r)}function Wo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function sr(e){return typeof e=="object"&&e!=null&&e.outlets}function sa(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=_f(e,t,n);let a=Sf(Tf(s));return new Ze(a,i,o)}function _f(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=_f(i,t,n)}),new O(e.segments,r)}var Zo=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Wo(r[0]))throw new y(4003,!1);let o=r.find(sr);if(o&&o!==Df(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function xD(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Zo(!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(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Zo(n,t,r)}var un=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function ND(e,t,n){if(e.isAbsolute)return new un(t,!0,0);if(!n)return new un(t,!1,NaN);if(n.parent===null)return new un(n,!0,0);let r=Wo(e.commands[0])?0:1,o=n.segments.length-1+r;return _D(n,o,e.numberOfDoubleDots)}function _D(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new un(r,!1,o-i)}function AD(e){return sr(e[0])?e[0].outlets:{[C]:e}}function Af(e,t,n){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return tr(e,t,n);let r=RD(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndexi!==C)&&e.children[C]&&e.numberOfChildren===1&&e.children[C].segments.length===0){let i=tr(e.children[C],t,n);return new O(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Af(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function RD(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;let s=e.segments[o],a=n[r];if(sr(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!pf(c,u,s))return i;r+=2}else{if(!pf(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function ha(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=ha(new O([],{}),0,r))}),t}function hf(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function pf(e,t,n){return e==n.path&&je(t,n.parameters)}var nr="imperative",Q=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Q||{}),ye=class{constructor(t,n){this.id=t,this.url=n}},ar=class extends ye{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Q.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Mt=class extends ye{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Q.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},le=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(le||{}),pa=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(pa||{}),We=class extends ye{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},St=class extends ye{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Q.NavigationSkipped}},cr=class extends ye{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Q.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Yo=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ga=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ma=class extends ye{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Q.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},va=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ya=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Q.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Da=class{constructor(t){this.route=t,this.type=Q.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},wa=class{constructor(t){this.route=t,this.type=Q.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ea=class{constructor(t){this.snapshot=t,this.type=Q.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ia=class{constructor(t){this.snapshot=t,this.type=Q.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ca=class{constructor(t){this.snapshot=t,this.type=Q.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ba=class{constructor(t){this.snapshot=t,this.type=Q.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ur=class{},hn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function PD(e,t){return e.providers&&!e._injector&&(e._injector=qs(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Se(e){return e.outlet||C}function kD(e,t){let n=e.filter(r=>Se(r)===t);return n.push(...e.filter(r=>Se(r)!==t)),n}function gr(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 Ma=class{get injector(){return gr(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new ni(this.rootInjector),this.attachRef=null}},ni=(()=>{let t=class t{constructor(r){this.rootInjector=r,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 Ma(this.rootInjector),this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)(T(me))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Qo=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=Sa(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Sa(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ta(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ta(t,this._root).map(n=>n.value)}};function Sa(e,t){if(e===t.value)return t;for(let n of t.children){let r=Sa(e,n);if(r)return r}return null}function Ta(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ta(e,n);if(r.length)return r.unshift(t),r}return[]}var ue=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function cn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ko=class extends Qo{constructor(t,n){super(t),this.snapshot=n,La(this,t)}toString(){return this.snapshot.toString()}};function Rf(e){let t=FD(e),n=new Y([new Ct("",{})]),r=new Y({}),o=new Y({}),i=new Y({}),s=new Y(""),a=new pn(n,r,i,s,o,C,e,t.root);return a.snapshot=t.root,new Ko(new ue(a,[]),t)}function FD(e){let t={},n={},r={},o="",i=new ln([],t,r,o,n,C,e,null,{});return new Xo("",new ue(i,[]))}var pn=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(S(u=>u[pr]))??D(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.params.pipe(S(t=>fn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(t=>fn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Jo(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&&Pf(o)&&(r.resolve[pr]=o.title),r}var ln=class{get title(){return this.data?.[pr]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=fn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=fn(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}')`}},Xo=class extends Qo{constructor(t,n){super(n),this.url=t,La(this,n)}toString(){return Of(this._root)}};function La(e,t){t.value._routerState=e,t.children.forEach(n=>La(e,n))}function Of(e){let t=e.children.length>0?` { ${e.children.map(Of).join(", ")} } `:"";return`${e.value}${t}`}function aa(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,je(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),je(t.params,n.params)||e.paramsSubject.next(n.params),uD(t.url,n.url)||e.urlSubject.next(n.url),je(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function xa(e,t){let n=je(e.params,t.params)&&hD(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||xa(e.parent,t.parent))}function Pf(e){return typeof e.title=="string"||e.title===null}var ja=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=C,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=h(ni),this.location=h(Ao),this.changeDetector=h(Gn),this.inputBinder=h(Va,{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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(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 y(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Na(r,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Pn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Io]});let e=t;return e})(),Na=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===pn?this.route:t===ni?this.childContexts:this.parent.get(t,n)}},Va=new w("");function LD(e,t,n){let r=lr(e,t._root,n?n._root:void 0);return new Ko(r,t)}function lr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=jD(e,t,n);return new ue(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=>lr(e,a)),s}}let r=VD(t.value),o=t.children.map(i=>lr(e,i));return new ue(r,o)}}function jD(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return lr(e,r,o);return lr(e,r)})}function VD(e){return new pn(new Y(e.url),new Y(e.params),new Y(e.queryParams),new Y(e.fragment),new Y(e.data),e.outlet,e.component,e)}var dr=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},kf="ngNavigationCancelingError";function ei(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=ir(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Ff(!1,le.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Ff(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[kf]=!0,n.cancellationCode=t,n}function $D(e){return Lf(e)&&ir(e.url)}function Lf(e){return!!e&&e[kf]}var UD=(e,t,n,r)=>S(o=>(new _a(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),_a=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),aa(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=cn(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=cn(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=cn(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=cn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new ba(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ia(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(aa(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),aa(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},ti=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},dn=class{constructor(t,n){this.component=t,this.route=n}};function BD(e,t,n){let r=e._root,o=t?t._root:null;return Xn(r,o,n,[r.value])}function HD(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function mn(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!lu(e)?e:t.get(e):r}function Xn(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=cn(t);return e.children.forEach(s=>{zD(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>rr(a,n.getContext(s),o)),o}function zD(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 c=GD(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ti(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Xn(e,t,a?a.children:null,r,o):Xn(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new dn(a.outlet.component,s))}else s&&rr(t,a,o),o.canActivateChecks.push(new ti(r)),i.component?Xn(e,null,a?a.children:null,r,o):Xn(e,null,n,r,o);return o}function GD(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!bt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!bt(e.url,t.url)||!je(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xa(e,t)||!je(e.queryParams,t.queryParams);case"paramsChange":default:return!xa(e,t)}}function rr(e,t,n){let r=cn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?rr(s,t.children.getContext(i),n):rr(s,null,n):rr(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new dn(t.outlet.component,o)):n.canDeactivateChecks.push(new dn(null,o)):n.canDeactivateChecks.push(new dn(null,o))}function mr(e){return typeof e=="function"}function qD(e){return typeof e=="boolean"}function WD(e){return e&&mr(e.canLoad)}function ZD(e){return e&&mr(e.canActivate)}function YD(e){return e&&mr(e.canActivateChild)}function QD(e){return e&&mr(e.canDeactivate)}function KD(e){return e&&mr(e.canMatch)}function jf(e){return e instanceof $e||e?.name==="EmptyError"}var Ho=Symbol("INITIAL_VALUE");function gn(){return fe(e=>kr(e.map(t=>t.pipe(Ue(1),xi(Ho)))).pipe(S(t=>{for(let n of t)if(n!==!0){if(n===Ho)return Ho;if(n===!1||JD(n))return n}return!0}),de(t=>t!==Ho),Ue(1)))}function JD(e){return ir(e)||e instanceof dr}function XD(e,t){return U(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?D($(g({},n),{guardsResult:!0})):ew(s,r,o,e).pipe(U(a=>a&&qD(a)?tw(r,i,e,t):D(a)),S(a=>$(g({},n),{guardsResult:a})))})}function ew(e,t,n,r){return z(e).pipe(U(o=>sw(o.component,o.route,n,t,r)),we(o=>o!==!0,!0))}function tw(e,t,n,r){return z(t).pipe(ft(o=>Vt(rw(o.route.parent,r),nw(o.route,r),iw(e,o.path,n),ow(e,o.route,n))),we(o=>o!==!0,!0))}function nw(e,t){return e!==null&&t&&t(new Ca(e)),D(!0)}function rw(e,t){return e!==null&&t&&t(new Ea(e)),D(!0)}function ow(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return D(!0);let o=r.map(i=>Fr(()=>{let s=gr(t)??n,a=mn(i,s),c=ZD(a)?a.canActivate(t,e):Re(s,()=>a(t,e));return ct(c).pipe(we())}));return D(o).pipe(gn())}function iw(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>HD(s)).filter(s=>s!==null).map(s=>Fr(()=>{let a=s.guards.map(c=>{let u=gr(s.node)??n,l=mn(c,u),d=YD(l)?l.canActivateChild(r,e):Re(u,()=>l(r,e));return ct(d).pipe(we())});return D(a).pipe(gn())}));return D(i).pipe(gn())}function sw(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return D(!0);let s=i.map(a=>{let c=gr(t)??o,u=mn(a,c),l=QD(u)?u.canDeactivate(e,t,n,r):Re(c,()=>u(e,t,n,r));return ct(l).pipe(we())});return D(s).pipe(gn())}function aw(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),c=WD(a)?a.canLoad(t,n):Re(e,()=>a(t,n));return ct(c)});return D(i).pipe(gn(),Vf(r))}function Vf(e){return Di(q(t=>{if(typeof t!="boolean")throw ei(e,t)}),S(t=>t===!0))}function cw(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return D(!0);let i=o.map(s=>{let a=mn(s,e),c=KD(a)?a.canMatch(t,n):Re(e,()=>a(t,n));return ct(c)});return D(i).pipe(gn(),Vf(r))}var fr=class{constructor(t){this.segmentGroup=t||null}},hr=class extends Error{constructor(t){super(),this.urlTree=t}};function an(e){return jt(new fr(e))}function uw(e){return jt(new y(4e3,!1))}function lw(e){return jt(Ff(!1,le.GuardRejected))}var Aa=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 D(r);if(o.numberOfChildren>1||!o.children[C])return uw(`${t.redirectTo}`);o=o.children[C]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:p,params:f,data:m,title:x}=o,j=Re(i,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:p,title:x}));if(j instanceof Ze)throw new hr(j);n=j}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new hr(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Ze(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[0]===":"){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,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new O(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new y(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}},Ra={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dw(e,t,n,r,o){let i=$a(e,t,n);return i.matched?(r=PD(t,r),cw(r,t,n,o).pipe(S(s=>s===!0?i:g({},Ra)))):D(i)}function $a(e,t,n){if(t.path==="**")return fw(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?g({},Ra):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||cD)(n,e,t);if(!o)return g({},Ra);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.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 fw(e){return{matched:!0,parameters:e.length>0?Df(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function gf(e,t,n,r){return n.length>0&&gw(e,n,r)?{segmentGroup:new O(t,pw(r,new O(n,e.children))),slicedSegments:[]}:n.length===0&&mw(e,n,r)?{segmentGroup:new O(e.segments,hw(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new O(e.segments,e.children),slicedSegments:n}}function hw(e,t,n,r){let o={};for(let i of n)if(ri(e,t,i)&&!r[Se(i)]){let s=new O([],{});o[Se(i)]=s}return g(g({},r),o)}function pw(e,t){let n={};n[C]=t;for(let r of e)if(r.path===""&&Se(r)!==C){let o=new O([],{});n[Se(r)]=o}return n}function gw(e,t,n){return n.some(r=>ri(e,t,r)&&Se(r)!==C)}function mw(e,t,n){return n.some(r=>ri(e,t,r))}function ri(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function vw(e,t,n,r){return Se(e)!==r&&(r===C||!ri(t,n,e))?!1:$a(t,e,n).matched}function yw(e,t,n){return t.length===0&&!e.children[n]}var Oa=class{};function Dw(e,t,n,r,o,i,s="emptyOnly"){return new Pa(e,t,n,r,o,s,i).recognize()}var ww=31,Pa=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 Aa(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new y(4002,`'${t.segmentGroup}'`)}recognize(){let t=gf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(S(({children:n,rootSnapshot:r})=>{let o=new ue(r,n),i=new Xo("",o),s=TD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new ln([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),C,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,C,n).pipe(S(r=>({children:r,rootSnapshot:n})),Ke(r=>{if(r instanceof hr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof fr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(S(s=>s instanceof ue?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return z(i).pipe(ft(s=>{let a=r.children[s],c=kD(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Ti((s,a)=>(s.push(...a),s)),Je(null),Si(),U(s=>{if(s===null)return an(r);let a=$f(s);return Ew(a),D(a)}))}processSegment(t,n,r,o,i,s,a){return z(n).pipe(ft(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Ke(u=>{if(u instanceof fr)return D(null);throw u}))),we(c=>!!c),Ke(c=>{if(jf(c))return yw(r,o,i)?D(new Oa):an(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return vw(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):an(o):an(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:p}=$a(n,o,i);if(!c)return an(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ww&&(this.allowRedirects=!1));let f=new ln(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,mf(o),Se(o),o.component??o._loadedComponent??null,o,vf(o)),m=Jo(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let x=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,x).pipe(U(j=>this.processSegment(t,r,n,j.concat(p),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=dw(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(fe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(fe(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:p,remainingSegments:f}=c,m=new ln(p,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,mf(r),Se(r),r.component??r._loadedComponent??null,r,vf(r)),x=Jo(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(x.params),m.data=Object.freeze(x.data);let{segmentGroup:j,slicedSegments:V}=gf(n,p,f,u);if(V.length===0&&j.hasChildren())return this.processChildren(l,u,j,m).pipe(S(ee=>new ue(m,ee)));if(u.length===0&&V.length===0)return D(new ue(m,[]));let Ve=Se(r)===i;return this.processSegment(l,u,j,V,Ve?C:i,!0,m).pipe(S(ee=>new ue(m,ee instanceof ue?[ee]:[])))}))):an(n)))}getChildConfig(t,n,r){return n.children?D({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?D({routes:n._loadedRoutes,injector:n._loadedInjector}):aw(t,n,r,this.urlSerializer).pipe(U(o=>o?this.configLoader.loadChildren(t,n).pipe(q(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):lw(n))):D({routes:[],injector:t})}};function Ew(e){e.sort((t,n)=>t.value.outlet===C?-1:n.value.outlet===C?1:t.value.outlet.localeCompare(n.value.outlet))}function Iw(e){let t=e.value.routeConfig;return t&&t.path===""}function $f(e){let t=[],n=new Set;for(let r of e){if(!Iw(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=$f(r.children);t.push(new ue(r.value,o))}return t.filter(r=>!n.has(r))}function mf(e){return e.data||{}}function vf(e){return e.resolve||{}}function Cw(e,t,n,r,o,i){return U(s=>Dw(e,t,n,r,s.extractedUrl,o,i).pipe(S(({state:a,tree:c})=>$(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function bw(e,t){return U(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return D(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Uf(c))s.add(u);let a=0;return z(s).pipe(ft(c=>i.has(c)?Mw(c,r,e,t):(c.data=Jo(c,c.parent,e).resolve,D(void 0))),q(()=>a++),Ut(1),U(c=>a===s.size?D(n):oe))})}function Uf(e){let t=e.children.map(n=>Uf(n)).flat();return[e,...t]}function Mw(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Pf(o)&&(i[pr]=o.title),Sw(i,e,t,r).pipe(S(s=>(e._resolvedData=s,e.data=Jo(e,e.parent,n).resolve,null)))}function Sw(e,t,n,r){let o=la(e);if(o.length===0)return D({});let i={};return z(o).pipe(U(s=>Tw(e[s],t,n,r).pipe(we(),q(a=>{if(a instanceof dr)throw ei(new or,a);i[s]=a}))),Ut(1),Mi(i),Ke(s=>jf(s)?oe:jt(s)))}function Tw(e,t,n,r){let o=gr(t)??r,i=mn(e,o),s=i.resolve?i.resolve(t,n):Re(o,()=>i(t,n));return ct(s)}function ca(e){return fe(t=>{let n=e(t);return n?z(n).pipe(S(()=>t)):D(t)})}var Bf=(()=>{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[pr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(xw),providedIn:"root"});let e=t;return e})(),xw=(()=>{let t=class t extends Bf{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)(T(uf))},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ua=new w("",{providedIn:"root",factory:()=>({})}),Nw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["ng-component"]],standalone:!0,features:[Fe],decls:1,vars:0,template:function(o,i){o&1&&G(0,"router-outlet")},dependencies:[ja],encapsulation:2});let e=t;return e})();function Ba(e){let t=e.children&&e.children.map(Ba),n=t?$(g({},e),{children:t}):g({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==C&&(n.component=Nw),n}var Ha=new w(""),_w=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=h(Ws)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return D(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=ct(r.loadComponent()).pipe(S(Hf),q(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),$t(()=>{this.componentLoaders.delete(r)})),i=new Ft(o,()=>new Z).pipe(kt());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return D({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Aw(o,this.compiler,r,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(o)})),a=new Ft(s,()=>new Z).pipe(kt());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Aw(e,t,n,r){return ct(e.loadChildren()).pipe(S(Hf),U(o=>o instanceof On||Array.isArray(o)?D(o):z(t.compileModuleAsync(o))),S(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(Ha,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ba),injector:i}}))}function Rw(e){return e&&typeof e=="object"&&"default"in e}function Hf(e){return Rw(e)?e.default:e}var za=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(Ow),providedIn:"root"});let e=t;return e})(),Ow=(()=>{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=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Pw=new w("");var kw=new w(""),Fw=(()=>{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=h(_w),this.environmentInjector=h(me),this.urlSerializer=h(Fa),this.rootContexts=h(ni),this.location=h(qn),this.inputBindingEnabled=h(Va,{optional:!0})!==null,this.titleStrategy=h(Bf),this.options=h(Ua,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=h(za),this.createViewTransition=h(Pw,{optional:!0}),this.navigationErrorHandler=h(kw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let r=i=>this.events.next(new Da(i)),o=i=>this.events.next(new wa(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next($(g(g({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new Y({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:nr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(de(s=>s.id!==0),S(s=>$(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),fe(s=>{let a=!1,c=!1;return D(s).pipe(fe(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",le.SupersededByNewNavigation),oe;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?$(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let p="";return this.events.next(new St(u.id,this.urlSerializer.serialize(u.rawUrl),p,pa.IgnoredSameUrlNavigation)),u.resolve(!1),oe}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return D(u).pipe(fe(p=>{let f=this.transitions?.getValue();return this.events.next(new ar(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),f!==this.transitions?.getValue()?oe:Promise.resolve(p)}),Cw(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),q(p=>{s.targetSnapshot=p.targetSnapshot,s.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=$(g({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let f=new Yo(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:p,extractedUrl:f,source:m,restoredState:x,extras:j}=u,V=new ar(p,this.urlSerializer.serialize(f),m,x);this.events.next(V);let Ve=Rf(this.rootComponentType).snapshot;return this.currentTransition=s=$(g({},u),{targetSnapshot:Ve,urlAfterRedirects:f,extras:$(g({},j),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,D(s)}else{let p="";return this.events.next(new St(u.id,this.urlSerializer.serialize(u.extractedUrl),p,pa.IgnoredByUrlHandlingStrategy)),u.resolve(!1),oe}}),q(u=>{let l=new ga(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),S(u=>(this.currentTransition=s=$(g({},u),{guards:BD(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),XD(this.environmentInjector,u=>this.events.next(u)),q(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw ei(this.urlSerializer,u.guardsResult);let l=new ma(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),de(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",le.GuardRejected),!1)),ca(u=>{if(u.guards.canActivateChecks.length)return D(u).pipe(q(l=>{let d=new va(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),fe(l=>{let d=!1;return D(l).pipe(bw(this.paramsInheritanceStrategy,this.environmentInjector),q({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",le.NoDataFromResolver)}}))}),q(l=>{let d=new ya(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ca(u=>{let l=d=>{let p=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(d.routeConfig).pipe(q(f=>{d.component=f}),S(()=>{})));for(let f of d.children)p.push(...l(f));return p};return kr(l(u.targetSnapshot.root)).pipe(Je(null),Ue(1))}),ca(()=>this.afterPreactivation()),fe(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?z(d).pipe(S(()=>s)):D(s)}),S(u=>{let l=LD(r.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=$(g({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),q(()=>{this.events.next(new ur)}),UD(this.rootContexts,r.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Ue(1),q({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Mt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Bt(this.transitionAbortSubject.pipe(q(u=>{throw u}))),$t(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",le.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ke(u=>{if(c=!0,Lf(u))this.events.next(new We(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),$D(u)?this.events.next(new hn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new cr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Re(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof dr){let{message:p,cancellationCode:f}=ei(this.urlSerializer,d);this.events.next(new We(s.id,this.urlSerializer.serialize(s.extractedUrl),p,f)),this.events.next(new hn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let p=r.errorHandler(u);s.resolve(!!p)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return oe}))}))}cancelNavigationTransition(r,o,i){let s=new We(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(){let r=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return r.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Lw(e){return e!==nr}var jw=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h(Vw),providedIn:"root"});let e=t;return e})(),ka=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},Vw=(()=>{let t=class t extends ka{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Ns(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),zf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:()=>h($w),providedIn:"root"});let e=t;return e})(),$w=(()=>{let t=class t extends zf{constructor(){super(...arguments),this.location=h(qn),this.urlSerializer=h(Fa),this.options=h(Ua,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=h(za),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ze,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Rf(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 ar)this.stateMemento=this.createStateMemento();else if(r instanceof St)this.rawUrlTree=o.initialUrl;else if(r instanceof Yo){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??i,o)}}else r instanceof ur?(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(o.targetBrowserUrl??this.rawUrlTree,o)):r instanceof We&&(r.code===le.GuardRejected||r.code===le.NoDataFromResolver)?this.restoreHistory(o):r instanceof cr?this.restoreHistory(o,!0):r instanceof Mt&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=r instanceof Ze?this.urlSerializer.serialize(r):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=Ns(t)))(i||t)}})(),t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),er=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(er||{});function Uw(e,t){e.events.pipe(de(n=>n instanceof Mt||n instanceof We||n instanceof cr||n instanceof St),S(n=>n instanceof Mt||n instanceof St?er.COMPLETE:(n instanceof We?n.code===le.Redirect||n.code===le.SupersededByNewNavigation:!1)?er.REDIRECTING:er.FAILED),de(n=>n!==er.REDIRECTING),Ue(1)).subscribe(()=>{t()})}function Bw(e){throw e}var Hw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Gf=(()=>{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.console=h(Ro),this.stateManager=h(zf),this.options=h(Ua,{optional:!0})||{},this.pendingTasks=h(wt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=h(Fw),this.urlSerializer=h(Fa),this.location=h(qn),this.urlHandlingStrategy=h(za),this._events=new Z,this.errorHandler=this.options.errorHandler||Bw,this.navigated=!1,this.routeReuseStrategy=h(jw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=h(Ha,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!h(Va,{optional:!0}),this.eventsSubscription=new B,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 We&&o.code!==le.Redirect&&o.code!==le.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Mt)this.navigated=!0;else if(o instanceof hn){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=g({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Lw(i.source)},a);this.scheduleNavigation(c,nr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}qw(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),nr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=g({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(r);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(Ba),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c??this.options.defaultQueryParamsHandling){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 p;try{let f=i?i.snapshot:this.routerState.snapshot.root;p=xf(f)}catch{(typeof r[0]!="string"||r[0][0]!=="/")&&(r=[]),p=this.currentUrlTree.root}return Nf(p,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=ir(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,nr,null,o)}navigate(r,o={skipLocationChange:!1}){return Gw(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({},Hw):o===!1?i=g({},zw):i=o,ir(r))return df(this.currentUrlTree,r,i);let s=this.parseUrl(r);return df(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((p,f)=>{c=p,u=f});let d=this.pendingTasks.add();return Uw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(p=>Promise.reject(p))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=E({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Gw(e){for(let t=0;tn.\u0275providers)])}function Zw(e){return e.routerState.root}function Yw(){let e=h(Ge);return t=>{let n=e.get(Le);if(t!==n.components[0])return;let r=e.get(Gf),o=e.get(Qw);e.get(Kw)===1&&r.initialNavigation(),e.get(Jw,null,b.Optional)?.setUpPreloading(),e.get(Ww,null,b.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Qw=new w("",{factory:()=>new Z}),Kw=new w("",{providedIn:"root",factory:()=>1});var Jw=new w("");var Wf=(()=>{let t=class t{constructor(r){this.elementRef=r,this.appClick="",this.destroyed$=new Z}ngOnInit(){this.appClick&&Dn(this.elementRef.nativeElement,"click").pipe(Bt(this.destroyed$)).subscribe(()=>{this.track()})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}track(){window.gtag("event","Clicked",{event_category:this.trackCategory||"Link",event_label:this.appClick})}};t.\u0275fac=function(o){return new(o||t)(Un(nn))},t.\u0275dir=Pn({type:t,selectors:[["","appClick",""]],inputs:{appClick:"appClick",trackCategory:"trackCategory"},standalone:!0});let e=t;return e})();var Zf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-links"]],standalone:!0,features:[Fe],decls:10,vars:0,consts:[["href","https://www.linkedin.com/in/aleksei-p/","target","_blank","appClick","LinkedIn link",1,"profile-link"],[1,"sr-only"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",1,"icon"],["fill","currentColor","d","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"],["href","https://github.com/alekart","target","_blank","appClick","GitHub link",1,"profile-link"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 496 512",1,"icon"],["fill","currentColor","d","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]],template:function(o,i){o&1&&(F(0,"a",0)(1,"span",1),Me(2," Get in touch on LinkedIn "),L(),tn(),F(3,"svg",2),G(4,"path",3),L()(),Vn(),F(5,"a",4)(6,"span",1),Me(7," Check out my code on GitHub "),L(),tn(),F(8,"svg",5),G(9,"path",6),L()())},dependencies:[Wf],styles:["a.profile-link[_ngcontent-%COMP%]{display:inline-block;margin:0 10px;font-size:40px}"]});let e=t;return e})();var Yf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-intro"]],standalone:!0,features:[Fe],decls:37,vars:0,consts:[[1,"logo-full","svg-shadow"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 627 627",1,"alek-logo"],["id","uuid-e78cf07c-5296-4015-b7be-d1373f5ef3ed"],["points","383.98 228.96 325.51 312.94 438.11 474.68 555.04 474.68 383.98 228.96","fill","none"],["id","uuid-c8667381-0771-42b6-96ee-8c9746b688d4"],["points","466.95 69.52 350.02 69.52 67.96 474.68 254.89 474.68 317.22 385.15 247.22 385.15 466.95 69.52","fill","none"],["clip-path","url(#uuid-e78cf07c-5296-4015-b7be-d1373f5ef3ed)"],["x1","321.5","y1","228.5","x2","527.5","y2","515.5","fill","none","stroke-miterlimit","10","stroke-width","110",1,"logo-line","logo-line--two"],["clip-path","url(#uuid-c8667381-0771-42b6-96ee-8c9746b688d4)"],["points","325.51 431 161 431 440.27 29.6","fill","none","stroke-miterlimit","10","stroke-width","110",1,"logo-line","logo-line--one"],[1,"alek-logo-type"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 140.48 24.92",1,"svg-shadow"],["points","11.46 0 0 24.92 2.67 24.92 12.55 3.12 22.47 24.92 25.14 24.92 13.67 0 11.46 0","fill","currentColor"],["points","47.36 0 44.9 0 44.9 24.92 61.31 24.92 61.31 22.64 47.36 22.64 47.36 0","fill","currentColor"],[1,"broken"],["x","81.32","width","17.41","height","2.28","fill","currentColor"],["x","81.32","y","11.15","width","17.41","height","2.25","fill","currentColor"],["x","81.32","y","22.64","width","17.41","height","2.28","fill","currentColor"],["points","128.8 11.37 139.81 0 136.7 0 125.63 11.41 137.42 24.92 140.48 24.92 128.8 11.37","fill","currentColor"],["x","119.61","width","2.46","height","24.92","fill","currentColor"],[1,"who-i-am"],[1,"name"],[1,"bold"],[1,"job"],[1,"social-links"],[1,"skills"]],template:function(o,i){o&1&&(F(0,"div",0),tn(),F(1,"svg",1)(2,"defs")(3,"clipPath",2),G(4,"polygon",3),L(),F(5,"clipPath",4),G(6,"polygon",5),L()(),F(7,"g",6),G(8,"line",7),L(),F(9,"g",8),G(10,"polyline",9),L()()(),Vn(),F(11,"div",10),tn(),F(12,"svg",11),G(13,"polygon",12)(14,"polygon",13),F(15,"g",14),G(16,"rect",15)(17,"rect",16)(18,"rect",17),L(),F(19,"g"),G(20,"polygon",18)(21,"rect",19),L()()(),Vn(),F(22,"div",20)(23,"p")(24,"span",21)(25,"span",22),Me(26,"Aleksei"),L(),Me(27," Polechin"),L(),G(28,"br"),F(29,"strong",23),Me(30,"Front-end developer"),L(),G(31,"br"),Me(32," with graphic design skills "),L(),F(33,"div",24),G(34,"app-links"),L(),F(35,"p",25),Me(36,"Angular, TypeScript, JavaScript, NodeJs, Adobe Suite"),L()())},dependencies:[Zf],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center}.logo-full[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.alek-logo[_ngcontent-%COMP%]{width:90px;animation:blink .3s forwards;animation-delay:.55s}.alek-logo[_ngcontent-%COMP%]:hover{animation:none}.alek-logo[_ngcontent-%COMP%]:hover .logo-line[_ngcontent-%COMP%]{animation:none;stroke-dasharray:0;stroke-dashoffset:0}.alek-logo-type[_ngcontent-%COMP%]{position:relative;display:block;width:140px;margin-top:10px;animation:alek-in .6s both;animation-delay:1s}.skills[_ngcontent-%COMP%]{font-size:11px;color:#bebebe}.logo-line[_ngcontent-%COMP%]{stroke:currentColor}.logo-line--two[_ngcontent-%COMP%]{stroke-dasharray:400;stroke-dashoffset:400;stroke-width:110px;animation:dash .3s ease-in-out forwards;animation-delay:.25s}.logo-line--one[_ngcontent-%COMP%]{stroke-width:110px;stroke-dasharray:1000;stroke-dashoffset:1000;animation:dash .55s ease-in-out forwards}.who-i-am[_ngcontent-%COMP%]{margin-top:70px;font-size:13px;text-align:center;animation:alek-in-2 .6s both;animation-delay:2s}.job[_ngcontent-%COMP%], .name[_ngcontent-%COMP%]{letter-spacing:.1em;white-space:nowrap}.name[_ngcontent-%COMP%]{margin-bottom:0;margin-top:20px;font-size:16px;letter-spacing:.128em}.broken[_ngcontent-%COMP%]{animation:broken 4s infinite}"]});let e=t;return e})();var Qf=[{path:"",component:Yf,title:"Alek - Aleksei Polechin - Front-end developer with graphic design skills"}];var Kf={providers:[qf(Qf),lf()]};var Jf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-footer"]],standalone:!0,features:[Fe],decls:2,vars:0,template:function(o,i){o&1&&(F(0,"footer"),Me(1,"\xA9 Aleksei Polechin"),L())},styles:["[_nghost-%COMP%]{display:flex;flex:0 0 40px;width:100%;height:40px;font-size:10px;text-align:center;color:#888;align-items:center;justify-content:center}"]});let e=t;return e})();var Xf=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Ae({type:t,selectors:[["app-root"]],standalone:!0,features:[Fe],decls:3,vars:0,template:function(o,i){o&1&&(F(0,"main"),G(1,"router-outlet"),L(),G(2,"app-footer"))},dependencies:[ja,Jf],styles:["main[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:15dvh}"]});let e=t;return e})();cf(Xf,Kf).catch(e=>console.error(e));