From 1ea709040f38e69762fbe2450c014774122652b2 Mon Sep 17 00:00:00 2001 From: The Buildbot Date: Wed, 3 Jul 2024 08:08:11 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/angular-schule/buch/commit/cbac8f31e0039709378e10efeb0f034c5d092c2e --- 404.html | 2 +- index.html | 2 +- main-IJLSGVNL.js | 7 ------- main-X25FQWS5.js | 7 +++++++ 4 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 main-IJLSGVNL.js create mode 100644 main-X25FQWS5.js diff --git a/404.html b/404.html index b798eb4..790fd77 100644 --- a/404.html +++ b/404.html @@ -11,5 +11,5 @@
Loading ...
- + diff --git a/index.html b/index.html index b798eb4..790fd77 100644 --- a/index.html +++ b/index.html @@ -11,5 +11,5 @@
Loading ...
- + diff --git a/main-IJLSGVNL.js b/main-IJLSGVNL.js deleted file mode 100644 index cfbaa28..0000000 --- a/main-IJLSGVNL.js +++ /dev/null @@ -1,7 +0,0 @@ -var _h=Object.defineProperty,Nh=Object.defineProperties;var Ah=Object.getOwnPropertyDescriptors;var Tc=Object.getOwnPropertySymbols;var Rh=Object.prototype.hasOwnProperty,Oh=Object.prototype.propertyIsEnumerable;var xc=(t,e,r)=>e in t?_h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,g=(t,e)=>{for(var r in e||={})Rh.call(e,r)&&xc(t,r,e[r]);if(Tc)for(var r of Tc(e))Oh.call(e,r)&&xc(t,r,e[r]);return t},H=(t,e)=>Nh(t,Ah(e));var _c=(t,e,r)=>new Promise((n,o)=>{var i=c=>{try{a(r.next(c))}catch(u){o(u)}},s=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(t,e)).next())});var bi=null;var Ei=1,Nc=Symbol("SIGNAL");function R(t){let e=bi;return bi=t,e}function Ac(){return bi}var Mi={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 kh(t){if(!(Ni(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ei)){if(!t.producerMustRecompute(t)&&!Ti(t)){t.dirty=!1,t.lastCleanEpoch=Ei;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ei}}function Si(t){return t&&(t.nextProducerIndex=0),R(t)}function Rc(t,e){if(R(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ni(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ti(t){Ai(t);for(let e=0;e0}function Ai(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Ph(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Fh(t){return t.producerNode!==void 0}function Lh(){throw new Error}var jh=Lh;function Oc(t){jh=t}function E(t){return typeof t=="function"}function qt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var _r=qt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: -${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function jn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var G=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(E(n))try{n()}catch(i){e=i instanceof _r?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{kc(i)}catch(s){e=e??[],s instanceof _r?e=[...e,...s.errors]:e.push(s)}}if(e)throw new _r(e)}}add(e){var r;if(e&&e!==this)if(this.closed)kc(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&jn(r,e)}remove(e){let{_finalizers:r}=this;r&&jn(r,e),e instanceof t&&e._removeParent(this)}};G.EMPTY=(()=>{let t=new G;return t.closed=!0,t})();var Ri=G.EMPTY;function Nr(t){return t instanceof G||t&&"closed"in t&&E(t.remove)&&E(t.add)&&E(t.unsubscribe)}function kc(t){E(t)?t():t.unsubscribe()}var Se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Wt={setTimeout(t,e,...r){let{delegate:n}=Wt;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Wt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ar(t){Wt.setTimeout(()=>{let{onUnhandledError:e}=Se;if(e)e(t);else throw t})}function Vn(){}var Pc=Oi("C",void 0,void 0);function Fc(t){return Oi("E",void 0,t)}function Lc(t){return Oi("N",t,void 0)}function Oi(t,e,r){return{kind:t,value:e,error:r}}var Dt=null;function Zt(t){if(Se.useDeprecatedSynchronousErrorHandling){let e=!Dt;if(e&&(Dt={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Dt;if(Dt=null,r)throw n}}else t()}function jc(t){Se.useDeprecatedSynchronousErrorHandling&&Dt&&(Dt.errorThrown=!0,Dt.error=t)}var wt=class extends G{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Nr(e)&&e.add(this)):this.destination=Bh}static create(e,r,n){return new Yt(e,r,n)}next(e){this.isStopped?Pi(Lc(e),this):this._next(e)}error(e){this.isStopped?Pi(Fc(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Pi(Pc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Vh=Function.prototype.bind;function ki(t,e){return Vh.call(t,e)}var Fi=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Rr(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Rr(n)}else Rr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Rr(r)}}},Yt=class extends wt{constructor(e,r,n){super();let o;if(E(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Se.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&ki(e.next,i),error:e.error&&ki(e.error,i),complete:e.complete&&ki(e.complete,i)}):o=e}this.destination=new Fi(o)}};function Rr(t){Se.useDeprecatedSynchronousErrorHandling?jc(t):Ar(t)}function $h(t){throw t}function Pi(t,e){let{onStoppedNotification:r}=Se;r&&Wt.setTimeout(()=>r(t,e))}var Bh={closed:!0,next:Vn,error:$h,complete:Vn};var Qt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function fe(t){return t}function Li(...t){return ji(t)}function ji(t){return t.length===0?fe:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var F=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Hh(r)?r:new Yt(r,n,o);return Zt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Vc(n),new n((o,i)=>{let s=new Yt({next:a=>{try{r(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Qt](){return this}pipe(...r){return ji(r)(this)}toPromise(r){return r=Vc(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Vc(t){var e;return(e=t??Se.Promise)!==null&&e!==void 0?e:Promise}function Uh(t){return t&&E(t.next)&&E(t.error)&&E(t.complete)}function Hh(t){return t&&t instanceof wt||Uh(t)&&Nr(t)}function Vi(t){return E(t?.lift)}function _(t){return e=>{if(Vi(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(t,e,r,n,o){return new $i(t,e,r,n,o)}var $i=class extends wt{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Kt(){return _((t,e)=>{let r=null;t._refCount++;let n=N(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Jt=class extends F{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Vi(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new G;let r=this.getSubject();e.add(this.source.subscribe(N(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=G.EMPTY)}return e}refCount(){return Kt()(this)}};var $c=qt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class t extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Or(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new $c}next(r){Zt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Zt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Zt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?Ri:(this.currentObservers=null,i.push(r),new G(()=>{this.currentObservers=null,jn(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new F;return r.source=this,r}}return t.create=(e,r)=>new Or(e,r),t})(),Or=class extends re{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Ri}};var X=class extends re{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var he=new F(t=>t.complete());function Bc(t){return t&&E(t.schedule)}function Uc(t){return t[t.length-1]}function Hc(t){return E(Uc(t))?t.pop():void 0}function ot(t){return Bc(Uc(t))?t.pop():void 0}function Gc(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function zc(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ct(t){return this instanceof Ct?(this.v=t,this):new Ct(t)}function qc(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),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){n[f]&&(o[f]=function(M){return new Promise(function(L,B){i.push([f,M,L,B])>1||c(f,M)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(n[f](m))}catch(M){h(i[0][3],M)}}function u(f){f.value instanceof Ct?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Wc(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof zc=="function"?zc(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var kr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Pr(t){return E(t?.then)}function Fr(t){return E(t[Qt])}function Lr(t){return Symbol.asyncIterator&&E(t?.[Symbol.asyncIterator])}function jr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function zh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vr=zh();function $r(t){return E(t?.[Vr])}function Br(t){return qc(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield Ct(r.read());if(o)return yield Ct(void 0);yield yield Ct(n)}}finally{r.releaseLock()}})}function Ur(t){return E(t?.getReader)}function K(t){if(t instanceof F)return t;if(t!=null){if(Fr(t))return Gh(t);if(kr(t))return qh(t);if(Pr(t))return Wh(t);if(Lr(t))return Zc(t);if($r(t))return Zh(t);if(Ur(t))return Yh(t)}throw jr(t)}function Gh(t){return new F(e=>{let r=t[Qt]();if(E(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qh(t){return new F(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Ar)})}function Zh(t){return new F(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Zc(t){return new F(e=>{Qh(t,e).catch(r=>e.error(r))})}function Yh(t){return Zc(Br(t))}function Qh(t,e){var r,n,o,i;return Gc(this,void 0,void 0,function*(){try{for(r=Wc(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function ae(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Hr(t,e=0){return _((r,n)=>{r.subscribe(N(n,o=>ae(n,t,()=>n.next(o),e),()=>ae(n,t,()=>n.complete(),e),o=>ae(n,t,()=>n.error(o),e)))})}function zr(t,e=0){return _((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Yc(t,e){return K(t).pipe(zr(e),Hr(e))}function Qc(t,e){return K(t).pipe(zr(e),Hr(e))}function Kc(t,e){return new F(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Jc(t,e){return new F(r=>{let n;return ae(r,e,()=>{n=t[Vr](),ae(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>E(n?.return)&&n.return()})}function Gr(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(r=>{ae(r,e,()=>{let n=t[Symbol.asyncIterator]();ae(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Xc(t,e){return Gr(Br(t),e)}function eu(t,e){if(t!=null){if(Fr(t))return Yc(t,e);if(kr(t))return Kc(t,e);if(Pr(t))return Qc(t,e);if(Lr(t))return Gr(t,e);if($r(t))return Jc(t,e);if(Ur(t))return Xc(t,e)}throw jr(t)}function z(t,e){return e?eu(t,e):K(t)}function C(...t){let e=ot(t);return z(t,e)}function Xt(t,e){let r=E(t)?t:()=>t,n=o=>o.error(r());return new F(e?o=>e.schedule(n,0,o):n)}function Bi(t){return!!t&&(t instanceof F||E(t.lift)&&E(t.subscribe))}var Ye=qt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function T(t,e){return _((r,n)=>{let o=0;r.subscribe(N(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:Kh}=Array;function Jh(t,e){return Kh(e)?t(...e):t(e)}function tu(t){return T(e=>Jh(t,e))}var{isArray:Xh}=Array,{getPrototypeOf:ep,prototype:tp,keys:np}=Object;function nu(t){if(t.length===1){let e=t[0];if(Xh(e))return{args:e,keys:null};if(rp(e)){let r=np(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function rp(t){return t&&typeof t=="object"&&ep(t)===tp}function ru(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function $n(...t){let e=ot(t),r=Hc(t),{args:n,keys:o}=nu(t);if(n.length===0)return z([],e);let i=new F(op(n,e,o?s=>ru(o,s):fe));return r?i.pipe(tu(r)):i}function op(t,e,r=fe){return n=>{ou(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c{let u=z(t[c],e),l=!1;u.subscribe(N(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function ou(t,e,r){t?ae(r,t,e):e()}function iu(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=M=>u{i&&e.next(M),u++;let L=!1;K(r(M,l++)).subscribe(N(e,B=>{o?.(B),i?f(B):e.next(B)},()=>{L=!0},void 0,()=>{if(L)try{for(u--;c.length&&um(B)):m(B)}h()}catch(B){e.error(B)}}))};return t.subscribe(N(e,f,()=>{d=!0,h()})),()=>{a?.()}}function q(t,e,r=1/0){return E(e)?q((n,o)=>T((i,s)=>e(n,i,o,s))(K(t(n,o))),r):(typeof e=="number"&&(r=e),_((n,o)=>iu(n,o,t,r)))}function en(t=1/0){return q(fe,t)}function su(){return en(1)}function tn(...t){return su()(z(t,ot(t)))}function qr(t){return new F(e=>{K(t()).subscribe(e)})}function me(t,e){return _((r,n)=>{let o=0;r.subscribe(N(n,i=>t.call(e,i,o++)&&n.next(i)))})}function it(t){return _((e,r)=>{let n=null,o=!1,i;n=e.subscribe(N(r,void 0,void 0,s=>{i=K(t(s,it(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function au(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(N(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function It(t,e){return E(e)?q(t,e,1):q(t,1)}function st(t){return _((e,r)=>{let n=!1;e.subscribe(N(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function Qe(t){return t<=0?()=>he:_((e,r)=>{let n=0;e.subscribe(N(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function Ui(t){return T(()=>t)}function Wr(t=ip){return _((e,r)=>{let n=!1;e.subscribe(N(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function ip(){return new Ye}function Bn(t){return _((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Le(t,e){let r=arguments.length>=2;return n=>n.pipe(t?me((o,i)=>t(o,i,n)):fe,Qe(1),r?st(e):Wr(()=>new Ye))}function nn(t){return t<=0?()=>he:_((e,r)=>{let n=[];e.subscribe(N(r,o=>{n.push(o),t{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Hi(t,e){let r=arguments.length>=2;return n=>n.pipe(t?me((o,i)=>t(o,i,n)):fe,nn(1),r?st(e):Wr(()=>new Ye))}function zi(t,e){return _(au(t,e,arguments.length>=2,!0))}function Gi(...t){let e=ot(t);return _((r,n)=>{(e?tn(t,r,e):tn(t,r)).subscribe(n)})}function ve(t,e){return _((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(N(n,c=>{o?.unsubscribe();let u=0,l=i++;K(t(c,l)).subscribe(o=N(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function qi(t){return _((e,r)=>{K(t).subscribe(N(r,()=>r.complete(),Vn)),!r.closed&&e.subscribe(r)})}function ee(t,e,r){let n=E(t)||e||r?{next:t,error:e,complete:r}:t;return n?_((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(N(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):fe}var qu="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Ls(e,r)),this.code=e}};function Ls(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Jn(t){return{toString:t}.toString()}var Zr="__parameters__";function sp(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Wu(t,e,r){return Jn(()=>{let n=sp(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Zr)?c[Zr]:Object.defineProperty(c,Zr,{value:[]})[Zr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var _e=globalThis;function j(t){for(let e in t)if(t[e]===j)return e;throw Error("Could not find renamed property on target object.")}function ce(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ce).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function cu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var ap=j({__forward_ref__:j});function Zu(t){return t.__forward_ref__=Zu,t.toString=function(){return ce(this())},t}function De(t){return Yu(t)?t():t}function Yu(t){return typeof t=="function"&&t.hasOwnProperty(ap)&&t.__forward_ref__===Zu}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ie(t){return{providers:t.providers||[],imports:t.imports||[]}}function Mo(t){return uu(t,Ku)||uu(t,Ju)}function Qu(t){return Mo(t)!==null}function uu(t,e){return t.hasOwnProperty(e)?t[e]:null}function cp(t){let e=t&&(t[Ku]||t[Ju]);return e||null}function lu(t){return t&&(t.hasOwnProperty(du)||t.hasOwnProperty(up))?t[du]:null}var Ku=j({\u0275prov:j}),du=j({\u0275inj:j}),Ju=j({ngInjectableDef:j}),up=j({ngInjectorDef:j}),w=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=y({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xu(t){return t&&!!t.\u0275providers}var lp=j({\u0275cmp:j}),dp=j({\u0275dir:j}),fp=j({\u0275pipe:j}),hp=j({\u0275mod:j}),to=j({\u0275fac:j}),Un=j({__NG_ELEMENT_ID__:j}),fu=j({__NG_ENV_ID__:j});function js(t){return typeof t=="string"?t:t==null?"":String(t)}function pp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():js(t)}function gp(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,t)}function Vs(t,e){throw new v(-201,!1)}var S=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(S||{}),ts;function el(){return ts}function ye(t){let e=ts;return ts=t,e}function tl(t,e,r){let n=Mo(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&S.Optional)return null;if(e!==void 0)return e;Vs(t,"Injector")}var mp={},zn=mp,ns="__NG_DI_FLAG__",no="ngTempTokenPath",vp="ngTokenPath",yp=/\n/gm,Dp="\u0275",hu="__source",cn;function wp(){return cn}function at(t){let e=cn;return cn=t,e}function Cp(t,e=S.Default){if(cn===void 0)throw new v(-203,!1);return cn===null?tl(t,void 0,e):cn.get(t,e&S.Optional?null:void 0,e)}function D(t,e=S.Default){return(el()||Cp)(De(t),e)}function p(t,e=S.Default){return D(t,So(e))}function So(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function rs(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(yp,` - `)}`}var To=nl(Wu("Optional"),8);var $s=nl(Wu("SkipSelf"),4);function ln(t,e){let r=t.hasOwnProperty(to);return r?t[to]:null}function Bs(t,e){t.forEach(r=>Array.isArray(r)?Bs(r,e):e(r))}function rl(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ro(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var Gn={},je=[],dn=new w(""),ol=new w("",-1),il=new w(""),oo=class{get(e,r=zn){if(r===zn){let n=new Error(`NullInjectorError: No provider for ${ce(e)}!`);throw n.name="NullInjectorError",n}return r}},sl=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(sl||{}),Be=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Be||{}),fn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(fn||{});function Mp(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function os(t,e,r){let n=0;for(;ne){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Te(n))return!1;s=!0}}}}return Te(n)||s}function Te(t){return(t&1)===0}function Ap(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Te(s)&&(e+=gu(i,o),o=""),n=s,i=i||!Te(n);r++}return o!==""&&(e+=gu(i,o)),e}function Fp(t){return t.map(Pp).join(",")}function Lp(t){let e=[],r=[],n=1,o=2;for(;n{let e=fl(t),r=H(g({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===sl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Be.Emulated,styles:t.styles||je,_:null,schemas:t.schemas||null,tView:null,id:""});hl(r);let n=t.dependencies;return r.directiveDefs=vu(n,!1),r.pipeDefs=vu(n,!0),r.id=$p(r),r})}function jp(t){return ut(t)||cl(t)}function Vp(t){return t!==null}function se(t){return Jn(()=>({type:t.type,bootstrap:t.bootstrap||je,declarations:t.declarations||je,imports:t.imports||je,exports:t.exports||je,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mu(t,e){if(t==null)return Gn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=fn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==fn.None?[n,a]:n,e[i]=s):r[i]=n}return r}function Xn(t){return Jn(()=>{let e=fl(t);return hl(e),e})}function ut(t){return t[lp]||null}function cl(t){return t[dp]||null}function ul(t){return t[fp]||null}function ll(t){let e=ut(t)||cl(t)||ul(t);return e!==null?e.standalone:!1}function dl(t,e){let r=t[hp]||null;if(!r&&e===!0)throw new Error(`Type ${ce(t)} does not have '\u0275mod' property.`);return r}function fl(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Gn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||je,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mu(t.inputs,e),outputs:mu(t.outputs),debugInfo:null}}function hl(t){t.features?.forEach(e=>e(t))}function vu(t,e){if(!t)return null;let r=e?ul:jp;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Vp)}function $p(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Bp(...t){return{\u0275providers:pl(!0,t),\u0275fromNgModule:!0}}function pl(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Bs(e,s=>{let a=s;is(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&gl(o,i),r}function gl(t,e){for(let r=0;r{e(i,n)})}}function is(t,e,r,n){if(t=De(t),!t)return!1;let o=null,i=lu(t),s=!i&&ut(t);if(!i&&!s){let c=t.ngModule;if(i=lu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)is(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{Bs(i.imports,l=>{is(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&gl(u,e)}if(!a){let u=ln(o)||(()=>new o);e({provide:o,useFactory:u,deps:je},o),e({provide:il,useValue:o,multi:!0},o),e({provide:dn,useValue:()=>D(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;zs(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function zs(t,e){for(let r of t)Xu(r)&&(r=r.\u0275providers),Array.isArray(r)?zs(r,e):e(r)}var Up=j({provide:String,useValue:j});function ml(t){return t!==null&&typeof t=="object"&&Up in t}function Hp(t){return!!(t&&t.useExisting)}function zp(t){return!!(t&&t.useFactory)}function ss(t){return typeof t=="function"}var xo=new w(""),Qr={},Gp={},Wi;function Gs(){return Wi===void 0&&(Wi=new oo),Wi}var ue=class{},qn=class extends ue{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cs(e,s=>this.processProvider(s)),this.records.set(ol,rn(void 0,this)),o.has("environment")&&this.records.set(ue,rn(void 0,this));let i=this.records.get(xo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(il,je,S.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=R(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=at(this),n=ye(void 0),o;try{return e()}finally{at(r),ye(n)}}get(e,r=zn,n=S.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(fu))return e[fu](this);n=So(n);let o,i=at(this),s=ye(void 0);try{if(!(n&S.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=Kp(e)&&Mo(e);u&&this.injectableDefInScope(u)?c=rn(as(e),Qr):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&S.Self?Gs():this.parent;return r=n&S.Optional&&r===zn?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[no]=a[no]||[]).unshift(ce(e)),i)throw a;return Ep(a,e,"R3InjectorError",this.source)}else throw a}finally{ye(s),at(i)}}resolveInjectorInitializers(){let e=R(null),r=at(this),n=ye(void 0),o;try{let i=this.get(dn,je,S.Self);for(let s of i)s()}finally{at(r),ye(n),R(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ce(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=De(e);let r=ss(e)?e:De(e&&e.provide),n=Wp(e);if(!ss(e)&&e.multi===!0){let o=this.records.get(r);o||(o=rn(void 0,Qr,!0),o.factory=()=>rs(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=R(null);try{return r.value===Qr&&(r.value=Gp,r.value=r.factory()),typeof r.value=="object"&&r.value&&Qp(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{R(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=De(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function as(t){let e=Mo(t),r=e!==null?e.factory:ln(t);if(r!==null)return r;if(t instanceof w)throw new v(204,!1);if(t instanceof Function)return qp(t);throw new v(204,!1)}function qp(t){if(t.length>0)throw new v(204,!1);let r=cp(t);return r!==null?()=>r.factory(t):()=>new t}function Wp(t){if(ml(t))return rn(void 0,t.useValue);{let e=Zp(t);return rn(e,Qr)}}function Zp(t,e,r){let n;if(ss(t)){let o=De(t);return ln(o)||as(o)}else if(ml(t))n=()=>De(t.useValue);else if(zp(t))n=()=>t.useFactory(...rs(t.deps||[]));else if(Hp(t))n=()=>D(De(t.useExisting));else{let o=De(t&&(t.useClass||t.provide));if(Yp(t))n=()=>new o(...rs(t.deps));else return ln(o)||as(o)}return n}function rn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Yp(t){return!!t.deps}function Qp(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Kp(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function cs(t,e){for(let r of t)Array.isArray(r)?cs(r,e):r&&Xu(r)?cs(r.\u0275providers,e):e(r)}function Ae(t,e){t instanceof qn&&t.assertNotDestroyed();let r,n=at(t),o=ye(void 0);try{return e()}finally{at(n),ye(o)}}function vl(){return el()!==void 0||wp()!=null}function Jp(t){if(!vl())throw new v(-203,!1)}function Xp(t){let e=_e.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function eg(t){return typeof t=="function"}var Ke=0,x=1,I=2,oe=3,xe=4,Re=5,io=6,so=7,Ne=8,hn=9,Ue=10,le=11,Wn=12,yu=13,wn=14,He=15,pn=16,on=17,gn=18,_o=19,yl=20,ct=21,Zi=22,we=23,lt=25,Dl=1;var St=7,ao=8,co=9,Ce=10,uo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(uo||{});function bt(t){return Array.isArray(t)&&typeof t[Dl]=="object"}function Je(t){return Array.isArray(t)&&t[Dl]===!0}function wl(t){return(t.flags&4)!==0}function No(t){return t.componentOffset>-1}function qs(t){return(t.flags&1)===1}function er(t){return!!t.template}function us(t){return(t[I]&512)!==0}var ls=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Cl(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Ao(){return Il}function Il(t){return t.type.prototype.ngOnChanges&&(t.setInput=ng),tg}Ao.ngInherit=!0;function tg(){let t=bl(this),e=t?.current;if(e){let r=t.previous;if(r===Gn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function ng(t,e,r,n,o){let i=this.declaredInputs[n],s=bl(t)||rg(t,{previous:Gn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ls(u&&u.currentValue,r,c===Gn),Cl(t,e,o,r)}var El="__ngSimpleChanges__";function bl(t){return t[El]||null}function rg(t,e){return t[El]=e}var Du=null;var Ve=function(t,e,r){Du?.(t,e,r)},og="svg",ig="math";function ze(t){for(;Array.isArray(t);)t=t[Ke];return t}function sg(t,e){return ze(e[t])}function Oe(t,e){return ze(e[t.index])}function Ml(t,e){return t.data[e]}function At(t,e){let r=e[t];return bt(r)?r:r[Ke]}function Ws(t){return(t[I]&128)===128}function ag(t){return Je(t[oe])}function lo(t,e){return e==null?null:t[e]}function Sl(t){t[on]=0}function Tl(t){t[I]&1024||(t[I]|=1024,Ws(t)&&Ro(t))}function cg(t,e){for(;t>0;)e=e[wn],t--;return e}function Zn(t){return!!(t[I]&9216||t[we]?.dirty)}function ds(t){t[Ue].changeDetectionScheduler?.notify(7),t[I]&64&&(t[I]|=1024),Zn(t)&&Ro(t)}function Ro(t){t[Ue].changeDetectionScheduler?.notify(0);let e=Tt(t);for(;e!==null&&!(e[I]&8192||(e[I]|=8192,!Ws(e)));)e=Tt(e)}function xl(t,e){if((t[I]&256)===256)throw new v(911,!1);t[ct]===null&&(t[ct]=[]),t[ct].push(e)}function ug(t,e){if(t[ct]===null)return;let r=t[ct].indexOf(e);r!==-1&&t[ct].splice(r,1)}function Tt(t){let e=t[oe];return Je(e)?e[oe]:e}var A={lFrame:jl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var _l=!1;function lg(){return A.lFrame.elementDepthCount}function dg(){A.lFrame.elementDepthCount++}function fg(){A.lFrame.elementDepthCount--}function Nl(){return A.bindingsEnabled}function hg(){return A.skipHydrationRootTNode!==null}function pg(t){return A.skipHydrationRootTNode===t}function gg(){A.skipHydrationRootTNode=null}function Q(){return A.lFrame.lView}function Rt(){return A.lFrame.tView}function Ot(t){return A.lFrame.contextLView=t,t[Ne]}function kt(t){return A.lFrame.contextLView=null,t}function ke(){let t=Al();for(;t!==null&&t.type===64;)t=t.parent;return t}function Al(){return A.lFrame.currentTNode}function mg(){let t=A.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function tr(t,e){let r=A.lFrame;r.currentTNode=t,r.isParent=e}function Rl(){return A.lFrame.isParent}function vg(){A.lFrame.isParent=!1}function Ol(){return _l}function wu(t){_l=t}function yg(t){return A.lFrame.bindingIndex=t}function kl(){return A.lFrame.bindingIndex++}function Dg(){return A.lFrame.inI18n}function wg(t,e){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=t,fs(e)}function Cg(){return A.lFrame.currentDirectiveIndex}function fs(t){A.lFrame.currentDirectiveIndex=t}function Pl(t){A.lFrame.currentQueryIndex=t}function Ig(t){let e=t[x];return e.type===2?e.declTNode:e.type===1?t[Re]:null}function Fl(t,e,r){if(r&S.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&S.Host);)if(o=Ig(i),o===null||(i=i[wn],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=A.lFrame=Ll();return n.currentTNode=e,n.lView=t,!0}function Zs(t){let e=Ll(),r=t[x];A.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Ll(){let t=A.lFrame,e=t===null?null:t.child;return e===null?jl(t):e}function jl(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Vl(){let t=A.lFrame;return A.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var $l=Vl;function Ys(){let t=Vl();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Eg(t){return(A.lFrame.contextLView=cg(t,A.lFrame.contextLView))[Ne]}function Qs(){return A.lFrame.selectedIndex}function xt(t){A.lFrame.selectedIndex=t}function bg(){let t=A.lFrame;return Ml(t.tView,t.selectedIndex)}function Mg(){return A.lFrame.currentNamespace}var Bl=!0;function Ks(){return Bl}function Js(t){Bl=t}function Sg(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=Il(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function Xs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[on]+=65536),(a>14>16&&(t[I]&3)===e&&(t[I]+=16384,Cu(a,i)):Cu(a,i)}var un=-1,Yn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function xg(t){return t instanceof Yn}function _g(t){return(t.flags&8)!==0}function Ng(t){return(t.flags&16)!==0}function Hl(t){return t!==un}function fo(t){return t&32767}function Ag(t){return t>>16}function ho(t,e){let r=Ag(t),n=e;for(;r>0;)n=n[wn],r--;return n}var hs=!0;function Iu(t){let e=hs;return hs=t,e}var Rg=256,zl=Rg-1,Gl=5,Og=0,$e={};function kg(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Un)&&(n=r[Un]),n==null&&(n=r[Un]=Og++);let o=n&zl,i=1<>Gl)]|=i}function ql(t,e){let r=Wl(t,e);if(r!==-1)return r;let n=e[x];n.firstCreatePass&&(t.injectorIndex=e.length,Qi(n.data,t),Qi(e,null),Qi(n.blueprint,null));let o=ea(t,e),i=t.injectorIndex;if(Hl(o)){let s=fo(o),a=ho(o,e),c=a[x].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function Qi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Wl(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ea(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=Jl(o),n===null)return un;if(r++,o=o[wn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return un}function Pg(t,e,r){kg(t,e,r)}function Zl(t,e,r){if(r&S.Optional||t!==void 0)return t;Vs(e,"NodeInjector")}function Yl(t,e,r,n){if(r&S.Optional&&n===void 0&&(n=null),!(r&(S.Self|S.Host))){let o=t[hn],i=ye(void 0);try{return o?o.get(e,n,r&S.Optional):tl(e,n,r&S.Optional)}finally{ye(i)}}return Zl(n,e,r)}function Ql(t,e,r,n=S.Default,o){if(t!==null){if(e[I]&2048&&!(n&S.Self)){let s=$g(t,e,r,n,$e);if(s!==$e)return s}let i=Kl(t,e,r,n,$e);if(i!==$e)return i}return Yl(e,r,n,o)}function Kl(t,e,r,n,o){let i=jg(r);if(typeof i=="function"){if(!Fl(e,t,n))return n&S.Host?Zl(o,r,n):Yl(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&S.Optional))Vs(r);else return s}finally{$l()}}else if(typeof i=="number"){let s=null,a=Wl(t,e),c=un,u=n&S.Host?e[He][Re]:null;for((a===-1||n&S.SkipSelf)&&(c=a===-1?ea(t,e):e[a+8],c===un||!bu(n,!1)?a=-1:(s=e[x],a=fo(c),e=ho(c,e)));a!==-1;){let l=e[x];if(Eu(i,a,l.data)){let d=Fg(a,e,r,s,n,u);if(d!==$e)return d}c=e[a+8],c!==un&&bu(n,e[x].data[a+8]===u)&&Eu(i,a,e)?(s=l,a=fo(c),e=ho(c,e)):a=-1}}return o}function Fg(t,e,r,n,o,i){let s=e[x],a=s.data[t+8],c=n==null?No(a)&&hs:n!=s&&(a.type&3)!==0,u=o&S.Host&&i===a,l=Lg(a,s,r,c,u);return l!==null?Qn(e,s,l,a):$e}function Lg(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=n?a:a+l,h=o?a+l:u;for(let f=d;f=c&&m.type===r)return f}if(o){let f=s[c];if(f&&er(f)&&f.type===r)return c}return null}function Qn(t,e,r,n){let o=t[r],i=e.data;if(xg(o)){let s=o;s.resolving&&gp(pp(i[r]));let a=Iu(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ye(s.injectImpl):null,l=Fl(t,n,S.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&Sg(r,i[r],e)}finally{u!==null&&ye(u),Iu(a),s.resolving=!1,$l()}}return o}function jg(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Un)?t[Un]:void 0;return typeof e=="number"?e>=0?e&zl:Vg:e}function Eu(t,e,r){let n=1<>Gl)]&n)}function bu(t,e){return!(t&S.Self)&&!(t&S.Host&&e)}var Mt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Ql(this._tNode,this._lView,e,So(n),r)}};function Vg(){return new Mt(ke(),Q())}function ta(t){return Jn(()=>{let e=t.prototype.constructor,r=e[to]||ps(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[to]||ps(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ps(t){return Yu(t)?()=>{let e=ps(De(t));return e&&e()}:ln(t)}function $g(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=Kl(i,s,r,n|S.Self,$e);if(a!==$e)return a;let c=i.parent;if(!c){let u=s[yl];if(u){let l=u.get(r,$e,n);if(l!==$e)return l}c=Jl(s),s=s[wn]}i=c}return o}function Jl(t){let e=t[x],r=e.type;return r===2?e.declTNode:r===1?t[Re]:null}function Mu(t,e=null,r=null,n){let o=Xl(t,e,r,n);return o.resolveInjectorInitializers(),o}function Xl(t,e=null,r=null,n,o=new Set){let i=[r||je,Bp(t)];return n=n||(typeof t=="object"?void 0:ce(t)),new qn(i,e||Gs(),n||null,o)}var Et=class Et{static create(e,r){if(Array.isArray(e))return Mu({name:""},r,e,"");{let n=e.name??"";return Mu({name:n},e.parent,e.providers,n)}}};Et.THROW_IF_NOT_FOUND=zn,Et.NULL=new oo,Et.\u0275prov=y({token:Et,providedIn:"any",factory:()=>D(ol)}),Et.__NG_ELEMENT_ID__=-1;var Ie=Et;var Bg=new w("");Bg.__NG_ELEMENT_ID__=t=>{let e=ke();if(e===null)throw new v(204,!1);if(e.type&2)return e.value;if(t&S.Optional)return null;throw new v(204,!1)};var Ug="ngOriginalError";function Ki(t){return t[Ug]}var Ge=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Ki(e);for(;r&&Ki(r);)r=Ki(r);return r||null}},ed=new w("",{providedIn:"root",factory:()=>p(Ge).handleError.bind(void 0)}),na=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Hg,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),gs=class extends na{constructor(e){super(),this._lView=e}onDestroy(e){return xl(this._lView,e),()=>ug(this._lView,e)}};function Hg(){return new gs(Q())}function zg(){return Oo(ke(),Q())}function Oo(t,e){return new ko(Oe(t,e))}var ko=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=zg;let t=e;return t})();var Cn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var ms=class extends re{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,vl()&&(this.destroyRef=p(na,{optional:!0})??void 0,this.pendingTasks=p(Cn,{optional:!0})??void 0)}emit(e){let r=R(null);try{super.next(e)}finally{R(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof G&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},Y=ms;function td(t){return(t.flags&128)===128}var nd=new Map,Gg=0;function qg(){return Gg++}function Wg(t){nd.set(t[_o],t)}function Zg(t){nd.delete(t[_o])}var Su="__ngContext__";function _t(t,e){bt(e)?(t[Su]=e[_o],Wg(e)):t[Su]=e}function rd(t){return id(t[Wn])}function od(t){return id(t[xe])}function id(t){for(;t!==null&&!Je(t);)t=t[xe];return t}var vs;function sd(t){vs=t}function Yg(){if(vs!==void 0)return vs;if(typeof document<"u")return document;throw new v(210,!1)}var Po=new w("",{providedIn:"root",factory:()=>Qg}),Qg="ng",ra=new w(""),ft=new w("",{providedIn:"platform",factory:()=>"unknown"});var oa=new w("",{providedIn:"root",factory:()=>Yg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kg="h",Jg="b";var Xg=()=>null;function ia(t,e,r=!1){return Xg(t,e,r)}var ad=!1,em=new w("",{providedIn:"root",factory:()=>ad});var po=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qu})`}};function sa(t){return t instanceof po?t.changingThisBreaksApplicationSecurity:t}function cd(t,e){let r=tm(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${qu})`)}return r===e}function tm(t){return t instanceof po&&t.getTypeName()||null}var nm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ud(t){return t=String(t),t.match(nm)?t:"unsafe:"+t}var aa=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(aa||{});function Fo(t){let e=rm();return e?e.sanitize(aa.URL,t)||"":cd(t,"URL")?sa(t):ud(js(t))}function rm(){let t=Q();return t&&t[Ue].sanitizer}function ld(t){return t instanceof Function?t():t}function om(t){return(t??p(Ie)).get(ft)==="browser"}var Pt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Pt||{}),im;function ca(t,e){return im(t,e)}function sn(t,e,r,n,o){if(n!=null){let i,s=!1;Je(n)?i=n:bt(n)&&(s=!0,n=n[Ke]);let a=ze(n);t===0&&r!==null?o==null?gd(e,r,a):go(e,r,a,o||null,!0):t===1&&r!==null?go(e,r,a,o||null,!0):t===2?Cm(e,a,s):t===3&&e.destroyNode(a),i!=null&&Em(e,t,i,r,o)}}function sm(t,e){return t.createText(e)}function am(t,e,r){t.setValue(e,r)}function dd(t,e,r){return t.createElement(e,r)}function cm(t,e){fd(t,e),e[Ke]=null,e[Re]=null}function um(t,e,r,n,o,i){n[Ke]=o,n[Re]=e,Lo(t,n,r,1,o,i)}function fd(t,e){e[Ue].changeDetectionScheduler?.notify(8),Lo(t,e,e[le],2,null,null)}function lm(t){let e=t[Wn];if(!e)return Ji(t[x],t);for(;e;){let r=null;if(bt(e))r=e[Wn];else{let n=e[Ce];n&&(r=n)}if(!r){for(;e&&!e[xe]&&e!==t;)bt(e)&&Ji(e[x],e),e=e[oe];e===null&&(e=t),bt(e)&&Ji(e[x],e),r=e&&e[xe]}e=r}}function dm(t,e,r,n){let o=Ce+n,i=r.length;n>0&&(r[o-1][xe]=e),n0&&(t[r-1][xe]=n[xe]);let i=ro(t,Ce+e);cm(n[x],n);let s=i[gn];s!==null&&s.detachView(i[x]),n[oe]=null,n[xe]=null,n[I]&=-129}return n}function pd(t,e){if(!(e[I]&256)){let r=e[le];r.destroyNode&&Lo(t,e,r,3,null,null),lm(e)}}function Ji(t,e){if(e[I]&256)return;let r=R(null);try{e[I]&=-129,e[I]|=256,e[we]&&xi(e[we]),hm(t,e),fm(t,e),e[x].type===1&&e[le].destroy();let n=e[pn];if(n!==null&&Je(e[oe])){n!==e[oe]&&ua(n,e);let o=e[gn];o!==null&&o.detachView(t)}Zg(e)}finally{R(r)}}function fm(t,e){let r=t.cleanup,n=e[so];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[so]=null);let o=e[ct];if(o!==null){e[ct]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Be.None||i===Be.Emulated)return null}return Oe(n,r)}}function go(t,e,r,n,o){t.insertBefore(e,r,n,o)}function gd(t,e,r){t.appendChild(e,r)}function Tu(t,e,r,n,o){n!==null?go(t,e,r,n,o):gd(t,e,r)}function mm(t,e,r,n){t.removeChild(e,r,n)}function la(t,e){return t.parentNode(e)}function vm(t,e){return t.nextSibling(e)}function ym(t,e,r){return wm(t,e,r)}function Dm(t,e,r){return t.type&40?Oe(t,r):null}var wm=Dm,xu;function da(t,e,r,n){let o=pm(t,n,e),i=e[le],s=n.parent||e[Re],a=ym(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;clt&&Dd(t,e,lt,!1),Ve(s?2:0,o),r(n,o)}finally{xt(i),Ve(s?3:1,o)}}function bd(t,e,r){if(wl(e)){let n=R(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Am(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return hg()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function _u(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=fn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?Nu(n,r,u,a,c):Nu(n,r,u,a)}return n}function Nu(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function Rm(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function jm(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;No(r)&&Gm(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||ql(r,e),_t(n,e);let s=r.initialInputs;for(let a=o;a{Ro(t.lView)},consumerOnSignalRead(){this.lView[we]=this}});function av(t){let e=t[we]??Object.create(cv);return e.lView=t,e}var cv=H(g({},Mi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Tt(t.lView);for(;e&&!Pd(e[x]);)e=Tt(e);e&&Tl(e)},consumerOnSignalRead(){this.lView[we]=this}});function Pd(t){return t.type!==2}var uv=100;function Fd(t,e=!0,r=0){let n=t[Ue],o=n.rendererFactory,i=!1;i||o.begin?.();try{lv(t,r)}catch(s){throw e&&Od(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function lv(t,e){let r=Ol();try{wu(!0),Is(t,e);let n=0;for(;Zn(t);){if(n===uv)throw new v(103,!1);n++,Is(t,1)}}finally{wu(r)}}function dv(t,e,r,n){let o=e[I];if((o&256)===256)return;let i=!1,s=!1;!i&&e[Ue].inlineEffectRunner?.flush(),Zs(e);let a=!0,c=null,u=null;i||(Pd(t)?(u=rv(e),c=Si(u)):Ac()===null?(a=!1,u=av(e),c=Si(u)):e[we]&&(xi(e[we]),e[we]=null));try{Sl(e),yg(t.bindingStartIndex),r!==null&&Ed(t,e,r,2,n);let l=(o&3)===3;if(!i)if(l){let f=t.preOrderCheckHooks;f!==null&&Kr(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Jr(e,f,0,null),Yi(e,0)}if(s||fv(e),Ld(e,0),t.contentQueries!==null&&Rd(t,e),!i)if(l){let f=t.contentCheckHooks;f!==null&&Kr(e,f)}else{let f=t.contentHooks;f!==null&&Jr(e,f,1),Yi(e,1)}Mm(t,e);let d=t.components;d!==null&&Vd(e,d,0);let h=t.viewQuery;if(h!==null&&Cs(2,h,n),!i)if(l){let f=t.viewCheckHooks;f!==null&&Kr(e,f)}else{let f=t.viewHooks;f!==null&&Jr(e,f,2),Yi(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Zi]){for(let f of e[Zi])f();e[Zi]=null}i||(e[I]&=-73)}catch(l){throw i||Ro(e),l}finally{u!==null&&(Rc(u,c),a&&iv(u)),Ys()}}function Ld(t,e){for(let r=rd(t);r!==null;r=od(r))for(let n=Ce;n-1&&(ys(e,n),ro(r,n))}this._attachedToViewContainer=!1}pd(this._lView[x],this._lView)}onDestroy(e){xl(this._lView,e)}markForCheck(){ma(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){ds(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Fd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=us(this._lView),r=this._lView[pn];r!==null&&!e&&ua(r,this._lView),fd(this._lView[x],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e;let r=us(this._lView),n=this._lView[pn];n!==null&&!r&&hd(n,this._lView),ds(this._lView)}},Uo=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mv;let t=e;return t})(),pv=Uo,gv=class extends pv{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=ev(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Nt(o)}};function mv(){return vv(ke(),Q())}function vv(t,e){return t.type&4?new gv(e,t,Oo(t,e)):null}var yS=new RegExp(`^(\\d+)*(${Jg}|${Kg})*(.*)`);var yv=()=>null;function Ru(t,e){return yv(t,e)}var mn=class{},$d=new w("",{providedIn:"root",factory:()=>!1});var Bd=new w(""),Es=class{},vo=class{};function Dv(t){let e=Error(`No component factory found for ${ce(t)}.`);return e[wv]=t,e}var wv="ngComponent";var bs=class{resolveComponentFactory(e){throw Dv(e)}},Sa=class Sa{};Sa.NULL=new bs;var vn=Sa,yn=class{};var Cv=(()=>{let e=class e{};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Xi={};var Ou=new Set;function va(t){Ou.has(t)||(Ou.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Ud(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof _e.requestAnimationFrame=="function"&&_e.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function ku(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function Pu(...t){}var V=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y(!1),this.onMicrotaskEmpty=new Y(!1),this.onStable=new Y(!1),this.onError=new Y(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,bv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Iv,Pu,Pu);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},Iv={};function ya(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ev(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Ud(()=>{t.callbackScheduled=!1,Ms(t),t.isCheckStableRunning=!0,ya(t),t.isCheckStableRunning=!1})}),Ms(t))}function bv(t){let e=()=>{Ev(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(Mv(a))return r.invokeTask(o,i,s,a);try{return Fu(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Lu(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Fu(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Sv(a)&&e(),Lu(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ms(t),ya(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Ms(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Fu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Lu(t){t._nesting--,ya(t)}var yo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Y,this.onMicrotaskEmpty=new Y,this.onStable=new Y,this.onError=new Y}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function Mv(t){return Hd(t,"__ignore_ng_zone__")}function Sv(t){return Hd(t,"__scheduler_tick__")}function Hd(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function Tv(t="zone.js",e){return t==="noop"?new yo:t==="zone.js"?new V(e):t}var an=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(an||{}),xv={destroy(){}};function Ho(t,e){!e&&Jp(Ho);let r=e?.injector??p(Ie);if(!om(r))return xv;va("NgAfterNextRender");let n=r.get(Da),o=n.handler??=new Ts,i=e?.phase??an.MixedReadWrite,s=()=>{o.unregister(c),a()},a=r.get(na).onDestroy(s),c=Ae(r,()=>new Ss(i,()=>{s(),t()}));return o.register(c),{destroy:s}}var Ss=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=p(V),this.errorHandler=p(Ge,{optional:!0}),p(mn,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Ts=class{constructor(){this.executingCallbacks=!1,this.buckets={[an.EarlyRead]:new Set,[an.Write]:new Set,[an.MixedReadWrite]:new Set,[an.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Da=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function xs(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&vd(t,r,i.join(" "))}}function Pv(t,e,r){let n=t.projection=[];for(let o=0;o{let e=class e{};e.__NG_ELEMENT_ID__=Lv;let t=e;return t})();function Lv(){let t=ke();return Vv(t,Q())}var jv=In,zd=class extends jv{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new Mt(this._hostTNode,this._hostLView)}get parentInjector(){let e=ea(this._hostTNode,this._hostLView);if(Hl(e)){let r=ho(e,this._hostLView),n=fo(e),o=r[x].data[n+8];return new Mt(o,r)}else return new Mt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Vu(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ce}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Ru(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Au(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!eg(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?e:new Dn(ut(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let M=(s?u:this.parentInjector).get(ue,null);M&&(i=M)}let l=ut(c.componentType??{}),d=Ru(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Au(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(ag(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[oe],u=new zd(c,c[Re],c[oe]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return tv(s,o,i,n),e.attachToViewContainerRef(),rl(es(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Vu(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=ys(this._lContainer,r);n&&(ro(es(this._lContainer),r),pd(n[x],n))}detach(e){let r=this._adjustIndex(e,-1),n=ys(this._lContainer,r);return n&&ro(es(this._lContainer),r)!=null?new Nt(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Vu(t){return t[ao]}function es(t){return t[ao]||(t[ao]=[])}function Vv(t,e){let r,n=e[t.index];return Je(n)?r=n:(r=Ad(n,e,null,t),e[t.index]=r,Bo(e,r)),Bv(r,e,t,n),new zd(r,t,e)}function $v(t,e){let r=t[le],n=r.createComment(""),o=Oe(e,t),i=la(r,o);return go(r,i,n,vm(r,o),!1),n}var Bv=zv,Uv=()=>!1;function Hv(t,e,r){return Uv(t,e,r)}function zv(t,e,r,n){if(t[St])return;let o;r.type&8?o=ze(n):o=$v(e,r),t[St]=o}function Gv(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(Yv))}return i}return wo.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(n(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Qv(i));e.push(c)}),Wv(),Promise.all(e).then(()=>{})}var wo=new Map,qv=new Set;function Wv(){let t=wo;return wo=new Map,t}function Zv(){return wo.size===0}function Yv(t){return typeof t=="string"?t:t.text()}function Qv(t){qv.delete(t)}var dt=class{},Kn=class{};var Co=class extends dt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Do(this);let o=dl(e);this._bootstrapComponents=ld(o.bootstrap),this._r3Injector=Xl(e,r,[{provide:dt,useValue:this},{provide:vn,useValue:this.componentFactoryResolver},...n],ce(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Io=class extends Kn{constructor(e){super(),this.moduleType=e}create(e){return new Co(this.moduleType,e,[])}};function Kv(t,e,r){return new Co(t,e,r)}var As=class extends dt{constructor(e){super(),this.componentFactoryResolver=new Do(this),this.instance=null;let r=new qn([...e.providers,{provide:dt,useValue:this},{provide:vn,useValue:this.componentFactoryResolver}],e.parent||Gs(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function zo(t,e,r=null){return new As({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function Gd(t){return Xv(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Jv(t,e){if(Array.isArray(t))for(let r=0;r(Js(!0),dd(n,o,Mg()));function Lt(){return Q()}var Eo="en-US";var cy=Eo;function uy(t){typeof t=="string"&&(cy=t.toLowerCase().replace(/_/g,"-"))}var ly=(t,e,r)=>{};function Xe(t,e,r,n){let o=Q(),i=Rt(),s=ke();return fy(i,o,o[le],s,t,e,n),Xe}function dy(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function fy(t,e,r,n,o,i,s){let a=qs(n),u=t.firstCreatePass&&Ym(t),l=e[Ne],d=Zm(e),h=!0;if(n.type&3||s){let M=Oe(n,e),L=s?s(M):M,B=d.length,be=s?Ze=>s(ze(Ze[n.index])):n.index,Z=null;if(!s&&a&&(Z=dy(t,e,o,n.index)),Z!==null){let Ze=Z.__ngLastListenerFn__||Z;Ze.__ngNextListenerFn__=i,Z.__ngLastListenerFn__=i,h=!1}else{i=Uu(n,e,l,i),ly(M,o,i);let Ze=r.listen(L,o,i);d.push(i,Ze),u&&u.push(o,be,B,B+1)}}else i=Uu(n,e,l,i);let f=n.outputs,m;if(h&&f!==null&&(m=f[o])){let M=m.length;if(M)for(let L=0;L-1?At(t.index,e):e;ma(s,5);let a=Bu(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Bu(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function ne(t=1){return Eg(t)}function W(t,e=""){let r=Q(),n=Rt(),o=t+lt,i=n.firstCreatePass?$o(n,o,1,e,null):n.data[o],s=hy(n,r,i,e,t);r[o]=s,Ks()&&da(n,r,s,i),tr(i,!1)}var hy=(t,e,r,n,o)=>(Js(!0),sm(e[le],n));function pt(t){return et("",t,""),pt}function et(t,e,r){let n=Q(),o=iy(n,t,e,r);return o!==jo&&Qm(n,Qs(),o),et}var py=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=pl(!1,n.type),i=o.length>0?zo([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(D(ue))});let t=e;return t})();function Wd(t){va("NgStandalone"),t.getStandaloneInjector=e=>e.get(py).getOrCreateStandaloneInjector(t)}var Yr=null;function gy(t){Yr!==null&&(t.defaultEncapsulation!==Yr.defaultEncapsulation||t.preserveWhitespaces!==Yr.preserveWhitespaces)||(Yr=t)}var Go=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var wa=new w(""),nr=new w(""),qo=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ca||(my(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(D(V),D(Wo),D(nr))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Wo=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Ca?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function my(t){Ca=t}var Ca;function rr(t){return!!t&&typeof t.then=="function"}function Zd(t){return!!t&&typeof t.subscribe=="function"}var Zo=new w(""),Yd=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Zo,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(rr(s))n.push(s);else if(Zd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ia=new w("");function vy(){Oc(()=>{throw new v(600,!1)})}function yy(t){return t.isBoundToModule}var Dy=10;function wy(t,e,r){try{let n=r();return rr(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Qd(t,e){return Array.isArray(e)?e.reduce(Qd,t):g(g({},t),e)}var jt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(ed),this.afterRenderEffectManager=p(Da),this.zonelessEnabled=p($d),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=p(Cn).hasPendingTasks.pipe(T(n=>!n)),this._injector=p(ue)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof vo;if(!this._injector.get(Yd).done){let f=!i&&ll(n),m=!1;throw new v(405,m)}let a;i?a=n:a=this._injector.get(vn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=yy(a)?void 0:this._injector.get(dt),u=o||a.selector,l=a.create(Ie.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(wa,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),eo(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new v(101,!1);let o=R(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,R(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(yn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iZn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Zn(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;eo(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Ia,[]);[...this._bootstrapListeners,...o].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function eo(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Cy(t,e,r,n){if(!r&&!Zn(t))return;Fd(t,e,r&&!n?0:1)}var Rs=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Yo=(()=>{let e=class e{compileModuleSync(n){return new Io(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=dl(n),s=ld(i.declarations).reduce((a,c)=>{let u=ut(c);return u&&a.push(new Dn(u)),a},[]);return new Rs(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Iy=new w("");function Ey(t,e,r){let n=new Io(r);return Promise.resolve(n)}function Hu(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var by=(()=>{let e=class e{constructor(){this.zone=p(V),this.changeDetectionScheduler=p(mn),this.applicationRef=p(jt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function My({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new V(Kd()),[{provide:V,useFactory:t},{provide:dn,multi:!0,useFactory:()=>{let r=p(by,{optional:!0});return()=>r.initialize()}},{provide:dn,multi:!0,useFactory:()=>{let r=p(Ty);return()=>{r.initialize()}}},{provide:ed,useFactory:Sy},e===!0?{provide:Bd,useValue:!0}:[]]}function Sy(){let t=p(V),e=p(Ge);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Kd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Ty=(()=>{let e=class e{constructor(){this.subscription=new G,this.initialized=!1,this.zone=p(V),this.pendingTasks=p(Cn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var xy=(()=>{let e=class e{constructor(){this.appRef=p(jt),this.taskService=p(Cn),this.ngZone=p(V),this.zonelessEnabled=p($d),this.disableScheduling=p(Bd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new G,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 yo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){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?ku:Ud;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&&V.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ku(()=>{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 n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _y(){return typeof $localize<"u"&&$localize.locale||Eo}var Ea=new w("",{providedIn:"root",factory:()=>p(Ea,S.Optional|S.SkipSelf)||_y()});var Jd=new w(""),Xd=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=Tv(o?.ngZone,Kd({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=Kv(n.moduleType,this.injector,[...My({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:mn,useExisting:xy}]),c=a.injector.get(Ge,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{eo(this._modules,a),u.unsubscribe()})}),wy(c,i,()=>{let u=a.injector.get(Yd);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(Ea,Eo);return uy(l||Eo),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=Qd({},o);return Ey(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(jt);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(Jd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(D(Ie))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Hn=null,ef=new w("");function Ny(t){if(Hn&&!Hn.get(ef,!1))throw new v(400,!1);vy(),Hn=t;let e=t.get(Xd);return Oy(t),e}function ba(t,e,r=[]){let n=`Platform: ${e}`,o=new w(n);return(i=[])=>{let s=tf();if(!s||s.injector.get(ef,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):Ny(Ay(a,n))}return Ry(o)}}function Ay(t=[],e){return Ie.create({name:e,providers:[{provide:xo,useValue:"platform"},{provide:Jd,useValue:new Set([()=>Hn=null])},...t]})}function Ry(t){let e=tf();if(!e)throw new v(401,!1);return e}function tf(){return Hn?.get(Xd)??null}function Oy(t){t.get(ra,null)?.forEach(r=>r())}var or=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ky;let t=e;return t})();function ky(t){return Py(ke(),Q(),(t&16)===16)}function Py(t,e,r){if(No(t)&&!r){let n=At(t.index,e);return new Nt(n,n)}else if(t.type&47){let n=e[He];return new Nt(n,e)}return null}var Os=class{constructor(){}supports(e){return Gd(e)}create(e){return new ks(e)}},Fy=(t,e)=>e,ks=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Fy}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new Ps(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new bo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new bo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Ps=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Fs=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},bo=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Fs,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function zu(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Gu()),deps:[[e,new $s,new To]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new v(901,!1)}};e.\u0275prov=y({token:e,providedIn:"root",factory:Gu});let t=e;return t})();var nf=ba(null,"core",[]),rf=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(D(jt))},e.\u0275mod=se({type:e}),e.\u0275inj=ie({});let t=e;return t})();function of(t){let e=ut(t);if(!e)return null;let r=new Dn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var ff=null;function Vt(){return ff}function hf(t){ff??=t}var Qo=class{};var de=new w(""),Aa=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p($y),providedIn:"platform"});let t=e;return t})(),pf=new w(""),$y=(()=>{let e=class e extends Aa{constructor(){super(),this._doc=p(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Vt().getBaseHref(this._doc)}onPopState(n){let o=Vt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Vt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Ra(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function sf(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function tt(t){return t&&t[0]!=="?"?"?"+t:t}var $t=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Oa),providedIn:"root"});let t=e;return t})(),gf=new w(""),Oa=(()=>{let e=class e extends $t{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ra(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+tt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(D(Aa),D(gf,8))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mf=(()=>{let e=class e extends $t{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Ra(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(D(Aa),D(gf,8))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),En=(()=>{let e=class e{constructor(n){this._subject=new Y,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Hy(sf(af(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+tt(o))}normalize(n){return e.stripTrailingSlash(Uy(this._basePath,af(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=tt,e.joinWithSlash=Ra,e.stripTrailingSlash=sf,e.\u0275fac=function(o){return new(o||e)(D($t))},e.\u0275prov=y({token:e,factory:()=>By(),providedIn:"root"});let t=e;return t})();function By(){return new En(D($t))}function Uy(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function af(t){return t.replace(/\/index.html$/,"")}function Hy(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function vf(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Ta=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},bn=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Ta(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),cf(c,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);cf(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(ht(In),ht(Uo),ht(Ma))},e.\u0275dir=Xn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function cf(t,e){t.context.$implicit=e.item}var gt=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new xa,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){uf("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){uf("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(ht(In),ht(Uo))},e.\u0275dir=Xn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),xa=class{constructor(){this.$implicit=null,this.ngIf=null}};function uf(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ce(e)}'.`)}var Jo=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({});let t=e;return t})(),ka="browser",zy="server";function Gy(t){return t===ka}function Pa(t){return t===zy}var yf=(()=>{let e=class e{};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>Gy(p(ft))?new _a(p(de),window):new Na});let t=e;return t})(),_a=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=qy(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function qy(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var Na=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ko=class{};var ja=class extends Qo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Va=class t extends ja{static makeCurrent(){hf(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Zy();return r==null?null:Yy(r)}resetBaseElement(){ir=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return vf(document.cookie,e)}},ir=null;function Zy(){return ir=ir||document.querySelector("base"),ir?ir.getAttribute("href"):null}function Yy(t){return new URL(t,document.baseURI).pathname}var $a=class{addToWindow(e){_e.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new v(5103,!1);return i},_e.getAllAngularTestabilities=()=>e.getAllTestabilities(),_e.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=_e.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?Vt().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Qy=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Ba=new w(""),If=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(D(Ba),D(V))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),ei=class{constructor(e){this._doc=e}},Fa="ng-app-id",Ef=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Pa(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Fa}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Fa),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Fa,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(D(de),D(Po),D(oa,8),D(ft))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),La={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"},Ha=/%COMP%/g,bf="%COMP%",Ky=`_nghost-${bf}`,Jy=`_ngcontent-${bf}`,Xy=!0,eD=new w("",{providedIn:"root",factory:()=>Xy});function tD(t){return Jy.replace(Ha,t)}function nD(t){return Ky.replace(Ha,t)}function Mf(t,e){return e.map(r=>r.replace(Ha,t))}var Df=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,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=Pa(c),this.defaultRenderer=new sr(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Be.ShadowDom&&(o=H(g({},o),{encapsulation:Be.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof ti?i.applyToHost(n):i instanceof ar&&i.applyStyles(),i}getOrCreateRenderer(n,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,h=this.platformIsServer;switch(o.encapsulation){case Be.Emulated:s=new ti(u,l,o,this.appId,d,a,c,h);break;case Be.ShadowDom:return new Ua(u,l,n,o,a,c,this.nonce,h);default:s=new ar(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(D(If),D(Ef),D(Po),D(eD),D(de),D(ft),D(V),D(oa))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),sr=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(La[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(wf(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(wf(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=La[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=La[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(Pt.DashCase|Pt.Important)?e.style.setProperty(r,n,o&Pt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Pt.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=Vt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function wf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ua=class extends sr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Mf(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ar=class extends sr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Mf(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ti=class extends ar{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=tD(u),this.hostAttr=nD(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},rD=(()=>{let e=class e extends ei{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(D(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Cf=["alt","control","meta","shift"],oD={"\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"},iD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},sD=(()=>{let e=class e extends ei{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Cf.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(n,o){let i=oD[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Cf.forEach(a=>{if(a!==i){let c=iD[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(D(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function aD(){Va.makeCurrent()}function cD(){return new Ge}function uD(){return sd(document),document}var lD=[{provide:ft,useValue:ka},{provide:ra,useValue:aD,multi:!0},{provide:de,useFactory:uD,deps:[]}],Sf=ba(nf,"browser",lD),dD=new w(""),fD=[{provide:nr,useClass:$a,deps:[]},{provide:wa,useClass:qo,deps:[V,Wo,nr]},{provide:qo,useClass:qo,deps:[V,Wo,nr]}],hD=[{provide:xo,useValue:"root"},{provide:Ge,useFactory:cD,deps:[]},{provide:Ba,useClass:rD,multi:!0,deps:[de,V,ft]},{provide:Ba,useClass:sD,multi:!0,deps:[de]},Df,Ef,If,{provide:yn,useExisting:Df},{provide:Ko,useClass:Qy,deps:[]},[]],Tf=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Po,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(D(dD,12))},e.\u0275mod=se({type:e}),e.\u0275inj=ie({providers:[...hD,...fD],imports:[Jo,rf]});let t=e;return t})();var xf=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(D(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var b="primary",Ir=Symbol("RouteTitle"),Za=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Nn(t){return new Za(t)}function pD(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===o)}else return t===e}function Bf(t){return t.length>0?t[t.length-1]:null}function yt(t){return Bi(t)?t:rr(t)?z(Promise.resolve(t)):C(t)}var mD={exact:Hf,subset:zf},Uf={exact:vD,subset:yD,ignored:()=>!0};function Nf(t,e,r){return mD[r.paths](t.root,e.root,r.matrixParams)&&Uf[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function vD(t,e){return We(t,e)}function Hf(t,e,r){if(!Ut(t.segments,e.segments)||!oi(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Hf(t.children[n],e.children[n],r))return!1;return!0}function yD(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>$f(t[r],e[r]))}function zf(t,e,r){return Gf(t,e,e.segments,r)}function Gf(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Ut(o,r)||e.hasChildren()||!oi(o,r,n))}else if(t.segments.length===r.length){if(!Ut(t.segments,r)||!oi(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!zf(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!Ut(t.segments,o)||!oi(t.segments,o,n)||!t.children[b]?!1:Gf(t.children[b],e,i,n)}}function oi(t,e,r){return e.every((n,o)=>Uf[r](t[o].parameters,n.parameters))}var mt=class{constructor(e=new k([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Nn(this.queryParams),this._queryParamMap}toString(){return CD.serialize(this)}},k=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ii(this)}},Bt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Nn(this.parameters),this._parameterMap}toString(){return Wf(this)}};function DD(t,e){return Ut(t,e)&&t.every((r,n)=>We(r.parameters,e[n].parameters))}function Ut(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function wD(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===b&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==b&&(r=r.concat(e(o,n)))}),r}var Er=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>new An,providedIn:"root"});let t=e;return t})(),An=class{parse(e){let r=new Ka(e);return new mt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${cr(e.root,!0)}`,n=bD(e.queryParams),o=typeof e.fragment=="string"?`#${ID(e.fragment)}`:"";return`${r}${n}${o}`}},CD=new An;function ii(t){return t.segments.map(e=>Wf(e)).join("/")}function cr(t,e){if(!t.hasChildren())return ii(t);if(e){let r=t.children[b]?cr(t.children[b],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==b&&n.push(`${o}:${cr(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=wD(t,(n,o)=>o===b?[cr(t.children[b],!1)]:[`${o}:${cr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[b]!=null?`${ii(t)}/${r[0]}`:`${ii(t)}/(${r.join("//")})`}}function qf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ni(t){return qf(t).replace(/%3B/gi,";")}function ID(t){return encodeURI(t)}function Qa(t){return qf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function si(t){return decodeURIComponent(t)}function Af(t){return si(t.replace(/\+/g,"%20"))}function Wf(t){return`${Qa(t.path)}${ED(t.parameters)}`}function ED(t){return Object.entries(t).map(([e,r])=>`;${Qa(e)}=${Qa(r)}`).join("")}function bD(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${ni(r)}=${ni(o)}`).join("&"):`${ni(r)}=${ni(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var MD=/^[^\/()?;#]+/;function za(t){let e=t.match(MD);return e?e[0]:""}var SD=/^[^\/()?;=#]+/;function TD(t){let e=t.match(SD);return e?e[0]:""}var xD=/^[^=?&#]+/;function _D(t){let e=t.match(xD);return e?e[0]:""}var ND=/^[^&#]+/;function AD(t){let e=t.match(ND);return e?e[0]:""}var Ka=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new k([],{}):new k([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[b]=new k(e,r)),n}parseSegment(){let e=za(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new Bt(si(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=TD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=za(this.remaining);o&&(n=o,this.capture(n))}e[si(r)]=si(n)}parseQueryParam(e){let r=_D(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=AD(this.remaining);s&&(n=s,this.capture(n))}let o=Af(r),i=Af(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=za(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=b);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[b]:new k([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function Zf(t){return t.segments.length>0?new k([],{[b]:t}):t}function Yf(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Yf(o);if(n===b&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new k(t.segments,e);return RD(r)}function RD(t){if(t.numberOfChildren===1&&t.children[b]){let e=t.children[b];return new k(t.segments.concat(e.segments),e.children)}return t}function pr(t){return t instanceof mt}function OD(t,e,r=null,n=null){let o=Qf(t);return Kf(o,e,r,n)}function Qf(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new k(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=Zf(n);return e??o}function Kf(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Ga(o,o,o,r,n);let i=kD(e);if(i.toRoot())return Ga(o,o,new k([],{}),r,n);let s=PD(i,o,t),a=s.processChildren?dr(s.segmentGroup,s.index,i.commands):Xf(s.segmentGroup,s.index,i.commands);return Ga(o,s.segmentGroup,a,r,n)}function ai(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function gr(t){return typeof t=="object"&&t!=null&&t.outlets}function Ga(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Jf(t,e,r);let a=Zf(Yf(s));return new mt(a,i,o)}function Jf(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Jf(i,e,r)}),new k(t.segments,n)}var ci=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ai(n[0]))throw new v(4003,!1);let o=n.find(gr);if(o&&o!==Bf(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kD(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ci(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new ci(r,e,n)}var Tn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function PD(t,e,r){if(t.isAbsolute)return new Tn(e,!0,0);if(!r)return new Tn(e,!1,NaN);if(r.parent===null)return new Tn(r,!0,0);let n=ai(t.commands[0])?0:1,o=r.segments.length-1+n;return FD(r,o,t.numberOfDoubleDots)}function FD(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new Tn(n,!1,o-i)}function LD(t){return gr(t[0])?t[0].outlets:{[b]:t}}function Xf(t,e,r){if(t??=new k([],{}),t.segments.length===0&&t.hasChildren())return dr(t,e,r);let n=jD(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==b)&&t.children[b]&&t.numberOfChildren===1&&t.children[b].segments.length===0){let i=dr(t.children[b],e,r);return new k(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Xf(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new k(t.segments,o)}}function jD(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=t.segments[o],a=r[n];if(gr(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Of(c,u,s))return i;n+=2}else{if(!Of(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Ja(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ja(new k([],{}),0,n))}),e}function Rf(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Of(t,e,r){return t==r.path&&We(e,r.parameters)}var fr="imperative",J=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(J||{}),Ee=class{constructor(e,r){this.id=e,this.url=r}},Rn=class extends Ee{constructor(e,r,n="imperative",o=null){super(e,r),this.type=J.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},rt=class extends Ee{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=J.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ge=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(ge||{}),ui=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ui||{}),nt=class extends Ee{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=J.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vt=class extends Ee{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=J.NavigationSkipped}},mr=class extends Ee{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=J.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},li=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xa=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ec=class extends Ee{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=J.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},tc=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nc=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rc=class{constructor(e){this.route=e,this.type=J.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},oc=class{constructor(e){this.route=e,this.type=J.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ic=class{constructor(e){this.snapshot=e,this.type=J.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sc=class{constructor(e){this.snapshot=e,this.type=J.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ac=class{constructor(e){this.snapshot=e,this.type=J.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cc=class{constructor(e){this.snapshot=e,this.type=J.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},di=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=J.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},vr=class{},On=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var uc=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new br(this.injector),this.attachRef=null}},br=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new uc(this.parentInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(D(ue))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fi=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=lc(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=lc(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=dc(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return dc(e,this._root).map(r=>r.value)}};function lc(t,e){if(t===e.value)return e;for(let r of e.children){let n=lc(t,r);if(n)return n}return null}function dc(t,e){if(t===e.value)return[e];for(let r of e.children){let n=dc(t,r);if(n.length)return n.unshift(e),n}return[]}var pe=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Sn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var hi=class extends fi{constructor(e,r){super(e),this.snapshot=r,wc(this,e)}toString(){return this.snapshot.toString()}};function eh(t){let e=$D(t),r=new X([new Bt("",{})]),n=new X({}),o=new X({}),i=new X({}),s=new X(""),a=new kn(r,n,i,s,o,b,t,e.root);return a.snapshot=e.root,new hi(new pe(a,[]),e)}function $D(t){let e={},r={},n={},o="",i=new xn([],e,n,o,r,b,t,null,{});return new gi("",new pe(i,[]))}var kn=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[Ir]))??C(void 0),this.url=e,this.params=r,this.queryParams=n,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(T(e=>Nn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(e=>Nn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function pi(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:g(g({},e.params),t.params),data:g(g({},e.data),t.data),resolve:g(g(g(g({},t.data),e.data),o?.data),t._resolvedData)}:n={params:g({},t.params),data:g({},t.data),resolve:g(g({},t.data),t._resolvedData??{})},o&&nh(o)&&(n.resolve[Ir]=o.title),n}var xn=class{get title(){return this.data?.[Ir]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,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??=Nn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Nn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},gi=class extends fi{constructor(e,r){super(r),this.url=e,wc(this,r)}toString(){return th(this._root)}};function wc(t,e){e.value._routerState=t,e.children.forEach(r=>wc(t,r))}function th(t){let e=t.children.length>0?` { ${t.children.map(th).join(", ")} } `:"";return`${t.value}${e}`}function qa(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,We(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),We(e.params,r.params)||t.paramsSubject.next(r.params),gD(e.url,r.url)||t.urlSubject.next(r.url),We(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function fc(t,e){let r=We(t.params,e.params)&&DD(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||fc(t.parent,e.parent))}function nh(t){return typeof t.title=="string"||t.title===null}var BD=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=b,this.activateEvents=new Y,this.deactivateEvents=new Y,this.attachEvents=new Y,this.detachEvents=new Y,this.parentContexts=p(br),this.location=p(In),this.changeDetector=p(or),this.inputBinder=p(wi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new hc(n,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)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Xn({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ao]});let t=e;return t})(),hc=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===kn?this.route:e===br?this.childContexts:this.parent.get(e,r)}},wi=new w(""),kf=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=$n([o.queryParams,o.params,o.data]).pipe(ve(([s,a,c],u)=>(c=g(g(g({},s),a),c),u===0?C(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=of(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function UD(t,e,r){let n=yr(t,e._root,r?r._root:void 0);return new hi(n,e)}function yr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=HD(t,e,r);return new pe(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>yr(t,a)),s}}let n=zD(e.value),o=e.children.map(i=>yr(t,i));return new pe(n,o)}}function HD(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return yr(t,n,o);return yr(t,n)})}function zD(t){return new kn(new X(t.url),new X(t.params),new X(t.queryParams),new X(t.fragment),new X(t.data),t.outlet,t.component,t)}var Dr=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},rh="ngNavigationCancelingError";function mi(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=pr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=oh(!1,ge.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function oh(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[rh]=!0,r.cancellationCode=e,r}function GD(t){return ih(t)&&pr(t.url)}function ih(t){return!!t&&t[rh]}var qD=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["ng-component"]],standalone:!0,features:[Wd],decls:1,vars:0,template:function(o,i){o&1&&Ft(0,"router-outlet")},dependencies:[BD],encapsulation:2});let t=e;return t})();function WD(t,e){return t.providers&&!t._injector&&(t._injector=zo(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Cc(t){let e=t.children&&t.children.map(Cc),r=e?H(g({},t),{children:e}):g({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==b&&(r.component=qD),r}function Fe(t){return t.outlet||b}function ZD(t,e){let r=t.filter(n=>Fe(n)===e);return r.push(...t.filter(n=>Fe(n)!==e)),r}function Mr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var YD=(t,e,r,n)=>T(o=>(new pc(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),pc=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),qa(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Sn(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Sn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Sn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=Sn(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new cc(i.value.snapshot))}),e.children.length&&this.forwardEvent(new sc(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(qa(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.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),qa(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Mr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},vi=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},_n=class{constructor(e,r){this.component=e,this.route=r}};function QD(t,e,r){let n=t._root,o=e?e._root:null;return ur(n,o,r,[n.value])}function KD(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Fn(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Qu(t)?t:e.get(t):n}function ur(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Sn(e);return t.children.forEach(s=>{JD(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>hr(a,r.getContext(s),o)),o}function JD(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=XD(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new vi(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ur(t,e,a?a.children:null,n,o):ur(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new _n(a.outlet.component,s))}else s&&hr(e,a,o),o.canActivateChecks.push(new vi(n)),i.component?ur(t,null,a?a.children:null,n,o):ur(t,null,r,n,o);return o}function XD(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Ut(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ut(t.url,e.url)||!We(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fc(t,e)||!We(t.queryParams,e.queryParams);case"paramsChange":default:return!fc(t,e)}}function hr(t,e,r){let n=Sn(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?hr(s,e.children.getContext(i),r):hr(s,null,r):hr(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new _n(e.outlet.component,o)):r.canDeactivateChecks.push(new _n(null,o)):r.canDeactivateChecks.push(new _n(null,o))}function Sr(t){return typeof t=="function"}function ew(t){return typeof t=="boolean"}function tw(t){return t&&Sr(t.canLoad)}function nw(t){return t&&Sr(t.canActivate)}function rw(t){return t&&Sr(t.canActivateChild)}function ow(t){return t&&Sr(t.canDeactivate)}function iw(t){return t&&Sr(t.canMatch)}function sh(t){return t instanceof Ye||t?.name==="EmptyError"}var ri=Symbol("INITIAL_VALUE");function Pn(){return ve(t=>$n(t.map(e=>e.pipe(Qe(1),Gi(ri)))).pipe(T(e=>{for(let r of e)if(r!==!0){if(r===ri)return ri;if(r===!1||sw(r))return r}return!0}),me(e=>e!==ri),Qe(1)))}function sw(t){return pr(t)||t instanceof Dr}function aw(t,e){return q(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?C(H(g({},r),{guardsResult:!0})):cw(s,n,o,t).pipe(q(a=>a&&ew(a)?uw(n,i,t,e):C(a)),T(a=>H(g({},r),{guardsResult:a})))})}function cw(t,e,r,n){return z(t).pipe(q(o=>pw(o.component,o.route,r,e,n)),Le(o=>o!==!0,!0))}function uw(t,e,r,n){return z(e).pipe(It(o=>tn(dw(o.route.parent,n),lw(o.route,n),hw(t,o.path,r),fw(t,o.route,r))),Le(o=>o!==!0,!0))}function lw(t,e){return t!==null&&e&&e(new ac(t)),C(!0)}function dw(t,e){return t!==null&&e&&e(new ic(t)),C(!0)}function fw(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let o=n.map(i=>qr(()=>{let s=Mr(e)??r,a=Fn(i,s),c=nw(a)?a.canActivate(e,t):Ae(s,()=>a(e,t));return yt(c).pipe(Le())}));return C(o).pipe(Pn())}function hw(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>KD(s)).filter(s=>s!==null).map(s=>qr(()=>{let a=s.guards.map(c=>{let u=Mr(s.node)??r,l=Fn(c,u),d=rw(l)?l.canActivateChild(n,t):Ae(u,()=>l(n,t));return yt(d).pipe(Le())});return C(a).pipe(Pn())}));return C(i).pipe(Pn())}function pw(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return C(!0);let s=i.map(a=>{let c=Mr(e)??o,u=Fn(a,c),l=ow(u)?u.canDeactivate(t,e,r,n):Ae(c,()=>u(t,e,r,n));return yt(l).pipe(Le())});return C(s).pipe(Pn())}function gw(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return C(!0);let i=o.map(s=>{let a=Fn(s,t),c=tw(a)?a.canLoad(e,r):Ae(t,()=>a(e,r));return yt(c)});return C(i).pipe(Pn(),ah(n))}function ah(t){return Li(ee(e=>{if(typeof e!="boolean")throw mi(t,e)}),T(e=>e===!0))}function mw(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return C(!0);let i=o.map(s=>{let a=Fn(s,t),c=iw(a)?a.canMatch(e,r):Ae(t,()=>a(e,r));return yt(c)});return C(i).pipe(Pn(),ah(n))}var wr=class{constructor(e){this.segmentGroup=e||null}},Cr=class extends Error{constructor(e){super(),this.urlTree=e}};function Mn(t){return Xt(new wr(t))}function vw(t){return Xt(new v(4e3,!1))}function yw(t){return Xt(oh(!1,ge.GuardRejected))}var gc=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return C(n);if(o.numberOfChildren>1||!o.children[b])return vw(`${e.redirectTo}`);o=o.children[b]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:m,title:M}=o,L=Ae(i,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:M}));if(L instanceof mt)throw new Cr(L);r=L}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Cr(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new mt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new k(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},mc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dw(t,e,r,n,o){let i=Ic(t,e,r);return i.matched?(n=WD(e,n),mw(n,e,r,o).pipe(T(s=>s===!0?i:g({},mc)))):C(i)}function Ic(t,e,r){if(e.path==="**")return ww(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?g({},mc):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||pD)(r,t,e);if(!o)return g({},mc);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:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ww(t){return{matched:!0,parameters:t.length>0?Bf(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Pf(t,e,r,n){return r.length>0&&Ew(t,r,n)?{segmentGroup:new k(e,Iw(n,new k(r,t.children))),slicedSegments:[]}:r.length===0&&bw(t,r,n)?{segmentGroup:new k(t.segments,Cw(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new k(t.segments,t.children),slicedSegments:r}}function Cw(t,e,r,n){let o={};for(let i of r)if(Ci(t,e,i)&&!n[Fe(i)]){let s=new k([],{});o[Fe(i)]=s}return g(g({},n),o)}function Iw(t,e){let r={};r[b]=e;for(let n of t)if(n.path===""&&Fe(n)!==b){let o=new k([],{});r[Fe(n)]=o}return r}function Ew(t,e,r){return r.some(n=>Ci(t,e,n)&&Fe(n)!==b)}function bw(t,e,r){return r.some(n=>Ci(t,e,n))}function Ci(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Mw(t,e,r,n){return Fe(t)!==n&&(n===b||!Ci(e,r,t))?!1:Ic(e,t,r).matched}function Sw(t,e,r){return e.length===0&&!t.children[r]}var vc=class{};function Tw(t,e,r,n,o,i,s="emptyOnly"){return new yc(t,e,r,n,o,s,i).recognize()}var xw=31,yc=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new gc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=Pf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(T(({children:r,rootSnapshot:n})=>{let o=new pe(n,r),i=new gi("",o),s=OD(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new xn([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),b,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,b,r).pipe(T(n=>({children:n,rootSnapshot:r})),it(n=>{if(n instanceof Cr)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof wr?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(T(s=>s instanceof pe?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return z(i).pipe(It(s=>{let a=n.children[s],c=ZD(r,s);return this.processSegmentGroup(e,c,a,s,o)}),zi((s,a)=>(s.push(...a),s)),st(null),Hi(),q(s=>{if(s===null)return Mn(n);let a=ch(s);return _w(a),C(a)}))}processSegment(e,r,n,o,i,s,a){return z(r).pipe(It(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe(it(u=>{if(u instanceof wr)return C(null);throw u}))),Le(c=>!!c),it(c=>{if(sh(c))return Sw(n,o,i)?C(new vc):Mn(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return Mw(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Mn(o):Mn(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Ic(r,o,i);if(!c)return Mn(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>xw&&(this.allowRedirects=!1));let f=new xn(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Ff(o),Fe(o),o.component??o._loadedComponent??null,o,Lf(o)),m=pi(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let M=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(o,M).pipe(q(L=>this.processSegment(e,n,r,L.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=Dw(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(ve(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(ve(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new xn(h,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Ff(n),Fe(n),n.component??n._loadedComponent??null,n,Lf(n)),M=pi(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(M.params),m.data=Object.freeze(M.data);let{segmentGroup:L,slicedSegments:B}=Pf(r,h,f,u);if(B.length===0&&L.hasChildren())return this.processChildren(l,u,L,m).pipe(T(Z=>new pe(m,Z)));if(u.length===0&&B.length===0)return C(new pe(m,[]));let be=Fe(n)===i;return this.processSegment(l,u,L,B,be?b:i,!0,m).pipe(T(Z=>new pe(m,Z instanceof pe?[Z]:[])))}))):Mn(r)))}getChildConfig(e,r,n){return r.children?C({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?C({routes:r._loadedRoutes,injector:r._loadedInjector}):gw(e,r,n,this.urlSerializer).pipe(q(o=>o?this.configLoader.loadChildren(e,r).pipe(ee(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):yw(r))):C({routes:[],injector:e})}};function _w(t){t.sort((e,r)=>e.value.outlet===b?-1:r.value.outlet===b?1:e.value.outlet.localeCompare(r.value.outlet))}function Nw(t){let e=t.value.routeConfig;return e&&e.path===""}function ch(t){let e=[],r=new Set;for(let n of t){if(!Nw(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=ch(n.children);e.push(new pe(n.value,o))}return e.filter(n=>!r.has(n))}function Ff(t){return t.data||{}}function Lf(t){return t.resolve||{}}function Aw(t,e,r,n,o,i){return q(s=>Tw(t,e,r,n,s.extractedUrl,o,i).pipe(T(({state:a,tree:c})=>H(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Rw(t,e){return q(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return C(r);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 uh(c))s.add(u);let a=0;return z(s).pipe(It(c=>i.has(c)?Ow(c,n,t,e):(c.data=pi(c,c.parent,t).resolve,C(void 0))),ee(()=>a++),nn(1),q(c=>a===s.size?C(r):he))})}function uh(t){let e=t.children.map(r=>uh(r)).flat();return[t,...e]}function Ow(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!nh(o)&&(i[Ir]=o.title),kw(i,t,e,n).pipe(T(s=>(t._resolvedData=s,t.data=pi(t,t.parent,r).resolve,null)))}function kw(t,e,r,n){let o=Ya(t);if(o.length===0)return C({});let i={};return z(o).pipe(q(s=>Pw(t[s],e,r,n).pipe(Le(),ee(a=>{if(a instanceof Dr)throw mi(new An,a);i[s]=a}))),nn(1),Ui(i),it(s=>sh(s)?he:Xt(s)))}function Pw(t,e,r,n){let o=Mr(e)??n,i=Fn(t,o),s=i.resolve?i.resolve(e,r):Ae(o,()=>i(e,r));return yt(s)}function Wa(t){return ve(e=>{let r=t(e);return r?z(r).pipe(T(()=>e)):C(e)})}var lh=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===b);return o}getResolvedTitleForRoute(n){return n.data[Ir]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Fw),providedIn:"root"});let t=e;return t})(),Fw=(()=>{let e=class e extends lh{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(D(xf))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Tr=new w("",{providedIn:"root",factory:()=>({})}),yi=new w(""),Ec=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Yo)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=yt(n.loadComponent()).pipe(T(dh),ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Bn(()=>{this.componentLoaders.delete(n)})),i=new Jt(o,()=>new re).pipe(Kt());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return C({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Lw(o,this.compiler,n,this.onLoadEndListener).pipe(Bn(()=>{this.childrenLoaders.delete(o)})),a=new Jt(s,()=>new re).pipe(Kt());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Lw(t,e,r,n){return yt(t.loadChildren()).pipe(T(dh),q(o=>o instanceof Kn||Array.isArray(o)?C(o):z(e.compileModuleAsync(o))),T(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(yi,[],{optional:!0,self:!0}).flat()),{routes:s.map(Cc),injector:i}}))}function jw(t){return t&&typeof t=="object"&&"default"in t}function dh(t){return jw(t)?t.default:t}var bc=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Vw),providedIn:"root"});let t=e;return t})(),Vw=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fh=new w(""),hh=new w("");function $w(t,e,r){let n=t.get(hh),o=t.get(de);return t.get(V).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Bw(t))),{onViewTransitionCreated:c}=n;return c&&Ae(t,()=>c({transition:a,from:e,to:r})),s})}function Bw(t){return new Promise(e=>{Ho(e,{injector:t})})}var Uw=new w(""),Mc=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re,this.transitionAbortSubject=new re,this.configLoader=p(Ec),this.environmentInjector=p(ue),this.urlSerializer=p(Er),this.rootContexts=p(br),this.location=p(En),this.inputBindingEnabled=p(wi,{optional:!0})!==null,this.titleStrategy=p(lh),this.options=p(Tr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(bc),this.createViewTransition=p(fh,{optional:!0}),this.navigationErrorHandler=p(Uw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=i=>this.events.next(new rc(i)),o=i=>this.events.next(new oc(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(H(g(g({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new X({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:fr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(me(s=>s.id!==0),T(s=>H(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ve(s=>{let a=!1,c=!1;return C(s).pipe(ve(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ge.SupersededByNewNavigation),he;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?H(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new vt(u.id,this.urlSerializer.serialize(u.rawUrl),h,ui.IgnoredSameUrlNavigation)),u.resolve(!1),he}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return C(u).pipe(ve(h=>{let f=this.transitions?.getValue();return this.events.next(new Rn(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?he:Promise.resolve(h)}),Aw(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=H(g({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new li(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:m,restoredState:M,extras:L}=u,B=new Rn(h,this.urlSerializer.serialize(f),m,M);this.events.next(B);let be=eh(this.rootComponentType).snapshot;return this.currentTransition=s=H(g({},u),{targetSnapshot:be,urlAfterRedirects:f,extras:H(g({},L),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,C(s)}else{let h="";return this.events.next(new vt(u.id,this.urlSerializer.serialize(u.extractedUrl),h,ui.IgnoredByUrlHandlingStrategy)),u.resolve(!1),he}}),ee(u=>{let l=new Xa(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),T(u=>(this.currentTransition=s=H(g({},u),{guards:QD(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),aw(this.environmentInjector,u=>this.events.next(u)),ee(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw mi(this.urlSerializer,u.guardsResult);let l=new ec(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),me(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",ge.GuardRejected),!1)),Wa(u=>{if(u.guards.canActivateChecks.length)return C(u).pipe(ee(l=>{let d=new tc(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ve(l=>{let d=!1;return C(l).pipe(Rw(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",ge.NoDataFromResolver)}}))}),ee(l=>{let d=new nc(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Wa(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(ee(f=>{d.component=f}),T(()=>{})));for(let f of d.children)h.push(...l(f));return h};return $n(l(u.targetSnapshot.root)).pipe(st(null),Qe(1))}),Wa(()=>this.afterPreactivation()),ve(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?z(d).pipe(T(()=>s)):C(s)}),T(u=>{let l=UD(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=H(g({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ee(()=>{this.events.next(new vr)}),YD(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Qe(1),ee({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new rt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),qi(this.transitionAbortSubject.pipe(ee(u=>{throw u}))),Bn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",ge.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),it(u=>{if(c=!0,ih(u))this.events.next(new nt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),GD(u)?this.events.next(new On(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new mr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Ae(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Dr){let{message:h,cancellationCode:f}=mi(this.urlSerializer,d);this.events.next(new nt(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new On(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=n.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return he}))}))}cancelNavigationTransition(n,o,i){let s=new nt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Hw(t){return t!==fr}var zw=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Gw),providedIn:"root"});let t=e;return t})(),Dc=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Gw=(()=>{let e=class e extends Dc{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ta(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ph=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(qw),providedIn:"root"});let t=e;return t})(),qw=(()=>{let e=class e extends ph{constructor(){super(...arguments),this.location=p(En),this.urlSerializer=p(Er),this.options=p(Tr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(bc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new mt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=eh(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(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof Rn)this.stateMemento=this.createStateMemento();else if(n instanceof vt)this.rawUrlTree=o.initialUrl;else if(n instanceof li){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof vr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof nt&&(n.code===ge.GuardRejected||n.code===ge.NoDataFromResolver)?this.restoreHistory(o):n instanceof mr?this.restoreHistory(o,!0):n instanceof rt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);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(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ta(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(lr||{});function gh(t,e){t.events.pipe(me(r=>r instanceof rt||r instanceof nt||r instanceof mr||r instanceof vt),T(r=>r instanceof rt||r instanceof vt?lr.COMPLETE:(r instanceof nt?r.code===ge.Redirect||r.code===ge.SupersededByNewNavigation:!1)?lr.REDIRECTING:lr.FAILED),me(r=>r!==lr.REDIRECTING),Qe(1)).subscribe(()=>{e()})}function Ww(t){throw t}var Zw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Yw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ht=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=p(Go),this.stateManager=p(ph),this.options=p(Tr,{optional:!0})||{},this.pendingTasks=p(Cn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Mc),this.urlSerializer=p(Er),this.location=p(En),this.urlHandlingStrategy=p(bc),this._events=new re,this.errorHandler=this.options.errorHandler||Ww,this.navigated=!1,this.routeReuseStrategy=p(zw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(yi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(wi,{optional:!0}),this.eventsSubscription=new G,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=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 nt&&o.code!==ge.Redirect&&o.code!==ge.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof rt)this.navigated=!0;else if(o instanceof On){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=g({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Hw(i.source)},a);this.scheduleNavigation(c,fr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Kw(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,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(n);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(n){this.config=n.map(Cc),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(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=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 h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=Qf(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return Kf(h,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=pr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,fr,null,o)}navigate(n,o={skipLocationChange:!1}){return Qw(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=g({},Zw):o===!1?i=g({},Yw):i=o,pr(n))return Nf(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Nf(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,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((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return gh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qw(t){for(let e=0;e{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(me(n=>n instanceof rt),It(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=zo(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return z(i).pipe(en())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=C(null);let s=i.pipe(q(a=>a===null?C(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return z([s,a]).pipe(en())}else return s})}};e.\u0275fac=function(o){return new(o||e)(D(Ht),D(Yo),D(ue),D(Di),D(Ec))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mh=new w(""),Xw=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=p(ue),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Rn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof rt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof vt&&n.code===ui.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof di&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>_c(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Ho(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new di(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){wd()},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function eC(t){return t.routerState.root}function xr(t,e){return{\u0275kind:t,\u0275providers:e}}function tC(){let t=p(Ie);return e=>{let r=t.get(jt);if(e!==r.components[0])return;let n=t.get(Ht),o=t.get(vh);t.get(Sc)===1&&n.initialNavigation(),t.get(yh,null,S.Optional)?.setUpPreloading(),t.get(mh,null,S.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var vh=new w("",{factory:()=>new re}),Sc=new w("",{providedIn:"root",factory:()=>1});function nC(){return xr(2,[{provide:Sc,useValue:0},{provide:Zo,multi:!0,deps:[Ie],useFactory:e=>{let r=e.get(pf,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Ht),i=e.get(vh);gh(o,()=>{n(!0)}),e.get(Mc).afterPreactivation=()=>(n(!0),i.closed?C(void 0):i),o.initialNavigation()}))}}])}function rC(){return xr(3,[{provide:Zo,multi:!0,useFactory:()=>{let e=p(Ht);return()=>{e.setUpLocationChangeListener()}}},{provide:Sc,useValue:2}])}var yh=new w("");function oC(t){return xr(0,[{provide:yh,useExisting:Jw},{provide:Di,useExisting:t}])}function iC(){return xr(8,[kf,{provide:wi,useExisting:kf}])}function sC(t){let e=[{provide:fh,useValue:$w},{provide:hh,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return xr(9,e)}var jf=new w("ROUTER_FORROOT_GUARD"),aC=[En,{provide:Er,useClass:An},Ht,br,{provide:kn,useFactory:eC,deps:[Ht]},Ec,[]],Ln=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[aC,[],{provide:yi,multi:!0,useValue:n},{provide:jf,useFactory:dC,deps:[[Ht,new To,new $s]]},{provide:Tr,useValue:o||{}},o?.useHash?uC():lC(),cC(),o?.preloadingStrategy?oC(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?fC(o):[],o?.bindToComponentInputs?iC().\u0275providers:[],o?.enableViewTransitions?sC().\u0275providers:[],hC()]}}static forChild(n){return{ngModule:e,providers:[{provide:yi,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(D(jf,8))},e.\u0275mod=se({type:e}),e.\u0275inj=ie({});let t=e;return t})();function cC(){return{provide:mh,useFactory:()=>{let t=p(yf),e=p(V),r=p(Tr),n=p(Mc),o=p(Er);return r.scrollOffset&&t.setOffset(r.scrollOffset),new Xw(o,n,t,e,r)}}}function uC(){return{provide:$t,useClass:mf}}function lC(){return{provide:$t,useClass:Oa}}function dC(t){return"guarded"}function fC(t){return[t.initialNavigation==="disabled"?rC().\u0275providers:[],t.initialNavigation==="enabledBlocking"?nC().\u0275providers:[]]}var Vf=new w("");function hC(){return[{provide:Vf,useFactory:tC},{provide:Ia,multi:!0,useExisting:Vf}]}var pC=[],Dh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({imports:[Ln.forRoot(pC),Ln]});let t=e;return t})();function gC(t,e){if(t&1&&Ft(0,"img",6),t&2){let r=ne(2);U("src",r.book.thumbnailUrl,Fo)}}function mC(t,e){if(t&1&&(P(0,"p",7),W(1),O()),t&2){let r=ne(2);$(),et(" ",r.book.subtitle," ")}}function vC(t,e){if(t&1&&(P(0,"li"),W(1),O()),t&2){let r=e.$implicit;$(),et(" ",r," ")}}function yC(t,e){if(t&1&&(P(0,"div",1),te(1,gC,1,1,"img",2),P(2,"h2"),W(3),O(),te(4,mC,2,1,"p",3),P(5,"ul",4),te(6,vC,2,1,"li",5),O(),P(7,"div"),W(8),O()()),t&2){let r=ne();$(),U("ngIf",r.book.thumbnailUrl),$(2),pt(r.book.title),$(),U("ngIf",r.book.subtitle),$(2),U("ngForOf",r.book.authors),$(2),et("ISBN ",r.book.isbn,"")}}var wh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-book-list-item"]],inputs:{book:"book"},decls:1,vars:1,consts:[["class","list-item",4,"ngIf"],[1,"list-item"],["alt","Cover",3,"src",4,"ngIf"],["role","doc-subtitle",4,"ngIf"],[1,"comma-list"],[4,"ngFor","ngForOf"],["alt","Cover",3,"src"],["role","doc-subtitle"]],template:function(o,i){o&1&&te(0,yC,9,5,"div",0),o&2&&U("ngIf",i.book)},dependencies:[bn,gt]});let t=e;return t})();function wC(t,e){if(t&1){let r=Lt();P(0,"li")(1,"bm-book-list-item",3),Xe("click",function(){let o=Ot(r).$implicit,i=ne();return kt(i.doSelect(o))}),O()()}if(t&2){let r=e.$implicit;$(),U("book",r)}}function CC(t,e){t&1&&(P(0,"li"),W(1," No books available. "),O())}var Ch=(()=>{let e=class e{constructor(){this.books=[],this.selectBook=new Y,this.books=[{isbn:"12345",title:"Tierisch gut kochen",authors:["Mrs Chimp","Mr Gorilla"],published:"2022-06-20",subtitle:"Rezepte von Affe bis Zebra",thumbnailUrl:"https://cdn.ng-buch.de/kochen.png",description:"Immer lecker und gut"},{isbn:"67890",title:"Backen mit Affen",authors:["Orang Utan"],published:"2022-07-15",subtitle:"Bananenbrot und mehr",thumbnailUrl:"https://cdn.ng-buch.de/backen.png",description:"Tolle Backtipps f\xFCr Mensch und Tier"}]}doSelect(n){this.selectBook.emit(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-book-list"]],outputs:{selectBook:"selectBook"},decls:5,vars:2,consts:[[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"click","book"]],template:function(o,i){o&1&&(P(0,"h1"),W(1,"Books"),O(),P(2,"ul",0),te(3,wC,2,1,"li",1)(4,CC,2,0,"li",2),O()),o&2&&($(3),U("ngForOf",i.books),$(),U("ngIf",!i.books.length))},dependencies:[bn,gt,wh]});let t=e;return t})();function EC(t,e){if(t&1&&(P(0,"p",8),W(1),O()),t&2){let r=ne(2);$(),pt(r.book.subtitle)}}function bC(t,e){if(t&1&&(P(0,"li"),W(1),O()),t&2){let r=e.$implicit;$(),pt(r)}}function MC(t,e){if(t&1&&(P(0,"div")(1,"h2"),W(2,"Published"),O(),W(3),O()),t&2){let r=ne(2);$(3),et(" ",r.book.published," ")}}function SC(t,e){if(t&1&&Ft(0,"img",9),t&2){let r=ne(2);U("src",r.book.thumbnailUrl,Fo)}}function TC(t,e){if(t&1){let r=Lt();P(0,"div",1)(1,"h1"),W(2),O(),te(3,EC,2,1,"p",2),P(4,"div",3)(5,"div")(6,"h2"),W(7,"Authors"),O(),P(8,"ul"),te(9,bC,2,1,"li",4),O()(),P(10,"div")(11,"h2"),W(12,"ISBN"),O(),W(13),O(),te(14,MC,4,1,"div",5),O(),P(15,"h2"),W(16,"Description"),O(),P(17,"p"),W(18),O(),te(19,SC,1,1,"img",6),P(20,"button",7),Xe("click",function(){Ot(r);let o=ne();return kt(o.doLeave())}),W(21," Back to list "),O()()}if(t&2){let r=ne();$(2),pt(r.book.title),$(),U("ngIf",r.book.subtitle),$(6),U("ngForOf",r.book.authors),$(4),et(" ",r.book.isbn," "),$(),U("ngIf",r.book.published),$(4),pt(r.book.description),$(),U("ngIf",r.book.thumbnailUrl)}}var Ih=(()=>{let e=class e{constructor(){this.leave=new Y}doLeave(){this.leave.emit()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-book-details"]],inputs:{book:"book"},outputs:{leave:"leave"},decls:1,vars:1,consts:[["class","details",4,"ngIf"],[1,"details"],["role","doc-subtitle",4,"ngIf"],[1,"header"],[4,"ngFor","ngForOf"],[4,"ngIf"],["alt","Cover",3,"src",4,"ngIf"],[1,"arrow-left",3,"click"],["role","doc-subtitle"],["alt","Cover",3,"src"]],template:function(o,i){o&1&&te(0,TC,22,7,"div",0),o&2&&U("ngIf",i.book)},dependencies:[bn,gt]});let t=e;return t})();function _C(t,e){if(t&1){let r=Lt();P(0,"bm-book-list",2),Xe("selectBook",function(o){Ot(r);let i=ne();return kt(i.showDetails(o))}),O()}}function NC(t,e){if(t&1){let r=Lt();P(0,"bm-book-details",3),Xe("leave",function(){Ot(r);let o=ne();return kt(o.showList())}),O()}if(t&2){let r=ne();U("book",r.book)}}var Eh=(()=>{let e=class e{constructor(){this.book=null}showList(){this.book=null}showDetails(n){this.book=n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-root"]],decls:3,vars:2,consts:[[3,"selectBook",4,"ngIf"],[3,"book","leave",4,"ngIf"],[3,"selectBook"],[3,"leave","book"]],template:function(o,i){o&1&&(P(0,"main"),te(1,_C,1,0,"bm-book-list",0)(2,NC,1,1,"bm-book-details",1),O()),o&2&&($(),U("ngIf",!i.book),$(),U("ngIf",i.book))},dependencies:[gt,Ch,Ih]});let t=e;return t})();var AC=[],bh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({imports:[Ln.forChild(AC),Ln]});let t=e;return t})();var Mh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({imports:[Jo,bh]});let t=e;return t})();var Sh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e,bootstrap:[Eh]}),e.\u0275inj=ie({imports:[Tf,Dh,Mh]});let t=e;return t})();Sf().bootstrapModule(Sh,{ngZoneEventCoalescing:!0}).catch(t=>console.error(t)); diff --git a/main-X25FQWS5.js b/main-X25FQWS5.js new file mode 100644 index 0000000..adda02c --- /dev/null +++ b/main-X25FQWS5.js @@ -0,0 +1,7 @@ +var _h=Object.defineProperty,Nh=Object.defineProperties;var Ah=Object.getOwnPropertyDescriptors;var Tc=Object.getOwnPropertySymbols;var Rh=Object.prototype.hasOwnProperty,Oh=Object.prototype.propertyIsEnumerable;var xc=(t,e,r)=>e in t?_h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,g=(t,e)=>{for(var r in e||={})Rh.call(e,r)&&xc(t,r,e[r]);if(Tc)for(var r of Tc(e))Oh.call(e,r)&&xc(t,r,e[r]);return t},H=(t,e)=>Nh(t,Ah(e));var _c=(t,e,r)=>new Promise((n,o)=>{var i=c=>{try{a(r.next(c))}catch(u){o(u)}},s=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(t,e)).next())});var bi=null;var Ei=1,Nc=Symbol("SIGNAL");function R(t){let e=bi;return bi=t,e}function Ac(){return bi}var Mi={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 kh(t){if(!(Ni(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ei)){if(!t.producerMustRecompute(t)&&!Ti(t)){t.dirty=!1,t.lastCleanEpoch=Ei;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ei}}function Si(t){return t&&(t.nextProducerIndex=0),R(t)}function Rc(t,e){if(R(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Ni(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ti(t){Ai(t);for(let e=0;e0}function Ai(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Ph(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Fh(t){return t.producerNode!==void 0}function Lh(){throw new Error}var jh=Lh;function Oc(t){jh=t}function E(t){return typeof t=="function"}function Wt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var _r=Wt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=r});function jn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var G=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(E(n))try{n()}catch(i){e=i instanceof _r?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{kc(i)}catch(s){e=e??[],s instanceof _r?e=[...e,...s.errors]:e.push(s)}}if(e)throw new _r(e)}}add(e){var r;if(e&&e!==this)if(this.closed)kc(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&jn(r,e)}remove(e){let{_finalizers:r}=this;r&&jn(r,e),e instanceof t&&e._removeParent(this)}};G.EMPTY=(()=>{let t=new G;return t.closed=!0,t})();var Ri=G.EMPTY;function Nr(t){return t instanceof G||t&&"closed"in t&&E(t.remove)&&E(t.add)&&E(t.unsubscribe)}function kc(t){E(t)?t():t.unsubscribe()}var Se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Zt={setTimeout(t,e,...r){let{delegate:n}=Zt;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Zt;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ar(t){Zt.setTimeout(()=>{let{onUnhandledError:e}=Se;if(e)e(t);else throw t})}function Vn(){}var Pc=Oi("C",void 0,void 0);function Fc(t){return Oi("E",void 0,t)}function Lc(t){return Oi("N",t,void 0)}function Oi(t,e,r){return{kind:t,value:e,error:r}}var wt=null;function Yt(t){if(Se.useDeprecatedSynchronousErrorHandling){let e=!wt;if(e&&(wt={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=wt;if(wt=null,r)throw n}}else t()}function jc(t){Se.useDeprecatedSynchronousErrorHandling&&wt&&(wt.errorThrown=!0,wt.error=t)}var Ct=class extends G{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Nr(e)&&e.add(this)):this.destination=Bh}static create(e,r,n){return new Qt(e,r,n)}next(e){this.isStopped?Pi(Lc(e),this):this._next(e)}error(e){this.isStopped?Pi(Fc(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Pi(Pc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Vh=Function.prototype.bind;function ki(t,e){return Vh.call(t,e)}var Fi=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Rr(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Rr(n)}else Rr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Rr(r)}}},Qt=class extends Ct{constructor(e,r,n){super();let o;if(E(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Se.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&ki(e.next,i),error:e.error&&ki(e.error,i),complete:e.complete&&ki(e.complete,i)}):o=e}this.destination=new Fi(o)}};function Rr(t){Se.useDeprecatedSynchronousErrorHandling?jc(t):Ar(t)}function $h(t){throw t}function Pi(t,e){let{onStoppedNotification:r}=Se;r&&Zt.setTimeout(()=>r(t,e))}var Bh={closed:!0,next:Vn,error:$h,complete:Vn};var Kt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function fe(t){return t}function Li(...t){return ji(t)}function ji(t){return t.length===0?fe:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var F=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Hh(r)?r:new Qt(r,n,o);return Yt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Vc(n),new n((o,i)=>{let s=new Qt({next:a=>{try{r(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Kt](){return this}pipe(...r){return ji(r)(this)}toPromise(r){return r=Vc(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Vc(t){var e;return(e=t??Se.Promise)!==null&&e!==void 0?e:Promise}function Uh(t){return t&&E(t.next)&&E(t.error)&&E(t.complete)}function Hh(t){return t&&t instanceof Ct||Uh(t)&&Nr(t)}function Vi(t){return E(t?.lift)}function _(t){return e=>{if(Vi(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(t,e,r,n,o){return new $i(t,e,r,n,o)}var $i=class extends Ct{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Jt(){return _((t,e)=>{let r=null;t._refCount++;let n=N(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Xt=class extends F{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Vi(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new G;let r=this.getSubject();e.add(this.source.subscribe(N(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=G.EMPTY)}return e}refCount(){return Jt()(this)}};var $c=Wt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class t extends F{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Or(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new $c}next(r){Yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Yt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?Ri:(this.currentObservers=null,i.push(r),new G(()=>{this.currentObservers=null,jn(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new F;return r.source=this,r}}return t.create=(e,r)=>new Or(e,r),t})(),Or=class extends re{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Ri}};var X=class extends re{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var he=new F(t=>t.complete());function Bc(t){return t&&E(t.schedule)}function Uc(t){return t[t.length-1]}function Hc(t){return E(Uc(t))?t.pop():void 0}function ot(t){return Bc(Uc(t))?t.pop():void 0}function Gc(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function zc(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function It(t){return this instanceof It?(this.v=t,this):new It(t)}function qc(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),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){n[f]&&(o[f]=function(M){return new Promise(function(L,B){i.push([f,M,L,B])>1||c(f,M)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(n[f](m))}catch(M){h(i[0][3],M)}}function u(f){f.value instanceof It?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Wc(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof zc=="function"?zc(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var kr=t=>t&&typeof t.length=="number"&&typeof t!="function";function Pr(t){return E(t?.then)}function Fr(t){return E(t[Kt])}function Lr(t){return Symbol.asyncIterator&&E(t?.[Symbol.asyncIterator])}function jr(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function zh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vr=zh();function $r(t){return E(t?.[Vr])}function Br(t){return qc(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield It(r.read());if(o)return yield It(void 0);yield yield It(n)}}finally{r.releaseLock()}})}function Ur(t){return E(t?.getReader)}function K(t){if(t instanceof F)return t;if(t!=null){if(Fr(t))return Gh(t);if(kr(t))return qh(t);if(Pr(t))return Wh(t);if(Lr(t))return Zc(t);if($r(t))return Zh(t);if(Ur(t))return Yh(t)}throw jr(t)}function Gh(t){return new F(e=>{let r=t[Kt]();if(E(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qh(t){return new F(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Ar)})}function Zh(t){return new F(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Zc(t){return new F(e=>{Qh(t,e).catch(r=>e.error(r))})}function Yh(t){return Zc(Br(t))}function Qh(t,e){var r,n,o,i;return Gc(this,void 0,void 0,function*(){try{for(r=Wc(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function ae(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Hr(t,e=0){return _((r,n)=>{r.subscribe(N(n,o=>ae(n,t,()=>n.next(o),e),()=>ae(n,t,()=>n.complete(),e),o=>ae(n,t,()=>n.error(o),e)))})}function zr(t,e=0){return _((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Yc(t,e){return K(t).pipe(zr(e),Hr(e))}function Qc(t,e){return K(t).pipe(zr(e),Hr(e))}function Kc(t,e){return new F(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Jc(t,e){return new F(r=>{let n;return ae(r,e,()=>{n=t[Vr](),ae(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>E(n?.return)&&n.return()})}function Gr(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(r=>{ae(r,e,()=>{let n=t[Symbol.asyncIterator]();ae(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Xc(t,e){return Gr(Br(t),e)}function eu(t,e){if(t!=null){if(Fr(t))return Yc(t,e);if(kr(t))return Kc(t,e);if(Pr(t))return Qc(t,e);if(Lr(t))return Gr(t,e);if($r(t))return Jc(t,e);if(Ur(t))return Xc(t,e)}throw jr(t)}function z(t,e){return e?eu(t,e):K(t)}function C(...t){let e=ot(t);return z(t,e)}function en(t,e){let r=E(t)?t:()=>t,n=o=>o.error(r());return new F(e?o=>e.schedule(n,0,o):n)}function Bi(t){return!!t&&(t instanceof F||E(t.lift)&&E(t.subscribe))}var Ye=Wt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function T(t,e){return _((r,n)=>{let o=0;r.subscribe(N(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:Kh}=Array;function Jh(t,e){return Kh(e)?t(...e):t(e)}function tu(t){return T(e=>Jh(t,e))}var{isArray:Xh}=Array,{getPrototypeOf:ep,prototype:tp,keys:np}=Object;function nu(t){if(t.length===1){let e=t[0];if(Xh(e))return{args:e,keys:null};if(rp(e)){let r=np(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function rp(t){return t&&typeof t=="object"&&ep(t)===tp}function ru(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function $n(...t){let e=ot(t),r=Hc(t),{args:n,keys:o}=nu(t);if(n.length===0)return z([],e);let i=new F(op(n,e,o?s=>ru(o,s):fe));return r?i.pipe(tu(r)):i}function op(t,e,r=fe){return n=>{ou(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c{let u=z(t[c],e),l=!1;u.subscribe(N(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function ou(t,e,r){t?ae(r,t,e):e()}function iu(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=M=>u{i&&e.next(M),u++;let L=!1;K(r(M,l++)).subscribe(N(e,B=>{o?.(B),i?f(B):e.next(B)},()=>{L=!0},void 0,()=>{if(L)try{for(u--;c.length&&um(B)):m(B)}h()}catch(B){e.error(B)}}))};return t.subscribe(N(e,f,()=>{d=!0,h()})),()=>{a?.()}}function q(t,e,r=1/0){return E(e)?q((n,o)=>T((i,s)=>e(n,i,o,s))(K(t(n,o))),r):(typeof e=="number"&&(r=e),_((n,o)=>iu(n,o,t,r)))}function tn(t=1/0){return q(fe,t)}function su(){return tn(1)}function nn(...t){return su()(z(t,ot(t)))}function qr(t){return new F(e=>{K(t()).subscribe(e)})}function me(t,e){return _((r,n)=>{let o=0;r.subscribe(N(n,i=>t.call(e,i,o++)&&n.next(i)))})}function it(t){return _((e,r)=>{let n=null,o=!1,i;n=e.subscribe(N(r,void 0,void 0,s=>{i=K(t(s,it(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function au(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(N(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Et(t,e){return E(e)?q(t,e,1):q(t,1)}function st(t){return _((e,r)=>{let n=!1;e.subscribe(N(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function Qe(t){return t<=0?()=>he:_((e,r)=>{let n=0;e.subscribe(N(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function Ui(t){return T(()=>t)}function Wr(t=ip){return _((e,r)=>{let n=!1;e.subscribe(N(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function ip(){return new Ye}function Bn(t){return _((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Le(t,e){let r=arguments.length>=2;return n=>n.pipe(t?me((o,i)=>t(o,i,n)):fe,Qe(1),r?st(e):Wr(()=>new Ye))}function rn(t){return t<=0?()=>he:_((e,r)=>{let n=[];e.subscribe(N(r,o=>{n.push(o),t{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Hi(t,e){let r=arguments.length>=2;return n=>n.pipe(t?me((o,i)=>t(o,i,n)):fe,rn(1),r?st(e):Wr(()=>new Ye))}function zi(t,e){return _(au(t,e,arguments.length>=2,!0))}function Gi(...t){let e=ot(t);return _((r,n)=>{(e?nn(t,r,e):nn(t,r)).subscribe(n)})}function ve(t,e){return _((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(N(n,c=>{o?.unsubscribe();let u=0,l=i++;K(t(c,l)).subscribe(o=N(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function qi(t){return _((e,r)=>{K(t).subscribe(N(r,()=>r.complete(),Vn)),!r.closed&&e.subscribe(r)})}function ee(t,e,r){let n=E(t)||e||r?{next:t,error:e,complete:r}:t;return n?_((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(N(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):fe}var qu="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(Ls(e,r)),this.code=e}};function Ls(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Jn(t){return{toString:t}.toString()}var Zr="__parameters__";function sp(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Wu(t,e,r){return Jn(()=>{let n=sp(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Zr)?c[Zr]:Object.defineProperty(c,Zr,{value:[]})[Zr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var _e=globalThis;function j(t){for(let e in t)if(t[e]===j)return e;throw Error("Could not find renamed property on target object.")}function ce(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(ce).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function cu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var ap=j({__forward_ref__:j});function Zu(t){return t.__forward_ref__=Zu,t.toString=function(){return ce(this())},t}function De(t){return Yu(t)?t():t}function Yu(t){return typeof t=="function"&&t.hasOwnProperty(ap)&&t.__forward_ref__===Zu}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ie(t){return{providers:t.providers||[],imports:t.imports||[]}}function Mo(t){return uu(t,Ku)||uu(t,Ju)}function Qu(t){return Mo(t)!==null}function uu(t,e){return t.hasOwnProperty(e)?t[e]:null}function cp(t){let e=t&&(t[Ku]||t[Ju]);return e||null}function lu(t){return t&&(t.hasOwnProperty(du)||t.hasOwnProperty(up))?t[du]:null}var Ku=j({\u0275prov:j}),du=j({\u0275inj:j}),Ju=j({ngInjectableDef:j}),up=j({ngInjectorDef:j}),w=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=y({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xu(t){return t&&!!t.\u0275providers}var lp=j({\u0275cmp:j}),dp=j({\u0275dir:j}),fp=j({\u0275pipe:j}),hp=j({\u0275mod:j}),to=j({\u0275fac:j}),Un=j({__NG_ELEMENT_ID__:j}),fu=j({__NG_ENV_ID__:j});function js(t){return typeof t=="string"?t:t==null?"":String(t)}function pp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():js(t)}function gp(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,t)}function Vs(t,e){throw new v(-201,!1)}var S=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(S||{}),ts;function el(){return ts}function ye(t){let e=ts;return ts=t,e}function tl(t,e,r){let n=Mo(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&S.Optional)return null;if(e!==void 0)return e;Vs(t,"Injector")}var mp={},zn=mp,ns="__NG_DI_FLAG__",no="ngTempTokenPath",vp="ngTokenPath",yp=/\n/gm,Dp="\u0275",hu="__source",cn;function wp(){return cn}function at(t){let e=cn;return cn=t,e}function Cp(t,e=S.Default){if(cn===void 0)throw new v(-203,!1);return cn===null?tl(t,void 0,e):cn.get(t,e&S.Optional?null:void 0,e)}function D(t,e=S.Default){return(el()||Cp)(De(t),e)}function p(t,e=S.Default){return D(t,So(e))}function So(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function rs(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(yp,` + `)}`}var To=nl(Wu("Optional"),8);var $s=nl(Wu("SkipSelf"),4);function ln(t,e){let r=t.hasOwnProperty(to);return r?t[to]:null}function Bs(t,e){t.forEach(r=>Array.isArray(r)?Bs(r,e):e(r))}function rl(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ro(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var Gn={},je=[],dn=new w(""),ol=new w("",-1),il=new w(""),oo=class{get(e,r=zn){if(r===zn){let n=new Error(`NullInjectorError: No provider for ${ce(e)}!`);throw n.name="NullInjectorError",n}return r}},sl=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(sl||{}),Be=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Be||{}),fn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(fn||{});function Mp(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function os(t,e,r){let n=0;for(;ne){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Te(n))return!1;s=!0}}}}return Te(n)||s}function Te(t){return(t&1)===0}function Ap(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Te(s)&&(e+=gu(i,o),o=""),n=s,i=i||!Te(n);r++}return o!==""&&(e+=gu(i,o)),e}function Fp(t){return t.map(Pp).join(",")}function Lp(t){let e=[],r=[],n=1,o=2;for(;n{let e=fl(t),r=H(g({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===sl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Be.Emulated,styles:t.styles||je,_:null,schemas:t.schemas||null,tView:null,id:""});hl(r);let n=t.dependencies;return r.directiveDefs=vu(n,!1),r.pipeDefs=vu(n,!0),r.id=$p(r),r})}function jp(t){return lt(t)||cl(t)}function Vp(t){return t!==null}function se(t){return Jn(()=>({type:t.type,bootstrap:t.bootstrap||je,declarations:t.declarations||je,imports:t.imports||je,exports:t.exports||je,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mu(t,e){if(t==null)return Gn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=fn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==fn.None?[n,a]:n,e[i]=s):r[i]=n}return r}function Xn(t){return Jn(()=>{let e=fl(t);return hl(e),e})}function lt(t){return t[lp]||null}function cl(t){return t[dp]||null}function ul(t){return t[fp]||null}function ll(t){let e=lt(t)||cl(t)||ul(t);return e!==null?e.standalone:!1}function dl(t,e){let r=t[hp]||null;if(!r&&e===!0)throw new Error(`Type ${ce(t)} does not have '\u0275mod' property.`);return r}function fl(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Gn,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||je,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mu(t.inputs,e),outputs:mu(t.outputs),debugInfo:null}}function hl(t){t.features?.forEach(e=>e(t))}function vu(t,e){if(!t)return null;let r=e?ul:jp;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Vp)}function $p(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Bp(...t){return{\u0275providers:pl(!0,t),\u0275fromNgModule:!0}}function pl(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Bs(e,s=>{let a=s;is(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&gl(o,i),r}function gl(t,e){for(let r=0;r{e(i,n)})}}function is(t,e,r,n){if(t=De(t),!t)return!1;let o=null,i=lu(t),s=!i&<(t);if(!i&&!s){let c=t.ngModule;if(i=lu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)is(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{Bs(i.imports,l=>{is(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&gl(u,e)}if(!a){let u=ln(o)||(()=>new o);e({provide:o,useFactory:u,deps:je},o),e({provide:il,useValue:o,multi:!0},o),e({provide:dn,useValue:()=>D(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;zs(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function zs(t,e){for(let r of t)Xu(r)&&(r=r.\u0275providers),Array.isArray(r)?zs(r,e):e(r)}var Up=j({provide:String,useValue:j});function ml(t){return t!==null&&typeof t=="object"&&Up in t}function Hp(t){return!!(t&&t.useExisting)}function zp(t){return!!(t&&t.useFactory)}function ss(t){return typeof t=="function"}var xo=new w(""),Qr={},Gp={},Wi;function Gs(){return Wi===void 0&&(Wi=new oo),Wi}var ue=class{},qn=class extends ue{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,cs(e,s=>this.processProvider(s)),this.records.set(ol,on(void 0,this)),o.has("environment")&&this.records.set(ue,on(void 0,this));let i=this.records.get(xo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(il,je,S.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=R(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=at(this),n=ye(void 0),o;try{return e()}finally{at(r),ye(n)}}get(e,r=zn,n=S.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(fu))return e[fu](this);n=So(n);let o,i=at(this),s=ye(void 0);try{if(!(n&S.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=Kp(e)&&Mo(e);u&&this.injectableDefInScope(u)?c=on(as(e),Qr):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&S.Self?Gs():this.parent;return r=n&S.Optional&&r===zn?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[no]=a[no]||[]).unshift(ce(e)),i)throw a;return Ep(a,e,"R3InjectorError",this.source)}else throw a}finally{ye(s),at(i)}}resolveInjectorInitializers(){let e=R(null),r=at(this),n=ye(void 0),o;try{let i=this.get(dn,je,S.Self);for(let s of i)s()}finally{at(r),ye(n),R(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(ce(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=De(e);let r=ss(e)?e:De(e&&e.provide),n=Wp(e);if(!ss(e)&&e.multi===!0){let o=this.records.get(r);o||(o=on(void 0,Qr,!0),o.factory=()=>rs(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=R(null);try{return r.value===Qr&&(r.value=Gp,r.value=r.factory()),typeof r.value=="object"&&r.value&&Qp(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{R(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=De(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function as(t){let e=Mo(t),r=e!==null?e.factory:ln(t);if(r!==null)return r;if(t instanceof w)throw new v(204,!1);if(t instanceof Function)return qp(t);throw new v(204,!1)}function qp(t){if(t.length>0)throw new v(204,!1);let r=cp(t);return r!==null?()=>r.factory(t):()=>new t}function Wp(t){if(ml(t))return on(void 0,t.useValue);{let e=Zp(t);return on(e,Qr)}}function Zp(t,e,r){let n;if(ss(t)){let o=De(t);return ln(o)||as(o)}else if(ml(t))n=()=>De(t.useValue);else if(zp(t))n=()=>t.useFactory(...rs(t.deps||[]));else if(Hp(t))n=()=>D(De(t.useExisting));else{let o=De(t&&(t.useClass||t.provide));if(Yp(t))n=()=>new o(...rs(t.deps));else return ln(o)||as(o)}return n}function on(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function Yp(t){return!!t.deps}function Qp(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Kp(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function cs(t,e){for(let r of t)Array.isArray(r)?cs(r,e):r&&Xu(r)?cs(r.\u0275providers,e):e(r)}function Ae(t,e){t instanceof qn&&t.assertNotDestroyed();let r,n=at(t),o=ye(void 0);try{return e()}finally{at(n),ye(o)}}function vl(){return el()!==void 0||wp()!=null}function Jp(t){if(!vl())throw new v(-203,!1)}function Xp(t){let e=_e.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function eg(t){return typeof t=="function"}var Ke=0,x=1,I=2,oe=3,xe=4,Re=5,io=6,so=7,Ne=8,hn=9,Ue=10,le=11,Wn=12,yu=13,wn=14,He=15,pn=16,sn=17,gn=18,_o=19,yl=20,ut=21,Zi=22,we=23,dt=25,Dl=1;var Tt=7,ao=8,co=9,Ce=10,uo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(uo||{});function Mt(t){return Array.isArray(t)&&typeof t[Dl]=="object"}function Je(t){return Array.isArray(t)&&t[Dl]===!0}function wl(t){return(t.flags&4)!==0}function No(t){return t.componentOffset>-1}function qs(t){return(t.flags&1)===1}function er(t){return!!t.template}function us(t){return(t[I]&512)!==0}var ls=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Cl(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Ao(){return Il}function Il(t){return t.type.prototype.ngOnChanges&&(t.setInput=ng),tg}Ao.ngInherit=!0;function tg(){let t=bl(this),e=t?.current;if(e){let r=t.previous;if(r===Gn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function ng(t,e,r,n,o){let i=this.declaredInputs[n],s=bl(t)||rg(t,{previous:Gn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ls(u&&u.currentValue,r,c===Gn),Cl(t,e,o,r)}var El="__ngSimpleChanges__";function bl(t){return t[El]||null}function rg(t,e){return t[El]=e}var Du=null;var Ve=function(t,e,r){Du?.(t,e,r)},og="svg",ig="math";function ze(t){for(;Array.isArray(t);)t=t[Ke];return t}function sg(t,e){return ze(e[t])}function Oe(t,e){return ze(e[t.index])}function Ml(t,e){return t.data[e]}function Rt(t,e){let r=e[t];return Mt(r)?r:r[Ke]}function Ws(t){return(t[I]&128)===128}function ag(t){return Je(t[oe])}function lo(t,e){return e==null?null:t[e]}function Sl(t){t[sn]=0}function Tl(t){t[I]&1024||(t[I]|=1024,Ws(t)&&Ro(t))}function cg(t,e){for(;t>0;)e=e[wn],t--;return e}function Zn(t){return!!(t[I]&9216||t[we]?.dirty)}function ds(t){t[Ue].changeDetectionScheduler?.notify(7),t[I]&64&&(t[I]|=1024),Zn(t)&&Ro(t)}function Ro(t){t[Ue].changeDetectionScheduler?.notify(0);let e=xt(t);for(;e!==null&&!(e[I]&8192||(e[I]|=8192,!Ws(e)));)e=xt(e)}function xl(t,e){if((t[I]&256)===256)throw new v(911,!1);t[ut]===null&&(t[ut]=[]),t[ut].push(e)}function ug(t,e){if(t[ut]===null)return;let r=t[ut].indexOf(e);r!==-1&&t[ut].splice(r,1)}function xt(t){let e=t[oe];return Je(e)?e[oe]:e}var A={lFrame:jl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var _l=!1;function lg(){return A.lFrame.elementDepthCount}function dg(){A.lFrame.elementDepthCount++}function fg(){A.lFrame.elementDepthCount--}function Nl(){return A.bindingsEnabled}function hg(){return A.skipHydrationRootTNode!==null}function pg(t){return A.skipHydrationRootTNode===t}function gg(){A.skipHydrationRootTNode=null}function Q(){return A.lFrame.lView}function Ot(){return A.lFrame.tView}function kt(t){return A.lFrame.contextLView=t,t[Ne]}function Pt(t){return A.lFrame.contextLView=null,t}function ke(){let t=Al();for(;t!==null&&t.type===64;)t=t.parent;return t}function Al(){return A.lFrame.currentTNode}function mg(){let t=A.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function tr(t,e){let r=A.lFrame;r.currentTNode=t,r.isParent=e}function Rl(){return A.lFrame.isParent}function vg(){A.lFrame.isParent=!1}function Ol(){return _l}function wu(t){_l=t}function yg(t){return A.lFrame.bindingIndex=t}function kl(){return A.lFrame.bindingIndex++}function Dg(){return A.lFrame.inI18n}function wg(t,e){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=t,fs(e)}function Cg(){return A.lFrame.currentDirectiveIndex}function fs(t){A.lFrame.currentDirectiveIndex=t}function Pl(t){A.lFrame.currentQueryIndex=t}function Ig(t){let e=t[x];return e.type===2?e.declTNode:e.type===1?t[Re]:null}function Fl(t,e,r){if(r&S.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&S.Host);)if(o=Ig(i),o===null||(i=i[wn],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=A.lFrame=Ll();return n.currentTNode=e,n.lView=t,!0}function Zs(t){let e=Ll(),r=t[x];A.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Ll(){let t=A.lFrame,e=t===null?null:t.child;return e===null?jl(t):e}function jl(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Vl(){let t=A.lFrame;return A.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var $l=Vl;function Ys(){let t=Vl();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Eg(t){return(A.lFrame.contextLView=cg(t,A.lFrame.contextLView))[Ne]}function Qs(){return A.lFrame.selectedIndex}function _t(t){A.lFrame.selectedIndex=t}function bg(){let t=A.lFrame;return Ml(t.tView,t.selectedIndex)}function Mg(){return A.lFrame.currentNamespace}var Bl=!0;function Ks(){return Bl}function Js(t){Bl=t}function Sg(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=Il(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function Xs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[sn]+=65536),(a>14>16&&(t[I]&3)===e&&(t[I]+=16384,Cu(a,i)):Cu(a,i)}var un=-1,Yn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function xg(t){return t instanceof Yn}function _g(t){return(t.flags&8)!==0}function Ng(t){return(t.flags&16)!==0}var Qi={},hs=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=So(n);let o=this.injector.get(e,Qi,n);return o!==Qi||r===Qi?o:this.parentInjector.get(e,r,n)}};function Hl(t){return t!==un}function fo(t){return t&32767}function Ag(t){return t>>16}function ho(t,e){let r=Ag(t),n=e;for(;r>0;)n=n[wn],r--;return n}var ps=!0;function Iu(t){let e=ps;return ps=t,e}var Rg=256,zl=Rg-1,Gl=5,Og=0,$e={};function kg(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Un)&&(n=r[Un]),n==null&&(n=r[Un]=Og++);let o=n&zl,i=1<>Gl)]|=i}function ql(t,e){let r=Wl(t,e);if(r!==-1)return r;let n=e[x];n.firstCreatePass&&(t.injectorIndex=e.length,Ki(n.data,t),Ki(e,null),Ki(n.blueprint,null));let o=ea(t,e),i=t.injectorIndex;if(Hl(o)){let s=fo(o),a=ho(o,e),c=a[x].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function Ki(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Wl(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function ea(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=Jl(o),n===null)return un;if(r++,o=o[wn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return un}function Pg(t,e,r){kg(t,e,r)}function Zl(t,e,r){if(r&S.Optional||t!==void 0)return t;Vs(e,"NodeInjector")}function Yl(t,e,r,n){if(r&S.Optional&&n===void 0&&(n=null),!(r&(S.Self|S.Host))){let o=t[hn],i=ye(void 0);try{return o?o.get(e,n,r&S.Optional):tl(e,n,r&S.Optional)}finally{ye(i)}}return Zl(n,e,r)}function Ql(t,e,r,n=S.Default,o){if(t!==null){if(e[I]&2048&&!(n&S.Self)){let s=$g(t,e,r,n,$e);if(s!==$e)return s}let i=Kl(t,e,r,n,$e);if(i!==$e)return i}return Yl(e,r,n,o)}function Kl(t,e,r,n,o){let i=jg(r);if(typeof i=="function"){if(!Fl(e,t,n))return n&S.Host?Zl(o,r,n):Yl(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&S.Optional))Vs(r);else return s}finally{$l()}}else if(typeof i=="number"){let s=null,a=Wl(t,e),c=un,u=n&S.Host?e[He][Re]:null;for((a===-1||n&S.SkipSelf)&&(c=a===-1?ea(t,e):e[a+8],c===un||!bu(n,!1)?a=-1:(s=e[x],a=fo(c),e=ho(c,e)));a!==-1;){let l=e[x];if(Eu(i,a,l.data)){let d=Fg(a,e,r,s,n,u);if(d!==$e)return d}c=e[a+8],c!==un&&bu(n,e[x].data[a+8]===u)&&Eu(i,a,e)?(s=l,a=fo(c),e=ho(c,e)):a=-1}}return o}function Fg(t,e,r,n,o,i){let s=e[x],a=s.data[t+8],c=n==null?No(a)&&ps:n!=s&&(a.type&3)!==0,u=o&S.Host&&i===a,l=Lg(a,s,r,c,u);return l!==null?Qn(e,s,l,a):$e}function Lg(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=n?a:a+l,h=o?a+l:u;for(let f=d;f=c&&m.type===r)return f}if(o){let f=s[c];if(f&&er(f)&&f.type===r)return c}return null}function Qn(t,e,r,n){let o=t[r],i=e.data;if(xg(o)){let s=o;s.resolving&&gp(pp(i[r]));let a=Iu(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?ye(s.injectImpl):null,l=Fl(t,n,S.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&Sg(r,i[r],e)}finally{u!==null&&ye(u),Iu(a),s.resolving=!1,$l()}}return o}function jg(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Un)?t[Un]:void 0;return typeof e=="number"?e>=0?e&zl:Vg:e}function Eu(t,e,r){let n=1<>Gl)]&n)}function bu(t,e){return!(t&S.Self)&&!(t&S.Host&&e)}var St=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Ql(this._tNode,this._lView,e,So(n),r)}};function Vg(){return new St(ke(),Q())}function ta(t){return Jn(()=>{let e=t.prototype.constructor,r=e[to]||gs(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[to]||gs(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function gs(t){return Yu(t)?()=>{let e=gs(De(t));return e&&e()}:ln(t)}function $g(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[I]&2048&&!(s[I]&512);){let a=Kl(i,s,r,n|S.Self,$e);if(a!==$e)return a;let c=i.parent;if(!c){let u=s[yl];if(u){let l=u.get(r,$e,n);if(l!==$e)return l}c=Jl(s),s=s[wn]}i=c}return o}function Jl(t){let e=t[x],r=e.type;return r===2?e.declTNode:r===1?t[Re]:null}function Mu(t,e=null,r=null,n){let o=Xl(t,e,r,n);return o.resolveInjectorInitializers(),o}function Xl(t,e=null,r=null,n,o=new Set){let i=[r||je,Bp(t)];return n=n||(typeof t=="object"?void 0:ce(t)),new qn(i,e||Gs(),n||null,o)}var bt=class bt{static create(e,r){if(Array.isArray(e))return Mu({name:""},r,e,"");{let n=e.name??"";return Mu({name:n},e.parent,e.providers,n)}}};bt.THROW_IF_NOT_FOUND=zn,bt.NULL=new oo,bt.\u0275prov=y({token:bt,providedIn:"any",factory:()=>D(ol)}),bt.__NG_ELEMENT_ID__=-1;var Ie=bt;var Bg=new w("");Bg.__NG_ELEMENT_ID__=t=>{let e=ke();if(e===null)throw new v(204,!1);if(e.type&2)return e.value;if(t&S.Optional)return null;throw new v(204,!1)};var Ug="ngOriginalError";function Ji(t){return t[Ug]}var Ge=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Ji(e);for(;r&&Ji(r);)r=Ji(r);return r||null}},ed=new w("",{providedIn:"root",factory:()=>p(Ge).handleError.bind(void 0)}),na=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Hg,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),ms=class extends na{constructor(e){super(),this._lView=e}onDestroy(e){return xl(this._lView,e),()=>ug(this._lView,e)}};function Hg(){return new ms(Q())}function zg(){return Oo(ke(),Q())}function Oo(t,e){return new ko(Oe(t,e))}var ko=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=zg;let t=e;return t})();var Cn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var vs=class extends re{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,vl()&&(this.destroyRef=p(na,{optional:!0})??void 0,this.pendingTasks=p(Cn,{optional:!0})??void 0)}emit(e){let r=R(null);try{super.next(e)}finally{R(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof G&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},Y=vs;function td(t){return(t.flags&128)===128}var nd=new Map,Gg=0;function qg(){return Gg++}function Wg(t){nd.set(t[_o],t)}function Zg(t){nd.delete(t[_o])}var Su="__ngContext__";function Nt(t,e){Mt(e)?(t[Su]=e[_o],Wg(e)):t[Su]=e}function rd(t){return id(t[Wn])}function od(t){return id(t[xe])}function id(t){for(;t!==null&&!Je(t);)t=t[xe];return t}var ys;function sd(t){ys=t}function Yg(){if(ys!==void 0)return ys;if(typeof document<"u")return document;throw new v(210,!1)}var Po=new w("",{providedIn:"root",factory:()=>Qg}),Qg="ng",ra=new w(""),ht=new w("",{providedIn:"platform",factory:()=>"unknown"});var oa=new w("",{providedIn:"root",factory:()=>Yg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Kg="h",Jg="b";var Xg=()=>null;function ia(t,e,r=!1){return Xg(t,e,r)}var ad=!1,em=new w("",{providedIn:"root",factory:()=>ad});var po=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qu})`}};function sa(t){return t instanceof po?t.changingThisBreaksApplicationSecurity:t}function cd(t,e){let r=tm(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${qu})`)}return r===e}function tm(t){return t instanceof po&&t.getTypeName()||null}var nm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ud(t){return t=String(t),t.match(nm)?t:"unsafe:"+t}var aa=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(aa||{});function Fo(t){let e=rm();return e?e.sanitize(aa.URL,t)||"":cd(t,"URL")?sa(t):ud(js(t))}function rm(){let t=Q();return t&&t[Ue].sanitizer}function ld(t){return t instanceof Function?t():t}function om(t){return(t??p(Ie)).get(ht)==="browser"}var Ft=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ft||{}),im;function ca(t,e){return im(t,e)}function an(t,e,r,n,o){if(n!=null){let i,s=!1;Je(n)?i=n:Mt(n)&&(s=!0,n=n[Ke]);let a=ze(n);t===0&&r!==null?o==null?gd(e,r,a):go(e,r,a,o||null,!0):t===1&&r!==null?go(e,r,a,o||null,!0):t===2?Cm(e,a,s):t===3&&e.destroyNode(a),i!=null&&Em(e,t,i,r,o)}}function sm(t,e){return t.createText(e)}function am(t,e,r){t.setValue(e,r)}function dd(t,e,r){return t.createElement(e,r)}function cm(t,e){fd(t,e),e[Ke]=null,e[Re]=null}function um(t,e,r,n,o,i){n[Ke]=o,n[Re]=e,Lo(t,n,r,1,o,i)}function fd(t,e){e[Ue].changeDetectionScheduler?.notify(8),Lo(t,e,e[le],2,null,null)}function lm(t){let e=t[Wn];if(!e)return Xi(t[x],t);for(;e;){let r=null;if(Mt(e))r=e[Wn];else{let n=e[Ce];n&&(r=n)}if(!r){for(;e&&!e[xe]&&e!==t;)Mt(e)&&Xi(e[x],e),e=e[oe];e===null&&(e=t),Mt(e)&&Xi(e[x],e),r=e&&e[xe]}e=r}}function dm(t,e,r,n){let o=Ce+n,i=r.length;n>0&&(r[o-1][xe]=e),n0&&(t[r-1][xe]=n[xe]);let i=ro(t,Ce+e);cm(n[x],n);let s=i[gn];s!==null&&s.detachView(i[x]),n[oe]=null,n[xe]=null,n[I]&=-129}return n}function pd(t,e){if(!(e[I]&256)){let r=e[le];r.destroyNode&&Lo(t,e,r,3,null,null),lm(e)}}function Xi(t,e){if(e[I]&256)return;let r=R(null);try{e[I]&=-129,e[I]|=256,e[we]&&xi(e[we]),hm(t,e),fm(t,e),e[x].type===1&&e[le].destroy();let n=e[pn];if(n!==null&&Je(e[oe])){n!==e[oe]&&ua(n,e);let o=e[gn];o!==null&&o.detachView(t)}Zg(e)}finally{R(r)}}function fm(t,e){let r=t.cleanup,n=e[so];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[so]=null);let o=e[ut];if(o!==null){e[ut]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Be.None||i===Be.Emulated)return null}return Oe(n,r)}}function go(t,e,r,n,o){t.insertBefore(e,r,n,o)}function gd(t,e,r){t.appendChild(e,r)}function Tu(t,e,r,n,o){n!==null?go(t,e,r,n,o):gd(t,e,r)}function mm(t,e,r,n){t.removeChild(e,r,n)}function la(t,e){return t.parentNode(e)}function vm(t,e){return t.nextSibling(e)}function ym(t,e,r){return wm(t,e,r)}function Dm(t,e,r){return t.type&40?Oe(t,r):null}var wm=Dm,xu;function da(t,e,r,n){let o=pm(t,n,e),i=e[le],s=n.parent||e[Re],a=ym(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;cdt&&Dd(t,e,dt,!1),Ve(s?2:0,o),r(n,o)}finally{_t(i),Ve(s?3:1,o)}}function bd(t,e,r){if(wl(e)){let n=R(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Am(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return hg()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function _u(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=fn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?Nu(n,r,u,a,c):Nu(n,r,u,a)}return n}function Nu(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function Rm(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function jm(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;No(r)&&Gm(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||ql(r,e),Nt(n,e);let s=r.initialInputs;for(let a=o;a{Ro(t.lView)},consumerOnSignalRead(){this.lView[we]=this}});function av(t){let e=t[we]??Object.create(cv);return e.lView=t,e}var cv=H(g({},Mi),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=xt(t.lView);for(;e&&!Pd(e[x]);)e=xt(e);e&&Tl(e)},consumerOnSignalRead(){this.lView[we]=this}});function Pd(t){return t.type!==2}var uv=100;function Fd(t,e=!0,r=0){let n=t[Ue],o=n.rendererFactory,i=!1;i||o.begin?.();try{lv(t,r)}catch(s){throw e&&Od(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function lv(t,e){let r=Ol();try{wu(!0),Es(t,e);let n=0;for(;Zn(t);){if(n===uv)throw new v(103,!1);n++,Es(t,1)}}finally{wu(r)}}function dv(t,e,r,n){let o=e[I];if((o&256)===256)return;let i=!1,s=!1;!i&&e[Ue].inlineEffectRunner?.flush(),Zs(e);let a=!0,c=null,u=null;i||(Pd(t)?(u=rv(e),c=Si(u)):Ac()===null?(a=!1,u=av(e),c=Si(u)):e[we]&&(xi(e[we]),e[we]=null));try{Sl(e),yg(t.bindingStartIndex),r!==null&&Ed(t,e,r,2,n);let l=(o&3)===3;if(!i)if(l){let f=t.preOrderCheckHooks;f!==null&&Kr(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Jr(e,f,0,null),Yi(e,0)}if(s||fv(e),Ld(e,0),t.contentQueries!==null&&Rd(t,e),!i)if(l){let f=t.contentCheckHooks;f!==null&&Kr(e,f)}else{let f=t.contentHooks;f!==null&&Jr(e,f,1),Yi(e,1)}Mm(t,e);let d=t.components;d!==null&&Vd(e,d,0);let h=t.viewQuery;if(h!==null&&Is(2,h,n),!i)if(l){let f=t.viewCheckHooks;f!==null&&Kr(e,f)}else{let f=t.viewHooks;f!==null&&Jr(e,f,2),Yi(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Zi]){for(let f of e[Zi])f();e[Zi]=null}i||(e[I]&=-73)}catch(l){throw i||Ro(e),l}finally{u!==null&&(Rc(u,c),a&&iv(u)),Ys()}}function Ld(t,e){for(let r=rd(t);r!==null;r=od(r))for(let n=Ce;n-1&&(Ds(e,n),ro(r,n))}this._attachedToViewContainer=!1}pd(this._lView[x],this._lView)}onDestroy(e){xl(this._lView,e)}markForCheck(){ma(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){ds(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Fd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=us(this._lView),r=this._lView[pn];r!==null&&!e&&ua(r,this._lView),fd(this._lView[x],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e;let r=us(this._lView),n=this._lView[pn];n!==null&&!r&&hd(n,this._lView),ds(this._lView)}},Uo=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mv;let t=e;return t})(),pv=Uo,gv=class extends pv{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=ev(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new At(o)}};function mv(){return vv(ke(),Q())}function vv(t,e){return t.type&4?new gv(e,t,Oo(t,e)):null}var yS=new RegExp(`^(\\d+)*(${Jg}|${Kg})*(.*)`);var yv=()=>null;function Ru(t,e){return yv(t,e)}var mn=class{},$d=new w("",{providedIn:"root",factory:()=>!1});var Bd=new w(""),bs=class{},vo=class{};function Dv(t){let e=Error(`No component factory found for ${ce(t)}.`);return e[wv]=t,e}var wv="ngComponent";var Ms=class{resolveComponentFactory(e){throw Dv(e)}},Sa=class Sa{};Sa.NULL=new Ms;var vn=Sa,yn=class{};var Cv=(()=>{let e=class e{};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Ou=new Set;function va(t){Ou.has(t)||(Ou.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Ud(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof _e.requestAnimationFrame=="function"&&_e.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function ku(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function Pu(...t){}var V=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y(!1),this.onMicrotaskEmpty=new Y(!1),this.onStable=new Y(!1),this.onError=new Y(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,bv(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,Iv,Pu,Pu);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},Iv={};function ya(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ev(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{Ud(()=>{t.callbackScheduled=!1,Ss(t),t.isCheckStableRunning=!0,ya(t),t.isCheckStableRunning=!1})}),Ss(t))}function bv(t){let e=()=>{Ev(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(Mv(a))return r.invokeTask(o,i,s,a);try{return Fu(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Lu(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Fu(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!Sv(a)&&e(),Lu(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Ss(t),ya(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Ss(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Fu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Lu(t){t._nesting--,ya(t)}var yo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Y,this.onMicrotaskEmpty=new Y,this.onStable=new Y,this.onError=new Y}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function Mv(t){return Hd(t,"__ignore_ng_zone__")}function Sv(t){return Hd(t,"__scheduler_tick__")}function Hd(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function Tv(t="zone.js",e){return t==="noop"?new yo:t==="zone.js"?new V(e):t}var ct=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(ct||{}),xv={destroy(){}};function Ho(t,e){!e&&Jp(Ho);let r=e?.injector??p(Ie);if(!om(r))return xv;va("NgAfterNextRender");let n=r.get(Da),o=n.handler??=new xs,i=e?.phase??ct.MixedReadWrite,s=()=>{o.unregister(c),a()},a=r.get(na).onDestroy(s),c=Ae(r,()=>new Ts(i,()=>{s(),t()}));return o.register(c),{destroy:s}}var Ts=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=p(V),this.errorHandler=p(Ge,{optional:!0}),p(mn,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},xs=class{constructor(){this.executingCallbacks=!1,this.buckets={[ct.EarlyRead]:new Set,[ct.Write]:new Set,[ct.MixedReadWrite]:new Set,[ct.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Da=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function _s(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&vd(t,r,i.join(" "))}}function Pv(t,e,r){let n=t.projection=[];for(let o=0;o{let e=class e{};e.__NG_ELEMENT_ID__=Lv;let t=e;return t})();function Lv(){let t=ke();return Vv(t,Q())}var jv=In,zd=class extends jv{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new St(this._hostTNode,this._hostLView)}get parentInjector(){let e=ea(this._hostTNode,this._hostLView);if(Hl(e)){let r=ho(e,this._hostLView),n=fo(e),o=r[x].data[n+8];return new St(o,r)}else return new St(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Vu(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ce}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Ru(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Au(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!eg(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?e:new Dn(lt(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let M=(s?u:this.parentInjector).get(ue,null);M&&(i=M)}let l=lt(c.componentType??{}),d=Ru(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Au(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(ag(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[oe],u=new zd(c,c[Re],c[oe]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return tv(s,o,i,n),e.attachToViewContainerRef(),rl(es(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Vu(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Ds(this._lContainer,r);n&&(ro(es(this._lContainer),r),pd(n[x],n))}detach(e){let r=this._adjustIndex(e,-1),n=Ds(this._lContainer,r);return n&&ro(es(this._lContainer),r)!=null?new At(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Vu(t){return t[ao]}function es(t){return t[ao]||(t[ao]=[])}function Vv(t,e){let r,n=e[t.index];return Je(n)?r=n:(r=Ad(n,e,null,t),e[t.index]=r,Bo(e,r)),Bv(r,e,t,n),new zd(r,t,e)}function $v(t,e){let r=t[le],n=r.createComment(""),o=Oe(e,t),i=la(r,o);return go(r,i,n,vm(r,o),!1),n}var Bv=zv,Uv=()=>!1;function Hv(t,e,r){return Uv(t,e,r)}function zv(t,e,r,n){if(t[Tt])return;let o;r.type&8?o=ze(n):o=$v(e,r),t[Tt]=o}function Gv(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(Yv))}return i}return wo.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(n(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Qv(i));e.push(c)}),Wv(),Promise.all(e).then(()=>{})}var wo=new Map,qv=new Set;function Wv(){let t=wo;return wo=new Map,t}function Zv(){return wo.size===0}function Yv(t){return typeof t=="string"?t:t.text()}function Qv(t){qv.delete(t)}var ft=class{},Kn=class{};var Co=class extends ft{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Do(this);let o=dl(e);this._bootstrapComponents=ld(o.bootstrap),this._r3Injector=Xl(e,r,[{provide:ft,useValue:this},{provide:vn,useValue:this.componentFactoryResolver},...n],ce(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Io=class extends Kn{constructor(e){super(),this.moduleType=e}create(e){return new Co(this.moduleType,e,[])}};function Kv(t,e,r){return new Co(t,e,r)}var As=class extends ft{constructor(e){super(),this.componentFactoryResolver=new Do(this),this.instance=null;let r=new qn([...e.providers,{provide:ft,useValue:this},{provide:vn,useValue:this.componentFactoryResolver}],e.parent||Gs(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function zo(t,e,r=null){return new As({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function Gd(t){return Xv(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Jv(t,e){if(Array.isArray(t))for(let r=0;r(Js(!0),dd(n,o,Mg()));function jt(){return Q()}var Eo="en-US";var cy=Eo;function uy(t){typeof t=="string"&&(cy=t.toLowerCase().replace(/_/g,"-"))}var ly=(t,e,r)=>{};function Xe(t,e,r,n){let o=Q(),i=Ot(),s=ke();return fy(i,o,o[le],s,t,e,n),Xe}function dy(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function fy(t,e,r,n,o,i,s){let a=qs(n),u=t.firstCreatePass&&Ym(t),l=e[Ne],d=Zm(e),h=!0;if(n.type&3||s){let M=Oe(n,e),L=s?s(M):M,B=d.length,be=s?Ze=>s(ze(Ze[n.index])):n.index,Z=null;if(!s&&a&&(Z=dy(t,e,o,n.index)),Z!==null){let Ze=Z.__ngLastListenerFn__||Z;Ze.__ngNextListenerFn__=i,Z.__ngLastListenerFn__=i,h=!1}else{i=Uu(n,e,l,i),ly(M,o,i);let Ze=r.listen(L,o,i);d.push(i,Ze),u&&u.push(o,be,B,B+1)}}else i=Uu(n,e,l,i);let f=n.outputs,m;if(h&&f!==null&&(m=f[o])){let M=m.length;if(M)for(let L=0;L-1?Rt(t.index,e):e;ma(s,5);let a=Bu(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Bu(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function ne(t=1){return Eg(t)}function W(t,e=""){let r=Q(),n=Ot(),o=t+dt,i=n.firstCreatePass?$o(n,o,1,e,null):n.data[o],s=hy(n,r,i,e,t);r[o]=s,Ks()&&da(n,r,s,i),tr(i,!1)}var hy=(t,e,r,n,o)=>(Js(!0),sm(e[le],n));function gt(t){return et("",t,""),gt}function et(t,e,r){let n=Q(),o=iy(n,t,e,r);return o!==jo&&Qm(n,Qs(),o),et}var py=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=pl(!1,n.type),i=o.length>0?zo([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(D(ue))});let t=e;return t})();function Wd(t){va("NgStandalone"),t.getStandaloneInjector=e=>e.get(py).getOrCreateStandaloneInjector(t)}var Yr=null;function gy(t){Yr!==null&&(t.defaultEncapsulation!==Yr.defaultEncapsulation||t.preserveWhitespaces!==Yr.preserveWhitespaces)||(Yr=t)}var Go=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var wa=new w(""),nr=new w(""),qo=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ca||(my(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(D(V),D(Wo),D(nr))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Wo=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Ca?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function my(t){Ca=t}var Ca;function rr(t){return!!t&&typeof t.then=="function"}function Zd(t){return!!t&&typeof t.subscribe=="function"}var Zo=new w(""),Yd=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Zo,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(rr(s))n.push(s);else if(Zd(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ia=new w("");function vy(){Oc(()=>{throw new v(600,!1)})}function yy(t){return t.isBoundToModule}var Dy=10;function wy(t,e,r){try{let n=r();return rr(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Qd(t,e){return Array.isArray(e)?e.reduce(Qd,t):g(g({},t),e)}var Vt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(ed),this.afterRenderEffectManager=p(Da),this.zonelessEnabled=p($d),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=p(Cn).hasPendingTasks.pipe(T(n=>!n)),this._injector=p(ue)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof vo;if(!this._injector.get(Yd).done){let f=!i&&ll(n),m=!1;throw new v(405,m)}let a;i?a=n:a=this._injector.get(vn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=yy(a)?void 0:this._injector.get(ft),u=o||a.selector,l=a.create(Ie.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(wa,null);return h?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),eo(this.components,l),h?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new v(101,!1);let o=R(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,R(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(yn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iZn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Zn(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;eo(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Ia,[]);[...this._bootstrapListeners,...o].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function eo(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Cy(t,e,r,n){if(!r&&!Zn(t))return;Fd(t,e,r&&!n?0:1)}var Rs=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Yo=(()=>{let e=class e{compileModuleSync(n){return new Io(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=dl(n),s=ld(i.declarations).reduce((a,c)=>{let u=lt(c);return u&&a.push(new Dn(u)),a},[]);return new Rs(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Iy=new w("");function Ey(t,e,r){let n=new Io(r);return Promise.resolve(n)}function Hu(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var by=(()=>{let e=class e{constructor(){this.zone=p(V),this.changeDetectionScheduler=p(mn),this.applicationRef=p(Vt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function My({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new V(Kd()),[{provide:V,useFactory:t},{provide:dn,multi:!0,useFactory:()=>{let r=p(by,{optional:!0});return()=>r.initialize()}},{provide:dn,multi:!0,useFactory:()=>{let r=p(Ty);return()=>{r.initialize()}}},{provide:ed,useFactory:Sy},e===!0?{provide:Bd,useValue:!0}:[]]}function Sy(){let t=p(V),e=p(Ge);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Kd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Ty=(()=>{let e=class e{constructor(){this.subscription=new G,this.initialized=!1,this.zone=p(V),this.pendingTasks=p(Cn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var xy=(()=>{let e=class e{constructor(){this.appRef=p(Vt),this.taskService=p(Cn),this.ngZone=p(V),this.zonelessEnabled=p($d),this.disableScheduling=p(Bd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new G,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 yo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){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?ku:Ud;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&&V.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ku(()=>{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 n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _y(){return typeof $localize<"u"&&$localize.locale||Eo}var Ea=new w("",{providedIn:"root",factory:()=>p(Ea,S.Optional|S.SkipSelf)||_y()});var Jd=new w(""),Xd=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=Tv(o?.ngZone,Kd({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=Kv(n.moduleType,this.injector,[...My({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:mn,useExisting:xy}]),c=a.injector.get(Ge,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{eo(this._modules,a),u.unsubscribe()})}),wy(c,i,()=>{let u=a.injector.get(Yd);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(Ea,Eo);return uy(l||Eo),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=Qd({},o);return Ey(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(Vt);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(Jd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(D(Ie))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Hn=null,ef=new w("");function Ny(t){if(Hn&&!Hn.get(ef,!1))throw new v(400,!1);vy(),Hn=t;let e=t.get(Xd);return Oy(t),e}function ba(t,e,r=[]){let n=`Platform: ${e}`,o=new w(n);return(i=[])=>{let s=tf();if(!s||s.injector.get(ef,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):Ny(Ay(a,n))}return Ry(o)}}function Ay(t=[],e){return Ie.create({name:e,providers:[{provide:xo,useValue:"platform"},{provide:Jd,useValue:new Set([()=>Hn=null])},...t]})}function Ry(t){let e=tf();if(!e)throw new v(401,!1);return e}function tf(){return Hn?.get(Xd)??null}function Oy(t){t.get(ra,null)?.forEach(r=>r())}var or=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=ky;let t=e;return t})();function ky(t){return Py(ke(),Q(),(t&16)===16)}function Py(t,e,r){if(No(t)&&!r){let n=Rt(t.index,e);return new At(n,n)}else if(t.type&175){let n=e[He];return new At(n,e)}return null}var Os=class{constructor(){}supports(e){return Gd(e)}create(e){return new ks(e)}},Fy=(t,e)=>e,ks=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Fy}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new Ps(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new bo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new bo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Ps=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Fs=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},bo=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Fs,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function zu(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Gu()),deps:[[e,new $s,new To]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new v(901,!1)}};e.\u0275prov=y({token:e,providedIn:"root",factory:Gu});let t=e;return t})();var nf=ba(null,"core",[]),rf=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(D(Vt))},e.\u0275mod=se({type:e}),e.\u0275inj=ie({});let t=e;return t})();function of(t){let e=lt(t);if(!e)return null;let r=new Dn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var ff=null;function $t(){return ff}function hf(t){ff??=t}var Qo=class{};var de=new w(""),Aa=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p($y),providedIn:"platform"});let t=e;return t})(),pf=new w(""),$y=(()=>{let e=class e extends Aa{constructor(){super(),this._doc=p(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $t().getBaseHref(this._doc)}onPopState(n){let o=$t().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=$t().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function Ra(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function sf(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function tt(t){return t&&t[0]!=="?"?"?"+t:t}var Bt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Oa),providedIn:"root"});let t=e;return t})(),gf=new w(""),Oa=(()=>{let e=class e extends Bt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ra(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+tt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(D(Aa),D(gf,8))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mf=(()=>{let e=class e extends Bt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Ra(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+tt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(D(Aa),D(gf,8))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),En=(()=>{let e=class e{constructor(n){this._subject=new Y,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Hy(sf(af(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+tt(o))}normalize(n){return e.stripTrailingSlash(Uy(this._basePath,af(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+tt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=tt,e.joinWithSlash=Ra,e.stripTrailingSlash=sf,e.\u0275fac=function(o){return new(o||e)(D(Bt))},e.\u0275prov=y({token:e,factory:()=>By(),providedIn:"root"});let t=e;return t})();function By(){return new En(D(Bt))}function Uy(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function af(t){return t.replace(/\/index.html$/,"")}function Hy(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function vf(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var Ta=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},bn=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new Ta(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),cf(c,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);cf(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(pt(In),pt(Uo),pt(Ma))},e.\u0275dir=Xn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function cf(t,e){t.context.$implicit=e.item}var mt=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new xa,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){uf("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){uf("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(pt(In),pt(Uo))},e.\u0275dir=Xn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),xa=class{constructor(){this.$implicit=null,this.ngIf=null}};function uf(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${ce(e)}'.`)}var Jo=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({});let t=e;return t})(),ka="browser",zy="server";function Gy(t){return t===ka}function Pa(t){return t===zy}var yf=(()=>{let e=class e{};e.\u0275prov=y({token:e,providedIn:"root",factory:()=>Gy(p(ht))?new _a(p(de),window):new Na});let t=e;return t})(),_a=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=qy(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function qy(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var Na=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ko=class{};var ja=class extends Qo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Va=class t extends ja{static makeCurrent(){hf(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Zy();return r==null?null:Yy(r)}resetBaseElement(){ir=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return vf(document.cookie,e)}},ir=null;function Zy(){return ir=ir||document.querySelector("base"),ir?ir.getAttribute("href"):null}function Yy(t){return new URL(t,document.baseURI).pathname}var $a=class{addToWindow(e){_e.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new v(5103,!1);return i},_e.getAllAngularTestabilities=()=>e.getAllTestabilities(),_e.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=_e.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};_e.frameworkStabilizers||(_e.frameworkStabilizers=[]),_e.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?$t().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},Qy=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Ba=new w(""),If=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(D(Ba),D(V))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),ei=class{constructor(e){this._doc=e}},Fa="ng-app-id",Ef=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Pa(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Fa}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(Fa),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Fa,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(D(de),D(Po),D(oa,8),D(ht))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),La={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"},Ha=/%COMP%/g,bf="%COMP%",Ky=`_nghost-${bf}`,Jy=`_ngcontent-${bf}`,Xy=!0,eD=new w("",{providedIn:"root",factory:()=>Xy});function tD(t){return Jy.replace(Ha,t)}function nD(t){return Ky.replace(Ha,t)}function Mf(t,e){return e.map(r=>r.replace(Ha,t))}var Df=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,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=Pa(c),this.defaultRenderer=new sr(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Be.ShadowDom&&(o=H(g({},o),{encapsulation:Be.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof ti?i.applyToHost(n):i instanceof ar&&i.applyStyles(),i}getOrCreateRenderer(n,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,h=this.platformIsServer;switch(o.encapsulation){case Be.Emulated:s=new ti(u,l,o,this.appId,d,a,c,h);break;case Be.ShadowDom:return new Ua(u,l,n,o,a,c,this.nonce,h);default:s=new ar(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(D(If),D(Ef),D(Po),D(eD),D(de),D(ht),D(V),D(oa))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),sr=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(La[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(wf(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(wf(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new v(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=La[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=La[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(Ft.DashCase|Ft.Important)?e.style.setProperty(r,n,o&Ft.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Ft.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=$t().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function wf(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Ua=class extends sr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Mf(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ar=class extends sr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Mf(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ti=class extends ar{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=tD(u),this.hostAttr=nD(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},rD=(()=>{let e=class e extends ei{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(D(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})(),Cf=["alt","control","meta","shift"],oD={"\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"},iD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},sD=(()=>{let e=class e extends ei{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$t().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Cf.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(n,o){let i=oD[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Cf.forEach(a=>{if(a!==i){let c=iD[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(D(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function aD(){Va.makeCurrent()}function cD(){return new Ge}function uD(){return sd(document),document}var lD=[{provide:ht,useValue:ka},{provide:ra,useValue:aD,multi:!0},{provide:de,useFactory:uD,deps:[]}],Sf=ba(nf,"browser",lD),dD=new w(""),fD=[{provide:nr,useClass:$a,deps:[]},{provide:wa,useClass:qo,deps:[V,Wo,nr]},{provide:qo,useClass:qo,deps:[V,Wo,nr]}],hD=[{provide:xo,useValue:"root"},{provide:Ge,useFactory:cD,deps:[]},{provide:Ba,useClass:rD,multi:!0,deps:[de,V,ht]},{provide:Ba,useClass:sD,multi:!0,deps:[de]},Df,Ef,If,{provide:yn,useExisting:Df},{provide:Ko,useClass:Qy,deps:[]},[]],Tf=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Po,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(D(dD,12))},e.\u0275mod=se({type:e}),e.\u0275inj=ie({providers:[...hD,...fD],imports:[Jo,rf]});let t=e;return t})();var xf=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(D(de))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var b="primary",Ir=Symbol("RouteTitle"),Za=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Nn(t){return new Za(t)}function pD(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===o)}else return t===e}function Bf(t){return t.length>0?t[t.length-1]:null}function Dt(t){return Bi(t)?t:rr(t)?z(Promise.resolve(t)):C(t)}var mD={exact:Hf,subset:zf},Uf={exact:vD,subset:yD,ignored:()=>!0};function Nf(t,e,r){return mD[r.paths](t.root,e.root,r.matrixParams)&&Uf[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function vD(t,e){return We(t,e)}function Hf(t,e,r){if(!Ht(t.segments,e.segments)||!oi(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Hf(t.children[n],e.children[n],r))return!1;return!0}function yD(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>$f(t[r],e[r]))}function zf(t,e,r){return Gf(t,e,e.segments,r)}function Gf(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Ht(o,r)||e.hasChildren()||!oi(o,r,n))}else if(t.segments.length===r.length){if(!Ht(t.segments,r)||!oi(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!zf(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!Ht(t.segments,o)||!oi(t.segments,o,n)||!t.children[b]?!1:Gf(t.children[b],e,i,n)}}function oi(t,e,r){return e.every((n,o)=>Uf[r](t[o].parameters,n.parameters))}var vt=class{constructor(e=new k([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Nn(this.queryParams),this._queryParamMap}toString(){return CD.serialize(this)}},k=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ii(this)}},Ut=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Nn(this.parameters),this._parameterMap}toString(){return Wf(this)}};function DD(t,e){return Ht(t,e)&&t.every((r,n)=>We(r.parameters,e[n].parameters))}function Ht(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function wD(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===b&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==b&&(r=r.concat(e(o,n)))}),r}var Er=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>new An,providedIn:"root"});let t=e;return t})(),An=class{parse(e){let r=new Ka(e);return new vt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${cr(e.root,!0)}`,n=bD(e.queryParams),o=typeof e.fragment=="string"?`#${ID(e.fragment)}`:"";return`${r}${n}${o}`}},CD=new An;function ii(t){return t.segments.map(e=>Wf(e)).join("/")}function cr(t,e){if(!t.hasChildren())return ii(t);if(e){let r=t.children[b]?cr(t.children[b],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==b&&n.push(`${o}:${cr(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=wD(t,(n,o)=>o===b?[cr(t.children[b],!1)]:[`${o}:${cr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[b]!=null?`${ii(t)}/${r[0]}`:`${ii(t)}/(${r.join("//")})`}}function qf(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ni(t){return qf(t).replace(/%3B/gi,";")}function ID(t){return encodeURI(t)}function Qa(t){return qf(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function si(t){return decodeURIComponent(t)}function Af(t){return si(t.replace(/\+/g,"%20"))}function Wf(t){return`${Qa(t.path)}${ED(t.parameters)}`}function ED(t){return Object.entries(t).map(([e,r])=>`;${Qa(e)}=${Qa(r)}`).join("")}function bD(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${ni(r)}=${ni(o)}`).join("&"):`${ni(r)}=${ni(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var MD=/^[^\/()?;#]+/;function za(t){let e=t.match(MD);return e?e[0]:""}var SD=/^[^\/()?;=#]+/;function TD(t){let e=t.match(SD);return e?e[0]:""}var xD=/^[^=?&#]+/;function _D(t){let e=t.match(xD);return e?e[0]:""}var ND=/^[^&#]+/;function AD(t){let e=t.match(ND);return e?e[0]:""}var Ka=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new k([],{}):new k([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[b]=new k(e,r)),n}parseSegment(){let e=za(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new Ut(si(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=TD(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=za(this.remaining);o&&(n=o,this.capture(n))}e[si(r)]=si(n)}parseQueryParam(e){let r=_D(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=AD(this.remaining);s&&(n=s,this.capture(n))}let o=Af(r),i=Af(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=za(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=b);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[b]:new k([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new v(4011,!1)}};function Zf(t){return t.segments.length>0?new k([],{[b]:t}):t}function Yf(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Yf(o);if(n===b&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new k(t.segments,e);return RD(r)}function RD(t){if(t.numberOfChildren===1&&t.children[b]){let e=t.children[b];return new k(t.segments.concat(e.segments),e.children)}return t}function pr(t){return t instanceof vt}function OD(t,e,r=null,n=null){let o=Qf(t);return Kf(o,e,r,n)}function Qf(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new k(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=Zf(n);return e??o}function Kf(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Ga(o,o,o,r,n);let i=kD(e);if(i.toRoot())return Ga(o,o,new k([],{}),r,n);let s=PD(i,o,t),a=s.processChildren?dr(s.segmentGroup,s.index,i.commands):Xf(s.segmentGroup,s.index,i.commands);return Ga(o,s.segmentGroup,a,r,n)}function ai(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function gr(t){return typeof t=="object"&&t!=null&&t.outlets}function Ga(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Jf(t,e,r);let a=Zf(Yf(s));return new vt(a,i,o)}function Jf(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Jf(i,e,r)}),new k(t.segments,n)}var ci=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ai(n[0]))throw new v(4003,!1);let o=n.find(gr);if(o&&o!==Bf(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kD(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ci(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new ci(r,e,n)}var Tn=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function PD(t,e,r){if(t.isAbsolute)return new Tn(e,!0,0);if(!r)return new Tn(e,!1,NaN);if(r.parent===null)return new Tn(r,!0,0);let n=ai(t.commands[0])?0:1,o=r.segments.length-1+n;return FD(r,o,t.numberOfDoubleDots)}function FD(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new Tn(n,!1,o-i)}function LD(t){return gr(t[0])?t[0].outlets:{[b]:t}}function Xf(t,e,r){if(t??=new k([],{}),t.segments.length===0&&t.hasChildren())return dr(t,e,r);let n=jD(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==b)&&t.children[b]&&t.numberOfChildren===1&&t.children[b].segments.length===0){let i=dr(t.children[b],e,r);return new k(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Xf(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new k(t.segments,o)}}function jD(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=t.segments[o],a=r[n];if(gr(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Of(c,u,s))return i;n+=2}else{if(!Of(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Ja(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Ja(new k([],{}),0,n))}),e}function Rf(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Of(t,e,r){return t==r.path&&We(e,r.parameters)}var fr="imperative",J=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(J||{}),Ee=class{constructor(e,r){this.id=e,this.url=r}},Rn=class extends Ee{constructor(e,r,n="imperative",o=null){super(e,r),this.type=J.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},rt=class extends Ee{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=J.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ge=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(ge||{}),ui=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ui||{}),nt=class extends Ee{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=J.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},yt=class extends Ee{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=J.NavigationSkipped}},mr=class extends Ee{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=J.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},li=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Xa=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ec=class extends Ee{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=J.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},tc=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nc=class extends Ee{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=J.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rc=class{constructor(e){this.route=e,this.type=J.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},oc=class{constructor(e){this.route=e,this.type=J.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ic=class{constructor(e){this.snapshot=e,this.type=J.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},sc=class{constructor(e){this.snapshot=e,this.type=J.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ac=class{constructor(e){this.snapshot=e,this.type=J.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cc=class{constructor(e){this.snapshot=e,this.type=J.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},di=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=J.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},vr=class{},On=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var uc=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new br(this.injector),this.attachRef=null}},br=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new uc(this.parentInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(D(ue))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fi=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=lc(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=lc(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=dc(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return dc(e,this._root).map(r=>r.value)}};function lc(t,e){if(t===e.value)return e;for(let r of e.children){let n=lc(t,r);if(n)return n}return null}function dc(t,e){if(t===e.value)return[e];for(let r of e.children){let n=dc(t,r);if(n.length)return n.unshift(e),n}return[]}var pe=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Sn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var hi=class extends fi{constructor(e,r){super(e),this.snapshot=r,wc(this,e)}toString(){return this.snapshot.toString()}};function eh(t){let e=$D(t),r=new X([new Ut("",{})]),n=new X({}),o=new X({}),i=new X({}),s=new X(""),a=new kn(r,n,i,s,o,b,t,e.root);return a.snapshot=e.root,new hi(new pe(a,[]),e)}function $D(t){let e={},r={},n={},o="",i=new xn([],e,n,o,r,b,t,null,{});return new gi("",new pe(i,[]))}var kn=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[Ir]))??C(void 0),this.url=e,this.params=r,this.queryParams=n,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(T(e=>Nn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(e=>Nn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function pi(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:g(g({},e.params),t.params),data:g(g({},e.data),t.data),resolve:g(g(g(g({},t.data),e.data),o?.data),t._resolvedData)}:n={params:g({},t.params),data:g({},t.data),resolve:g(g({},t.data),t._resolvedData??{})},o&&nh(o)&&(n.resolve[Ir]=o.title),n}var xn=class{get title(){return this.data?.[Ir]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,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??=Nn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Nn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},gi=class extends fi{constructor(e,r){super(r),this.url=e,wc(this,r)}toString(){return th(this._root)}};function wc(t,e){e.value._routerState=t,e.children.forEach(r=>wc(t,r))}function th(t){let e=t.children.length>0?` { ${t.children.map(th).join(", ")} } `:"";return`${t.value}${e}`}function qa(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,We(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),We(e.params,r.params)||t.paramsSubject.next(r.params),gD(e.url,r.url)||t.urlSubject.next(r.url),We(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function fc(t,e){let r=We(t.params,e.params)&&DD(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||fc(t.parent,e.parent))}function nh(t){return typeof t.title=="string"||t.title===null}var BD=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=b,this.activateEvents=new Y,this.deactivateEvents=new Y,this.attachEvents=new Y,this.detachEvents=new Y,this.parentContexts=p(br),this.location=p(In),this.changeDetector=p(or),this.inputBinder=p(wi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new hc(n,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)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Xn({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ao]});let t=e;return t})(),hc=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===kn?this.route:e===br?this.childContexts:this.parent.get(e,r)}},wi=new w(""),kf=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=$n([o.queryParams,o.params,o.data]).pipe(ve(([s,a,c],u)=>(c=g(g(g({},s),a),c),u===0?C(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=of(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function UD(t,e,r){let n=yr(t,e._root,r?r._root:void 0);return new hi(n,e)}function yr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=HD(t,e,r);return new pe(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>yr(t,a)),s}}let n=zD(e.value),o=e.children.map(i=>yr(t,i));return new pe(n,o)}}function HD(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return yr(t,n,o);return yr(t,n)})}function zD(t){return new kn(new X(t.url),new X(t.params),new X(t.queryParams),new X(t.fragment),new X(t.data),t.outlet,t.component,t)}var Dr=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},rh="ngNavigationCancelingError";function mi(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=pr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=oh(!1,ge.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function oh(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[rh]=!0,r.cancellationCode=e,r}function GD(t){return ih(t)&&pr(t.url)}function ih(t){return!!t&&t[rh]}var qD=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["ng-component"]],standalone:!0,features:[Wd],decls:1,vars:0,template:function(o,i){o&1&&Lt(0,"router-outlet")},dependencies:[BD],encapsulation:2});let t=e;return t})();function WD(t,e){return t.providers&&!t._injector&&(t._injector=zo(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Cc(t){let e=t.children&&t.children.map(Cc),r=e?H(g({},t),{children:e}):g({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==b&&(r.component=qD),r}function Fe(t){return t.outlet||b}function ZD(t,e){let r=t.filter(n=>Fe(n)===e);return r.push(...t.filter(n=>Fe(n)!==e)),r}function Mr(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var YD=(t,e,r,n)=>T(o=>(new pc(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),pc=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),qa(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Sn(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Sn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Sn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=Sn(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new cc(i.value.snapshot))}),e.children.length&&this.forwardEvent(new sc(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(qa(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.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),qa(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Mr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},vi=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},_n=class{constructor(e,r){this.component=e,this.route=r}};function QD(t,e,r){let n=t._root,o=e?e._root:null;return ur(n,o,r,[n.value])}function KD(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Fn(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Qu(t)?t:e.get(t):n}function ur(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Sn(e);return t.children.forEach(s=>{JD(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>hr(a,r.getContext(s),o)),o}function JD(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=XD(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new vi(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ur(t,e,a?a.children:null,n,o):ur(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new _n(a.outlet.component,s))}else s&&hr(e,a,o),o.canActivateChecks.push(new vi(n)),i.component?ur(t,null,a?a.children:null,n,o):ur(t,null,r,n,o);return o}function XD(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Ht(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ht(t.url,e.url)||!We(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fc(t,e)||!We(t.queryParams,e.queryParams);case"paramsChange":default:return!fc(t,e)}}function hr(t,e,r){let n=Sn(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?hr(s,e.children.getContext(i),r):hr(s,null,r):hr(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new _n(e.outlet.component,o)):r.canDeactivateChecks.push(new _n(null,o)):r.canDeactivateChecks.push(new _n(null,o))}function Sr(t){return typeof t=="function"}function ew(t){return typeof t=="boolean"}function tw(t){return t&&Sr(t.canLoad)}function nw(t){return t&&Sr(t.canActivate)}function rw(t){return t&&Sr(t.canActivateChild)}function ow(t){return t&&Sr(t.canDeactivate)}function iw(t){return t&&Sr(t.canMatch)}function sh(t){return t instanceof Ye||t?.name==="EmptyError"}var ri=Symbol("INITIAL_VALUE");function Pn(){return ve(t=>$n(t.map(e=>e.pipe(Qe(1),Gi(ri)))).pipe(T(e=>{for(let r of e)if(r!==!0){if(r===ri)return ri;if(r===!1||sw(r))return r}return!0}),me(e=>e!==ri),Qe(1)))}function sw(t){return pr(t)||t instanceof Dr}function aw(t,e){return q(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?C(H(g({},r),{guardsResult:!0})):cw(s,n,o,t).pipe(q(a=>a&&ew(a)?uw(n,i,t,e):C(a)),T(a=>H(g({},r),{guardsResult:a})))})}function cw(t,e,r,n){return z(t).pipe(q(o=>pw(o.component,o.route,r,e,n)),Le(o=>o!==!0,!0))}function uw(t,e,r,n){return z(e).pipe(Et(o=>nn(dw(o.route.parent,n),lw(o.route,n),hw(t,o.path,r),fw(t,o.route,r))),Le(o=>o!==!0,!0))}function lw(t,e){return t!==null&&e&&e(new ac(t)),C(!0)}function dw(t,e){return t!==null&&e&&e(new ic(t)),C(!0)}function fw(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let o=n.map(i=>qr(()=>{let s=Mr(e)??r,a=Fn(i,s),c=nw(a)?a.canActivate(e,t):Ae(s,()=>a(e,t));return Dt(c).pipe(Le())}));return C(o).pipe(Pn())}function hw(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>KD(s)).filter(s=>s!==null).map(s=>qr(()=>{let a=s.guards.map(c=>{let u=Mr(s.node)??r,l=Fn(c,u),d=rw(l)?l.canActivateChild(n,t):Ae(u,()=>l(n,t));return Dt(d).pipe(Le())});return C(a).pipe(Pn())}));return C(i).pipe(Pn())}function pw(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return C(!0);let s=i.map(a=>{let c=Mr(e)??o,u=Fn(a,c),l=ow(u)?u.canDeactivate(t,e,r,n):Ae(c,()=>u(t,e,r,n));return Dt(l).pipe(Le())});return C(s).pipe(Pn())}function gw(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return C(!0);let i=o.map(s=>{let a=Fn(s,t),c=tw(a)?a.canLoad(e,r):Ae(t,()=>a(e,r));return Dt(c)});return C(i).pipe(Pn(),ah(n))}function ah(t){return Li(ee(e=>{if(typeof e!="boolean")throw mi(t,e)}),T(e=>e===!0))}function mw(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return C(!0);let i=o.map(s=>{let a=Fn(s,t),c=iw(a)?a.canMatch(e,r):Ae(t,()=>a(e,r));return Dt(c)});return C(i).pipe(Pn(),ah(n))}var wr=class{constructor(e){this.segmentGroup=e||null}},Cr=class extends Error{constructor(e){super(),this.urlTree=e}};function Mn(t){return en(new wr(t))}function vw(t){return en(new v(4e3,!1))}function yw(t){return en(oh(!1,ge.GuardRejected))}var gc=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return C(n);if(o.numberOfChildren>1||!o.children[b])return vw(`${e.redirectTo}`);o=o.children[b]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:m,title:M}=o,L=Ae(i,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:M}));if(L instanceof vt)throw new Cr(L);r=L}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Cr(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new vt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new k(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},mc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dw(t,e,r,n,o){let i=Ic(t,e,r);return i.matched?(n=WD(e,n),mw(n,e,r,o).pipe(T(s=>s===!0?i:g({},mc)))):C(i)}function Ic(t,e,r){if(e.path==="**")return ww(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?g({},mc):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||pD)(r,t,e);if(!o)return g({},mc);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:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ww(t){return{matched:!0,parameters:t.length>0?Bf(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Pf(t,e,r,n){return r.length>0&&Ew(t,r,n)?{segmentGroup:new k(e,Iw(n,new k(r,t.children))),slicedSegments:[]}:r.length===0&&bw(t,r,n)?{segmentGroup:new k(t.segments,Cw(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new k(t.segments,t.children),slicedSegments:r}}function Cw(t,e,r,n){let o={};for(let i of r)if(Ci(t,e,i)&&!n[Fe(i)]){let s=new k([],{});o[Fe(i)]=s}return g(g({},n),o)}function Iw(t,e){let r={};r[b]=e;for(let n of t)if(n.path===""&&Fe(n)!==b){let o=new k([],{});r[Fe(n)]=o}return r}function Ew(t,e,r){return r.some(n=>Ci(t,e,n)&&Fe(n)!==b)}function bw(t,e,r){return r.some(n=>Ci(t,e,n))}function Ci(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Mw(t,e,r,n){return Fe(t)!==n&&(n===b||!Ci(e,r,t))?!1:Ic(e,t,r).matched}function Sw(t,e,r){return e.length===0&&!t.children[r]}var vc=class{};function Tw(t,e,r,n,o,i,s="emptyOnly"){return new yc(t,e,r,n,o,s,i).recognize()}var xw=31,yc=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new gc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=Pf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(T(({children:r,rootSnapshot:n})=>{let o=new pe(n,r),i=new gi("",o),s=OD(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new xn([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),b,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,b,r).pipe(T(n=>({children:n,rootSnapshot:r})),it(n=>{if(n instanceof Cr)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof wr?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(T(s=>s instanceof pe?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return z(i).pipe(Et(s=>{let a=n.children[s],c=ZD(r,s);return this.processSegmentGroup(e,c,a,s,o)}),zi((s,a)=>(s.push(...a),s)),st(null),Hi(),q(s=>{if(s===null)return Mn(n);let a=ch(s);return _w(a),C(a)}))}processSegment(e,r,n,o,i,s,a){return z(r).pipe(Et(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe(it(u=>{if(u instanceof wr)return C(null);throw u}))),Le(c=>!!c),it(c=>{if(sh(c))return Sw(n,o,i)?C(new vc):Mn(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return Mw(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Mn(o):Mn(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Ic(r,o,i);if(!c)return Mn(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>xw&&(this.allowRedirects=!1));let f=new xn(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Ff(o),Fe(o),o.component??o._loadedComponent??null,o,Lf(o)),m=pi(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let M=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(o,M).pipe(q(L=>this.processSegment(e,n,r,L.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=Dw(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(ve(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(ve(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new xn(h,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Ff(n),Fe(n),n.component??n._loadedComponent??null,n,Lf(n)),M=pi(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(M.params),m.data=Object.freeze(M.data);let{segmentGroup:L,slicedSegments:B}=Pf(r,h,f,u);if(B.length===0&&L.hasChildren())return this.processChildren(l,u,L,m).pipe(T(Z=>new pe(m,Z)));if(u.length===0&&B.length===0)return C(new pe(m,[]));let be=Fe(n)===i;return this.processSegment(l,u,L,B,be?b:i,!0,m).pipe(T(Z=>new pe(m,Z instanceof pe?[Z]:[])))}))):Mn(r)))}getChildConfig(e,r,n){return r.children?C({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?C({routes:r._loadedRoutes,injector:r._loadedInjector}):gw(e,r,n,this.urlSerializer).pipe(q(o=>o?this.configLoader.loadChildren(e,r).pipe(ee(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):yw(r))):C({routes:[],injector:e})}};function _w(t){t.sort((e,r)=>e.value.outlet===b?-1:r.value.outlet===b?1:e.value.outlet.localeCompare(r.value.outlet))}function Nw(t){let e=t.value.routeConfig;return e&&e.path===""}function ch(t){let e=[],r=new Set;for(let n of t){if(!Nw(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=ch(n.children);e.push(new pe(n.value,o))}return e.filter(n=>!r.has(n))}function Ff(t){return t.data||{}}function Lf(t){return t.resolve||{}}function Aw(t,e,r,n,o,i){return q(s=>Tw(t,e,r,n,s.extractedUrl,o,i).pipe(T(({state:a,tree:c})=>H(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Rw(t,e){return q(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return C(r);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 uh(c))s.add(u);let a=0;return z(s).pipe(Et(c=>i.has(c)?Ow(c,n,t,e):(c.data=pi(c,c.parent,t).resolve,C(void 0))),ee(()=>a++),rn(1),q(c=>a===s.size?C(r):he))})}function uh(t){let e=t.children.map(r=>uh(r)).flat();return[t,...e]}function Ow(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!nh(o)&&(i[Ir]=o.title),kw(i,t,e,n).pipe(T(s=>(t._resolvedData=s,t.data=pi(t,t.parent,r).resolve,null)))}function kw(t,e,r,n){let o=Ya(t);if(o.length===0)return C({});let i={};return z(o).pipe(q(s=>Pw(t[s],e,r,n).pipe(Le(),ee(a=>{if(a instanceof Dr)throw mi(new An,a);i[s]=a}))),rn(1),Ui(i),it(s=>sh(s)?he:en(s)))}function Pw(t,e,r,n){let o=Mr(e)??n,i=Fn(t,o),s=i.resolve?i.resolve(e,r):Ae(o,()=>i(e,r));return Dt(s)}function Wa(t){return ve(e=>{let r=t(e);return r?z(r).pipe(T(()=>e)):C(e)})}var lh=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===b);return o}getResolvedTitleForRoute(n){return n.data[Ir]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Fw),providedIn:"root"});let t=e;return t})(),Fw=(()=>{let e=class e extends lh{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(D(xf))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Tr=new w("",{providedIn:"root",factory:()=>({})}),yi=new w(""),Ec=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Yo)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Dt(n.loadComponent()).pipe(T(dh),ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Bn(()=>{this.componentLoaders.delete(n)})),i=new Xt(o,()=>new re).pipe(Jt());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return C({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=Lw(o,this.compiler,n,this.onLoadEndListener).pipe(Bn(()=>{this.childrenLoaders.delete(o)})),a=new Xt(s,()=>new re).pipe(Jt());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Lw(t,e,r,n){return Dt(t.loadChildren()).pipe(T(dh),q(o=>o instanceof Kn||Array.isArray(o)?C(o):z(e.compileModuleAsync(o))),T(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(yi,[],{optional:!0,self:!0}).flat()),{routes:s.map(Cc),injector:i}}))}function jw(t){return t&&typeof t=="object"&&"default"in t}function dh(t){return jw(t)?t.default:t}var bc=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Vw),providedIn:"root"});let t=e;return t})(),Vw=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fh=new w(""),hh=new w("");function $w(t,e,r){let n=t.get(hh),o=t.get(de);return t.get(V).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Bw(t))),{onViewTransitionCreated:c}=n;return c&&Ae(t,()=>c({transition:a,from:e,to:r})),s})}function Bw(t){return new Promise(e=>{Ho(()=>setTimeout(e),{injector:t,phase:ct.Read})})}var Uw=new w(""),Mc=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re,this.transitionAbortSubject=new re,this.configLoader=p(Ec),this.environmentInjector=p(ue),this.urlSerializer=p(Er),this.rootContexts=p(br),this.location=p(En),this.inputBindingEnabled=p(wi,{optional:!0})!==null,this.titleStrategy=p(lh),this.options=p(Tr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(bc),this.createViewTransition=p(fh,{optional:!0}),this.navigationErrorHandler=p(Uw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=i=>this.events.next(new rc(i)),o=i=>this.events.next(new oc(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(H(g(g({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new X({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:fr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(me(s=>s.id!==0),T(s=>H(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ve(s=>{let a=!1,c=!1;return C(s).pipe(ve(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ge.SupersededByNewNavigation),he;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?H(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let h="";return this.events.next(new yt(u.id,this.urlSerializer.serialize(u.rawUrl),h,ui.IgnoredSameUrlNavigation)),u.resolve(!1),he}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return C(u).pipe(ve(h=>{let f=this.transitions?.getValue();return this.events.next(new Rn(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),f!==this.transitions?.getValue()?he:Promise.resolve(h)}),Aw(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=H(g({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let f=new li(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:h,extractedUrl:f,source:m,restoredState:M,extras:L}=u,B=new Rn(h,this.urlSerializer.serialize(f),m,M);this.events.next(B);let be=eh(this.rootComponentType).snapshot;return this.currentTransition=s=H(g({},u),{targetSnapshot:be,urlAfterRedirects:f,extras:H(g({},L),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=f,C(s)}else{let h="";return this.events.next(new yt(u.id,this.urlSerializer.serialize(u.extractedUrl),h,ui.IgnoredByUrlHandlingStrategy)),u.resolve(!1),he}}),ee(u=>{let l=new Xa(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),T(u=>(this.currentTransition=s=H(g({},u),{guards:QD(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),aw(this.environmentInjector,u=>this.events.next(u)),ee(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw mi(this.urlSerializer,u.guardsResult);let l=new ec(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),me(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",ge.GuardRejected),!1)),Wa(u=>{if(u.guards.canActivateChecks.length)return C(u).pipe(ee(l=>{let d=new tc(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ve(l=>{let d=!1;return C(l).pipe(Rw(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",ge.NoDataFromResolver)}}))}),ee(l=>{let d=new nc(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),Wa(u=>{let l=d=>{let h=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(ee(f=>{d.component=f}),T(()=>{})));for(let f of d.children)h.push(...l(f));return h};return $n(l(u.targetSnapshot.root)).pipe(st(null),Qe(1))}),Wa(()=>this.afterPreactivation()),ve(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?z(d).pipe(T(()=>s)):C(s)}),T(u=>{let l=UD(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=H(g({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ee(()=>{this.events.next(new vr)}),YD(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Qe(1),ee({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new rt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),qi(this.transitionAbortSubject.pipe(ee(u=>{throw u}))),Bn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",ge.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),it(u=>{if(c=!0,ih(u))this.events.next(new nt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),GD(u)?this.events.next(new On(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new mr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Ae(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Dr){let{message:h,cancellationCode:f}=mi(this.urlSerializer,d);this.events.next(new nt(s.id,this.urlSerializer.serialize(s.extractedUrl),h,f)),this.events.next(new On(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let h=n.errorHandler(u);s.resolve(!!h)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return he}))}))}cancelNavigationTransition(n,o,i){let s=new nt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Hw(t){return t!==fr}var zw=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(Gw),providedIn:"root"});let t=e;return t})(),Dc=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Gw=(()=>{let e=class e extends Dc{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ta(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ph=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:()=>p(qw),providedIn:"root"});let t=e;return t})(),qw=(()=>{let e=class e extends ph{constructor(){super(...arguments),this.location=p(En),this.urlSerializer=p(Er),this.options=p(Tr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(bc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=eh(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(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof Rn)this.stateMemento=this.createStateMemento();else if(n instanceof yt)this.rawUrlTree=o.initialUrl;else if(n instanceof li){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof vr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof nt&&(n.code===ge.GuardRejected||n.code===ge.NoDataFromResolver)?this.restoreHistory(o):n instanceof mr?this.restoreHistory(o,!0):n instanceof rt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);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(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=ta(e)))(i||e)}})(),e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lr=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(lr||{});function gh(t,e){t.events.pipe(me(r=>r instanceof rt||r instanceof nt||r instanceof mr||r instanceof yt),T(r=>r instanceof rt||r instanceof yt?lr.COMPLETE:(r instanceof nt?r.code===ge.Redirect||r.code===ge.SupersededByNewNavigation:!1)?lr.REDIRECTING:lr.FAILED),me(r=>r!==lr.REDIRECTING),Qe(1)).subscribe(()=>{e()})}function Ww(t){throw t}var Zw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Yw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},zt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=p(Go),this.stateManager=p(ph),this.options=p(Tr,{optional:!0})||{},this.pendingTasks=p(Cn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Mc),this.urlSerializer=p(Er),this.location=p(En),this.urlHandlingStrategy=p(bc),this._events=new re,this.errorHandler=this.options.errorHandler||Ww,this.navigated=!1,this.routeReuseStrategy=p(zw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(yi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(wi,{optional:!0}),this.eventsSubscription=new G,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=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 nt&&o.code!==ge.Redirect&&o.code!==ge.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof rt)this.navigated=!0;else if(o instanceof On){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=g({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Hw(i.source)},a);this.scheduleNavigation(c,fr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Kw(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),fr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,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(n);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(n){this.config=n.map(Cc),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(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=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 h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=Qf(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return Kf(h,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=pr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,fr,null,o)}navigate(n,o={skipLocationChange:!1}){return Qw(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=g({},Zw):o===!1?i=g({},Yw):i=o,pr(n))return Nf(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Nf(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,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((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return gh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(h=>Promise.reject(h))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qw(t){for(let e=0;e{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(me(n=>n instanceof rt),Et(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=zo(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return z(i).pipe(tn())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=C(null);let s=i.pipe(q(a=>a===null?C(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return z([s,a]).pipe(tn())}else return s})}};e.\u0275fac=function(o){return new(o||e)(D(zt),D(Yo),D(ue),D(Di),D(Ec))},e.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mh=new w(""),Xw=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=p(ue),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Rn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof rt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof yt&&n.code===ui.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof di&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>_c(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Ho(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new di(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){wd()},e.\u0275prov=y({token:e,factory:e.\u0275fac});let t=e;return t})();function eC(t){return t.routerState.root}function xr(t,e){return{\u0275kind:t,\u0275providers:e}}function tC(){let t=p(Ie);return e=>{let r=t.get(Vt);if(e!==r.components[0])return;let n=t.get(zt),o=t.get(vh);t.get(Sc)===1&&n.initialNavigation(),t.get(yh,null,S.Optional)?.setUpPreloading(),t.get(mh,null,S.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var vh=new w("",{factory:()=>new re}),Sc=new w("",{providedIn:"root",factory:()=>1});function nC(){return xr(2,[{provide:Sc,useValue:0},{provide:Zo,multi:!0,deps:[Ie],useFactory:e=>{let r=e.get(pf,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(zt),i=e.get(vh);gh(o,()=>{n(!0)}),e.get(Mc).afterPreactivation=()=>(n(!0),i.closed?C(void 0):i),o.initialNavigation()}))}}])}function rC(){return xr(3,[{provide:Zo,multi:!0,useFactory:()=>{let e=p(zt);return()=>{e.setUpLocationChangeListener()}}},{provide:Sc,useValue:2}])}var yh=new w("");function oC(t){return xr(0,[{provide:yh,useExisting:Jw},{provide:Di,useExisting:t}])}function iC(){return xr(8,[kf,{provide:wi,useExisting:kf}])}function sC(t){let e=[{provide:fh,useValue:$w},{provide:hh,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return xr(9,e)}var jf=new w("ROUTER_FORROOT_GUARD"),aC=[En,{provide:Er,useClass:An},zt,br,{provide:kn,useFactory:eC,deps:[zt]},Ec,[]],Ln=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[aC,[],{provide:yi,multi:!0,useValue:n},{provide:jf,useFactory:dC,deps:[[zt,new To,new $s]]},{provide:Tr,useValue:o||{}},o?.useHash?uC():lC(),cC(),o?.preloadingStrategy?oC(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?fC(o):[],o?.bindToComponentInputs?iC().\u0275providers:[],o?.enableViewTransitions?sC().\u0275providers:[],hC()]}}static forChild(n){return{ngModule:e,providers:[{provide:yi,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(D(jf,8))},e.\u0275mod=se({type:e}),e.\u0275inj=ie({});let t=e;return t})();function cC(){return{provide:mh,useFactory:()=>{let t=p(yf),e=p(V),r=p(Tr),n=p(Mc),o=p(Er);return r.scrollOffset&&t.setOffset(r.scrollOffset),new Xw(o,n,t,e,r)}}}function uC(){return{provide:Bt,useClass:mf}}function lC(){return{provide:Bt,useClass:Oa}}function dC(t){return"guarded"}function fC(t){return[t.initialNavigation==="disabled"?rC().\u0275providers:[],t.initialNavigation==="enabledBlocking"?nC().\u0275providers:[]]}var Vf=new w("");function hC(){return[{provide:Vf,useFactory:tC},{provide:Ia,multi:!0,useExisting:Vf}]}var pC=[],Dh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({imports:[Ln.forRoot(pC),Ln]});let t=e;return t})();function gC(t,e){if(t&1&&Lt(0,"img",6),t&2){let r=ne(2);U("src",r.book.thumbnailUrl,Fo)}}function mC(t,e){if(t&1&&(P(0,"p",7),W(1),O()),t&2){let r=ne(2);$(),et(" ",r.book.subtitle," ")}}function vC(t,e){if(t&1&&(P(0,"li"),W(1),O()),t&2){let r=e.$implicit;$(),et(" ",r," ")}}function yC(t,e){if(t&1&&(P(0,"div",1),te(1,gC,1,1,"img",2),P(2,"h2"),W(3),O(),te(4,mC,2,1,"p",3),P(5,"ul",4),te(6,vC,2,1,"li",5),O(),P(7,"div"),W(8),O()()),t&2){let r=ne();$(),U("ngIf",r.book.thumbnailUrl),$(2),gt(r.book.title),$(),U("ngIf",r.book.subtitle),$(2),U("ngForOf",r.book.authors),$(2),et("ISBN ",r.book.isbn,"")}}var wh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-book-list-item"]],inputs:{book:"book"},decls:1,vars:1,consts:[["class","list-item",4,"ngIf"],[1,"list-item"],["alt","Cover",3,"src",4,"ngIf"],["role","doc-subtitle",4,"ngIf"],[1,"comma-list"],[4,"ngFor","ngForOf"],["alt","Cover",3,"src"],["role","doc-subtitle"]],template:function(o,i){o&1&&te(0,yC,9,5,"div",0),o&2&&U("ngIf",i.book)},dependencies:[bn,mt]});let t=e;return t})();function wC(t,e){if(t&1){let r=jt();P(0,"li")(1,"bm-book-list-item",3),Xe("click",function(){let o=kt(r).$implicit,i=ne();return Pt(i.doSelect(o))}),O()()}if(t&2){let r=e.$implicit;$(),U("book",r)}}function CC(t,e){t&1&&(P(0,"li"),W(1," No books available. "),O())}var Ch=(()=>{let e=class e{constructor(){this.books=[],this.selectBook=new Y,this.books=[{isbn:"12345",title:"Tierisch gut kochen",authors:["Mrs Chimp","Mr Gorilla"],published:"2022-06-20",subtitle:"Rezepte von Affe bis Zebra",thumbnailUrl:"https://cdn.ng-buch.de/kochen.png",description:"Immer lecker und gut"},{isbn:"67890",title:"Backen mit Affen",authors:["Orang Utan"],published:"2022-07-15",subtitle:"Bananenbrot und mehr",thumbnailUrl:"https://cdn.ng-buch.de/backen.png",description:"Tolle Backtipps f\xFCr Mensch und Tier"}]}doSelect(n){this.selectBook.emit(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-book-list"]],outputs:{selectBook:"selectBook"},decls:5,vars:2,consts:[[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"click","book"]],template:function(o,i){o&1&&(P(0,"h1"),W(1,"Books"),O(),P(2,"ul",0),te(3,wC,2,1,"li",1)(4,CC,2,0,"li",2),O()),o&2&&($(3),U("ngForOf",i.books),$(),U("ngIf",!i.books.length))},dependencies:[bn,mt,wh]});let t=e;return t})();function EC(t,e){if(t&1&&(P(0,"p",8),W(1),O()),t&2){let r=ne(2);$(),gt(r.book.subtitle)}}function bC(t,e){if(t&1&&(P(0,"li"),W(1),O()),t&2){let r=e.$implicit;$(),gt(r)}}function MC(t,e){if(t&1&&(P(0,"div")(1,"h2"),W(2,"Published"),O(),W(3),O()),t&2){let r=ne(2);$(3),et(" ",r.book.published," ")}}function SC(t,e){if(t&1&&Lt(0,"img",9),t&2){let r=ne(2);U("src",r.book.thumbnailUrl,Fo)}}function TC(t,e){if(t&1){let r=jt();P(0,"div",1)(1,"h1"),W(2),O(),te(3,EC,2,1,"p",2),P(4,"div",3)(5,"div")(6,"h2"),W(7,"Authors"),O(),P(8,"ul"),te(9,bC,2,1,"li",4),O()(),P(10,"div")(11,"h2"),W(12,"ISBN"),O(),W(13),O(),te(14,MC,4,1,"div",5),O(),P(15,"h2"),W(16,"Description"),O(),P(17,"p"),W(18),O(),te(19,SC,1,1,"img",6),P(20,"button",7),Xe("click",function(){kt(r);let o=ne();return Pt(o.doLeave())}),W(21," Back to list "),O()()}if(t&2){let r=ne();$(2),gt(r.book.title),$(),U("ngIf",r.book.subtitle),$(6),U("ngForOf",r.book.authors),$(4),et(" ",r.book.isbn," "),$(),U("ngIf",r.book.published),$(4),gt(r.book.description),$(),U("ngIf",r.book.thumbnailUrl)}}var Ih=(()=>{let e=class e{constructor(){this.leave=new Y}doLeave(){this.leave.emit()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-book-details"]],inputs:{book:"book"},outputs:{leave:"leave"},decls:1,vars:1,consts:[["class","details",4,"ngIf"],[1,"details"],["role","doc-subtitle",4,"ngIf"],[1,"header"],[4,"ngFor","ngForOf"],[4,"ngIf"],["alt","Cover",3,"src",4,"ngIf"],[1,"arrow-left",3,"click"],["role","doc-subtitle"],["alt","Cover",3,"src"]],template:function(o,i){o&1&&te(0,TC,22,7,"div",0),o&2&&U("ngIf",i.book)},dependencies:[bn,mt]});let t=e;return t})();function _C(t,e){if(t&1){let r=jt();P(0,"bm-book-list",2),Xe("selectBook",function(o){kt(r);let i=ne();return Pt(i.showDetails(o))}),O()}}function NC(t,e){if(t&1){let r=jt();P(0,"bm-book-details",3),Xe("leave",function(){kt(r);let o=ne();return Pt(o.showList())}),O()}if(t&2){let r=ne();U("book",r.book)}}var Eh=(()=>{let e=class e{constructor(){this.book=null}showList(){this.book=null}showDetails(n){this.book=n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=qe({type:e,selectors:[["bm-root"]],decls:3,vars:2,consts:[[3,"selectBook",4,"ngIf"],[3,"book","leave",4,"ngIf"],[3,"selectBook"],[3,"leave","book"]],template:function(o,i){o&1&&(P(0,"main"),te(1,_C,1,0,"bm-book-list",0)(2,NC,1,1,"bm-book-details",1),O()),o&2&&($(),U("ngIf",!i.book),$(),U("ngIf",i.book))},dependencies:[mt,Ch,Ih]});let t=e;return t})();var AC=[],bh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({imports:[Ln.forChild(AC),Ln]});let t=e;return t})();var Mh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e}),e.\u0275inj=ie({imports:[Jo,bh]});let t=e;return t})();var Sh=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=se({type:e,bootstrap:[Eh]}),e.\u0275inj=ie({imports:[Tf,Dh,Mh]});let t=e;return t})();Sf().bootstrapModule(Sh,{ngZoneEventCoalescing:!0}).catch(t=>console.error(t));