From 650395efe248e589f1214a3860a061c455d653fc Mon Sep 17 00:00:00 2001 From: The Buildbot Date: Fri, 3 Jan 2025 10:18:55 +0000 Subject: [PATCH] Auto-generated commit Triggered by commit: https://github.com/angular-schule/buch/commit/8231a517c69f3c25b9d8338b8c1c65f538887ddc --- 404.html | 2 +- index.html | 2 +- main-HFHJZWK3.js | 9 --------- main-RQOZFOAS.js | 9 +++++++++ 4 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 main-HFHJZWK3.js create mode 100644 main-RQOZFOAS.js diff --git a/404.html b/404.html index de81279..7f37baa 100644 --- a/404.html +++ b/404.html @@ -11,5 +11,5 @@
Loading ...
- + diff --git a/index.html b/index.html index de81279..7f37baa 100644 --- a/index.html +++ b/index.html @@ -11,5 +11,5 @@
Loading ...
- + diff --git a/main-HFHJZWK3.js b/main-HFHJZWK3.js deleted file mode 100644 index aa10ffd..0000000 --- a/main-HFHJZWK3.js +++ /dev/null @@ -1,9 +0,0 @@ -var nm=Object.defineProperty,rm=Object.defineProperties;var om=Object.getOwnPropertyDescriptors;var ml=Object.getOwnPropertySymbols;var im=Object.prototype.hasOwnProperty,sm=Object.prototype.propertyIsEnumerable;var vl=(e,n,t)=>n in e?nm(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,g=(e,n)=>{for(var t in n||={})im.call(n,t)&&vl(e,t,n[t]);if(ml)for(var t of ml(n))sm.call(n,t)&&vl(e,t,n[t]);return e},G=(e,n)=>rm(e,om(n));var ur=(e,n,t)=>new Promise((r,o)=>{var i=c=>{try{a(t.next(c))}catch(u){o(u)}},s=c=>{try{a(t.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((t=t.apply(e,n)).next())});function yl(e,n){return Object.is(e,n)}var te=null,fo=!1,js=1,pn=Symbol("SIGNAL");function F(e){let n=te;return te=e,n}function Dl(){return te}var ho={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 wl(e){if(fo)throw new Error("");if(te===null)return;te.consumerOnSignalRead(e);let n=te.nextProducerIndex++;if(go(te),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Bs(e){go(e);for(let n=0;n0}function go(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Sl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ml(e){return e.producerNode!==void 0}function lm(){throw new Error}var Tl=lm;function dm(){Tl()}function _l(e){Tl=e}var fm=null;function Nl(e,n){cm()||dm(),e.equal(e.value,n)||(e.value=n,hm(e))}var xl=G(g({},ho),{equal:yl,value:void 0});function hm(e){e.version++,am(),Il(e),fm?.()}function S(e){return typeof e=="function"}function gn(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var mo=gn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription: -${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=t});function qt(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Y=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){n=i instanceof mo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Al(i)}catch(s){n=n??[],s instanceof mo?n=[...n,...s.errors]:n.push(s)}}if(n)throw new mo(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Al(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&qt(t,n)}remove(n){let{_finalizers:t}=this;t&&qt(t,n),n instanceof e&&n._removeParent(this)}};Y.EMPTY=(()=>{let e=new Y;return e.closed=!0,e})();var $s=Y.EMPTY;function vo(e){return e instanceof Y||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Al(e){S(e)?e():e.unsubscribe()}var je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mn={setTimeout(e,n,...t){let{delegate:r}=mn;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=mn;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function yo(e){mn.setTimeout(()=>{let{onUnhandledError:n}=je;if(n)n(e);else throw e})}function dr(){}var Rl=Hs("C",void 0,void 0);function Ol(e){return Hs("E",void 0,e)}function kl(e){return Hs("N",e,void 0)}function Hs(e,n,t){return{kind:e,value:n,error:t}}var Gt=null;function vn(e){if(je.useDeprecatedSynchronousErrorHandling){let n=!Gt;if(n&&(Gt={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Gt;if(Gt=null,t)throw r}}else e()}function Pl(e){je.useDeprecatedSynchronousErrorHandling&&Gt&&(Gt.errorThrown=!0,Gt.error=e)}var Wt=class extends Y{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,vo(n)&&n.add(this)):this.destination=mm}static create(n,t,r){return new yn(n,t,r)}next(n){this.isStopped?qs(kl(n),this):this._next(n)}error(n){this.isStopped?qs(Ol(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?qs(Rl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},pm=Function.prototype.bind;function zs(e,n){return pm.call(e,n)}var Gs=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Do(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Do(r)}else Do(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Do(t)}}},yn=class extends Wt{constructor(n,t,r){super();let o;if(S(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&je.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&zs(n.next,i),error:n.error&&zs(n.error,i),complete:n.complete&&zs(n.complete,i)}):o=n}this.destination=new Gs(o)}};function Do(e){je.useDeprecatedSynchronousErrorHandling?Pl(e):yo(e)}function gm(e){throw e}function qs(e,n){let{onStoppedNotification:t}=je;t&&mn.setTimeout(()=>t(e,n))}var mm={closed:!0,next:dr,error:gm,complete:dr};var Dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function pe(e){return e}function Ws(...e){return Zs(e)}function Zs(e){return e.length===0?pe:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var j=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=ym(t)?t:new yn(t,r,o);return vn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Fl(r),new r((o,i)=>{let s=new yn({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Dn](){return this}pipe(...t){return Zs(t)(this)}toPromise(t){return t=Fl(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Fl(e){var n;return(n=e??je.Promise)!==null&&n!==void 0?n:Promise}function vm(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function ym(e){return e&&e instanceof Wt||vm(e)&&vo(e)}function Ys(e){return S(e?.lift)}function O(e){return n=>{if(Ys(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(e,n,t,r,o){return new Qs(e,n,t,r,o)}var Qs=class extends Wt{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function wn(){return O((e,n)=>{let t=null;e._refCount++;let r=k(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var En=class extends j{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Ys(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Y;let t=this.getSubject();n.add(this.source.subscribe(k(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Y.EMPTY)}return n}refCount(){return wn()(this)}};var Ll=gn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends j{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new wo(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Ll}next(t){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?$s:(this.currentObservers=null,i.push(t),new Y(()=>{this.currentObservers=null,qt(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new j;return t.source=this,t}}return e.create=(n,t)=>new wo(n,t),e})(),wo=class extends J{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:$s}};var se=class extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Ks={now(){return(Ks.delegate||Date).now()},delegate:void 0};var Eo=class extends Y{constructor(n,t){super()}schedule(n,t=0){return this}};var fr={setInterval(e,n,...t){let{delegate:r}=fr;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=fr;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Io=class extends Eo{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return fr.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&fr.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,qt(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var In=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};In.now=Ks.now;var Co=class extends In{constructor(n,t=In.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var jl=new Co(Io);var Se=new j(e=>e.complete());function Vl(e){return e&&S(e.schedule)}function Bl(e){return e[e.length-1]}function Ul(e){return S(Bl(e))?e.pop():void 0}function St(e){return Vl(Bl(e))?e.pop():void 0}function Hl(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,n||[])).next())})}function $l(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Zt(e){return this instanceof Zt?(this.v=e,this):new Zt(e)}function zl(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(v){return new Promise(function(C,P){i.push([f,v,C,P])>1||c(f,v)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(r[f](m))}catch(v){h(i[0][3],v)}}function u(f){f.value instanceof Zt?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 ql(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof $l=="function"?$l(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var bo=e=>e&&typeof e.length=="number"&&typeof e!="function";function So(e){return S(e?.then)}function Mo(e){return S(e[Dn])}function To(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function _o(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Dm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var No=Dm();function xo(e){return S(e?.[No])}function Ao(e){return zl(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Zt(t.read());if(o)return yield Zt(void 0);yield yield Zt(r)}}finally{t.releaseLock()}})}function Ro(e){return S(e?.getReader)}function ne(e){if(e instanceof j)return e;if(e!=null){if(Mo(e))return wm(e);if(bo(e))return Em(e);if(So(e))return Im(e);if(To(e))return Gl(e);if(xo(e))return Cm(e);if(Ro(e))return bm(e)}throw _o(e)}function wm(e){return new j(n=>{let t=e[Dn]();if(S(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Em(e){return new j(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,yo)})}function Cm(e){return new j(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Gl(e){return new j(n=>{Sm(e,n).catch(t=>n.error(t))})}function bm(e){return Gl(Ao(e))}function Sm(e,n){var t,r,o,i;return Hl(this,void 0,void 0,function*(){try{for(t=ql(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function De(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Oo(e,n=0){return O((t,r)=>{t.subscribe(k(r,o=>De(r,e,()=>r.next(o),n),()=>De(r,e,()=>r.complete(),n),o=>De(r,e,()=>r.error(o),n)))})}function ko(e,n=0){return O((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Wl(e,n){return ne(e).pipe(ko(n),Oo(n))}function Zl(e,n){return ne(e).pipe(ko(n),Oo(n))}function Yl(e,n){return new j(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Ql(e,n){return new j(t=>{let r;return De(t,n,()=>{r=e[No](),De(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function Po(e,n){if(!e)throw new Error("Iterable cannot be null");return new j(t=>{De(t,n,()=>{let r=e[Symbol.asyncIterator]();De(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Kl(e,n){return Po(Ao(e),n)}function Jl(e,n){if(e!=null){if(Mo(e))return Wl(e,n);if(bo(e))return Yl(e,n);if(So(e))return Zl(e,n);if(To(e))return Po(e,n);if(xo(e))return Ql(e,n);if(Ro(e))return Kl(e,n)}throw _o(e)}function Z(e,n){return n?Jl(e,n):ne(e)}function I(...e){let n=St(e);return Z(e,n)}function Cn(e,n){let t=S(e)?e:()=>e,r=o=>o.error(t());return new j(n?o=>n.schedule(r,0,o):r)}function Js(e){return!!e&&(e instanceof j||S(e.lift)&&S(e.subscribe))}var ot=gn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function _(e,n){return O((t,r)=>{let o=0;t.subscribe(k(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:Mm}=Array;function Tm(e,n){return Mm(n)?e(...n):e(n)}function Xl(e){return _(n=>Tm(e,n))}var{isArray:_m}=Array,{getPrototypeOf:Nm,prototype:xm,keys:Am}=Object;function ed(e){if(e.length===1){let n=e[0];if(_m(n))return{args:n,keys:null};if(Rm(n)){let t=Am(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Rm(e){return e&&typeof e=="object"&&Nm(e)===xm}function td(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function hr(...e){let n=St(e),t=Ul(e),{args:r,keys:o}=ed(e);if(r.length===0)return Z([],n);let i=new j(Om(r,n,o?s=>td(o,s):pe));return t?i.pipe(Xl(t)):i}function Om(e,n,t=pe){return r=>{nd(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=Z(e[c],n),l=!1;u.subscribe(k(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function nd(e,n,t){e?De(t,e,n):n()}function rd(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&n.complete()},f=v=>u{i&&n.next(v),u++;let C=!1;ne(t(v,l++)).subscribe(k(n,P=>{o?.(P),i?f(P):n.next(P)},()=>{C=!0},void 0,()=>{if(C)try{for(u--;c.length&&um(P)):m(P)}h()}catch(P){n.error(P)}}))};return e.subscribe(k(n,f,()=>{d=!0,h()})),()=>{a?.()}}function X(e,n,t=1/0){return S(n)?X((r,o)=>_((i,s)=>n(r,i,o,s))(ne(e(r,o))),t):(typeof n=="number"&&(t=n),O((r,o)=>rd(r,o,e,t)))}function Mt(e=1/0){return X(pe,e)}function od(){return Mt(1)}function bn(...e){return od()(Z(e,St(e)))}function Fo(e){return new j(n=>{ne(e()).subscribe(n)})}function ae(e,n){return O((t,r)=>{let o=0;t.subscribe(k(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Ae(e){return O((n,t)=>{let r=null,o=!1,i;r=n.subscribe(k(t,void 0,void 0,s=>{i=ne(e(s,Ae(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function id(e,n,t,r,o){return(i,s)=>{let a=t,c=n,u=0;i.subscribe(k(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function it(e,n){return S(n)?X(e,n,1):X(e,1)}function Xs(e,n=jl){return O((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=n.now();if(l{i=u,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Tt(e){return O((n,t)=>{let r=!1;n.subscribe(k(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function st(e){return e<=0?()=>Se:O((n,t)=>{let r=0;n.subscribe(k(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function ea(e){return _(()=>e)}function ta(e,n=pe){return e=e??km,O((t,r)=>{let o,i=!0;t.subscribe(k(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function km(e,n){return e===n}function Lo(e=Pm){return O((n,t)=>{let r=!1;n.subscribe(k(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Pm(){return new ot}function _t(e){return O((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function at(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):pe,st(1),t?Tt(n):Lo(()=>new ot))}function Sn(e){return e<=0?()=>Se:O((n,t)=>{let r=[];n.subscribe(k(t,o=>{r.push(o),e{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function na(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):pe,Sn(1),t?Tt(n):Lo(()=>new ot))}function ra(e,n){return O(id(e,n,arguments.length>=2,!0))}function oa(...e){let n=St(e);return O((t,r)=>{(n?bn(e,t,n):bn(e,t)).subscribe(r)})}function ce(e,n){return O((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(k(r,c=>{o?.unsubscribe();let u=0,l=i++;ne(e(c,l)).subscribe(o=k(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ia(e){return O((n,t)=>{ne(e).subscribe(k(t,()=>t.complete(),dr)),!t.closed&&n.subscribe(t)})}function Q(e,n,t){let r=S(e)||n||t?{next:e,error:n,complete:t}:e;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(k(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):pe}var Wd="https://g.co/ng/security#xss",E=class extends Error{code;constructor(n,t){super(Ii(n,t)),this.code=n}};function Ii(e,n){return`${`NG0${Math.abs(e)}`}${n?": "+n:""}`}var Zd=Symbol("InputSignalNode#UNSET"),Fm=G(g({},xl),{transformFn:void 0,applyValueToInputSignal(e,n){Nl(e,n)}});function Yd(e,n){let t=Object.create(Fm);t.value=e,t.transformFn=n?.transform;function r(){if(wl(t),t.value===Zd)throw new E(-950,!1);return t.value}return r[pn]=t,r}function Sr(e){return{toString:e}.toString()}var jo="__parameters__";function Lm(e){return function(...t){if(e){let r=e(...t);for(let o in r)this[o]=r[o]}}}function Qd(e,n,t){return Sr(()=>{let r=Lm(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(jo)?c[jo]:Object.defineProperty(c,jo,{value:[]})[jo];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var $e=globalThis;function q(e){for(let n in e)if(e[n]===q)return n;throw Error("Could not find renamed property on target object.")}function ge(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let n=e.toString();if(n==null)return""+n;let t=n.indexOf(` -`);return t===-1?n:n.substring(0,t)}function sd(e,n){return e==null||e===""?n===null?"":n:n==null||n===""?e:e+" "+n}var jm=q({__forward_ref__:q});function Kd(e){return e.__forward_ref__=Kd,e.toString=function(){return ge(this())},e}function Re(e){return Jd(e)?e():e}function Jd(e){return typeof e=="function"&&e.hasOwnProperty(jm)&&e.__forward_ref__===Kd}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ci(e){return ad(e,ef)||ad(e,tf)}function Xd(e){return Ci(e)!==null}function ad(e,n){return e.hasOwnProperty(n)?e[n]:null}function Vm(e){let n=e&&(e[ef]||e[tf]);return n||null}function cd(e){return e&&(e.hasOwnProperty(ud)||e.hasOwnProperty(Bm))?e[ud]:null}var ef=q({\u0275prov:q}),ud=q({\u0275inj:q}),tf=q({ngInjectableDef:q}),Bm=q({ngInjectorDef:q}),w=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function nf(e){return e&&!!e.\u0275providers}var Um=q({\u0275cmp:q}),$m=q({\u0275dir:q}),Hm=q({\u0275pipe:q}),zm=q({\u0275mod:q}),Zo=q({\u0275fac:q}),mr=q({__NG_ELEMENT_ID__:q}),ld=q({__NG_ENV_ID__:q});function bi(e){return typeof e=="string"?e:e==null?"":String(e)}function qm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():bi(e)}function Gm(e,n){let t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new E(-200,e)}function uc(e,n){throw new E(-201,!1)}var A=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(A||{}),ma;function rf(){return ma}function we(e){let n=ma;return ma=e,n}function of(e,n,t){let r=Ci(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&A.Optional)return null;if(n!==void 0)return n;uc(e,"Injector")}var Wm={},yr=Wm,va="__NG_DI_FLAG__",Yo="ngTempTokenPath",Zm="ngTokenPath",Ym=/\n/gm,Qm="\u0275",dd="__source",xn;function Km(){return xn}function Nt(e){let n=xn;return xn=e,n}function Jm(e,n=A.Default){if(xn===void 0)throw new E(-203,!1);return xn===null?of(e,void 0,n):xn.get(e,n&A.Optional?null:void 0,n)}function D(e,n=A.Default){return(rf()||Jm)(Re(e),n)}function p(e,n=A.Default){return D(e,Si(n))}function Si(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ya(e){let n=[];for(let t=0;t ");else if(typeof n=="object"){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ge(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(Ym,` - `)}`}var Mi=sf(Qd("Optional"),8);var lc=sf(Qd("SkipSelf"),4);function Qt(e,n){let t=e.hasOwnProperty(Zo);return t?e[Zo]:null}function nv(e,n,t){if(e.length!==n.length)return!1;for(let r=0;rArray.isArray(t)?dc(t,n):n(t))}function af(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Qo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ov(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function iv(e,n,t){let r=Mr(e,n);return r>=0?e[r|1]=t:(r=~r,ov(e,r,n,t)),r}function sa(e,n){let t=Mr(e,n);if(t>=0)return e[t|1]}function Mr(e,n){return sv(e,n,1)}function sv(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return dc(n,s=>{let a=s;Da(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&gf(o,i),t}function gf(e,n){for(let t=0;t{n(i,r)})}}function Da(e,n,t,r){if(e=Re(e),!e)return!1;let o=null,i=cd(e),s=!i&&Rt(e);if(!i&&!s){let c=e.ngModule;if(i=cd(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Da(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{dc(i.imports,l=>{Da(l,n,t,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&gf(u,n)}if(!a){let u=Qt(o)||(()=>new o);n({provide:o,useFactory:u,deps:Be},o),n({provide:uf,useValue:o,multi:!0},o),n({provide:Rn,useValue:()=>D(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;fc(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function fc(e,n){for(let t of e)nf(t)&&(t=t.\u0275providers),Array.isArray(t)?fc(t,n):n(t)}var cv=q({provide:String,useValue:q});function mf(e){return e!==null&&typeof e=="object"&&cv in e}function uv(e){return!!(e&&e.useExisting)}function lv(e){return!!(e&&e.useFactory)}function wa(e){return typeof e=="function"}var _i=new w(""),Ho={},dv={},aa;function hc(){return aa===void 0&&(aa=new Ko),aa}var me=class{},wr=class extends me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Ia(n,s=>this.processProvider(s)),this.records.set(cf,Mn(void 0,this)),o.has("environment")&&this.records.set(me,Mn(void 0,this));let i=this.records.get(_i);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(uf,Be,A.Self))}destroy(){pr(this),this._destroyed=!0;let n=F(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),F(n)}}onDestroy(n){return pr(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){pr(this);let t=Nt(this),r=we(void 0),o;try{return n()}finally{Nt(t),we(r)}}get(n,t=yr,r=A.Default){if(pr(this),n.hasOwnProperty(ld))return n[ld](this);r=Si(r);let o,i=Nt(this),s=we(void 0);try{if(!(r&A.SkipSelf)){let c=this.records.get(n);if(c===void 0){let u=vv(n)&&Ci(n);u&&this.injectableDefInScope(u)?c=Mn(Ea(n),Ho):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c)}let a=r&A.Self?hc():this.parent;return t=r&A.Optional&&t===yr?null:t,a.get(n,t)}catch(a){if(a.name==="NullInjectorError"){if((a[Yo]=a[Yo]||[]).unshift(ge(n)),i)throw a;return ev(a,n,"R3InjectorError",this.source)}else throw a}finally{we(s),Nt(i)}}resolveInjectorInitializers(){let n=F(null),t=Nt(this),r=we(void 0),o;try{let i=this.get(Rn,Be,A.Self);for(let s of i)s()}finally{Nt(t),we(r),F(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(ge(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Re(n);let t=wa(n)?n:Re(n&&n.provide),r=hv(n);if(!wa(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Mn(void 0,Ho,!0),o.factory=()=>ya(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){let r=F(null);try{return t.value===Ho&&(t.value=dv,t.value=t.factory()),typeof t.value=="object"&&t.value&&mv(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{F(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=Re(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Ea(e){let n=Ci(e),t=n!==null?n.factory:Qt(e);if(t!==null)return t;if(e instanceof w)throw new E(204,!1);if(e instanceof Function)return fv(e);throw new E(204,!1)}function fv(e){if(e.length>0)throw new E(204,!1);let t=Vm(e);return t!==null?()=>t.factory(e):()=>new e}function hv(e){if(mf(e))return Mn(void 0,e.useValue);{let n=pv(e);return Mn(n,Ho)}}function pv(e,n,t){let r;if(wa(e)){let o=Re(e);return Qt(o)||Ea(o)}else if(mf(e))r=()=>Re(e.useValue);else if(lv(e))r=()=>e.useFactory(...ya(e.deps||[]));else if(uv(e))r=()=>D(Re(e.useExisting));else{let o=Re(e&&(e.useClass||e.provide));if(gv(e))r=()=>new o(...ya(e.deps));else return Qt(o)||Ea(o)}return r}function pr(e){if(e.destroyed)throw new E(205,!1)}function Mn(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function gv(e){return!!e.deps}function mv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function vv(e){return typeof e=="function"||typeof e=="object"&&e instanceof w}function Ia(e,n){for(let t of e)Array.isArray(t)?Ia(t,n):t&&nf(t)?Ia(t.\u0275providers,n):n(t)}function Ie(e,n){e instanceof wr&&pr(e);let t,r=Nt(e),o=we(void 0);try{return n()}finally{Nt(r),we(o)}}function vf(){return rf()!==void 0||Km()!=null}function yv(e){if(!vf())throw new E(-203,!1)}function Dv(e){let n=$e.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function wv(e){return typeof e=="function"}var ft=0,N=1,b=2,le=3,Ue=4,qe=5,Jo=6,Xo=7,He=8,On=9,ct=10,ue=11,Er=12,fd=13,Un=14,Je=15,Kt=16,Tn=17,ut=18,Ni=19,yf=20,xt=21,ca=22,ei=23,Me=24,ze=25,Df=1;var Jt=7,ti=8,kn=9,Te=10,ni=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ni||{});function At(e){return Array.isArray(e)&&typeof e[Df]=="object"}function ht(e){return Array.isArray(e)&&e[Df]===!0}function wf(e){return(e.flags&4)!==0}function xi(e){return e.componentOffset>-1}function pc(e){return(e.flags&1)===1}function Tr(e){return!!e.template}function Ca(e){return(e[b]&512)!==0}var ba=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ef(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var _r=(()=>{let e=()=>If;return e.ngInherit=!0,e})();function If(e){return e.type.prototype.ngOnChanges&&(e.setInput=Iv),Ev}function Ev(){let e=bf(this),n=e?.current;if(n){let t=e.previous;if(t===Dr)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Iv(e,n,t,r,o){let i=this.declaredInputs[r],s=bf(e)||Cv(e,{previous:Dr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ba(u&&u.currentValue,t,c===Dr),Ef(e,n,o,t)}var Cf="__ngSimpleChanges__";function bf(e){return e[Cf]||null}function Cv(e,n){return e[Cf]=n}var hd=null;var Qe=function(e,n,t){hd?.(e,n,t)},bv="svg",Sv="math";function Xe(e){for(;Array.isArray(e);)e=e[ft];return e}function Sf(e,n){return Xe(n[e])}function ke(e,n){return Xe(n[e.index])}function Mf(e,n){return e.data[n]}function Tf(e,n){return e[n]}function Pt(e,n){let t=n[e];return At(t)?t:t[ft]}function Mv(e){return(e[b]&4)===4}function gc(e){return(e[b]&128)===128}function Tv(e){return ht(e[le])}function ri(e,n){return n==null?null:e[n]}function _f(e){e[Tn]=0}function mc(e){e[b]&1024||(e[b]|=1024,gc(e)&&Ri(e))}function _v(e,n){for(;e>0;)n=n[Un],e--;return n}function Ai(e){return!!(e[b]&9216||e[Me]?.dirty)}function Sa(e){e[ct].changeDetectionScheduler?.notify(9),e[b]&64&&(e[b]|=1024),Ai(e)&&Ri(e)}function Ri(e){e[ct].changeDetectionScheduler?.notify(0);let n=Xt(e);for(;n!==null&&!(n[b]&8192||(n[b]|=8192,!gc(n)));)n=Xt(n)}function Nf(e,n){if((e[b]&256)===256)throw new E(911,!1);e[xt]===null&&(e[xt]=[]),e[xt].push(n)}function Nv(e,n){if(e[xt]===null)return;let t=e[xt].indexOf(n);t!==-1&&e[xt].splice(t,1)}function Xt(e){let n=e[le];return ht(n)?n[le]:n}var R={lFrame:jf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ma=!1;function xv(){return R.lFrame.elementDepthCount}function Av(){R.lFrame.elementDepthCount++}function Rv(){R.lFrame.elementDepthCount--}function xf(){return R.bindingsEnabled}function Ov(){return R.skipHydrationRootTNode!==null}function kv(e){return R.skipHydrationRootTNode===e}function Pv(){R.skipHydrationRootTNode=null}function H(){return R.lFrame.lView}function Pe(){return R.lFrame.tView}function Oi(e){return R.lFrame.contextLView=e,e[He]}function ki(e){return R.lFrame.contextLView=null,e}function Ce(){let e=Af();for(;e!==null&&e.type===64;)e=e.parent;return e}function Af(){return R.lFrame.currentTNode}function Fv(){let e=R.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Nr(e,n){let t=R.lFrame;t.currentTNode=e,t.isParent=n}function Rf(){return R.lFrame.isParent}function Lv(){R.lFrame.isParent=!1}function jv(){return R.lFrame.contextLView}function Of(){return Ma}function pd(e){let n=Ma;return Ma=e,n}function kf(){let e=R.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Vv(e){return R.lFrame.bindingIndex=e}function vc(){return R.lFrame.bindingIndex++}function Bv(e){let n=R.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Uv(){return R.lFrame.inI18n}function $v(e,n){let t=R.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ta(n)}function Hv(){return R.lFrame.currentDirectiveIndex}function Ta(e){R.lFrame.currentDirectiveIndex=e}function zv(e){let n=R.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Pf(){return R.lFrame.currentQueryIndex}function yc(e){R.lFrame.currentQueryIndex=e}function qv(e){let n=e[N];return n.type===2?n.declTNode:n.type===1?e[qe]:null}function Ff(e,n,t){if(t&A.SkipSelf){let o=n,i=e;for(;o=o.parent,o===null&&!(t&A.Host);)if(o=qv(i),o===null||(i=i[Un],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=R.lFrame=Lf();return r.currentTNode=n,r.lView=e,!0}function Dc(e){let n=Lf(),t=e[N];R.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Lf(){let e=R.lFrame,n=e===null?null:e.child;return n===null?jf(e):n}function jf(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function Vf(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Bf=Vf;function wc(){let e=Vf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Gv(e){return(R.lFrame.contextLView=_v(e,R.lFrame.contextLView))[He]}function $n(){return R.lFrame.selectedIndex}function en(e){R.lFrame.selectedIndex=e}function Uf(){let e=R.lFrame;return Mf(e.tView,e.selectedIndex)}function Wv(){return R.lFrame.currentNamespace}var $f=!0;function Ec(){return $f}function Ic(e){$f=e}function Zv(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=If(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Cc(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[Tn]+=65536),(a>14>16&&(e[b]&3)===n&&(e[b]+=16384,gd(a,i)):gd(a,i)}var An=-1,Ir=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=r}};function Qv(e){return e instanceof Ir}function Kv(e){return(e.flags&8)!==0}function Jv(e){return(e.flags&16)!==0}function _a(e,n,t){let r=0;for(;rn){s=i-1;break}}}for(;i>16}function ii(e,n){let t=ey(e),r=n;for(;t>0;)r=r[Un],t--;return r}var xa=!0;function si(e){let n=xa;return xa=e,n}var ty=256,Gf=ty-1,Wf=5,ny=0,Ke={};function ry(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(mr)&&(r=t[mr]),r==null&&(r=t[mr]=ny++);let o=r&Gf,i=1<>Wf)]|=i}function Zf(e,n){let t=Yf(e,n);if(t!==-1)return t;let r=n[N];r.firstCreatePass&&(e.injectorIndex=n.length,da(r.data,e),da(n,null),da(r.blueprint,null));let o=Sc(e,n),i=e.injectorIndex;if(qf(o)){let s=oi(o),a=ii(o,n),c=a[N].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function da(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Yf(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Sc(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=eh(o),r===null)return An;if(t++,o=o[Un],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return An}function oy(e,n,t){ry(e,n,t)}function iy(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f=c&&m.type===t)return f}if(o){let f=s[c];if(f&&Tr(f)&&f.type===t)return c}return null}function Pn(e,n,t,r){let o=e[t],i=n.data;if(Qv(o)){let s=o;s.resolving&&Gm(qm(i[t]));let a=si(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?we(s.injectImpl):null,l=Ff(e,r,A.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&Zv(t,i[t],n)}finally{u!==null&&we(u),si(a),s.resolving=!1,Bf()}}return o}function ay(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(mr)?e[mr]:void 0;return typeof n=="number"?n>=0?n&Gf:cy:n}function vd(e,n,t){let r=1<>Wf)]&r)}function yd(e,n){return!(e&A.Self)&&!(e&A.Host&&n)}var Yt=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Jf(this._tNode,this._lView,n,Si(r),t)}};function cy(){return new Yt(Ce(),H())}function Mc(e){return Sr(()=>{let n=e.prototype.constructor,t=n[Zo]||Aa(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Zo]||Aa(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Aa(e){return Jd(e)?()=>{let n=Aa(Re(e));return n&&n()}:Qt(e)}function uy(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[b]&2048&&!(s[b]&512);){let a=Xf(i,s,t,r|A.Self,Ke);if(a!==Ke)return a;let c=i.parent;if(!c){let u=s[yf];if(u){let l=u.get(t,Ke,r);if(l!==Ke)return l}c=eh(s),s=s[Un]}i=c}return o}function eh(e){let n=e[N],t=n.type;return t===2?n.declTNode:t===1?e[qe]:null}function Tc(e){return iy(Ce(),e)}function Dd(e,n=null,t=null,r){let o=th(e,n,t,r);return o.resolveInjectorInitializers(),o}function th(e,n=null,t=null,r,o=new Set){let i=[t||Be,av(e)];return r=r||(typeof e=="object"?void 0:ge(e)),new wr(i,n||hc(),r||null,o)}var Oe=class e{static THROW_IF_NOT_FOUND=yr;static NULL=new Ko;static create(n,t){if(Array.isArray(n))return Dd({name:""},t,n,"");{let r=n.name??"";return Dd({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>D(cf)});static __NG_ELEMENT_ID__=-1};var ly=new w("");ly.__NG_ELEMENT_ID__=e=>{let n=Ce();if(n===null)throw new E(204,!1);if(n.type&2)return n.value;if(e&A.Optional)return null;throw new E(204,!1)};var nh=!1,_c=(()=>{class e{static __NG_ELEMENT_ID__=dy;static __NG_ENV_ID__=t=>t}return e})(),Ra=class extends _c{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return Nf(this._lView,n),()=>Nv(this._lView,n)}};function dy(){return new Ra(H())}var Fn=class{},Nc=new w("",{providedIn:"root",factory:()=>!1});var rh=new w(""),oh=new w(""),pt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new se(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();var Oa=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,vf()&&(this.destroyRef=p(_c,{optional:!0})??void 0,this.pendingTasks=p(pt,{optional:!0})??void 0)}emit(n){let t=F(null);try{super.next(n)}finally{F(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;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 n instanceof Y&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{n(t),r!==void 0&&this.pendingTasks?.remove(r)})}}},Ee=Oa;function ai(...e){}function ih(e){let n,t;function r(){e=ai;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function wd(e){return queueMicrotask(()=>e()),()=>{e=ai}}var xc="isAngularZone",ci=xc+"_ID",fy=0,$=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ee(!1);onMicrotaskEmpty=new Ee(!1);onStable=new Ee(!1);onError=new Ee(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=nh}=n;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,gy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(xc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,hy,ai,ai);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},hy={};function Ac(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function py(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){ih(()=>{e.callbackScheduled=!1,ka(e),e.isCheckStableRunning=!0,Ac(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),ka(e)}function gy(e){let n=()=>{py(e)},t=fy++;e._inner=e._inner.fork({name:"angular",properties:{[xc]:!0,[ci]:t,[ci+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(my(c))return r.invokeTask(i,s,a,c);try{return Ed(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Id(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ed(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!vy(c)&&n(),Id(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ka(e),Ac(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ka(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ed(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Id(e){e._nesting--,Ac(e)}var ui=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ee;onMicrotaskEmpty=new Ee;onStable=new Ee;onError=new Ee;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function my(e){return sh(e,"__ignore_ng_zone__")}function vy(e){return sh(e,"__scheduler_tick__")}function sh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}function yy(e="zone.js",n){return e==="noop"?new ui:e==="zone.js"?new $(n):e}var lt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Dy=new w("",{providedIn:"root",factory:()=>{let e=p($),n=p(lt);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function Cd(e,n){return Yd(e,n)}function wy(e){return Yd(Zd,e)}var ah=(Cd.required=wy,Cd);function Ey(){return Hn(Ce(),H())}function Hn(e,n){return new gt(ke(e,n))}var gt=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Ey}return e})();function Iy(e){return e instanceof gt?e.nativeElement:e}function Cy(){return this._results[Symbol.iterator]()}var Pa=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=rv(n);(this._changesDetected=!nv(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Cy};function ch(e){return(e.flags&128)===128}var uh=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(uh||{}),lh=new Map,by=0;function Sy(){return by++}function My(e){lh.set(e[Ni],e)}function Fa(e){lh.delete(e[Ni])}var bd="__ngContext__";function tn(e,n){At(n)?(e[bd]=n[Ni],My(n)):e[bd]=n}function dh(e){return hh(e[Er])}function fh(e){return hh(e[Ue])}function hh(e){for(;e!==null&&!ht(e);)e=e[Ue];return e}var La;function ph(e){La=e}function Ty(){if(La!==void 0)return La;if(typeof document<"u")return document;throw new E(210,!1)}var Rc=new w("",{providedIn:"root",factory:()=>_y}),_y="ng",Oc=new w(""),mt=new w("",{providedIn:"platform",factory:()=>"unknown"});var kc=new w("",{providedIn:"root",factory:()=>Ty().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ny="h",xy="b";var gh=!1,Ay=new w("",{providedIn:"root",factory:()=>gh});var Pc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Pc||{}),Pi=new w(""),Sd=new Set;function Fi(e){Sd.has(e)||(Sd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var _n=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(_n||{}),mh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ry=[_n.EarlyRead,_n.Write,_n.MixedReadWrite,_n.Read],Oy=(()=>{class e{ngZone=p($);scheduler=p(Fn);errorHandler=p(lt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(Pi,{optional:!0})}execute(){this.executing=!0;for(let t of Ry)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[t]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[t](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(7))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?.run(Pc.AFTER_NEXT_RENDER,t)??t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),ja=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i=null){this.impl=n,this.hooks=t,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Fc(e,n){!n?.injector&&yv(Fc);let t=n?.injector??p(Oe);return Fi("NgAfterNextRender"),Py(e,t,n,!0)}function ky(e,n){if(e instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[n]=e,t}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Py(e,n,t,r){let o=n.get(mh);o.impl??=n.get(Oy);let i=n.get(Pi,null,{optional:!0}),s=t?.phase??_n.MixedReadWrite,a=t?.manualCleanup!==!0?n.get(_c):null,c=new ja(o.impl,ky(e,s),r,a,i?.snapshot(null));return o.impl.register(c),c}var Fy=()=>null;function Lc(e,n,t=!1){return Fy(e,n,t)}var et=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(et||{});var Vo;function Ly(){if(Vo===void 0&&(Vo=null,$e.trustedTypes))try{Vo=$e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vo}function Md(e){return Ly()?.createScriptURL(e)||e}var li=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wd})`}};function xr(e){return e instanceof li?e.changingThisBreaksApplicationSecurity:e}function jc(e,n){let t=jy(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Wd})`)}return t===n}function jy(e){return e instanceof li&&e.getTypeName()||null}var Vy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vh(e){return e=String(e),e.match(Vy)?e:"unsafe:"+e}var Li=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Li||{});function Ar(e){let n=Dh();return n?n.sanitize(Li.URL,e)||"":jc(e,"URL")?xr(e):vh(bi(e))}function By(e){let n=Dh();if(n)return Md(n.sanitize(Li.RESOURCE_URL,e)||"");if(jc(e,"ResourceURL"))return Md(xr(e));throw new E(904,!1)}function Uy(e,n){return n==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||n==="href"&&(e==="base"||e==="link")?By:Ar}function yh(e,n,t){return Uy(n,t)(e)}function Dh(){let e=H();return e&&e[ct].sanitizer}function wh(e){return e instanceof Function?e():e}var Ot=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ot||{}),dt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(dt||{}),$y;function Vc(e,n){return $y(e,n)}function Nn(e,n,t,r,o){if(r!=null){let i,s=!1;ht(r)?i=r:At(r)&&(s=!0,r=r[ft]);let a=Xe(r);e===0&&t!==null?o==null?Sh(n,t,a):di(n,t,a,o||null,!0):e===1&&t!==null?di(n,t,a,o||null,!0):e===2?rD(n,a,s):e===3&&n.destroyNode(a),i!=null&&iD(n,e,i,t,o)}}function Hy(e,n){return e.createText(n)}function zy(e,n,t){e.setValue(n,t)}function Eh(e,n,t){return e.createElement(n,t)}function qy(e,n){Ih(e,n),n[ft]=null,n[qe]=null}function Gy(e,n,t,r,o,i){r[ft]=o,r[qe]=n,ji(e,r,t,1,o,i)}function Ih(e,n){n[ct].changeDetectionScheduler?.notify(10),ji(e,n,n[ue],2,null,null)}function Wy(e){let n=e[Er];if(!n)return fa(e[N],e);for(;n;){let t=null;if(At(n))t=n[Er];else{let r=n[Te];r&&(t=r)}if(!t){for(;n&&!n[Ue]&&n!==e;)At(n)&&fa(n[N],n),n=n[le];n===null&&(n=e),At(n)&&fa(n[N],n),t=n&&n[Ue]}n=t}}function Zy(e,n,t,r){let o=Te+r,i=t.length;r>0&&(t[o-1][Ue]=n),r0&&(e[t-1][Ue]=r[Ue]);let i=Qo(e,Te+n);qy(r[N],r);let s=i[ut];s!==null&&s.detachView(i[N]),r[le]=null,r[Ue]=null,r[b]&=-129}return r}function bh(e,n){if(!(n[b]&256)){let t=n[ue];t.destroyNode&&ji(e,n,t,3,null,null),Wy(n)}}function fa(e,n){if(n[b]&256)return;let t=F(null);try{n[b]&=-129,n[b]|=256,n[Me]&&Us(n[Me]),Qy(e,n),Yy(e,n),n[N].type===1&&n[ue].destroy();let r=n[Kt];if(r!==null&&ht(n[le])){r!==n[le]&&Bc(r,n);let o=n[ut];o!==null&&o.detachView(e)}Fa(n)}finally{F(t)}}function Yy(e,n){let t=e.cleanup,r=n[Xo];if(t!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Xo]=null);let o=n[xt];if(o!==null){n[xt]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===et.None||i===et.Emulated)return null}return ke(r,t)}}function di(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Sh(e,n,t){e.appendChild(n,t)}function Td(e,n,t,r,o){r!==null?di(e,n,t,r,o):Sh(e,n,t)}function Mh(e,n){return e.parentNode(n)}function Xy(e,n){return e.nextSibling(n)}function eD(e,n,t){return nD(e,n,t)}function tD(e,n,t){return e.type&40?ke(e,t):null}var nD=tD,_d;function Uc(e,n,t,r){let o=Ky(e,r,n),i=n[ue],s=r.parent||n[qe],a=eD(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ve(r))return!1;s=!0}}}}return Ve(r)||s}function Ve(e){return(e&1)===0}function fD(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ve(s)&&(n+=Nd(i,o),o=""),r=s,i=i||!Ve(r);t++}return o!==""&&(n+=Nd(i,o)),n}function vD(e){return e.map(mD).join(",")}function yD(e){let n=[],t=[],r=1,o=2;for(;rze&&Ah(e,n,ze,!1),Qe(s?2:0,o),t(r,o)}finally{en(i),Qe(s?3:1,o)}}function Fh(e,n,t){if(wf(n)){let r=F(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;snull;function SD(e,n,t,r){let o=Gh(n);o.push(t),e.firstCreatePass&&Wh(e).push(r,o.length-1)}function MD(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Ov()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function xd(e,n,t,r,o){for(let i in n){if(!n.hasOwnProperty(i))continue;let s=n[i];if(s===void 0)continue;r??={};let a,c=Ot.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?Ad(r,t,u,a,c):Ad(r,t,u,a)}return r}function Ad(e,n,t,r,o){let i;e.hasOwnProperty(t)?(i=e[t]).push(n,r):i=e[t]=[n,r],o!==void 0&&i.push(o)}function TD(e,n,t){let r=n.directiveStart,o=n.directiveEnd,i=e.data,s=n.attrs,a=[],c=null,u=null;for(let l=r;l0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function OD(e,n,t,r){let o=t.directiveStart,i=t.directiveEnd;xi(t)&&BD(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||Zf(t,n),tn(r,n);let s=t.initialInputs;for(let a=o;a{Ri(e.lView)},consumerOnSignalRead(){this.lView[Me]=this}});function nw(e){let n=e[Me]??Object.create(rw);return n.lView=e,n}var rw=G(g({},ho),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Xt(e.lView);for(;n&&!Qh(n[N]);)n=Xt(n);n&&mc(n)},consumerOnSignalRead(){this.lView[Me]=this}});function Qh(e){return e.type!==2}function Kh(e){if(e[ei]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[ei])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[b]&8192)}}var ow=100;function Jh(e,n=!0,t=0){let o=e[ct].rendererFactory,i=!1;i||o.begin?.();try{iw(e,t)}catch(s){throw n&&Zh(e,s),s}finally{i||o.end?.()}}function iw(e,n){let t=Of();try{pd(!0),Ha(e,n);let r=0;for(;Ai(e);){if(r===ow)throw new E(103,!1);r++,Ha(e,1)}}finally{pd(t)}}function sw(e,n,t,r){let o=n[b];if((o&256)===256)return;let i=!1,s=!1;Dc(n);let a=!0,c=null,u=null;i||(Qh(e)?(u=JD(n),c=Vs(u)):Dl()===null?(a=!1,u=nw(n),c=Vs(u)):n[Me]&&(Us(n[Me]),n[Me]=null));try{_f(n),Vv(e.bindingStartIndex),t!==null&&Ph(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&zo(n,f,null)}else{let f=e.preOrderHooks;f!==null&&qo(n,f,0,null),ua(n,0)}if(s||aw(n),Kh(n),Xh(n,0),e.contentQueries!==null&&qh(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&zo(n,f)}else{let f=e.contentHooks;f!==null&&qo(n,f,1),ua(n,1)}DD(e,n);let d=e.components;d!==null&&tp(n,d,0);let h=e.viewQuery;if(h!==null&&$a(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&zo(n,f)}else{let f=e.viewHooks;f!==null&&qo(n,f,2),ua(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ca]){for(let f of n[ca])f();n[ca]=null}i||(n[b]&=-73)}catch(l){throw i||Ri(n),l}finally{u!==null&&(Cl(u,c),a&&ew(u)),wc()}}function Xh(e,n){for(let t=dh(e);t!==null;t=fh(t))for(let r=Te;r-1&&(Va(n,r),Qo(t,r))}this._attachedToViewContainer=!1}bh(this._lView[N],this._lView)}onDestroy(n){Nf(this._lView,n)}markForCheck(){Wc(this._cdRefInjectingView||this._lView,4)}markForRefresh(){mc(this._cdRefInjectingView||this._lView)}detach(){this._lView[b]&=-129}reattach(){Sa(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,Jh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Ca(this._lView),t=this._lView[Kt];t!==null&&!n&&Bc(t,this._lView),Ih(this._lView[N],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let t=Ca(this._lView),r=this._lView[Kt];r!==null&&!t&&Ch(r,this._lView),Sa(this._lView)}},rn=(()=>{class e{static __NG_ELEMENT_ID__=dw}return e})(),uw=rn,lw=class extends uw{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){let o=YD(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new nn(o)}};function dw(){return Zc(Ce(),H())}function Zc(e,n){return e.type&4?new lw(n,e,Hn(e,n)):null}var Vx=new RegExp(`^(\\d+)*(${xy}|${Ny})*(.*)`);var fw=()=>null;function Od(e,n){return fw(e,n)}var za=class{},hi=class{},qa=class{resolveComponentFactory(n){throw Error(`No component factory found for ${ge(n)}.`)}},Ln=class{static NULL=new qa},jn=class{},Rr=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>hw()}return e})();function hw(){let e=H(),n=Ce(),t=Pt(n.index,e);return(At(t)?t:e)[ue]}var pw=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();function Ga(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s0&&_h(e,t,i.join(" "))}}function Ew(e,n,t){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=Cw}return e})();function Cw(){let e=Ce();return rp(e,H())}var bw=Ft,np=class extends bw{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Hn(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){let n=Sc(this._hostTNode,this._hostLView);if(qf(n)){let t=ii(n,this._hostLView),r=oi(n),o=t[N].data[r+8];return new Yt(o,t)}else return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Pd(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Od(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Rd(this._hostTNode,s)),a}createComponent(n,t,r,o,i){let s=n&&!wv(n),a;if(s)a=t;else{let m=t||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?n:new Vn(Rt(n)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let v=(s?u:this.parentInjector).get(me,null);v&&(i=v)}let l=Rt(c.componentType??{}),d=Od(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Rd(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Tv(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[le],u=new np(c,c[qe],c[le]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return QD(s,o,i,r),n.attachToViewContainerRef(),af(ha(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Pd(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Va(this._lContainer,t);r&&(Qo(ha(this._lContainer),t),bh(r[N],r))}detach(n){let t=this._adjustIndex(n,-1),r=Va(this._lContainer,t);return r&&Qo(ha(this._lContainer),t)!=null?new nn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Pd(e){return e[ti]}function ha(e){return e[ti]||(e[ti]=[])}function rp(e,n){let t,r=n[e.index];return ht(r)?t=r:(t=zh(r,n,null,e),n[e.index]=t,Ui(n,t)),Mw(t,n,e,r),new np(t,e,n)}function Sw(e,n){let t=e[ue],r=t.createComment(""),o=ke(n,e),i=Mh(t,o);return di(t,i,r,Xy(t,o),!1),r}var Mw=Nw,Tw=()=>!1;function _w(e,n,t){return Tw(e,n,t)}function Nw(e,n,t,r){if(e[Jt])return;let o;t.type&8?o=Xe(r):o=Sw(n,t),e[Jt]=o}var Za=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ya=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=n[-c];for(let d=Te;dn.trim())}function jw(e,n,t){e.queries===null&&(e.queries=new Ka),e.queries.track(new Ja(n,t))}function Vw(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function Yc(e,n){return e.queries.getByIndex(n)}function Bw(e,n){let t=e[N],r=Yc(t,n);return r.crossesNgTemplate?Xa(t,e,n,[]):op(t,e,r,n)}function Uw(e){let n=[],t=new Map;function r(o){let i=t.get(o);if(!i){let s=e(o);t.set(o,i=s.then(qw))}return i}return gi.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(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(r(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(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Gw(i));n.push(c)}),Hw(),Promise.all(n).then(()=>{})}var gi=new Map,$w=new Set;function Hw(){let e=gi;return gi=new Map,e}function zw(){return gi.size===0}function qw(e){return typeof e=="string"?e:e.text()}function Gw(e){$w.delete(e)}var kt=class{},Cr=class{};var mi=class extends kt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new pi(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=lf(n);this._bootstrapComponents=wh(i.bootstrap),this._r3Injector=th(n,t,[{provide:kt,useValue:this},{provide:Ln,useValue:this.componentFactoryResolver},...r],ge(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},vi=class extends Cr{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new mi(this.moduleType,n,[])}};function Ww(e,n,t){return new mi(e,n,t,!1)}var ec=class extends kt{injector;componentFactoryResolver=new pi(this);instance=null;constructor(n){super();let t=new wr([...n.providers,{provide:kt,useValue:this},{provide:Ln,useValue:this.componentFactoryResolver}],n.parent||hc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function $i(e,n,t=null){return new ec({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var Zw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=pf(!1,t.type),o=r.length>0?$i([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(D(me))})}return e})();function be(e){return Sr(()=>{let n=sp(e),t=G(g({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===uh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(Zw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||et.Emulated,styles:e.styles||Be,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Fi("NgStandalone"),ap(t);let r=e.dependencies;return t.directiveDefs=Ld(r,!1),t.pipeDefs=Ld(r,!0),t.id=Kw(t),t})}function Yw(e){return Rt(e)||df(e)}function Qw(e){return e!==null}function fe(e){return Sr(()=>({type:e.type,bootstrap:e.bootstrap||Be,declarations:e.declarations||Be,imports:e.imports||Be,exports:e.exports||Be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fd(e,n){if(e==null)return Dr;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ot.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),n?(t[i]=a!==Ot.None?[r,a]:r,n[i]=s):t[i]=r}return t}function an(e){return Sr(()=>{let n=sp(e);return ap(n),n})}function ip(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function sp(e){let n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Dr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fd(e.inputs,n),outputs:Fd(e.outputs),debugInfo:null}}function ap(e){e.features?.forEach(n=>n(e))}function Ld(e,n){if(!e)return null;let t=n?ff:Yw;return()=>(typeof e=="function"?e():e).map(r=>t(r)).filter(Qw)}function Kw(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Qc(e){let n=e.inputConfig,t={};for(let r in n)if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)&&o[3]&&(t[r]=o[3])}e.inputTransforms=t}function cp(e){return Xw(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Jw(e,n){if(Array.isArray(e))for(let t=0;t{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Kc=new w(""),kr=new w(""),zi=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(t,r,o){this._ngZone=t,this.registry=r,Jc||(sE(o),o.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{$.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 t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!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(t,r,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static \u0275fac=function(r){return new(r||e)(D($),D(qi),D(kr))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),qi=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Jc?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sE(e){Jc=e}var Jc;function zn(e){return!!e&&typeof e.then=="function"}function Xc(e){return!!e&&typeof e.subscribe=="function"}var Gi=new w("");var up=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=p(Gi,{optional:!0})??[];injector=p(Oe);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Ie(this.injector,o);if(zn(i))t.push(i);else if(Xc(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aE=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new tc})}return e})(),tc=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,t]of this.queues)n===null?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(let t of n)n.delete(t),this.queuedEffectCount--,t.run()}},Wi=new w("");function cE(){_l(()=>{throw new E(600,!1)})}function uE(e){return e.isBoundToModule}var lE=10;function dE(e,n,t){try{let r=t();return zn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}function lp(e,n){return Array.isArray(n)?n.reduce(lp,e):g(g({},e),n)}var vt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Dy);afterRenderManager=p(mh);zonelessEnabled=p(Nc);rootEffectScheduler=p(aE);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new J;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=p(pt).hasPendingTasks.pipe(_(t=>!t));constructor(){p(Pi,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=p(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){let o=t instanceof hi;if(!this._injector.get(up).done){let h=!o&&hf(t),f=!1;throw new E(405,f)}let s;o?s=t:s=this._injector.get(Ln).resolveComponentFactory(t),this.componentTypes.push(s.componentType);let a=uE(s)?void 0:this._injector.get(kt),c=r||s.selector,u=s.create(Oe.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Kc,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Wo(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Pc.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new E(101,!1);let t=F(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,F(t),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(jn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;this.dirtyFlags!==0&&t++Ai(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Wo(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Wi,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Wo(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wo(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function fE(e,n,t,r){if(!t&&!Ai(e))return;Jh(e,n,t&&!r?0:1)}function eu(e,n,t,r){let o=H(),i=vc();if(Or(o,i,n)){let s=Pe(),a=Uf();UD(a,o,e,n,t,r)}return eu}function hE(e,n,t,r){return Or(e,vc(),t)?n+bi(t)+r:sn}function Bo(e,n){return e<<17|n<<2}function on(e){return e>>17&32767}function pE(e){return(e&2)==2}function gE(e,n){return e&131071|n<<17}function nc(e){return e|2}function Bn(e){return(e&131068)>>2}function pa(e,n){return e&-131069|n<<2}function mE(e){return(e&1)===1}function rc(e){return e|1}function vE(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=on(s),c=Bn(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||Mr(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let h=on(e[a+1]);e[r+1]=Bo(h,a),h!==0&&(e[h+1]=pa(e[h+1],r)),e[a+1]=gE(e[a+1],r)}else e[r+1]=Bo(a,0),a!==0&&(e[a+1]=pa(e[a+1],r)),a=r;else e[r+1]=Bo(c,0),a===0?a=r:e[c+1]=pa(e[c+1],r),c=r;u&&(e[r+1]=nc(e[r+1])),jd(e,l,r,!0),jd(e,l,r,!1),yE(n,l,e,r,i),s=Bo(a,c),i?n.classBindings=s:n.styleBindings=s}function yE(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Mr(i,n)>=0&&(t[r+1]=rc(t[r+1]))}function jd(e,n,t,r){let o=e[t+1],i=n===null,s=r?on(o):Bn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];DE(c,n)&&(a=!0,e[s+1]=r?rc(u):nc(u)),s=r?on(u):Bn(u)}a&&(e[t+1]=r?nc(o):rc(o))}function DE(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Mr(e,n)>=0:!1}function W(e,n,t){let r=H(),o=vc();if(Or(r,o,n)){let i=Pe(),s=Uf();ND(i,s,r,e,n,r[ue],t,!1)}return W}function Vd(e,n,t,r,o){let i=n.inputs,s=o?"class":"style";qc(e,t,i[s],s,r)}function tu(e,n){return wE(e,n,null,!0),tu}function wE(e,n,t,r){let o=H(),i=Pe(),s=Bv(2);if(i.firstUpdatePass&&IE(i,e,s,r),n!==sn&&Or(o,s,n)){let a=i.data[$n()];TE(i,a,o,o[ue],e,o[s+1]=_E(n,t),r,s)}}function EE(e,n){return n>=e.expandoStartIndex}function IE(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[$n()],s=EE(e,t);NE(i,r)&&n===null&&!s&&(n=!1),n=CE(o,i,n,r),vE(o,i,n,t,s,r)}}function CE(e,n,t,r){let o=zv(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=ga(null,e,n,t,r),t=br(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=ga(o,e,n,t,r),i===null){let c=bE(e,n,r);c!==void 0&&Array.isArray(c)&&(c=ga(null,e,n,c[1],r),c=br(c,n.attrs,r),SE(e,n,r,c))}else i=ME(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function bE(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Bn(r)!==0)return e[on(r)]}function SE(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[on(o)]=r}function ME(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=t[o+1];h===sn&&(h=d?Be:void 0);let f=d?sa(h,r):l===r?h:void 0;if(u&&!yi(f)&&(f=sa(c,r)),yi(f)&&(a=f,s))return a;let m=e[o+1];o=s?on(m):Bn(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=sa(c,r))}return a}function yi(e){return e!==void 0}function _E(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=ge(xr(e)))),e}function NE(e,n){return(e.flags&(n?8:16))!==0}function xE(e,n,t,r,o,i){let s=n.consts,a=ri(s,o),c=Bi(n,e,2,r,a);return Bh(n,t,c,ri(s,i)),c.attrs!==null&&Ga(c,c.attrs,!1),c.mergedAttrs!==null&&Ga(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function x(e,n,t,r){let o=H(),i=Pe(),s=ze+e,a=o[ue],c=i.firstCreatePass?xE(s,i,o,n,t,r):i.data[s],u=AE(i,o,c,a,n,e);o[s]=u;let l=pc(c);return Nr(c,!0),Nh(a,u,c),!tE(c)&&Ec()&&Uc(i,o,u,c),xv()===0&&tn(u,o),Av(),l&&(Lh(i,o,c),Fh(i,c,o)),r!==null&&jh(o,c),x}function M(){let e=Ce();Rf()?Lv():(e=e.parent,Nr(e,!1));let n=e;kv(n)&&Pv(),Rv();let t=Pe();return t.firstCreatePass&&(Cc(t,e),wf(e)&&t.queries.elementEnd(e)),n.classesWithoutHost!=null&&Kv(n)&&Vd(t,n,H(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Jv(n)&&Vd(t,n,H(),n.stylesWithoutHost,!1),M}function _e(e,n,t,r){return x(e,n,t,r),M(),_e}var AE=(e,n,t,r,o,i)=>(Ic(!0),Eh(r,o,Wv()));function Zi(){return H()}var Di="en-US";var RE=Di;function OE(e){typeof e=="string"&&(RE=e.toLowerCase().replace(/_/g,"-"))}var kE=(e,n,t)=>{};function cn(e,n,t,r){let o=H(),i=Pe(),s=Ce();return FE(i,o,o[ue],s,e,n,r),cn}function PE(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function FE(e,n,t,r,o,i,s){let a=pc(r),u=e.firstCreatePass&&Wh(e),l=n[He],d=Gh(n),h=!0;if(r.type&3||s){let v=ke(r,n),C=s?s(v):v,P=d.length,K=s?ie=>s(Xe(ie[r.index])):r.index,L=null;if(!s&&a&&(L=PE(e,n,o,r.index)),L!==null){let ie=L.__ngLastListenerFn__||L;ie.__ngNextListenerFn__=i,L.__ngLastListenerFn__=i,h=!1}else{i=$d(r,n,l,i),kE(v,o,i);let ie=t.listen(C,o,i);d.push(i,ie),u&&u.push(o,K,P,P+1)}}else i=$d(r,n,l,i);let f=r.outputs,m;if(h&&f!==null&&(m=f[o])){let v=m.length;if(v)for(let C=0;C-1?Pt(e.index,n):n;Wc(s,5);let a=Ud(n,t,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Ud(n,t,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function yt(e=1){return Gv(e)}function dp(e,n,t,r){Fw(e,n,t,r)}function fp(e){let n=H(),t=Pe(),r=Pf();yc(r+1);let o=Yc(t,r);if(e.dirty&&Mv(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Bw(n,r);e.reset(i,Iy),e.notifyOnChanges()}return!0}return!1}function hp(){return kw(H(),Pf())}function LE(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function pp(e){let n=jv();return Tf(n,ze+e)}function V(e,n=""){let t=H(),r=Pe(),o=e+ze,i=r.firstCreatePass?Bi(r,o,1,n,null):r.data[o],s=jE(r,t,i,n,e);t[o]=s,Ec()&&Uc(r,t,s,i),Nr(i,!1)}var jE=(e,n,t,r,o)=>(Ic(!0),Hy(n[ue],r));function tt(e){return Ge("",e,""),tt}function Ge(e,n,t){let r=H(),o=hE(r,e,n,t);return o!==sn&&qD(r,$n(),o),Ge}function gp(e,n,t,r){return mp(H(),kf(),e,n,t,r)}function VE(e,n){let t=e[n];return t===sn?void 0:t}function mp(e,n,t,r,o,i){let s=n+t;return Or(e,s,o)?eE(e,s+1,i?r.call(i,o):r(o)):VE(e,s+1)}function qn(e,n){let t=Pe(),r,o=e+ze;t.firstCreatePass?(r=BE(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Qt(r.type,!0)),s,a=we(z);try{let c=si(!1),u=i();return si(c),LE(t,H(),o,u),u}finally{we(a)}}function BE(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function Gn(e,n,t){let r=e+ze,o=H(),i=Tf(o,r);return UE(o,r)?mp(o,kf(),n,i.transform,t,i):i.transform(t)}function UE(e,n){return e[N].data[n].pure}var Uo=null;function $E(e){Uo!==null&&(e.defaultEncapsulation!==Uo.defaultEncapsulation||e.preserveWhitespaces!==Uo.preserveWhitespaces)||(Uo=e)}var oc=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Yi=(()=>{class e{compileModuleSync(t){return new vi(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=lf(t),i=wh(o.declarations).reduce((s,a)=>{let c=Rt(a);return c&&s.push(new Vn(c)),s},[]);return new oc(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),HE=new w("");function zE(e,n,t){let r=new vi(t);return Promise.resolve(r)}function Hd(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var qE=(()=>{class e{zone=p($);changeDetectionScheduler=p(Fn);applicationRef=p(vt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GE({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new $(G(g({},vp()),{scheduleInRootZone:t})),[{provide:$,useFactory:e},{provide:Rn,multi:!0,useFactory:()=>{let r=p(qE,{optional:!0});return()=>r.initialize()}},{provide:Rn,multi:!0,useFactory:()=>{let r=p(WE);return()=>{r.initialize()}}},n===!0?{provide:rh,useValue:!0}:[],{provide:oh,useValue:t??nh}]}function vp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var WE=(()=>{class e{subscription=new Y;initialized=!1;zone=p($);pendingTasks=p(pt);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ZE=(()=>{class e{appRef=p(vt);taskService=p(pt);ngZone=p($);zonelessEnabled=p(Nc);tracing=p(Pi,{optional:!0});disableScheduling=p(rh,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Y;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ci):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(oh,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 ui||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?wd:ih;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ci+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,wd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YE(){return typeof $localize<"u"&&$localize.locale||Di}var nu=new w("",{providedIn:"root",factory:()=>p(nu,A.Optional|A.SkipSelf)||YE()});var wi=new w("");function $o(e){return!e.moduleRef}function QE(e){let n=$o(e)?e.r3Injector:e.moduleRef.injector,t=n.get($);return t.run(()=>{$o(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(lt,null),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:i=>{r.handleError(i)}})}),$o(e)){let i=()=>n.destroy(),s=e.platformInjector.get(wi);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(wi);s.add(i),e.moduleRef.onDestroy(()=>{Wo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dE(r,t,()=>{let i=n.get(up);return i.runInitializers(),i.donePromise.then(()=>{let s=n.get(nu,Di);if(OE(s||Di),$o(e)){let a=n.get(vt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return KE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function KE(e,n){let t=e.injector.get(vt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new E(-403,!1);n.push(e)}var yp=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){let o=r?.scheduleInRootZone,i=()=>yy(r?.ngZone,G(g({},vp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[GE({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Fn,useExisting:ZE}],c=Ww(t.moduleType,this.injector,a);return QE({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){let o=lp({},r);return zE(this.injector,o,t).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let t=this._injector.get(wi,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(D(Oe))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),vr=null,Dp=new w("");function JE(e){if(vr&&!vr.get(Dp,!1))throw new E(400,!1);cE(),vr=e;let n=e.get(yp);return tI(e),n}function ru(e,n,t=[]){let r=`Platform: ${n}`,o=new w(r);return(i=[])=>{let s=wp();if(!s||s.injector.get(Dp,!1)){let a=[...t,...i,{provide:o,useValue:!0}];e?e(a):JE(XE(a,r))}return eI(o)}}function XE(e=[],n){return Oe.create({name:n,providers:[{provide:_i,useValue:"platform"},{provide:wi,useValue:new Set([()=>vr=null])},...e]})}function eI(e){let n=wp();if(!n)throw new E(401,!1);return n}function wp(){return vr?.get(yp)??null}function tI(e){let n=e.get(Oc,null);Ie(e,()=>{n?.forEach(t=>t())})}var un=(()=>{class e{static __NG_ELEMENT_ID__=nI}return e})();function nI(e){return rI(Ce(),H(),(e&16)===16)}function rI(e,n,t){if(xi(e)&&!t){let r=Pt(e.index,n);return new nn(r,r)}else if(e.type&175){let r=n[Je];return new nn(r,n)}return null}var ic=class{constructor(){}supports(n){return cp(n)}create(n){return new sc(n)}},oI=(e,n)=>n,sc=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||oI}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new ac(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new Ei),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ei),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},ac=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},cc=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Ei=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new cc,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function zd(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:qd});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||qd()),deps:[[e,new lc,new Mi]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new E(901,!1)}}return e})();var Ep=ru(null,"core",[]),Ip=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(D(vt))};static \u0275mod=fe({type:e});static \u0275inj=de({})}return e})();function Pr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function iu(e){let n=F(null);try{return e()}finally{F(n)}}var Gd=class{[pn];constructor(n){this[pn]=n}destroy(){this[pn].destroy()}};function Cp(e){let n=Rt(e);if(!n)return null;let t=new Vn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var Np=null;function ln(){return Np}function xp(e){Np??=e}var Qi=class{};var he=new w(""),fu=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(iI),providedIn:"platform"})}return e})(),Ap=new w(""),iI=(()=>{class e extends fu{_location;_history;_doc=p(he);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ln().getBaseHref(this._doc)}onPopState(t){let r=ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function hu(e,n){if(e.length==0)return n;if(n.length==0)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,t==2?e+n.substring(1):t==1?e+n:e+"/"+n}function bp(e){let n=e.match(/#|\?|$/),t=n&&n.index||e.length,r=t-(e[t-1]==="/"?1:0);return e.slice(0,r)+e.slice(t)}function Dt(e){return e&&e[0]!=="?"?"?"+e:e}var wt=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(pu),providedIn:"root"})}return e})(),Rp=new w(""),pu=(()=>{class e extends wt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(he).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return hu(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(D(fu),D(Rp,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Op=(()=>{class e extends wt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=hu(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(D(fu),D(Rp,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Zn=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=cI(bp(Sp(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Dt(r))}normalize(t){return e.stripTrailingSlash(aI(this._basePath,Sp(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Dt;static joinWithSlash=hu;static stripTrailingSlash=bp;static \u0275fac=function(r){return new(r||e)(D(wt))};static \u0275prov=y({token:e,factory:()=>sI(),providedIn:"root"})}return e})();function sI(){return new Zn(D(wt))}function aI(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Sp(e){return e.replace(/\/index.html$/,"")}function cI(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}function Ki(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var su=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Lt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch{}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new su(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Mp(a,o)}});for(let o=0,i=r.length;o{let i=r.get(o.currentIndex);Mp(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(z(Ft),z(rn),z(ou))};static \u0275dir=an({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Mp(e,n){e.context.$implicit=n.item}var jt=(()=>{class e{_viewContainer;_context=new au;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Tp("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Tp("ngIfElse",t),this._elseTemplateRef=t,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(z(Ft),z(rn))};static \u0275dir=an({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),au=class{$implicit=null;ngIf=null};function Tp(e,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${ge(n)}'.`)}function uI(e,n){return new E(2100,!1)}var cu=class{createSubscription(n,t){return iu(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){iu(()=>n.unsubscribe())}},uu=class{createSubscription(n,t){return n.then(t,r=>{throw r})}dispose(n){}},lI=new uu,dI=new cu,Yn=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(zn(t))return lI;if(Xc(t))return dI;throw uI(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(z(un,16))};static \u0275pipe=ip({name:"async",type:e,pure:!1})}return e})();var Ji=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=de({})}return e})(),gu="browser",fI="server";function hI(e){return e===gu}function Xi(e){return e===fI}var kp=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>hI(p(mt))?new lu(p(he),window):new du})}return e})(),lu=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let t=pI(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function pI(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var du=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Wn=class{};var Lr=class{},ts=class{},Et=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var vu=class{encodeKey(n){return Pp(n)}encodeValue(n){return Pp(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function gI(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var mI=/%(\d[a-f0-9])/gi,vI={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pp(e){return encodeURIComponent(e).replace(mI,(n,t)=>vI[t]??n)}function es(e){return`${e}`}var Bt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new vu,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=gI(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(es):[es(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(es(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(es(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var yu=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function yI(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Fp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Lp(e){return typeof Blob<"u"&&e instanceof Blob}function jp(e){return typeof FormData<"u"&&e instanceof FormData}function DI(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Fr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(yI(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Et,this.context??=new yu,!this.params)this.params=new Bt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":ah.set(f,n.setHeaders[f]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((h,f)=>h.set(f,n.setParams[f]),l)),new e(t,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Ut=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ut||{}),jr=class{headers;status;statusText;url;ok;type;constructor(n,t=200,r="OK"){this.headers=n.headers||new Et,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},ns=class e extends jr{constructor(n={}){super(n)}type=Ut.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Vr=class e extends jr{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Ut.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Vt=class extends jr{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Hp=200,wI=204;function mu(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Eu=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Fr)i=t;else{let c;o.headers instanceof Et?c=o.headers:c=new Et(o.headers);let u;o.params&&(o.params instanceof Bt?u=o.params:u=new Bt({fromObject:o.params})),i=new Fr(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=I(i).pipe(it(c=>this.handler.handle(c)));if(t instanceof Fr||o.observe==="events")return s;let a=s.pipe(ae(c=>c instanceof Vr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(_(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(_(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(_(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(_(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Bt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,mu(o,r))}post(t,r,o={}){return this.request("POST",t,mu(o,r))}put(t,r,o={}){return this.request("PUT",t,mu(o,r))}static \u0275fac=function(r){return new(r||e)(D(Lr))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),EI=/^\)\]\}',?\n/,II="X-Request-URL";function Vp(e){if(e.url)return e.url;let n=II.toLocaleLowerCase();return e.headers.get(n)}var CI=(()=>{class e{fetchImpl=p(Du,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=p($);handle(t){return new j(r=>{let o=new AbortController;return this.doRequest(t,o.signal,r).then(wu,i=>r.error(new Vt({error:i}))),()=>o.abort()})}doRequest(t,r,o){return ur(this,null,function*(){let i=this.createRequestInit(t),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,g({signal:r},i)));bI(f),o.next({type:Ut.Sent}),s=yield f}catch(f){o.error(new Vt({error:f,status:f.status??0,statusText:f.statusText,url:t.urlWithParams,headers:f.headers}));return}let a=new Et(s.headers),c=s.statusText,u=Vp(s)??t.urlWithParams,l=s.status,d=null;if(t.reportProgress&&o.next(new ns({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),m=[],v=s.body.getReader(),C=0,P,K,L=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>ur(this,null,function*(){for(;;){let{done:ye,value:ee}=yield v.read();if(ye)break;if(m.push(ee),C+=ee.length,t.reportProgress){K=t.responseType==="text"?(K??"")+(P??=new TextDecoder).decode(ee,{stream:!0}):void 0;let rt=()=>o.next({type:Ut.DownloadProgress,total:f?+f:void 0,loaded:C,partialText:K});L?L.run(rt):rt()}}}));let ie=this.concatChunks(m,C);try{let ye=s.headers.get("Content-Type")??"";d=this.parseBody(t,ie,ye)}catch(ye){o.error(new Vt({error:ye,headers:new Et(s.headers),status:s.status,statusText:s.statusText,url:Vp(s)??t.urlWithParams}));return}}l===0&&(l=d?Hp:0),l>=200&&l<300?(o.next(new Vr({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new Vt({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(t,r,o){switch(t.responseType){case"json":let i=new TextDecoder().decode(r).replace(EI,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){let i=t.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Du=class{};function wu(){}function bI(e){e.then(wu,wu)}function zp(e,n){return n(e)}function SI(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function MI(e,n,t){return(r,o)=>Ie(t,()=>n(r,i=>e(i,o)))}var TI=new w(""),Iu=new w(""),_I=new w(""),qp=new w("",{providedIn:"root",factory:()=>!0});function NI(){let e=null;return(n,t)=>{e===null&&(e=(p(TI,{optional:!0})??[]).reduceRight(SI,zp));let r=p(pt);if(p(qp)){let i=r.add();return e(n,t).pipe(_t(()=>r.remove(i)))}else return e(n,t)}}var Bp=(()=>{class e extends Lr{backend;injector;chain=null;pendingTasks=p(pt);contributeToStability=p(qp);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Iu),...this.injector.get(_I,[])]));this.chain=r.reduceRight((o,i)=>MI(o,i,this.injector),zp)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(_t(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(D(ts),D(me))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();var xI=/^\)\]\}',?\n/;function AI(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Up=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Z(r.\u0275loadImpl()):I(null)).pipe(ce(()=>new j(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,C)=>s.setRequestHeader(v,C.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let v=t.detectContentTypeHeader();v!==null&&s.setRequestHeader("Content-Type",v)}if(t.responseType){let v=t.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",C=new Et(s.getAllResponseHeaders()),P=AI(s)||t.url;return c=new ns({headers:C,status:s.status,statusText:v,url:P}),c},l=()=>{let{headers:v,status:C,statusText:P,url:K}=u(),L=null;C!==wI&&(L=typeof s.response>"u"?s.responseText:s.response),C===0&&(C=L?Hp:0);let ie=C>=200&&C<300;if(t.responseType==="json"&&typeof L=="string"){let ye=L;L=L.replace(xI,"");try{L=L!==""?JSON.parse(L):null}catch(ee){L=ye,ie&&(ie=!1,L={error:ee,text:L})}}ie?(i.next(new Vr({body:L,headers:v,status:C,statusText:P,url:K||void 0})),i.complete()):i.error(new Vt({error:L,headers:v,status:C,statusText:P,url:K||void 0}))},d=v=>{let{url:C}=u(),P=new Vt({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(P)},h=!1,f=v=>{h||(i.next(u()),h=!0);let C={type:Ut.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),t.responseType==="text"&&s.responseText&&(C.partialText=s.responseText),i.next(C)},m=v=>{let C={type:Ut.UploadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),i.next(C)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),i.next({type:Ut.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(D(Wn))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Gp=new w(""),RI="XSRF-TOKEN",OI=new w("",{providedIn:"root",factory:()=>RI}),kI="X-XSRF-TOKEN",PI=new w("",{providedIn:"root",factory:()=>kI}),rs=class{},FI=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ki(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(D(he),D(mt),D(OI))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function LI(e,n){let t=e.url.toLowerCase();if(!p(Gp)||e.method==="GET"||e.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return n(e);let r=p(rs).getToken(),o=p(PI);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var Wp=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Wp||{});function jI(e,n){return{\u0275kind:e,\u0275providers:n}}function Zp(...e){let n=[Eu,Up,Bp,{provide:Lr,useExisting:Bp},{provide:ts,useFactory:()=>p(CI,{optional:!0})??p(Up)},{provide:Iu,useValue:LI,multi:!0},{provide:Gp,useValue:!0},{provide:rs,useClass:FI}];for(let t of e)n.push(...t.\u0275providers);return Ti(n)}var $p=new w("");function Yp(){return jI(Wp.LegacyInterceptors,[{provide:$p,useFactory:NI},{provide:Iu,useExisting:$p,multi:!0}])}var bu=class extends Qi{supportsDOMEvents=!0},Su=class e extends bu{static makeCurrent(){xp(new e)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=BI();return t==null?null:UI(t)}resetBaseElement(){Br=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ki(document.cookie,n)}},Br=null;function BI(){return Br=Br||document.querySelector("base"),Br?Br.getAttribute("href"):null}function UI(e){return new URL(e,document.baseURI).pathname}var Mu=class{addToWindow(n){$e.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new E(5103,!1);return i},$e.getAllAngularTestabilities=()=>n.getAllTestabilities(),$e.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let o=$e.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};$e.frameworkStabilizers||($e.frameworkStabilizers=[]),$e.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let o=n.getTestability(t);return o??(r?ln().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},$I=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Tu=new w(""),tg=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(D(Tu),D($))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),os=class{_doc;constructor(n){this._doc=n}manager},_u="ng-app-id";function Qp(e){for(let n of e)n.remove()}function Kp(e,n){let t=n.createElement("style");return t.textContent=e,t}function HI(e,n,t){let r=e.head?.querySelectorAll(`style[${_u}="${n}"]`);if(r)for(let o of r)o.textContent&&(o.removeAttribute(_u),t.set(o.textContent,{usage:0,elements:[o]}))}function Nu(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var ng=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.isServer=Xi(i),HI(t,r,this.inline),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,Kp);r?.forEach(o=>this.addUsage(o,this.external,Nu))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(Qp(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Qp(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,Kp(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Nu(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(_u,this.appId),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(D(he),D(Rc),D(kc,8),D(mt))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Cu={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"},Au=/%COMP%/g,rg="%COMP%",zI=`_nghost-${rg}`,qI=`_ngcontent-${rg}`,GI=!0,WI=new w("",{providedIn:"root",factory:()=>GI});function ZI(e){return qI.replace(Au,e)}function YI(e){return zI.replace(Au,e)}function og(e,n){return n.map(t=>t.replace(Au,e))}var Jp=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,o,i,s,a,c,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.platformIsServer=Xi(a),this.defaultRenderer=new Ur(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===et.ShadowDom&&(r=G(g({},r),{encapsulation:et.Emulated}));let o=this.getOrCreateRenderer(t,r);return o instanceof is?o.applyToHost(t):o instanceof $r&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case et.Emulated:i=new is(c,u,r,this.appId,l,s,a,d);break;case et.ShadowDom:return new xu(c,u,t,r,s,a,this.nonce,d);default:i=new $r(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||e)(D(tg),D(ng),D(Rc),D(WI),D(he),D(mt),D($),D(kc))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Ur=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Cu[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Xp(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Xp(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Cu[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Cu[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(dt.DashCase|dt.Important)?n.style.setProperty(t,r,o&dt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&dt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if(typeof n=="string"&&(n=ln().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))===!1&&t.preventDefault()}}};function Xp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var xu=class extends Ur{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,i,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=og(o.id,o.styles);for(let d of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let l=o.getExternalStyles?.();if(l)for(let d of l){let h=Nu(d,i);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$r=class extends Ur{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=c?og(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},is=class extends $r{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,u),this.contentAttr=ZI(u),this.hostAttr=YI(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}},QI=(()=>{class e extends os{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static \u0275fac=function(r){return new(r||e)(D(he))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),eg=["alt","control","meta","shift"],KI={"\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"},JI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},XI=(()=>{class e extends os{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ln().onAndCancel(t,i.domEventName,s))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),eg.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=KI[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),eg.forEach(s=>{if(s!==o){let a=JI[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(D(he))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function eC(){Su.makeCurrent()}function tC(){return new lt}function nC(){return ph(document),document}var rC=[{provide:mt,useValue:gu},{provide:Oc,useValue:eC,multi:!0},{provide:he,useFactory:nC,deps:[]}],ig=ru(Ep,"browser",rC),oC=new w(""),iC=[{provide:kr,useClass:Mu,deps:[]},{provide:Kc,useClass:zi,deps:[$,qi,kr]},{provide:zi,useClass:zi,deps:[$,qi,kr]}],sC=[{provide:_i,useValue:"root"},{provide:lt,useFactory:tC,deps:[]},{provide:Tu,useClass:QI,multi:!0,deps:[he,$,mt]},{provide:Tu,useClass:XI,multi:!0,deps:[he]},Jp,ng,tg,{provide:jn,useExisting:Jp},{provide:Wn,useClass:$I,deps:[]},[]],sg=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(D(oC,12))};static \u0275mod=fe({type:e});static \u0275inj=de({providers:[...sC,...iC],imports:[Ji,Ip]})}return e})();var ag=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(D(he))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var T="primary",no=Symbol("RouteTitle"),Fu=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function nr(e){return new Fu(e)}function aC(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.lengthr[i]===o)}else return e===n}function wg(e){return e.length>0?e[e.length-1]:null}function Ht(e){return Js(e)?e:zn(e)?Z(Promise.resolve(e)):I(e)}var uC={exact:Ig,subset:Cg},Eg={exact:lC,subset:dC,ignored:()=>!0};function ug(e,n,t){return uC[t.paths](e.root,n.root,t.matrixParams)&&Eg[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function lC(e,n){return nt(e,n)}function Ig(e,n,t){if(!fn(e.segments,n.segments)||!cs(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!Ig(e.children[r],n.children[r],t))return!1;return!0}function dC(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>Dg(e[t],n[t]))}function Cg(e,n,t){return bg(e,n,n.segments,t)}function bg(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!fn(o,t)||n.hasChildren()||!cs(o,t,r))}else if(e.segments.length===t.length){if(!fn(e.segments,t)||!cs(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!Cg(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!fn(e.segments,o)||!cs(e.segments,o,r)||!e.children[T]?!1:bg(e.children[T],n,i,r)}}function cs(e,n,t){return n.every((r,o)=>Eg[t](e[o].parameters,r.parameters))}var Ct=class{root;queryParams;fragment;_queryParamMap;constructor(n=new U([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=nr(this.queryParams),this._queryParamMap}toString(){return pC.serialize(this)}},U=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return us(this)}},dn=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=nr(this.parameters),this._parameterMap}toString(){return Mg(this)}};function fC(e,n){return fn(e,n)&&e.every((t,r)=>nt(t.parameters,n[r].parameters))}function fn(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function hC(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===T&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==T&&(t=t.concat(n(o,r)))}),t}var ro=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>new rr,providedIn:"root"})}return e})(),rr=class{parse(n){let t=new Vu(n);return new Ct(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Hr(n.root,!0)}`,r=vC(n.queryParams),o=typeof n.fragment=="string"?`#${gC(n.fragment)}`:"";return`${t}${r}${o}`}},pC=new rr;function us(e){return e.segments.map(n=>Mg(n)).join("/")}function Hr(e,n){if(!e.hasChildren())return us(e);if(n){let t=e.children[T]?Hr(e.children[T],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==T&&r.push(`${o}:${Hr(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=hC(e,(r,o)=>o===T?[Hr(e.children[T],!1)]:[`${o}:${Hr(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[T]!=null?`${us(e)}/${t[0]}`:`${us(e)}/(${t.join("//")})`}}function Sg(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ss(e){return Sg(e).replace(/%3B/gi,";")}function gC(e){return encodeURI(e)}function ju(e){return Sg(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ls(e){return decodeURIComponent(e)}function lg(e){return ls(e.replace(/\+/g,"%20"))}function Mg(e){return`${ju(e.path)}${mC(e.parameters)}`}function mC(e){return Object.entries(e).map(([n,t])=>`;${ju(n)}=${ju(t)}`).join("")}function vC(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${ss(t)}=${ss(o)}`).join("&"):`${ss(t)}=${ss(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var yC=/^[^\/()?;#]+/;function Ru(e){let n=e.match(yC);return n?n[0]:""}var DC=/^[^\/()?;=#]+/;function wC(e){let n=e.match(DC);return n?n[0]:""}var EC=/^[^=?&#]+/;function IC(e){let n=e.match(EC);return n?n[0]:""}var CC=/^[^&#]+/;function bC(e){let n=e.match(CC);return n?n[0]:""}var Vu=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[T]=new U(n,t)),r}parseSegment(){let n=Ru(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new dn(ls(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=wC(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=Ru(this.remaining);o&&(r=o,this.capture(r))}n[ls(t)]=ls(r)}parseQueryParam(n){let t=IC(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=bC(this.remaining);s&&(r=s,this.capture(r))}let o=lg(t),i=lg(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ru(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new E(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=T);let s=this.parseChildren();t[i]=Object.keys(s).length===1?s[T]:new U([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function Tg(e){return e.segments.length>0?new U([],{[T]:e}):e}function _g(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=_g(o);if(r===T&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new U(e.segments,n);return SC(t)}function SC(e){if(e.numberOfChildren===1&&e.children[T]){let n=e.children[T];return new U(e.segments.concat(n.segments),n.children)}return e}function hn(e){return e instanceof Ct}function MC(e,n,t=null,r=null){let o=Ng(e);return xg(o,n,t,r)}function Ng(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new U(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=Tg(r);return n??o}function xg(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return Ou(o,o,o,t,r);let i=TC(n);if(i.toRoot())return Ou(o,o,new U([],{}),t,r);let s=_C(i,o,e),a=s.processChildren?Gr(s.segmentGroup,s.index,i.commands):Rg(s.segmentGroup,s.index,i.commands);return Ou(o,s.segmentGroup,a,t,r)}function ds(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Yr(e){return typeof e=="object"&&e!=null&&e.outlets}function Ou(e,n,t,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===n?s=t:s=Ag(e,n,t);let a=Tg(_g(s));return new Ct(a,i,o)}function Ag(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=Ag(i,n,t)}),new U(e.segments,r)}var fs=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&ds(r[0]))throw new E(4003,!1);let o=r.find(Yr);if(o&&o!==wg(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function TC(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new fs(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new fs(t,n,r)}var Xn=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function _C(e,n,t){if(e.isAbsolute)return new Xn(n,!0,0);if(!t)return new Xn(n,!1,NaN);if(t.parent===null)return new Xn(t,!0,0);let r=ds(e.commands[0])?0:1,o=t.segments.length-1+r;return NC(t,o,e.numberOfDoubleDots)}function NC(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new E(4005,!1);o=r.segments.length}return new Xn(r,!1,o-i)}function xC(e){return Yr(e[0])?e[0].outlets:{[T]:e}}function Rg(e,n,t){if(e??=new U([],{}),e.segments.length===0&&e.hasChildren())return Gr(e,n,t);let r=AC(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndexi!==T)&&e.children[T]&&e.numberOfChildren===1&&e.children[T].segments.length===0){let i=Gr(e.children[T],n,t);return new U(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Rg(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new U(e.segments,o)}}function AC(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;let s=e.segments[o],a=t[r];if(Yr(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!fg(c,u,s))return i;r+=2}else{if(!fg(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Bu(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=Bu(new U([],{}),0,r))}),n}function dg(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function fg(e,n,t){return e==t.path&&nt(n,t.parameters)}var Wr="imperative",oe=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(oe||{}),Fe=class{id;url;constructor(n,t){this.id=n,this.url=t}},or=class extends Fe{type=oe.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ze=class extends Fe{urlAfterRedirects;type=oe.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},xe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(xe||{}),hs=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(hs||{}),It=class extends Fe{reason;code;type=oe.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},$t=class extends Fe{reason;code;type=oe.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},Qr=class extends Fe{error;target;type=oe.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ps=class extends Fe{urlAfterRedirects;state;type=oe.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Uu=class extends Fe{urlAfterRedirects;state;type=oe.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$u=class extends Fe{urlAfterRedirects;state;shouldActivate;type=oe.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Hu=class extends Fe{urlAfterRedirects;state;type=oe.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zu=class extends Fe{urlAfterRedirects;state;type=oe.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qu=class{route;type=oe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Gu=class{route;type=oe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wu=class{snapshot;type=oe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zu=class{snapshot;type=oe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yu=class{snapshot;type=oe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qu=class{snapshot;type=oe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gs=class{routerEvent;position;anchor;type=oe.Scroll;constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Kr=class{},ir=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function OC(e,n){return e.providers&&!e._injector&&(e._injector=$i(e.providers,n,`Route: ${e.path}`)),e._injector??n}function We(e){return e.outlet||T}function kC(e,n){let t=e.filter(r=>We(r)===n);return t.push(...e.filter(r=>We(r)!==n)),t}function oo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var Ku=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return oo(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new io(this.rootInjector)}},io=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Ku(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(D(me))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ms=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Ju(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Ju(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Xu(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Xu(n,this._root).map(t=>t.value)}};function Ju(e,n){if(e===n.value)return n;for(let t of n.children){let r=Ju(e,t);if(r)return r}return null}function Xu(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Xu(e,t);if(r.length)return r.unshift(n),r}return[]}var Ne=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Jn(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var vs=class extends ms{snapshot;constructor(n,t){super(n),this.snapshot=t,cl(this,n)}toString(){return this.snapshot.toString()}};function Og(e){let n=PC(e),t=new se([new dn("",{})]),r=new se({}),o=new se({}),i=new se({}),s=new se(""),a=new bt(t,r,i,s,o,T,e,n.root);return a.snapshot=n.root,new vs(new Ne(a,[]),n)}function PC(e){let n={},t={},r={},o="",i=new er([],n,r,o,t,T,e,null,{});return new Ds("",new Ne(i,[]))}var bt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(_(u=>u[no]))??I(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(_(n=>nr(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(n=>nr(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ys(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),e.params),data:g(g({},n.data),e.data),resolve:g(g(g(g({},e.data),n.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&Pg(o)&&(r.resolve[no]=o.title),r}var er=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[no]}constructor(n,t,r,o,i,s,a,c,u){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=nr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=nr(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},Ds=class extends ms{url;constructor(n,t){super(t),this.url=n,cl(this,t)}toString(){return kg(this._root)}};function cl(e,n){n.value._routerState=e,n.children.forEach(t=>cl(e,t))}function kg(e){let n=e.children.length>0?` { ${e.children.map(kg).join(", ")} } `:"";return`${e.value}${n}`}function ku(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,nt(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),nt(n.params,t.params)||e.paramsSubject.next(t.params),cC(n.url,t.url)||e.urlSubject.next(t.url),nt(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function el(e,n){let t=nt(e.params,n.params)&&fC(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||el(e.parent,n.parent))}function Pg(e){return typeof e.title=="string"||e.title===null}var FC=new w(""),ul=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=T;activateEvents=new Ee;deactivateEvents=new Ee;attachEvents=new Ee;detachEvents=new Ee;routerOutletData=ah(void 0);parentContexts=p(io);location=p(Ft);changeDetector=p(un);inputBinder=p(bs,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new tl(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=an({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[_r]})}return e})(),tl=class e{route;childContexts;parent;outletData;__ngOutletInjector(n){return new e(this.route,this.childContexts,n,this.outletData)}constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===bt?this.route:n===io?this.childContexts:n===FC?this.outletData:this.parent.get(n,t)}},bs=new w(""),hg=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=hr([r.queryParams,r.params,r.data]).pipe(ce(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?I(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=Cp(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function LC(e,n,t){let r=Jr(e,n._root,t?t._root:void 0);return new vs(r,n)}function Jr(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=jC(e,n,t);return new Ne(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Jr(e,a)),s}}let r=VC(n.value),o=n.children.map(i=>Jr(e,i));return new Ne(r,o)}}function jC(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Jr(e,r,o);return Jr(e,r)})}function VC(e){return new bt(new se(e.url),new se(e.params),new se(e.queryParams),new se(e.fragment),new se(e.data),e.outlet,e.component,e)}var Xr=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},Fg="ngNavigationCancelingError";function ws(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=hn(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=Lg(!1,xe.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function Lg(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[Fg]=!0,t.cancellationCode=n,t}function BC(e){return jg(e)&&hn(e.url)}function jg(e){return!!e&&e[Fg]}var UC=(e,n,t,r)=>_(o=>(new nl(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)),nl=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),ku(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Jn(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Jn(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Jn(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=Jn(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Qu(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Zu(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(ku(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ku(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Es=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},tr=class{component;route;constructor(n,t){this.component=n,this.route=t}};function $C(e,n,t){let r=e._root,o=n?n._root:null;return zr(r,o,t,[r.value])}function HC(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function ar(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Xd(e)?e:n.get(e):r}function zr(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Jn(n);return e.children.forEach(s=>{zC(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Zr(a,t.getContext(s),o)),o}function zC(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=qC(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Es(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?zr(e,n,a?a.children:null,r,o):zr(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new tr(a.outlet.component,s))}else s&&Zr(n,a,o),o.canActivateChecks.push(new Es(r)),i.component?zr(e,null,a?a.children:null,r,o):zr(e,null,t,r,o);return o}function qC(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!fn(e.url,n.url);case"pathParamsOrQueryParamsChange":return!fn(e.url,n.url)||!nt(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!el(e,n)||!nt(e.queryParams,n.queryParams);case"paramsChange":default:return!el(e,n)}}function Zr(e,n,t){let r=Jn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Zr(s,n.children.getContext(i),t):Zr(s,null,t):Zr(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new tr(n.outlet.component,o)):t.canDeactivateChecks.push(new tr(null,o)):t.canDeactivateChecks.push(new tr(null,o))}function so(e){return typeof e=="function"}function GC(e){return typeof e=="boolean"}function WC(e){return e&&so(e.canLoad)}function ZC(e){return e&&so(e.canActivate)}function YC(e){return e&&so(e.canActivateChild)}function QC(e){return e&&so(e.canDeactivate)}function KC(e){return e&&so(e.canMatch)}function Vg(e){return e instanceof ot||e?.name==="EmptyError"}var as=Symbol("INITIAL_VALUE");function sr(){return ce(e=>hr(e.map(n=>n.pipe(st(1),oa(as)))).pipe(_(n=>{for(let t of n)if(t!==!0){if(t===as)return as;if(t===!1||JC(t))return t}return!0}),ae(n=>n!==as),st(1)))}function JC(e){return hn(e)||e instanceof Xr}function XC(e,n){return X(t=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return s.length===0&&i.length===0?I(G(g({},t),{guardsResult:!0})):eb(s,r,o,e).pipe(X(a=>a&&GC(a)?tb(r,i,e,n):I(a)),_(a=>G(g({},t),{guardsResult:a})))})}function eb(e,n,t,r){return Z(e).pipe(X(o=>sb(o.component,o.route,t,n,r)),at(o=>o!==!0,!0))}function tb(e,n,t,r){return Z(n).pipe(it(o=>bn(rb(o.route.parent,r),nb(o.route,r),ib(e,o.path,t),ob(e,o.route,t))),at(o=>o!==!0,!0))}function nb(e,n){return e!==null&&n&&n(new Yu(e)),I(!0)}function rb(e,n){return e!==null&&n&&n(new Wu(e)),I(!0)}function ob(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return I(!0);let o=r.map(i=>Fo(()=>{let s=oo(n)??t,a=ar(i,s),c=ZC(a)?a.canActivate(n,e):Ie(s,()=>a(n,e));return Ht(c).pipe(at())}));return I(o).pipe(sr())}function ib(e,n,t){let r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>HC(s)).filter(s=>s!==null).map(s=>Fo(()=>{let a=s.guards.map(c=>{let u=oo(s.node)??t,l=ar(c,u),d=YC(l)?l.canActivateChild(r,e):Ie(u,()=>l(r,e));return Ht(d).pipe(at())});return I(a).pipe(sr())}));return I(i).pipe(sr())}function sb(e,n,t,r,o){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return I(!0);let s=i.map(a=>{let c=oo(n)??o,u=ar(a,c),l=QC(u)?u.canDeactivate(e,n,t,r):Ie(c,()=>u(e,n,t,r));return Ht(l).pipe(at())});return I(s).pipe(sr())}function ab(e,n,t,r){let o=n.canLoad;if(o===void 0||o.length===0)return I(!0);let i=o.map(s=>{let a=ar(s,e),c=WC(a)?a.canLoad(n,t):Ie(e,()=>a(n,t));return Ht(c)});return I(i).pipe(sr(),Bg(r))}function Bg(e){return Ws(Q(n=>{if(typeof n!="boolean")throw ws(e,n)}),_(n=>n===!0))}function cb(e,n,t,r){let o=n.canMatch;if(!o||o.length===0)return I(!0);let i=o.map(s=>{let a=ar(s,e),c=KC(a)?a.canMatch(n,t):Ie(e,()=>a(n,t));return Ht(c)});return I(i).pipe(sr(),Bg(r))}var eo=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},to=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Kn(e){return Cn(new eo(e))}function ub(e){return Cn(new E(4e3,!1))}function lb(e){return Cn(Lg(!1,xe.GuardRejected))}var rl=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return I(r);if(o.numberOfChildren>1||!o.children[T])return ub(`${n.redirectTo}`);o=o.children[T]}}applyRedirectCommands(n,t,r,o,i){if(typeof t!="string"){let a=t,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:m,title:v}=o,C=Ie(i,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:v}));if(C instanceof Ct)throw new to(C);t=C}let s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t[0]==="/")throw new to(s);return s}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Ct(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new U(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}},ol={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function db(e,n,t,r,o){let i=Ug(e,n,t);return i.matched?(r=OC(n,r),cb(r,n,t,o).pipe(_(s=>s===!0?i:g({},ol)))):I(i)}function Ug(e,n,t){if(n.path==="**")return fb(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?g({},ol):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||aC)(t,e,n);if(!o)return g({},ol);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:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function fb(e){return{matched:!0,parameters:e.length>0?wg(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function pg(e,n,t,r){return t.length>0&&gb(e,t,r)?{segmentGroup:new U(n,pb(r,new U(t,e.children))),slicedSegments:[]}:t.length===0&&mb(e,t,r)?{segmentGroup:new U(e.segments,hb(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new U(e.segments,e.children),slicedSegments:t}}function hb(e,n,t,r){let o={};for(let i of t)if(Ss(e,n,i)&&!r[We(i)]){let s=new U([],{});o[We(i)]=s}return g(g({},r),o)}function pb(e,n){let t={};t[T]=n;for(let r of e)if(r.path===""&&We(r)!==T){let o=new U([],{});t[We(r)]=o}return t}function gb(e,n,t){return t.some(r=>Ss(e,n,r)&&We(r)!==T)}function mb(e,n,t){return t.some(r=>Ss(e,n,r))}function Ss(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function vb(e,n,t){return n.length===0&&!e.children[t]}var il=class{};function yb(e,n,t,r,o,i,s="emptyOnly"){return new sl(e,n,t,r,o,s,i).recognize()}var Db=31,sl=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new rl(this.urlSerializer,this.urlTree)}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}recognize(){let n=pg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(_(({children:t,rootSnapshot:r})=>{let o=new Ne(r,t),i=new Ds("",o),s=MC(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(n){let t=new er([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),T,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,T,t).pipe(_(r=>({children:r,rootSnapshot:t})),Ae(r=>{if(r instanceof to)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof eo?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,i):this.processSegment(n,t,r,r.segments,o,!0,i).pipe(_(s=>s instanceof Ne?[s]:[]))}processChildren(n,t,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return Z(i).pipe(it(s=>{let a=r.children[s],c=kC(t,s);return this.processSegmentGroup(n,c,a,s,o)}),ra((s,a)=>(s.push(...a),s)),Tt(null),na(),X(s=>{if(s===null)return Kn(r);let a=$g(s);return wb(a),I(a)}))}processSegment(n,t,r,o,i,s,a){return Z(t).pipe(it(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a).pipe(Ae(u=>{if(u instanceof eo)return I(null);throw u}))),at(c=>!!c),Ae(c=>{if(Vg(c))return vb(r,o,i)?I(new il):Kn(r);throw c}))}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return We(r)!==s&&(s===T||!Ss(o,i,r))?Kn(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c):Kn(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Ug(t,o,i);if(!c)return Kn(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Db&&(this.allowRedirects=!1));let f=new er(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,gg(o),We(o),o.component??o._loadedComponent??null,o,mg(o)),m=ys(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let v=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,n);return this.applyRedirects.lineralizeSegments(o,v).pipe(X(C=>this.processSegment(n,r,t,C.concat(h),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a=db(t,r,o,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(ce(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,o).pipe(ce(({routes:u})=>{let l=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new er(h,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,gg(r),We(r),r.component??r._loadedComponent??null,r,mg(r)),v=ys(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(v.params),m.data=Object.freeze(v.data);let{segmentGroup:C,slicedSegments:P}=pg(t,h,f,u);if(P.length===0&&C.hasChildren())return this.processChildren(l,u,C,m).pipe(_(L=>new Ne(m,L)));if(u.length===0&&P.length===0)return I(new Ne(m,[]));let K=We(r)===i;return this.processSegment(l,u,C,P,K?T:i,!0,m).pipe(_(L=>new Ne(m,L instanceof Ne?[L]:[])))}))):Kn(t)))}getChildConfig(n,t,r){return t.children?I({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?I({routes:t._loadedRoutes,injector:t._loadedInjector}):ab(n,t,r,this.urlSerializer).pipe(X(o=>o?this.configLoader.loadChildren(n,t).pipe(Q(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):lb(t))):I({routes:[],injector:n})}};function wb(e){e.sort((n,t)=>n.value.outlet===T?-1:t.value.outlet===T?1:n.value.outlet.localeCompare(t.value.outlet))}function Eb(e){let n=e.value.routeConfig;return n&&n.path===""}function $g(e){let n=[],t=new Set;for(let r of e){if(!Eb(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=$g(r.children);n.push(new Ne(r.value,o))}return n.filter(r=>!t.has(r))}function gg(e){return e.data||{}}function mg(e){return e.resolve||{}}function Ib(e,n,t,r,o,i){return X(s=>yb(e,n,t,r,s.extractedUrl,o,i).pipe(_(({state:a,tree:c})=>G(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Cb(e,n){return X(t=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return I(t);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 Hg(c))s.add(u);let a=0;return Z(s).pipe(it(c=>i.has(c)?bb(c,r,e,n):(c.data=ys(c,c.parent,e).resolve,I(void 0))),Q(()=>a++),Sn(1),X(c=>a===s.size?I(t):Se))})}function Hg(e){let n=e.children.map(t=>Hg(t)).flat();return[e,...n]}function bb(e,n,t,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Pg(o)&&(i[no]=o.title),Sb(i,e,n,r).pipe(_(s=>(e._resolvedData=s,e.data=ys(e,e.parent,t).resolve,null)))}function Sb(e,n,t,r){let o=Lu(e);if(o.length===0)return I({});let i={};return Z(o).pipe(X(s=>Mb(e[s],n,t,r).pipe(at(),Q(a=>{if(a instanceof Xr)throw ws(new rr,a);i[s]=a}))),Sn(1),ea(i),Ae(s=>Vg(s)?Se:Cn(s)))}function Mb(e,n,t,r){let o=oo(n)??r,i=ar(e,o),s=i.resolve?i.resolve(n,t):Ie(o,()=>i(n,t));return Ht(s)}function Pu(e){return ce(n=>{let t=e(n);return t?Z(t).pipe(_(()=>n)):I(n)})}var zg=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===T);return r}getResolvedTitleForRoute(t){return t.data[no]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(Tb),providedIn:"root"})}return e})(),Tb=(()=>{class e extends zg{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(D(ag))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ao=new w("",{providedIn:"root",factory:()=>({})}),_b=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,o){r&1&&_e(0,"router-outlet")},dependencies:[ul],encapsulation:2})}return e})();function ll(e){let n=e.children&&e.children.map(ll),t=n?G(g({},e),{children:n}):g({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==T&&(t.component=_b),t}var Is=new w(""),dl=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(Yi);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return I(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Ht(t.loadComponent()).pipe(_(qg),Q(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),_t(()=>{this.componentLoaders.delete(t)})),o=new En(r,()=>new J).pipe(wn());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return I({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=Nb(r,this.compiler,t,this.onLoadEndListener).pipe(_t(()=>{this.childrenLoaders.delete(r)})),s=new En(i,()=>new J).pipe(wn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Nb(e,n,t,r){return Ht(e.loadChildren()).pipe(_(qg),X(o=>o instanceof Cr||Array.isArray(o)?I(o):Z(n.compileModuleAsync(o))),_(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(t).injector,s=i.get(Is,[],{optional:!0,self:!0}).flat()),{routes:s.map(ll),injector:i}}))}function xb(e){return e&&typeof e=="object"&&"default"in e}function qg(e){return xb(e)?e.default:e}var fl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(Ab),providedIn:"root"})}return e})(),Ab=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gg=new w(""),Wg=new w("");function Rb(e,n,t){let r=e.get(Wg),o=e.get(he);return e.get($).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Ob(e))),{onViewTransitionCreated:c}=r;return c&&Ie(e,()=>c({transition:a,from:n,to:t})),s})}function Ob(e){return new Promise(n=>{Fc({read:()=>setTimeout(n)},{injector:e})})}var Zg=new w(""),hl=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortSubject=new J;configLoader=p(dl);environmentInjector=p(me);urlSerializer=p(ro);rootContexts=p(io);location=p(Zn);inputBindingEnabled=p(bs,{optional:!0})!==null;titleStrategy=p(zg);options=p(ao,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(fl);createViewTransition=p(Gg,{optional:!0});navigationErrorHandler=p(Zg,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>I(void 0);rootComponentType=null;constructor(){let t=o=>this.events.next(new qu(o)),r=o=>this.events.next(new Gu(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(G(g(g({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,o){return this.transitions=new se({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Wr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ae(i=>i.id!==0),_(i=>G(g({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),ce(i=>{let s=!1,a=!1;return I(i).pipe(ce(c=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",xe.SupersededByNewNavigation),Se;this.currentTransition=i,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?G(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new $t(c.id,this.urlSerializer.serialize(c.rawUrl),d,hs.IgnoredSameUrlNavigation)),c.resolve(!1),Se}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return I(c).pipe(ce(d=>{let h=this.transitions?.getValue();return this.events.next(new or(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?Se:Promise.resolve(d)}),Ib(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Q(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=G(g({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new ps(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:m,extras:v}=c,C=new or(d,this.urlSerializer.serialize(h),f,m);this.events.next(C);let P=Og(this.rootComponentType).snapshot;return this.currentTransition=i=G(g({},c),{targetSnapshot:P,urlAfterRedirects:h,extras:G(g({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,I(i)}else{let d="";return this.events.next(new $t(c.id,this.urlSerializer.serialize(c.extractedUrl),d,hs.IgnoredByUrlHandlingStrategy)),c.resolve(!1),Se}}),Q(c=>{let u=new Uu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),_(c=>(this.currentTransition=i=G(g({},c),{guards:$C(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),i)),XC(this.environmentInjector,c=>this.events.next(c)),Q(c=>{if(i.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw ws(this.urlSerializer,c.guardsResult);let u=new $u(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),ae(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",xe.GuardRejected),!1)),Pu(c=>{if(c.guards.canActivateChecks.length)return I(c).pipe(Q(u=>{let l=new Hu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),ce(u=>{let l=!1;return I(u).pipe(Cb(this.paramsInheritanceStrategy,this.environmentInjector),Q({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",xe.NoDataFromResolver)}}))}),Q(u=>{let l=new zu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Pu(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(Q(h=>{l.component=h}),_(()=>{})));for(let h of l.children)d.push(...u(h));return d};return hr(u(c.targetSnapshot.root)).pipe(Tt(null),st(1))}),Pu(()=>this.afterPreactivation()),ce(()=>{let{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?Z(l).pipe(_(()=>i)):I(i)}),_(c=>{let u=LC(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i=G(g({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,i}),Q(()=>{this.events.next(new Kr)}),UC(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),st(1),Q({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ze(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),ia(this.transitionAbortSubject.pipe(Q(c=>{throw c}))),_t(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",xe.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ae(c=>{if(a=!0,jg(c))this.events.next(new It(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),BC(c)?this.events.next(new ir(c.url,c.navigationBehaviorOptions)):i.resolve(!1);else{let u=new Qr(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0);try{let l=Ie(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof Xr){let{message:d,cancellationCode:h}=ws(this.urlSerializer,l);this.events.next(new It(i.id,this.urlSerializer.serialize(i.extractedUrl),d,h)),this.events.next(new ir(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),c}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Se}))}))}cancelNavigationTransition(t,r,o){let i=new It(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kb(e){return e!==Wr}var Pb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(Fb),providedIn:"root"})}return e})(),al=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},Fb=(()=>{class e extends al{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Mc(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(Lb),providedIn:"root"})}return e})(),Lb=(()=>{class e extends Yg{location=p(Zn);urlSerializer=p(ro);options=p(ao,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=p(fl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ct;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Og(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof or)this.stateMemento=this.createStateMemento();else if(t instanceof $t)this.rawUrlTree=r.initialUrl;else if(t instanceof ps){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else t instanceof Kr?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):t instanceof It&&(t.code===xe.GuardRejected||t.code===xe.NoDataFromResolver)?this.restoreHistory(r):t instanceof Qr?this.restoreHistory(r,!0):t instanceof Ze&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let o=t instanceof Ct?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=g(g({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=g(g({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===t.finalUrl&&i===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Mc(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(qr||{});function Qg(e,n){e.events.pipe(ae(t=>t instanceof Ze||t instanceof It||t instanceof Qr||t instanceof $t),_(t=>t instanceof Ze||t instanceof $t?qr.COMPLETE:(t instanceof It?t.code===xe.Redirect||t.code===xe.SupersededByNewNavigation:!1)?qr.REDIRECTING:qr.FAILED),ae(t=>t!==qr.REDIRECTING),st(1)).subscribe(()=>{n()})}var jb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Vb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ye=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Hi);stateManager=p(Yg);options=p(ao,{optional:!0})||{};pendingTasks=p(pt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(hl);urlSerializer=p(ro);location=p(Zn);urlHandlingStrategy=p(fl);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(Pb);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Is,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(bs,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Y;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof It&&r.code!==xe.Redirect&&r.code!==xe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ze)this.navigated=!0;else if(r instanceof ir){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||kb(o.source)},s);this.scheduleNavigation(a,Wr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Ub(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Wr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(ll),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(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=Ng(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return xg(d,t,l,u??null)}navigateByUrl(t,r={skipLocationChange:!1}){let o=hn(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Wr,null,r)}navigate(t,r={skipLocationChange:!1}){return Bb(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=g({},jb):r===!1?o=g({},Vb):o=r,hn(t))return ug(this.currentUrlTree,t,o);let i=this.parseUrl(t);return ug(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Qg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bb(e){for(let n=0;n{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J;constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(u=>{u instanceof Ze&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(hn(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:yh(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:hn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(z(Ye),z(bt),Tc("tabindex"),z(Rr),z(gt),z(wt))};static \u0275dir=an({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&cn("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&eu("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Pr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Pr],replaceUrl:[2,"replaceUrl","replaceUrl",Pr],routerLink:"routerLink"},features:[Qc,_r]})}return e})(),Kg=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ee;constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Ze&&this.update()})}ngAfterContentInit(){I(this.links.changes,I(null)).pipe(Mt()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Z(t).pipe(Mt()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=$b(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,r):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(z(Ye),z(gt),z(Rr),z(un),z(Le,8))};static \u0275dir=an({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&dp(i,Le,5),r&2){let s;fp(s=hp())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[_r]})}return e})();function $b(e){return!!e.paths}var Cs=class{};var Hb=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ae(t=>t instanceof Ze),it(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=$i(i.providers,t,`Route: ${i.path}`));let s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Z(o).pipe(Mt())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(t,r):o=I(null);let i=o.pipe(X(s=>s===null?I(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return Z([i,s]).pipe(Mt())}else return i})}static \u0275fac=function(r){return new(r||e)(D(Ye),D(Yi),D(me),D(Cs),D(dl))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jg=new w(""),zb=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.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(t=>{t instanceof or?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ze?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof $t&&t.code===hs.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof gs&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new gs(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Rh()};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function qb(e){return e.routerState.root}function co(e,n){return{\u0275kind:e,\u0275providers:n}}function Gb(){let e=p(Oe);return n=>{let t=e.get(vt);if(n!==t.components[0])return;let r=e.get(Ye),o=e.get(Xg);e.get(pl)===1&&r.initialNavigation(),e.get(em,null,A.Optional)?.setUpPreloading(),e.get(Jg,null,A.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Xg=new w("",{factory:()=>new J}),pl=new w("",{providedIn:"root",factory:()=>1});function Wb(){return co(2,[{provide:pl,useValue:0},{provide:Gi,multi:!0,deps:[Oe],useFactory:n=>{let t=n.get(Ap,Promise.resolve());return()=>t.then(()=>new Promise(r=>{let o=n.get(Ye),i=n.get(Xg);Qg(o,()=>{r(!0)}),n.get(hl).afterPreactivation=()=>(r(!0),i.closed?I(void 0):i),o.initialNavigation()}))}}])}function Zb(){return co(3,[{provide:Gi,multi:!0,useFactory:()=>{let n=p(Ye);return()=>{n.setUpLocationChangeListener()}}},{provide:pl,useValue:2}])}var em=new w("");function Yb(e){return co(0,[{provide:em,useExisting:Hb},{provide:Cs,useExisting:e}])}function Qb(){return co(8,[hg,{provide:bs,useExisting:hg}])}function Kb(e){let n=[{provide:Gg,useValue:Rb},{provide:Wg,useValue:g({skipNextTransition:!!e?.skipInitialTransition},e)}];return co(9,n)}var vg=new w("ROUTER_FORROOT_GUARD"),Jb=[Zn,{provide:ro,useClass:rr},Ye,io,{provide:bt,useFactory:qb,deps:[Ye]},dl,[]],cr=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[Jb,[],{provide:Is,multi:!0,useValue:t},{provide:vg,useFactory:n0,deps:[[Ye,new Mi,new lc]]},r?.errorHandler?{provide:Zg,useValue:r.errorHandler}:[],{provide:ao,useValue:r||{}},r?.useHash?e0():t0(),Xb(),r?.preloadingStrategy?Yb(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?r0(r):[],r?.bindToComponentInputs?Qb().\u0275providers:[],r?.enableViewTransitions?Kb().\u0275providers:[],o0()]}}static forChild(t){return{ngModule:e,providers:[{provide:Is,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)(D(vg,8))};static \u0275mod=fe({type:e});static \u0275inj=de({})}return e})();function Xb(){return{provide:Jg,useFactory:()=>{let e=p(kp),n=p($),t=p(ao),r=p(hl),o=p(ro);return t.scrollOffset&&e.setOffset(t.scrollOffset),new zb(o,r,e,n,t)}}}function e0(){return{provide:wt,useClass:Op}}function t0(){return{provide:wt,useClass:pu}}function n0(e){return"guarded"}function r0(e){return[e.initialNavigation==="disabled"?Zb().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Wb().\u0275providers:[]]}var yg=new w("");function o0(){return[{provide:yg,useFactory:Gb},{provide:Wi,multi:!0,useExisting:yg}]}var zt=class e{constructor(n){this.http=n}apiUrl="https://api5.angular-buch.com";getAll(){return this.http.get(`${this.apiUrl}/books`).pipe(Ae(n=>(console.error(n),I([]))))}getSingle(n){return this.http.get(`${this.apiUrl}/books/${n}`)}remove(n){return this.http.delete(`${this.apiUrl}/books/${n}`)}getAllSearch(n){return this.http.get(`${this.apiUrl}/books/search/${n}`).pipe(Ae(t=>(console.error(t),I([]))))}static \u0275fac=function(t){return new(t||e)(D(Eu))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})};var i0=e=>["/books",e];function s0(e,n){if(e&1&&(x(0,"li")(1,"a",6),V(2),x(3,"p",7),V(4),M()()()),e&2){let t=n.$implicit;B(),W("routerLink",gp(3,i0,t.isbn)),B(),Ge(" ",t.title," "),B(2),tt(t.subtitle)}}function a0(e,n){e&1&&(x(0,"li"),V(1,"No results"),M())}function c0(e,n){if(e&1&&(x(0,"ul",3),re(1,s0,5,5,"li",4)(2,a0,2,0,"li",5),M()),e&2){let t=n.ngIf;B(),W("ngForOf",t),B(),W("ngIf",!t.length)}}var Ms=class e{constructor(n){this.service=n;this.results$=this.input$.pipe(ae(t=>t.length>=3),Xs(500),ta(),Q(()=>this.isLoading=!0),ce(t=>this.service.getAllSearch(t)),Q(()=>this.isLoading=!1))}input$=new J;isLoading=!1;results$;static \u0275fac=function(t){return new(t||e)(z(zt))};static \u0275cmp=be({type:e,selectors:[["bm-search"]],standalone:!1,decls:4,vars:5,consts:[["searchInput",""],["type","search","autocomplete","off","aria-label","Search",3,"input"],["class","search-results",4,"ngIf"],[1,"search-results"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"],["role","doc-subtitle"]],template:function(t,r){if(t&1){let o=Zi();x(0,"input",1,0),cn("input",function(){Oi(o);let s=pp(1);return ki(r.input$.next(s.value))}),M(),re(2,c0,3,2,"ul",2),qn(3,"async")}t&2&&(tu("loading",r.isLoading),B(2),W("ngIf",Gn(3,3,r.results$)))},dependencies:[Lt,jt,Le,Yn],encapsulation:2})};var Ts=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=be({type:e,selectors:[["bm-home"]],standalone:!1,decls:7,vars:0,consts:[["routerLink","/books",1,"button","red"]],template:function(t,r){t&1&&(x(0,"h1"),V(1,"Home"),M(),x(2,"a",0),V(3,` Show book list -`),M(),x(4,"h2"),V(5,"Search"),M(),_e(6,"bm-search"))},dependencies:[Le,Ms],encapsulation:2})};var l0=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Ts}],_s=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e});static \u0275inj=de({imports:[cr.forRoot(l0),cr]})};var Ns=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=be({type:e,selectors:[["bm-root"]],standalone:!1,decls:7,vars:0,consts:[["routerLink","/home","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/books","routerLinkActive","active","ariaCurrentWhenActive","page"]],template:function(t,r){t&1&&(x(0,"nav")(1,"a",0),V(2,"Home"),M(),x(3,"a",1),V(4,"Books"),M()(),x(5,"main"),_e(6,"router-outlet"),M())},dependencies:[ul,Le,Kg],encapsulation:2})};function d0(e,n){if(e&1&&(x(0,"p",9),V(1),M()),e&2){let t=yt().ngIf;B(),tt(t.subtitle)}}function f0(e,n){if(e&1&&(x(0,"li"),V(1),M()),e&2){let t=n.$implicit;B(),tt(t)}}function h0(e,n){if(e&1&&(x(0,"div")(1,"h2"),V(2,"Published"),M(),V(3),M()),e&2){let t=yt().ngIf;B(3),Ge(" ",t.published," ")}}function p0(e,n){if(e&1&&_e(0,"img",10),e&2){let t=yt().ngIf;W("src",t.thumbnailUrl,Ar)}}function g0(e,n){if(e&1){let t=Zi();x(0,"div",1)(1,"h1"),V(2),M(),re(3,d0,2,1,"p",2),x(4,"div",3)(5,"div")(6,"h2"),V(7,"Authors"),M(),x(8,"ul"),re(9,f0,2,1,"li",4),M()(),x(10,"div")(11,"h2"),V(12,"ISBN"),M(),V(13),M(),re(14,h0,4,1,"div",5),M(),x(15,"h2"),V(16,"Description"),M(),x(17,"p"),V(18),M(),re(19,p0,1,1,"img",6),x(20,"a",7),V(21,"Back to list"),M(),x(22,"button",8),cn("click",function(){let o=Oi(t).ngIf,i=yt();return ki(i.removeBook(o.isbn))}),V(23," Remove book "),M()()}if(e&2){let t=n.ngIf;B(2),tt(t.title),B(),W("ngIf",t.subtitle),B(6),W("ngForOf",t.authors),B(4),Ge(" ",t.isbn," "),B(),W("ngIf",t.published),B(4),tt(t.description),B(),W("ngIf",t.thumbnailUrl)}}var xs=class e{constructor(n,t,r){this.service=n;this.route=t;this.router=r;let o=this.route.snapshot.paramMap.get("isbn");this.book$=this.service.getSingle(o)}book$;removeBook(n){window.confirm("Remove book?")&&this.service.remove(n).subscribe(()=>{this.router.navigateByUrl("/books")})}static \u0275fac=function(t){return new(t||e)(z(zt),z(bt),z(Ye))};static \u0275cmp=be({type:e,selectors:[["bm-book-details"]],standalone:!1,decls:2,vars:3,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"],["routerLink","..",1,"button","arrow-left"],[1,"red",3,"click"],["role","doc-subtitle"],["alt","Cover",3,"src"]],template:function(t,r){t&1&&(re(0,g0,24,7,"div",0),qn(1,"async")),t&2&&W("ngIf",Gn(1,1,r.book$))},dependencies:[Lt,jt,Le,Yn],encapsulation:2})};function m0(e,n){if(e&1&&_e(0,"img",6),e&2){let t=yt(2);W("src",t.book.thumbnailUrl,Ar)}}function v0(e,n){if(e&1&&(x(0,"p",7),V(1),M()),e&2){let t=yt(2);B(),Ge(" ",t.book.subtitle," ")}}function y0(e,n){if(e&1&&(x(0,"li"),V(1),M()),e&2){let t=n.$implicit;B(),Ge(" ",t," ")}}function D0(e,n){if(e&1&&(x(0,"a",1),re(1,m0,1,1,"img",2),x(2,"h2"),V(3),M(),re(4,v0,2,1,"p",3),x(5,"ul",4),re(6,y0,2,1,"li",5),M(),x(7,"div"),V(8),M()()),e&2){let t=yt();W("routerLink",t.book.isbn),B(),W("ngIf",t.book.thumbnailUrl),B(2),tt(t.book.title),B(),W("ngIf",t.book.subtitle),B(2),W("ngForOf",t.book.authors),B(2),Ge("ISBN ",t.book.isbn,"")}}var As=class e{book;static \u0275fac=function(t){return new(t||e)};static \u0275cmp=be({type:e,selectors:[["bm-book-list-item"]],inputs:{book:"book"},standalone:!1,decls:1,vars:1,consts:[["class","list-item",3,"routerLink",4,"ngIf"],[1,"list-item",3,"routerLink"],["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(t,r){t&1&&re(0,D0,9,6,"a",0),t&2&&W("ngIf",r.book)},dependencies:[Lt,jt,Le],encapsulation:2})};function E0(e,n){if(e&1&&(x(0,"li"),_e(1,"bm-book-list-item",4),M()),e&2){let t=n.$implicit;B(),W("book",t)}}function I0(e,n){e&1&&(x(0,"li"),V(1," No books available. "),M())}function C0(e,n){if(e&1&&(x(0,"ul",1),re(1,E0,2,1,"li",2)(2,I0,2,0,"li",3),M()),e&2){let t=n.ngIf;B(),W("ngForOf",t),B(),W("ngIf",!t.length)}}var Rs=class e{constructor(n){this.service=n;this.books$=this.service.getAll()}books$;static \u0275fac=function(t){return new(t||e)(z(zt))};static \u0275cmp=be({type:e,selectors:[["bm-book-list"]],standalone:!1,decls:4,vars:3,consts:[["class","book-list",4,"ngIf"],[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"book"]],template:function(t,r){t&1&&(x(0,"h1"),V(1,"Books"),M(),re(2,C0,3,2,"ul",0),qn(3,"async")),t&2&&(B(2),W("ngIf",Gn(3,1,r.books$)))},dependencies:[Lt,jt,As,Yn],encapsulation:2})};var b0=[{path:"books",component:Rs},{path:"books/:isbn",component:xs}],Os=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e});static \u0275inj=de({imports:[cr.forChild(b0),cr]})};var ks=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e});static \u0275inj=de({imports:[Ji,Os]})};var Ps=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e,bootstrap:[Ns]});static \u0275inj=de({providers:[Zp(Yp())],imports:[sg,_s,ks]})};ig().bootstrapModule(Ps,{ngZoneEventCoalescing:!0}).catch(e=>console.error(e)); diff --git a/main-RQOZFOAS.js b/main-RQOZFOAS.js new file mode 100644 index 0000000..1a6578b --- /dev/null +++ b/main-RQOZFOAS.js @@ -0,0 +1,9 @@ +var nm=Object.defineProperty,rm=Object.defineProperties;var om=Object.getOwnPropertyDescriptors;var ml=Object.getOwnPropertySymbols;var im=Object.prototype.hasOwnProperty,sm=Object.prototype.propertyIsEnumerable;var vl=(e,n,t)=>n in e?nm(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,g=(e,n)=>{for(var t in n||={})im.call(n,t)&&vl(e,t,n[t]);if(ml)for(var t of ml(n))sm.call(n,t)&&vl(e,t,n[t]);return e},G=(e,n)=>rm(e,om(n));var ur=(e,n,t)=>new Promise((r,o)=>{var i=c=>{try{a(t.next(c))}catch(u){o(u)}},s=c=>{try{a(t.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((t=t.apply(e,n)).next())});function yl(e,n){return Object.is(e,n)}var te=null,ho=!1,Vs=1,pn=Symbol("SIGNAL");function F(e){let n=te;return te=e,n}function Dl(){return te}var po={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 wl(e){if(ho)throw new Error("");if(te===null)return;te.consumerOnSignalRead(e);let n=te.nextProducerIndex++;if(mo(te),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Us(e){mo(e);for(let n=0;n0}function mo(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Sl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ml(e){return e.producerNode!==void 0}function lm(){throw new Error}var Tl=lm;function dm(){Tl()}function _l(e){Tl=e}var fm=null;function Nl(e,n){cm()||dm(),e.equal(e.value,n)||(e.value=n,hm(e))}var xl=G(g({},po),{equal:yl,value:void 0});function hm(e){e.version++,am(),Il(e),fm?.()}function S(e){return typeof e=="function"}function gn(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var vo=gn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription: +${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=t});function qt(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Y=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){n=i instanceof vo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Al(i)}catch(s){n=n??[],s instanceof vo?n=[...n,...s.errors]:n.push(s)}}if(n)throw new vo(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Al(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&qt(t,n)}remove(n){let{_finalizers:t}=this;t&&qt(t,n),n instanceof e&&n._removeParent(this)}};Y.EMPTY=(()=>{let e=new Y;return e.closed=!0,e})();var Hs=Y.EMPTY;function yo(e){return e instanceof Y||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Al(e){S(e)?e():e.unsubscribe()}var je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var mn={setTimeout(e,n,...t){let{delegate:r}=mn;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=mn;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Do(e){mn.setTimeout(()=>{let{onUnhandledError:n}=je;if(n)n(e);else throw e})}function dr(){}var Rl=zs("C",void 0,void 0);function Ol(e){return zs("E",void 0,e)}function kl(e){return zs("N",e,void 0)}function zs(e,n,t){return{kind:e,value:n,error:t}}var Gt=null;function vn(e){if(je.useDeprecatedSynchronousErrorHandling){let n=!Gt;if(n&&(Gt={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Gt;if(Gt=null,t)throw r}}else e()}function Pl(e){je.useDeprecatedSynchronousErrorHandling&&Gt&&(Gt.errorThrown=!0,Gt.error=e)}var Wt=class extends Y{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,yo(n)&&n.add(this)):this.destination=mm}static create(n,t,r){return new yn(n,t,r)}next(n){this.isStopped?Gs(kl(n),this):this._next(n)}error(n){this.isStopped?Gs(Ol(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Gs(Rl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},pm=Function.prototype.bind;function qs(e,n){return pm.call(e,n)}var Ws=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){wo(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){wo(r)}else wo(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){wo(t)}}},yn=class extends Wt{constructor(n,t,r){super();let o;if(S(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&je.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&qs(n.next,i),error:n.error&&qs(n.error,i),complete:n.complete&&qs(n.complete,i)}):o=n}this.destination=new Ws(o)}};function wo(e){je.useDeprecatedSynchronousErrorHandling?Pl(e):Do(e)}function gm(e){throw e}function Gs(e,n){let{onStoppedNotification:t}=je;t&&mn.setTimeout(()=>t(e,n))}var mm={closed:!0,next:dr,error:gm,complete:dr};var Dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function pe(e){return e}function Zs(...e){return Ys(e)}function Ys(e){return e.length===0?pe:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var j=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=ym(t)?t:new yn(t,r,o);return vn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Fl(r),new r((o,i)=>{let s=new yn({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Dn](){return this}pipe(...t){return Ys(t)(this)}toPromise(t){return t=Fl(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Fl(e){var n;return(n=e??je.Promise)!==null&&n!==void 0?n:Promise}function vm(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function ym(e){return e&&e instanceof Wt||vm(e)&&yo(e)}function Qs(e){return S(e?.lift)}function O(e){return n=>{if(Qs(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(e,n,t,r,o){return new Ks(e,n,t,r,o)}var Ks=class extends Wt{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function wn(){return O((e,n)=>{let t=null;e._refCount++;let r=k(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var En=class extends j{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Qs(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Y;let t=this.getSubject();n.add(this.source.subscribe(k(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Y.EMPTY)}return n}refCount(){return wn()(this)}};var Ll=gn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends j{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Eo(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Ll}next(t){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Hs:(this.currentObservers=null,i.push(t),new Y(()=>{this.currentObservers=null,qt(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new j;return t.source=this,t}}return e.create=(n,t)=>new Eo(n,t),e})(),Eo=class extends J{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Hs}};var se=class extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Js={now(){return(Js.delegate||Date).now()},delegate:void 0};var Io=class extends Y{constructor(n,t){super()}schedule(n,t=0){return this}};var fr={setInterval(e,n,...t){let{delegate:r}=fr;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=fr;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Co=class extends Io{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return fr.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&fr.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,qt(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var In=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};In.now=Js.now;var bo=class extends In{constructor(n,t=In.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var jl=new bo(Co);var Se=new j(e=>e.complete());function Vl(e){return e&&S(e.schedule)}function Bl(e){return e[e.length-1]}function Ul(e){return S(Bl(e))?e.pop():void 0}function St(e){return Vl(Bl(e))?e.pop():void 0}function Hl(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,n||[])).next())})}function $l(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Zt(e){return this instanceof Zt?(this.v=e,this):new Zt(e)}function zl(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(v){return new Promise(function(C,P){i.push([f,v,C,P])>1||c(f,v)})},m&&(o[f]=m(o[f])))}function c(f,m){try{u(r[f](m))}catch(v){h(i[0][3],v)}}function u(f){f.value instanceof Zt?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 ql(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof $l=="function"?$l(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var So=e=>e&&typeof e.length=="number"&&typeof e!="function";function Mo(e){return S(e?.then)}function To(e){return S(e[Dn])}function _o(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function No(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Dm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var xo=Dm();function Ao(e){return S(e?.[xo])}function Ro(e){return zl(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Zt(t.read());if(o)return yield Zt(void 0);yield yield Zt(r)}}finally{t.releaseLock()}})}function Oo(e){return S(e?.getReader)}function ne(e){if(e instanceof j)return e;if(e!=null){if(To(e))return wm(e);if(So(e))return Em(e);if(Mo(e))return Im(e);if(_o(e))return Gl(e);if(Ao(e))return Cm(e);if(Oo(e))return bm(e)}throw No(e)}function wm(e){return new j(n=>{let t=e[Dn]();if(S(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Em(e){return new j(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Do)})}function Cm(e){return new j(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Gl(e){return new j(n=>{Sm(e,n).catch(t=>n.error(t))})}function bm(e){return Gl(Ro(e))}function Sm(e,n){var t,r,o,i;return Hl(this,void 0,void 0,function*(){try{for(t=ql(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function De(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ko(e,n=0){return O((t,r)=>{t.subscribe(k(r,o=>De(r,e,()=>r.next(o),n),()=>De(r,e,()=>r.complete(),n),o=>De(r,e,()=>r.error(o),n)))})}function Po(e,n=0){return O((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Wl(e,n){return ne(e).pipe(Po(n),ko(n))}function Zl(e,n){return ne(e).pipe(Po(n),ko(n))}function Yl(e,n){return new j(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Ql(e,n){return new j(t=>{let r;return De(t,n,()=>{r=e[xo](),De(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function Fo(e,n){if(!e)throw new Error("Iterable cannot be null");return new j(t=>{De(t,n,()=>{let r=e[Symbol.asyncIterator]();De(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Kl(e,n){return Fo(Ro(e),n)}function Jl(e,n){if(e!=null){if(To(e))return Wl(e,n);if(So(e))return Yl(e,n);if(Mo(e))return Zl(e,n);if(_o(e))return Fo(e,n);if(Ao(e))return Ql(e,n);if(Oo(e))return Kl(e,n)}throw No(e)}function Z(e,n){return n?Jl(e,n):ne(e)}function I(...e){let n=St(e);return Z(e,n)}function Cn(e,n){let t=S(e)?e:()=>e,r=o=>o.error(t());return new j(n?o=>n.schedule(r,0,o):r)}function Xs(e){return!!e&&(e instanceof j||S(e.lift)&&S(e.subscribe))}var it=gn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function _(e,n){return O((t,r)=>{let o=0;t.subscribe(k(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:Mm}=Array;function Tm(e,n){return Mm(n)?e(...n):e(n)}function Xl(e){return _(n=>Tm(e,n))}var{isArray:_m}=Array,{getPrototypeOf:Nm,prototype:xm,keys:Am}=Object;function ed(e){if(e.length===1){let n=e[0];if(_m(n))return{args:n,keys:null};if(Rm(n)){let t=Am(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Rm(e){return e&&typeof e=="object"&&Nm(e)===xm}function td(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function hr(...e){let n=St(e),t=Ul(e),{args:r,keys:o}=ed(e);if(r.length===0)return Z([],n);let i=new j(Om(r,n,o?s=>td(o,s):pe));return t?i.pipe(Xl(t)):i}function Om(e,n,t=pe){return r=>{nd(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let u=Z(e[c],n),l=!1;u.subscribe(k(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function nd(e,n,t){e?De(t,e,n):n()}function rd(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&n.complete()},f=v=>u{i&&n.next(v),u++;let C=!1;ne(t(v,l++)).subscribe(k(n,P=>{o?.(P),i?f(P):n.next(P)},()=>{C=!0},void 0,()=>{if(C)try{for(u--;c.length&&um(P)):m(P)}h()}catch(P){n.error(P)}}))};return e.subscribe(k(n,f,()=>{d=!0,h()})),()=>{a?.()}}function X(e,n,t=1/0){return S(n)?X((r,o)=>_((i,s)=>n(r,i,o,s))(ne(e(r,o))),t):(typeof n=="number"&&(t=n),O((r,o)=>rd(r,o,e,t)))}function Mt(e=1/0){return X(pe,e)}function od(){return Mt(1)}function bn(...e){return od()(Z(e,St(e)))}function Lo(e){return new j(n=>{ne(e()).subscribe(n)})}function ae(e,n){return O((t,r)=>{let o=0;t.subscribe(k(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Ae(e){return O((n,t)=>{let r=null,o=!1,i;r=n.subscribe(k(t,void 0,void 0,s=>{i=ne(e(s,Ae(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function id(e,n,t,r,o){return(i,s)=>{let a=t,c=n,u=0;i.subscribe(k(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function st(e,n){return S(n)?X(e,n,1):X(e,1)}function ea(e,n=jl){return O((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=n.now();if(l{i=u,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Tt(e){return O((n,t)=>{let r=!1;n.subscribe(k(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function at(e){return e<=0?()=>Se:O((n,t)=>{let r=0;n.subscribe(k(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function ta(e){return _(()=>e)}function na(e,n=pe){return e=e??km,O((t,r)=>{let o,i=!0;t.subscribe(k(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function km(e,n){return e===n}function jo(e=Pm){return O((n,t)=>{let r=!1;n.subscribe(k(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Pm(){return new it}function _t(e){return O((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function ct(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):pe,at(1),t?Tt(n):jo(()=>new it))}function Sn(e){return e<=0?()=>Se:O((n,t)=>{let r=[];n.subscribe(k(t,o=>{r.push(o),e{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function ra(e,n){let t=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):pe,Sn(1),t?Tt(n):jo(()=>new it))}function oa(e,n){return O(id(e,n,arguments.length>=2,!0))}function ia(...e){let n=St(e);return O((t,r)=>{(n?bn(e,t,n):bn(e,t)).subscribe(r)})}function ce(e,n){return O((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(k(r,c=>{o?.unsubscribe();let u=0,l=i++;ne(e(c,l)).subscribe(o=k(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function sa(e){return O((n,t)=>{ne(e).subscribe(k(t,()=>t.complete(),dr)),!t.closed&&n.subscribe(t)})}function Q(e,n,t){let r=S(e)||n||t?{next:e,error:n,complete:t}:e;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(k(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):pe}var Wd="https://g.co/ng/security#xss",E=class extends Error{code;constructor(n,t){super(Ii(n,t)),this.code=n}};function Ii(e,n){return`${`NG0${Math.abs(e)}`}${n?": "+n:""}`}var Zd=Symbol("InputSignalNode#UNSET"),Fm=G(g({},xl),{transformFn:void 0,applyValueToInputSignal(e,n){Nl(e,n)}});function Yd(e,n){let t=Object.create(Fm);t.value=e,t.transformFn=n?.transform;function r(){if(wl(t),t.value===Zd)throw new E(-950,!1);return t.value}return r[pn]=t,r}function Mr(e){return{toString:e}.toString()}var Vo="__parameters__";function Lm(e){return function(...t){if(e){let r=e(...t);for(let o in r)this[o]=r[o]}}}function Qd(e,n,t){return Mr(()=>{let r=Lm(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Vo)?c[Vo]:Object.defineProperty(c,Vo,{value:[]})[Vo];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var $e=globalThis;function q(e){for(let n in e)if(e[n]===q)return n;throw Error("Could not find renamed property on target object.")}function ge(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let n=e.toString();if(n==null)return""+n;let t=n.indexOf(` +`);return t===-1?n:n.substring(0,t)}function sd(e,n){return e==null||e===""?n===null?"":n:n==null||n===""?e:e+" "+n}var jm=q({__forward_ref__:q});function Kd(e){return e.__forward_ref__=Kd,e.toString=function(){return ge(this())},e}function Re(e){return Jd(e)?e():e}function Jd(e){return typeof e=="function"&&e.hasOwnProperty(jm)&&e.__forward_ref__===Kd}function y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ci(e){return ad(e,ef)||ad(e,tf)}function Xd(e){return Ci(e)!==null}function ad(e,n){return e.hasOwnProperty(n)?e[n]:null}function Vm(e){let n=e&&(e[ef]||e[tf]);return n||null}function cd(e){return e&&(e.hasOwnProperty(ud)||e.hasOwnProperty(Bm))?e[ud]:null}var ef=q({\u0275prov:q}),ud=q({\u0275inj:q}),tf=q({ngInjectableDef:q}),Bm=q({ngInjectorDef:q}),D=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function nf(e){return e&&!!e.\u0275providers}var Um=q({\u0275cmp:q}),$m=q({\u0275dir:q}),Hm=q({\u0275pipe:q}),zm=q({\u0275mod:q}),Zo=q({\u0275fac:q}),vr=q({__NG_ELEMENT_ID__:q}),ld=q({__NG_ENV_ID__:q});function bi(e){return typeof e=="string"?e:e==null?"":String(e)}function qm(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():bi(e)}function Gm(e,n){let t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new E(-200,e)}function lc(e,n){throw new E(-201,!1)}var A=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(A||{}),va;function rf(){return va}function we(e){let n=va;return va=e,n}function of(e,n,t){let r=Ci(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&A.Optional)return null;if(n!==void 0)return n;lc(e,"Injector")}var Wm={},Dr=Wm,ya="__NG_DI_FLAG__",Yo="ngTempTokenPath",Zm="ngTokenPath",Ym=/\n/gm,Qm="\u0275",dd="__source",xn;function Km(){return xn}function Nt(e){let n=xn;return xn=e,n}function Jm(e,n=A.Default){if(xn===void 0)throw new E(-203,!1);return xn===null?of(e,void 0,n):xn.get(e,n&A.Optional?null:void 0,n)}function w(e,n=A.Default){return(rf()||Jm)(Re(e),n)}function p(e,n=A.Default){return w(e,Si(n))}function Si(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Da(e){let n=[];for(let t=0;t ");else if(typeof n=="object"){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ge(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(Ym,` + `)}`}var Mi=sf(Qd("Optional"),8);var dc=sf(Qd("SkipSelf"),4);function Qt(e,n){let t=e.hasOwnProperty(Zo);return t?e[Zo]:null}function nv(e,n,t){if(e.length!==n.length)return!1;for(let r=0;rArray.isArray(t)?fc(t,n):n(t))}function af(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Qo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ov(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function iv(e,n,t){let r=Tr(e,n);return r>=0?e[r|1]=t:(r=~r,ov(e,r,n,t)),r}function aa(e,n){let t=Tr(e,n);if(t>=0)return e[t|1]}function Tr(e,n){return sv(e,n,1)}function sv(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return fc(n,s=>{let a=s;wa(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&gf(o,i),t}function gf(e,n){for(let t=0;t{n(i,r)})}}function wa(e,n,t,r){if(e=Re(e),!e)return!1;let o=null,i=cd(e),s=!i&&Rt(e);if(!i&&!s){let c=e.ngModule;if(i=cd(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)wa(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{fc(i.imports,l=>{wa(l,n,t,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&gf(u,n)}if(!a){let u=Qt(o)||(()=>new o);n({provide:o,useFactory:u,deps:Be},o),n({provide:uf,useValue:o,multi:!0},o),n({provide:Rn,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;hc(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function hc(e,n){for(let t of e)nf(t)&&(t=t.\u0275providers),Array.isArray(t)?hc(t,n):n(t)}var cv=q({provide:String,useValue:q});function mf(e){return e!==null&&typeof e=="object"&&cv in e}function uv(e){return!!(e&&e.useExisting)}function lv(e){return!!(e&&e.useFactory)}function Ea(e){return typeof e=="function"}var _i=new D(""),Ho={},dv={},ca;function pc(){return ca===void 0&&(ca=new Ko),ca}var me=class{},Er=class extends me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Ca(n,s=>this.processProvider(s)),this.records.set(cf,Mn(void 0,this)),o.has("environment")&&this.records.set(me,Mn(void 0,this));let i=this.records.get(_i);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(uf,Be,A.Self))}destroy(){gr(this),this._destroyed=!0;let n=F(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),F(n)}}onDestroy(n){return gr(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){gr(this);let t=Nt(this),r=we(void 0),o;try{return n()}finally{Nt(t),we(r)}}get(n,t=Dr,r=A.Default){if(gr(this),n.hasOwnProperty(ld))return n[ld](this);r=Si(r);let o,i=Nt(this),s=we(void 0);try{if(!(r&A.SkipSelf)){let c=this.records.get(n);if(c===void 0){let u=vv(n)&&Ci(n);u&&this.injectableDefInScope(u)?c=Mn(Ia(n),Ho):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c)}let a=r&A.Self?pc():this.parent;return t=r&A.Optional&&t===Dr?null:t,a.get(n,t)}catch(a){if(a.name==="NullInjectorError"){if((a[Yo]=a[Yo]||[]).unshift(ge(n)),i)throw a;return ev(a,n,"R3InjectorError",this.source)}else throw a}finally{we(s),Nt(i)}}resolveInjectorInitializers(){let n=F(null),t=Nt(this),r=we(void 0),o;try{let i=this.get(Rn,Be,A.Self);for(let s of i)s()}finally{Nt(t),we(r),F(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(ge(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Re(n);let t=Ea(n)?n:Re(n&&n.provide),r=hv(n);if(!Ea(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Mn(void 0,Ho,!0),o.factory=()=>Da(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){let r=F(null);try{return t.value===Ho&&(t.value=dv,t.value=t.factory()),typeof t.value=="object"&&t.value&&mv(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{F(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=Re(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Ia(e){let n=Ci(e),t=n!==null?n.factory:Qt(e);if(t!==null)return t;if(e instanceof D)throw new E(204,!1);if(e instanceof Function)return fv(e);throw new E(204,!1)}function fv(e){if(e.length>0)throw new E(204,!1);let t=Vm(e);return t!==null?()=>t.factory(e):()=>new e}function hv(e){if(mf(e))return Mn(void 0,e.useValue);{let n=pv(e);return Mn(n,Ho)}}function pv(e,n,t){let r;if(Ea(e)){let o=Re(e);return Qt(o)||Ia(o)}else if(mf(e))r=()=>Re(e.useValue);else if(lv(e))r=()=>e.useFactory(...Da(e.deps||[]));else if(uv(e))r=()=>w(Re(e.useExisting));else{let o=Re(e&&(e.useClass||e.provide));if(gv(e))r=()=>new o(...Da(e.deps));else return Qt(o)||Ia(o)}return r}function gr(e){if(e.destroyed)throw new E(205,!1)}function Mn(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function gv(e){return!!e.deps}function mv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function vv(e){return typeof e=="function"||typeof e=="object"&&e instanceof D}function Ca(e,n){for(let t of e)Array.isArray(t)?Ca(t,n):t&&nf(t)?Ca(t.\u0275providers,n):n(t)}function Ie(e,n){e instanceof Er&&gr(e);let t,r=Nt(e),o=we(void 0);try{return n()}finally{Nt(r),we(o)}}function vf(){return rf()!==void 0||Km()!=null}function yv(e){if(!vf())throw new E(-203,!1)}function Dv(e){let n=$e.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function wv(e){return typeof e=="function"}var ht=0,N=1,b=2,le=3,Ue=4,qe=5,Jo=6,Xo=7,He=8,On=9,ut=10,ue=11,Ir=12,fd=13,Un=14,Je=15,Kt=16,Tn=17,lt=18,Ni=19,yf=20,xt=21,ua=22,ei=23,Me=24,ze=25,Df=1;var Jt=7,ti=8,kn=9,Te=10,ni=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ni||{});function At(e){return Array.isArray(e)&&typeof e[Df]=="object"}function pt(e){return Array.isArray(e)&&e[Df]===!0}function wf(e){return(e.flags&4)!==0}function xi(e){return e.componentOffset>-1}function gc(e){return(e.flags&1)===1}function _r(e){return!!e.template}function ba(e){return(e[b]&512)!==0}var Sa=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ef(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Nr=(()=>{let e=()=>If;return e.ngInherit=!0,e})();function If(e){return e.type.prototype.ngOnChanges&&(e.setInput=Iv),Ev}function Ev(){let e=bf(this),n=e?.current;if(n){let t=e.previous;if(t===wr)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Iv(e,n,t,r,o){let i=this.declaredInputs[r],s=bf(e)||Cv(e,{previous:wr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Sa(u&&u.currentValue,t,c===wr),Ef(e,n,o,t)}var Cf="__ngSimpleChanges__";function bf(e){return e[Cf]||null}function Cv(e,n){return e[Cf]=n}var hd=null;var Qe=function(e,n,t){hd?.(e,n,t)},bv="svg",Sv="math";function Xe(e){for(;Array.isArray(e);)e=e[ht];return e}function Sf(e,n){return Xe(n[e])}function ke(e,n){return Xe(n[e.index])}function Mf(e,n){return e.data[n]}function Tf(e,n){return e[n]}function Pt(e,n){let t=n[e];return At(t)?t:t[ht]}function Mv(e){return(e[b]&4)===4}function mc(e){return(e[b]&128)===128}function Tv(e){return pt(e[le])}function ri(e,n){return n==null?null:e[n]}function _f(e){e[Tn]=0}function vc(e){e[b]&1024||(e[b]|=1024,mc(e)&&Ri(e))}function _v(e,n){for(;e>0;)n=n[Un],e--;return n}function Ai(e){return!!(e[b]&9216||e[Me]?.dirty)}function Ma(e){e[ut].changeDetectionScheduler?.notify(9),e[b]&64&&(e[b]|=1024),Ai(e)&&Ri(e)}function Ri(e){e[ut].changeDetectionScheduler?.notify(0);let n=Xt(e);for(;n!==null&&!(n[b]&8192||(n[b]|=8192,!mc(n)));)n=Xt(n)}function Nf(e,n){if((e[b]&256)===256)throw new E(911,!1);e[xt]===null&&(e[xt]=[]),e[xt].push(n)}function Nv(e,n){if(e[xt]===null)return;let t=e[xt].indexOf(n);t!==-1&&e[xt].splice(t,1)}function Xt(e){let n=e[le];return pt(n)?n[le]:n}var R={lFrame:jf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ta=!1;function xv(){return R.lFrame.elementDepthCount}function Av(){R.lFrame.elementDepthCount++}function Rv(){R.lFrame.elementDepthCount--}function xf(){return R.bindingsEnabled}function Ov(){return R.skipHydrationRootTNode!==null}function kv(e){return R.skipHydrationRootTNode===e}function Pv(){R.skipHydrationRootTNode=null}function H(){return R.lFrame.lView}function Pe(){return R.lFrame.tView}function Oi(e){return R.lFrame.contextLView=e,e[He]}function ki(e){return R.lFrame.contextLView=null,e}function Ce(){let e=Af();for(;e!==null&&e.type===64;)e=e.parent;return e}function Af(){return R.lFrame.currentTNode}function Fv(){let e=R.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function xr(e,n){let t=R.lFrame;t.currentTNode=e,t.isParent=n}function Rf(){return R.lFrame.isParent}function Lv(){R.lFrame.isParent=!1}function jv(){return R.lFrame.contextLView}function Of(){return Ta}function pd(e){let n=Ta;return Ta=e,n}function kf(){let e=R.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Vv(e){return R.lFrame.bindingIndex=e}function yc(){return R.lFrame.bindingIndex++}function Bv(e){let n=R.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Uv(){return R.lFrame.inI18n}function $v(e,n){let t=R.lFrame;t.bindingIndex=t.bindingRootIndex=e,_a(n)}function Hv(){return R.lFrame.currentDirectiveIndex}function _a(e){R.lFrame.currentDirectiveIndex=e}function zv(e){let n=R.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Pf(){return R.lFrame.currentQueryIndex}function Dc(e){R.lFrame.currentQueryIndex=e}function qv(e){let n=e[N];return n.type===2?n.declTNode:n.type===1?e[qe]:null}function Ff(e,n,t){if(t&A.SkipSelf){let o=n,i=e;for(;o=o.parent,o===null&&!(t&A.Host);)if(o=qv(i),o===null||(i=i[Un],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=R.lFrame=Lf();return r.currentTNode=n,r.lView=e,!0}function wc(e){let n=Lf(),t=e[N];R.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Lf(){let e=R.lFrame,n=e===null?null:e.child;return n===null?jf(e):n}function jf(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function Vf(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Bf=Vf;function Ec(){let e=Vf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Gv(e){return(R.lFrame.contextLView=_v(e,R.lFrame.contextLView))[He]}function $n(){return R.lFrame.selectedIndex}function en(e){R.lFrame.selectedIndex=e}function Uf(){let e=R.lFrame;return Mf(e.tView,e.selectedIndex)}function Wv(){return R.lFrame.currentNamespace}var $f=!0;function Ic(){return $f}function Cc(e){$f=e}function Zv(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=If(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function bc(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[Tn]+=65536),(a>14>16&&(e[b]&3)===n&&(e[b]+=16384,gd(a,i)):gd(a,i)}var An=-1,Cr=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=r}};function Qv(e){return e instanceof Cr}function Kv(e){return(e.flags&8)!==0}function Jv(e){return(e.flags&16)!==0}function Na(e,n,t){let r=0;for(;rn){s=i-1;break}}}for(;i>16}function ii(e,n){let t=ey(e),r=n;for(;t>0;)r=r[Un],t--;return r}var Aa=!0;function si(e){let n=Aa;return Aa=e,n}var ty=256,Gf=ty-1,Wf=5,ny=0,Ke={};function ry(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(vr)&&(r=t[vr]),r==null&&(r=t[vr]=ny++);let o=r&Gf,i=1<>Wf)]|=i}function Zf(e,n){let t=Yf(e,n);if(t!==-1)return t;let r=n[N];r.firstCreatePass&&(e.injectorIndex=n.length,fa(r.data,e),fa(n,null),fa(r.blueprint,null));let o=Mc(e,n),i=e.injectorIndex;if(qf(o)){let s=oi(o),a=ii(o,n),c=a[N].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function fa(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Yf(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Mc(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=eh(o),r===null)return An;if(t++,o=o[Un],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return An}function oy(e,n,t){ry(e,n,t)}function iy(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f=c&&m.type===t)return f}if(o){let f=s[c];if(f&&_r(f)&&f.type===t)return c}return null}function Pn(e,n,t,r){let o=e[t],i=n.data;if(Qv(o)){let s=o;s.resolving&&Gm(qm(i[t]));let a=si(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?we(s.injectImpl):null,l=Ff(e,r,A.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&Zv(t,i[t],n)}finally{u!==null&&we(u),si(a),s.resolving=!1,Bf()}}return o}function ay(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(vr)?e[vr]:void 0;return typeof n=="number"?n>=0?n&Gf:cy:n}function vd(e,n,t){let r=1<>Wf)]&r)}function yd(e,n){return!(e&A.Self)&&!(e&A.Host&&n)}var Yt=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Jf(this._tNode,this._lView,n,Si(r),t)}};function cy(){return new Yt(Ce(),H())}function Tc(e){return Mr(()=>{let n=e.prototype.constructor,t=n[Zo]||Ra(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Zo]||Ra(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ra(e){return Jd(e)?()=>{let n=Ra(Re(e));return n&&n()}:Qt(e)}function uy(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[b]&2048&&!(s[b]&512);){let a=Xf(i,s,t,r|A.Self,Ke);if(a!==Ke)return a;let c=i.parent;if(!c){let u=s[yf];if(u){let l=u.get(t,Ke,r);if(l!==Ke)return l}c=eh(s),s=s[Un]}i=c}return o}function eh(e){let n=e[N],t=n.type;return t===2?n.declTNode:t===1?e[qe]:null}function _c(e){return iy(Ce(),e)}function Dd(e,n=null,t=null,r){let o=th(e,n,t,r);return o.resolveInjectorInitializers(),o}function th(e,n=null,t=null,r,o=new Set){let i=[t||Be,av(e)];return r=r||(typeof e=="object"?void 0:ge(e)),new Er(i,n||pc(),r||null,o)}var Oe=class e{static THROW_IF_NOT_FOUND=Dr;static NULL=new Ko;static create(n,t){if(Array.isArray(n))return Dd({name:""},t,n,"");{let r=n.name??"";return Dd({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:e,providedIn:"any",factory:()=>w(cf)});static __NG_ELEMENT_ID__=-1};var ly=new D("");ly.__NG_ELEMENT_ID__=e=>{let n=Ce();if(n===null)throw new E(204,!1);if(n.type&2)return n.value;if(e&A.Optional)return null;throw new E(204,!1)};var nh=!1,Nc=(()=>{class e{static __NG_ELEMENT_ID__=dy;static __NG_ENV_ID__=t=>t}return e})(),Oa=class extends Nc{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return Nf(this._lView,n),()=>Nv(this._lView,n)}};function dy(){return new Oa(H())}var Fn=class{},xc=new D("",{providedIn:"root",factory:()=>!1});var rh=new D(""),oh=new D(""),gt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new se(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})();var ka=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,vf()&&(this.destroyRef=p(Nc,{optional:!0})??void 0,this.pendingTasks=p(gt,{optional:!0})??void 0)}emit(n){let t=F(null);try{super.next(n)}finally{F(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;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 n instanceof Y&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{n(t),r!==void 0&&this.pendingTasks?.remove(r)})}}},Ee=ka;function ai(...e){}function ih(e){let n,t;function r(){e=ai;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function wd(e){return queueMicrotask(()=>e()),()=>{e=ai}}var Ac="isAngularZone",ci=Ac+"_ID",fy=0,$=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ee(!1);onMicrotaskEmpty=new Ee(!1);onStable=new Ee(!1);onError=new Ee(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=nh}=n;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,gy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ac)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,hy,ai,ai);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},hy={};function Rc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function py(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){ih(()=>{e.callbackScheduled=!1,Pa(e),e.isCheckStableRunning=!0,Rc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Pa(e)}function gy(e){let n=()=>{py(e)},t=fy++;e._inner=e._inner.fork({name:"angular",properties:{[Ac]:!0,[ci]:t,[ci+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(my(c))return r.invokeTask(i,s,a,c);try{return Ed(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Id(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ed(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!vy(c)&&n(),Id(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Pa(e),Rc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Pa(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ed(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Id(e){e._nesting--,Rc(e)}var ui=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ee;onMicrotaskEmpty=new Ee;onStable=new Ee;onError=new Ee;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function my(e){return sh(e,"__ignore_ng_zone__")}function vy(e){return sh(e,"__scheduler_tick__")}function sh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}function yy(e="zone.js",n){return e==="noop"?new ui:e==="zone.js"?new $(n):e}var dt=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Dy=new D("",{providedIn:"root",factory:()=>{let e=p($),n=p(dt);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function Cd(e,n){return Yd(e,n)}function wy(e){return Yd(Zd,e)}var ah=(Cd.required=wy,Cd);function Ey(){return Hn(Ce(),H())}function Hn(e,n){return new mt(ke(e,n))}var mt=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=Ey}return e})();function Iy(e){return e instanceof mt?e.nativeElement:e}function Cy(){return this._results[Symbol.iterator]()}var Fa=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=rv(n);(this._changesDetected=!nv(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Cy};function ch(e){return(e.flags&128)===128}var uh=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(uh||{}),lh=new Map,by=0;function Sy(){return by++}function My(e){lh.set(e[Ni],e)}function La(e){lh.delete(e[Ni])}var bd="__ngContext__";function tn(e,n){At(n)?(e[bd]=n[Ni],My(n)):e[bd]=n}function dh(e){return hh(e[Ir])}function fh(e){return hh(e[Ue])}function hh(e){for(;e!==null&&!pt(e);)e=e[Ue];return e}var ja;function ph(e){ja=e}function Ty(){if(ja!==void 0)return ja;if(typeof document<"u")return document;throw new E(210,!1)}var Oc=new D("",{providedIn:"root",factory:()=>_y}),_y="ng",kc=new D(""),vt=new D("",{providedIn:"platform",factory:()=>"unknown"});var Pc=new D("",{providedIn:"root",factory:()=>Ty().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ny="h",xy="b";var gh=!1,Ay=new D("",{providedIn:"root",factory:()=>gh});var Fc=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Fc||{}),Pi=new D(""),Sd=new Set;function Fi(e){Sd.has(e)||(Sd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var _n=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(_n||{}),mh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ry=[_n.EarlyRead,_n.Write,_n.MixedReadWrite,_n.Read],Oy=(()=>{class e{ngZone=p($);scheduler=p(Fn);errorHandler=p(dt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(Pi,{optional:!0})}execute(){this.executing=!0;for(let t of Ry)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[t]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[t](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(7))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Fc.AFTER_NEXT_RENDER,t):t()}static \u0275prov=y({token:e,providedIn:"root",factory:()=>new e})}return e})(),Va=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i=null){this.impl=n,this.hooks=t,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Lc(e,n){!n?.injector&&yv(Lc);let t=n?.injector??p(Oe);return Fi("NgAfterNextRender"),Py(e,t,n,!0)}function ky(e,n){if(e instanceof Function){let t=[void 0,void 0,void 0,void 0];return t[n]=e,t}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Py(e,n,t,r){let o=n.get(mh);o.impl??=n.get(Oy);let i=n.get(Pi,null,{optional:!0}),s=t?.phase??_n.MixedReadWrite,a=t?.manualCleanup!==!0?n.get(Nc):null,c=new Va(o.impl,ky(e,s),r,a,i?.snapshot(null));return o.impl.register(c),c}var Fy=()=>null;function jc(e,n,t=!1){return Fy(e,n,t)}var et=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(et||{});var Bo;function Ly(){if(Bo===void 0&&(Bo=null,$e.trustedTypes))try{Bo=$e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bo}function Md(e){return Ly()?.createScriptURL(e)||e}var li=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wd})`}};function Ar(e){return e instanceof li?e.changingThisBreaksApplicationSecurity:e}function Vc(e,n){let t=jy(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Wd})`)}return t===n}function jy(e){return e instanceof li&&e.getTypeName()||null}var Vy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vh(e){return e=String(e),e.match(Vy)?e:"unsafe:"+e}var Li=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Li||{});function Rr(e){let n=Dh();return n?n.sanitize(Li.URL,e)||"":Vc(e,"URL")?Ar(e):vh(bi(e))}function By(e){let n=Dh();if(n)return Md(n.sanitize(Li.RESOURCE_URL,e)||"");if(Vc(e,"ResourceURL"))return Md(Ar(e));throw new E(904,!1)}function Uy(e,n){return n==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||n==="href"&&(e==="base"||e==="link")?By:Rr}function yh(e,n,t){return Uy(n,t)(e)}function Dh(){let e=H();return e&&e[ut].sanitizer}function wh(e){return e instanceof Function?e():e}var Ot=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ot||{}),ft=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ft||{}),$y;function Bc(e,n){return $y(e,n)}function Nn(e,n,t,r,o){if(r!=null){let i,s=!1;pt(r)?i=r:At(r)&&(s=!0,r=r[ht]);let a=Xe(r);e===0&&t!==null?o==null?Sh(n,t,a):di(n,t,a,o||null,!0):e===1&&t!==null?di(n,t,a,o||null,!0):e===2?rD(n,a,s):e===3&&n.destroyNode(a),i!=null&&iD(n,e,i,t,o)}}function Hy(e,n){return e.createText(n)}function zy(e,n,t){e.setValue(n,t)}function Eh(e,n,t){return e.createElement(n,t)}function qy(e,n){Ih(e,n),n[ht]=null,n[qe]=null}function Gy(e,n,t,r,o,i){r[ht]=o,r[qe]=n,ji(e,r,t,1,o,i)}function Ih(e,n){n[ut].changeDetectionScheduler?.notify(10),ji(e,n,n[ue],2,null,null)}function Wy(e){let n=e[Ir];if(!n)return ha(e[N],e);for(;n;){let t=null;if(At(n))t=n[Ir];else{let r=n[Te];r&&(t=r)}if(!t){for(;n&&!n[Ue]&&n!==e;)At(n)&&ha(n[N],n),n=n[le];n===null&&(n=e),At(n)&&ha(n[N],n),t=n&&n[Ue]}n=t}}function Zy(e,n,t,r){let o=Te+r,i=t.length;r>0&&(t[o-1][Ue]=n),r0&&(e[t-1][Ue]=r[Ue]);let i=Qo(e,Te+n);qy(r[N],r);let s=i[lt];s!==null&&s.detachView(i[N]),r[le]=null,r[Ue]=null,r[b]&=-129}return r}function bh(e,n){if(!(n[b]&256)){let t=n[ue];t.destroyNode&&ji(e,n,t,3,null,null),Wy(n)}}function ha(e,n){if(n[b]&256)return;let t=F(null);try{n[b]&=-129,n[b]|=256,n[Me]&&$s(n[Me]),Qy(e,n),Yy(e,n),n[N].type===1&&n[ue].destroy();let r=n[Kt];if(r!==null&&pt(n[le])){r!==n[le]&&Uc(r,n);let o=n[lt];o!==null&&o.detachView(e)}La(n)}finally{F(t)}}function Yy(e,n){let t=e.cleanup,r=n[Xo];if(t!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Xo]=null);let o=n[xt];if(o!==null){n[xt]=null;for(let s=0;s-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===et.None||i===et.Emulated)return null}return ke(r,t)}}function di(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Sh(e,n,t){e.appendChild(n,t)}function Td(e,n,t,r,o){r!==null?di(e,n,t,r,o):Sh(e,n,t)}function Mh(e,n){return e.parentNode(n)}function Xy(e,n){return e.nextSibling(n)}function eD(e,n,t){return nD(e,n,t)}function tD(e,n,t){return e.type&40?ke(e,t):null}var nD=tD,_d;function $c(e,n,t,r){let o=Ky(e,r,n),i=n[ue],s=r.parent||n[qe],a=eD(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ve(r))return!1;s=!0}}}}return Ve(r)||s}function Ve(e){return(e&1)===0}function fD(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ve(s)&&(n+=Nd(i,o),o=""),r=s,i=i||!Ve(r);t++}return o!==""&&(n+=Nd(i,o)),n}function vD(e){return e.map(mD).join(",")}function yD(e){let n=[],t=[],r=1,o=2;for(;rze&&Ah(e,n,ze,!1),Qe(s?2:0,o),t(r,o)}finally{en(i),Qe(s?3:1,o)}}function Fh(e,n,t){if(wf(n)){let r=F(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;snull;function SD(e,n,t,r){let o=Gh(n);o.push(t),e.firstCreatePass&&Wh(e).push(r,o.length-1)}function MD(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Ov()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function xd(e,n,t,r,o){for(let i in n){if(!n.hasOwnProperty(i))continue;let s=n[i];if(s===void 0)continue;r??={};let a,c=Ot.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?Ad(r,t,u,a,c):Ad(r,t,u,a)}return r}function Ad(e,n,t,r,o){let i;e.hasOwnProperty(t)?(i=e[t]).push(n,r):i=e[t]=[n,r],o!==void 0&&i.push(o)}function TD(e,n,t){let r=n.directiveStart,o=n.directiveEnd,i=e.data,s=n.attrs,a=[],c=null,u=null;for(let l=r;l0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function OD(e,n,t,r){let o=t.directiveStart,i=t.directiveEnd;xi(t)&&BD(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||Zf(t,n),tn(r,n);let s=t.initialInputs;for(let a=o;a{Ri(e.lView)},consumerOnSignalRead(){this.lView[Me]=this}});function nw(e){let n=e[Me]??Object.create(rw);return n.lView=e,n}var rw=G(g({},po),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Xt(e.lView);for(;n&&!Qh(n[N]);)n=Xt(n);n&&vc(n)},consumerOnSignalRead(){this.lView[Me]=this}});function Qh(e){return e.type!==2}function Kh(e){if(e[ei]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[ei])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[b]&8192)}}var ow=100;function Jh(e,n=!0,t=0){let o=e[ut].rendererFactory,i=!1;i||o.begin?.();try{iw(e,t)}catch(s){throw n&&Zh(e,s),s}finally{i||o.end?.()}}function iw(e,n){let t=Of();try{pd(!0),za(e,n);let r=0;for(;Ai(e);){if(r===ow)throw new E(103,!1);r++,za(e,1)}}finally{pd(t)}}function sw(e,n,t,r){let o=n[b];if((o&256)===256)return;let i=!1,s=!1;wc(n);let a=!0,c=null,u=null;i||(Qh(e)?(u=JD(n),c=Bs(u)):Dl()===null?(a=!1,u=nw(n),c=Bs(u)):n[Me]&&($s(n[Me]),n[Me]=null));try{_f(n),Vv(e.bindingStartIndex),t!==null&&Ph(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&zo(n,f,null)}else{let f=e.preOrderHooks;f!==null&&qo(n,f,0,null),la(n,0)}if(s||aw(n),Kh(n),Xh(n,0),e.contentQueries!==null&&qh(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&zo(n,f)}else{let f=e.contentHooks;f!==null&&qo(n,f,1),la(n,1)}DD(e,n);let d=e.components;d!==null&&tp(n,d,0);let h=e.viewQuery;if(h!==null&&Ha(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&zo(n,f)}else{let f=e.viewHooks;f!==null&&qo(n,f,2),la(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ua]){for(let f of n[ua])f();n[ua]=null}i||(n[b]&=-73)}catch(l){throw i||Ri(n),l}finally{u!==null&&(Cl(u,c),a&&ew(u)),Ec()}}function Xh(e,n){for(let t=dh(e);t!==null;t=fh(t))for(let r=Te;r-1&&(Ba(n,r),Qo(t,r))}this._attachedToViewContainer=!1}bh(this._lView[N],this._lView)}onDestroy(n){Nf(this._lView,n)}markForCheck(){Zc(this._cdRefInjectingView||this._lView,4)}markForRefresh(){vc(this._cdRefInjectingView||this._lView)}detach(){this._lView[b]&=-129}reattach(){Ma(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,Jh(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=ba(this._lView),t=this._lView[Kt];t!==null&&!n&&Uc(t,this._lView),Ih(this._lView[N],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let t=ba(this._lView),r=this._lView[Kt];r!==null&&!t&&Ch(r,this._lView),Ma(this._lView)}},rn=(()=>{class e{static __NG_ELEMENT_ID__=dw}return e})(),uw=rn,lw=class extends uw{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){let o=YD(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:r});return new nn(o)}};function dw(){return Yc(Ce(),H())}function Yc(e,n){return e.type&4?new lw(n,e,Hn(e,n)):null}var Bx=new RegExp(`^(\\d+)*(${xy}|${Ny})*(.*)`);var fw=()=>null;function Od(e,n){return fw(e,n)}var qa=class{},hi=class{},Ga=class{resolveComponentFactory(n){throw Error(`No component factory found for ${ge(n)}.`)}},Ln=class{static NULL=new Ga},jn=class{},Or=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>hw()}return e})();function hw(){let e=H(),n=Ce(),t=Pt(n.index,e);return(At(t)?t:e)[ue]}var pw=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>null})}return e})();function Wa(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s0&&_h(e,t,i.join(" "))}}function Ew(e,n,t){let r=e.projection=[];for(let o=0;o{class e{static __NG_ELEMENT_ID__=Cw}return e})();function Cw(){let e=Ce();return rp(e,H())}var bw=Ft,np=class extends bw{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Hn(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){let n=Mc(this._hostTNode,this._hostLView);if(qf(n)){let t=ii(n,this._hostLView),r=oi(n),o=t[N].data[r+8];return new Yt(o,t)}else return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=Pd(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Te}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Od(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Rd(this._hostTNode,s)),a}createComponent(n,t,r,o,i){let s=n&&!wv(n),a;if(s)a=t;else{let m=t||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?n:new Vn(Rt(n)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let v=(s?u:this.parentInjector).get(me,null);v&&(i=v)}let l=Rt(c.componentType??{}),d=Od(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Rd(this._hostTNode,d)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Tv(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[le],u=new np(c,c[qe],c[le]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return QD(s,o,i,r),n.attachToViewContainerRef(),af(pa(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=Pd(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Ba(this._lContainer,t);r&&(Qo(pa(this._lContainer),t),bh(r[N],r))}detach(n){let t=this._adjustIndex(n,-1),r=Ba(this._lContainer,t);return r&&Qo(pa(this._lContainer),t)!=null?new nn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function Pd(e){return e[ti]}function pa(e){return e[ti]||(e[ti]=[])}function rp(e,n){let t,r=n[e.index];return pt(r)?t=r:(t=zh(r,n,null,e),n[e.index]=t,Ui(n,t)),Mw(t,n,e,r),new np(t,e,n)}function Sw(e,n){let t=e[ue],r=t.createComment(""),o=ke(n,e),i=Mh(t,o);return di(t,i,r,Xy(t,o),!1),r}var Mw=Nw,Tw=()=>!1;function _w(e,n,t){return Tw(e,n,t)}function Nw(e,n,t,r){if(e[Jt])return;let o;t.type&8?o=Xe(r):o=Sw(n,t),e[Jt]=o}var Ya=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Qa=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let u=i[a+1],l=n[-c];for(let d=Te;dn.trim())}function jw(e,n,t){e.queries===null&&(e.queries=new Ja),e.queries.track(new Xa(n,t))}function Vw(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function Qc(e,n){return e.queries.getByIndex(n)}function Bw(e,n){let t=e[N],r=Qc(t,n);return r.crossesNgTemplate?ec(t,e,n,[]):op(t,e,r,n)}function Uw(e){let n=[],t=new Map;function r(o){let i=t.get(o);if(!i){let s=e(o);t.set(o,i=s.then(qw))}return i}return gi.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(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(r(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(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Gw(i));n.push(c)}),Hw(),Promise.all(n).then(()=>{})}var gi=new Map,$w=new Set;function Hw(){let e=gi;return gi=new Map,e}function zw(){return gi.size===0}function qw(e){return typeof e=="string"?e:e.text()}function Gw(e){$w.delete(e)}var kt=class{},br=class{};var mi=class extends kt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new pi(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=lf(n);this._bootstrapComponents=wh(i.bootstrap),this._r3Injector=th(n,t,[{provide:kt,useValue:this},{provide:Ln,useValue:this.componentFactoryResolver},...r],ge(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},vi=class extends br{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new mi(this.moduleType,n,[])}};function Ww(e,n,t){return new mi(e,n,t,!1)}var tc=class extends kt{injector;componentFactoryResolver=new pi(this);instance=null;constructor(n){super();let t=new Er([...n.providers,{provide:kt,useValue:this},{provide:Ln,useValue:this.componentFactoryResolver}],n.parent||pc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function $i(e,n,t=null){return new tc({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var Zw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=pf(!1,t.type),o=r.length>0?$i([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:e,providedIn:"environment",factory:()=>new e(w(me))})}return e})();function be(e){return Mr(()=>{let n=sp(e),t=G(g({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===uh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(Zw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||et.Emulated,styles:e.styles||Be,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Fi("NgStandalone"),ap(t);let r=e.dependencies;return t.directiveDefs=Ld(r,!1),t.pipeDefs=Ld(r,!0),t.id=Kw(t),t})}function Yw(e){return Rt(e)||df(e)}function Qw(e){return e!==null}function fe(e){return Mr(()=>({type:e.type,bootstrap:e.bootstrap||Be,declarations:e.declarations||Be,imports:e.imports||Be,exports:e.exports||Be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Fd(e,n){if(e==null)return wr;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ot.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),n?(t[i]=a!==Ot.None?[r,a]:r,n[i]=s):t[i]=r}return t}function an(e){return Mr(()=>{let n=sp(e);return ap(n),n})}function ip(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function sp(e){let n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||wr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Fd(e.inputs,n),outputs:Fd(e.outputs),debugInfo:null}}function ap(e){e.features?.forEach(n=>n(e))}function Ld(e,n){if(!e)return null;let t=n?ff:Yw;return()=>(typeof e=="function"?e():e).map(r=>t(r)).filter(Qw)}function Kw(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Kc(e){let n=e.inputConfig,t={};for(let r in n)if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)&&o[3]&&(t[r]=o[3])}e.inputTransforms=t}function cp(e){return Xw(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Jw(e,n){if(Array.isArray(e))for(let t=0;t{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Jc=new D(""),Pr=new D(""),zi=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(t,r,o){this._ngZone=t,this.registry=r,Xc||(sE(o),o.addToWindow(r)),this._watchAngularEvents(),t.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:()=>{$.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 t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!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(t,r,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static \u0275fac=function(r){return new(r||e)(w($),w(qi),w(Pr))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),qi=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return Xc?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sE(e){Xc=e}var Xc;function zn(e){return!!e&&typeof e.then=="function"}function eu(e){return!!e&&typeof e.subscribe=="function"}var Gi=new D("");var up=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=p(Gi,{optional:!0})??[];injector=p(Oe);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Ie(this.injector,o);if(zn(i))t.push(i);else if(eu(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aE=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>new nc})}return e})(),nc=class{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||(this.queuedEffectCount++,r.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,t]of this.queues)n===null?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(let t of n)n.delete(t),this.queuedEffectCount--,t.run()}},Wi=new D("");function cE(){_l(()=>{throw new E(600,!1)})}function uE(e){return e.isBoundToModule}var lE=10;function dE(e,n,t){try{let r=t();return zn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}function lp(e,n){return Array.isArray(n)?n.reduce(lp,e):g(g({},e),n)}var tt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Dy);afterRenderManager=p(mh);zonelessEnabled=p(xc);rootEffectScheduler=p(aE);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new J;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=p(gt).hasPendingTasks.pipe(_(t=>!t));constructor(){p(Pi,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=p(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){let o=t instanceof hi;if(!this._injector.get(up).done){let h=!o&&hf(t),f=!1;throw new E(405,f)}let s;o?s=t:s=this._injector.get(Ln).resolveComponentFactory(t),this.componentTypes.push(s.componentType);let a=uE(s)?void 0:this._injector.get(kt),c=r||s.selector,u=s.create(Oe.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Jc,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Wo(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Fc.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new E(101,!1);let t=F(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,F(t),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(jn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;this.dirtyFlags!==0&&t++Ai(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Wo(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Wi,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Wo(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wo(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function fE(e,n,t,r){if(!t&&!Ai(e))return;Jh(e,n,t&&!r?0:1)}function tu(e,n,t,r){let o=H(),i=yc();if(kr(o,i,n)){let s=Pe(),a=Uf();UD(a,o,e,n,t,r)}return tu}function hE(e,n,t,r){return kr(e,yc(),t)?n+bi(t)+r:sn}function Uo(e,n){return e<<17|n<<2}function on(e){return e>>17&32767}function pE(e){return(e&2)==2}function gE(e,n){return e&131071|n<<17}function rc(e){return e|2}function Bn(e){return(e&131068)>>2}function ga(e,n){return e&-131069|n<<2}function mE(e){return(e&1)===1}function oc(e){return e|1}function vE(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=on(s),c=Bn(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||Tr(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let h=on(e[a+1]);e[r+1]=Uo(h,a),h!==0&&(e[h+1]=ga(e[h+1],r)),e[a+1]=gE(e[a+1],r)}else e[r+1]=Uo(a,0),a!==0&&(e[a+1]=ga(e[a+1],r)),a=r;else e[r+1]=Uo(c,0),a===0?a=r:e[c+1]=ga(e[c+1],r),c=r;u&&(e[r+1]=rc(e[r+1])),jd(e,l,r,!0),jd(e,l,r,!1),yE(n,l,e,r,i),s=Uo(a,c),i?n.classBindings=s:n.styleBindings=s}function yE(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Tr(i,n)>=0&&(t[r+1]=oc(t[r+1]))}function jd(e,n,t,r){let o=e[t+1],i=n===null,s=r?on(o):Bn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];DE(c,n)&&(a=!0,e[s+1]=r?oc(u):rc(u)),s=r?on(u):Bn(u)}a&&(e[t+1]=r?rc(o):oc(o))}function DE(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Tr(e,n)>=0:!1}function W(e,n,t){let r=H(),o=yc();if(kr(r,o,n)){let i=Pe(),s=Uf();ND(i,s,r,e,n,r[ue],t,!1)}return W}function Vd(e,n,t,r,o){let i=n.inputs,s=o?"class":"style";Gc(e,t,i[s],s,r)}function nu(e,n){return wE(e,n,null,!0),nu}function wE(e,n,t,r){let o=H(),i=Pe(),s=Bv(2);if(i.firstUpdatePass&&IE(i,e,s,r),n!==sn&&kr(o,s,n)){let a=i.data[$n()];TE(i,a,o,o[ue],e,o[s+1]=_E(n,t),r,s)}}function EE(e,n){return n>=e.expandoStartIndex}function IE(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[$n()],s=EE(e,t);NE(i,r)&&n===null&&!s&&(n=!1),n=CE(o,i,n,r),vE(o,i,n,t,s,r)}}function CE(e,n,t,r){let o=zv(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=ma(null,e,n,t,r),t=Sr(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=ma(o,e,n,t,r),i===null){let c=bE(e,n,r);c!==void 0&&Array.isArray(c)&&(c=ma(null,e,n,c[1],r),c=Sr(c,n.attrs,r),SE(e,n,r,c))}else i=ME(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function bE(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Bn(r)!==0)return e[on(r)]}function SE(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[on(o)]=r}function ME(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=t[o+1];h===sn&&(h=d?Be:void 0);let f=d?aa(h,r):l===r?h:void 0;if(u&&!yi(f)&&(f=aa(c,r)),yi(f)&&(a=f,s))return a;let m=e[o+1];o=s?on(m):Bn(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=aa(c,r))}return a}function yi(e){return e!==void 0}function _E(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=ge(Ar(e)))),e}function NE(e,n){return(e.flags&(n?8:16))!==0}function xE(e,n,t,r,o,i){let s=n.consts,a=ri(s,o),c=Bi(n,e,2,r,a);return Bh(n,t,c,ri(s,i)),c.attrs!==null&&Wa(c,c.attrs,!1),c.mergedAttrs!==null&&Wa(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function x(e,n,t,r){let o=H(),i=Pe(),s=ze+e,a=o[ue],c=i.firstCreatePass?xE(s,i,o,n,t,r):i.data[s],u=AE(i,o,c,a,n,e);o[s]=u;let l=gc(c);return xr(c,!0),Nh(a,u,c),!tE(c)&&Ic()&&$c(i,o,u,c),xv()===0&&tn(u,o),Av(),l&&(Lh(i,o,c),Fh(i,c,o)),r!==null&&jh(o,c),x}function M(){let e=Ce();Rf()?Lv():(e=e.parent,xr(e,!1));let n=e;kv(n)&&Pv(),Rv();let t=Pe();return t.firstCreatePass&&(bc(t,e),wf(e)&&t.queries.elementEnd(e)),n.classesWithoutHost!=null&&Kv(n)&&Vd(t,n,H(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Jv(n)&&Vd(t,n,H(),n.stylesWithoutHost,!1),M}function _e(e,n,t,r){return x(e,n,t,r),M(),_e}var AE=(e,n,t,r,o,i)=>(Cc(!0),Eh(r,o,Wv()));function Zi(){return H()}var Di="en-US";var RE=Di;function OE(e){typeof e=="string"&&(RE=e.toLowerCase().replace(/_/g,"-"))}var kE=(e,n,t)=>{};function cn(e,n,t,r){let o=H(),i=Pe(),s=Ce();return FE(i,o,o[ue],s,e,n,r),cn}function PE(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function FE(e,n,t,r,o,i,s){let a=gc(r),u=e.firstCreatePass&&Wh(e),l=n[He],d=Gh(n),h=!0;if(r.type&3||s){let v=ke(r,n),C=s?s(v):v,P=d.length,K=s?ie=>s(Xe(ie[r.index])):r.index,L=null;if(!s&&a&&(L=PE(e,n,o,r.index)),L!==null){let ie=L.__ngLastListenerFn__||L;ie.__ngNextListenerFn__=i,L.__ngLastListenerFn__=i,h=!1}else{i=$d(r,n,l,i),kE(v,o,i);let ie=t.listen(C,o,i);d.push(i,ie),u&&u.push(o,K,P,P+1)}}else i=$d(r,n,l,i);let f=r.outputs,m;if(h&&f!==null&&(m=f[o])){let v=m.length;if(v)for(let C=0;C-1?Pt(e.index,n):n;Zc(s,5);let a=Ud(n,t,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Ud(n,t,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function yt(e=1){return Gv(e)}function dp(e,n,t,r){Fw(e,n,t,r)}function fp(e){let n=H(),t=Pe(),r=Pf();Dc(r+1);let o=Qc(t,r);if(e.dirty&&Mv(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Bw(n,r);e.reset(i,Iy),e.notifyOnChanges()}return!0}return!1}function hp(){return kw(H(),Pf())}function LE(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function pp(e){let n=jv();return Tf(n,ze+e)}function V(e,n=""){let t=H(),r=Pe(),o=e+ze,i=r.firstCreatePass?Bi(r,o,1,n,null):r.data[o],s=jE(r,t,i,n,e);t[o]=s,Ic()&&$c(r,t,s,i),xr(i,!1)}var jE=(e,n,t,r,o)=>(Cc(!0),Hy(n[ue],r));function nt(e){return Ge("",e,""),nt}function Ge(e,n,t){let r=H(),o=hE(r,e,n,t);return o!==sn&&qD(r,$n(),o),Ge}function gp(e,n,t,r){return mp(H(),kf(),e,n,t,r)}function VE(e,n){let t=e[n];return t===sn?void 0:t}function mp(e,n,t,r,o,i){let s=n+t;return kr(e,s,o)?eE(e,s+1,i?r.call(i,o):r(o)):VE(e,s+1)}function qn(e,n){let t=Pe(),r,o=e+ze;t.firstCreatePass?(r=BE(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Qt(r.type,!0)),s,a=we(z);try{let c=si(!1),u=i();return si(c),LE(t,H(),o,u),u}finally{we(a)}}function BE(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function Gn(e,n,t){let r=e+ze,o=H(),i=Tf(o,r);return UE(o,r)?mp(o,kf(),n,i.transform,t,i):i.transform(t)}function UE(e,n){return e[N].data[n].pure}var $o=null;function $E(e){$o!==null&&(e.defaultEncapsulation!==$o.defaultEncapsulation||e.preserveWhitespaces!==$o.preserveWhitespaces)||($o=e)}var ic=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Yi=(()=>{class e{compileModuleSync(t){return new vi(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=lf(t),i=wh(o.declarations).reduce((s,a)=>{let c=Rt(a);return c&&s.push(new Vn(c)),s},[]);return new ic(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),HE=new D("");function zE(e,n,t){let r=new vi(t);return Promise.resolve(r)}function Hd(e){for(let n=e.length-1;n>=0;n--)if(e[n]!==void 0)return e[n]}var qE=(()=>{class e{zone=p($);changeDetectionScheduler=p(Fn);applicationRef=p(tt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GE({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new $(G(g({},vp()),{scheduleInRootZone:t})),[{provide:$,useFactory:e},{provide:Rn,multi:!0,useFactory:()=>{let r=p(qE,{optional:!0});return()=>r.initialize()}},{provide:Rn,multi:!0,useFactory:()=>{let r=p(WE);return()=>{r.initialize()}}},n===!0?{provide:rh,useValue:!0}:[],{provide:oh,useValue:t??nh}]}function vp(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var WE=(()=>{class e{subscription=new Y;initialized=!1;zone=p($);pendingTasks=p(gt);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{$.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ZE=(()=>{class e{appRef=p(tt);taskService=p(gt);ngZone=p($);zonelessEnabled=p(xc);tracing=p(Pi,{optional:!0});disableScheduling=p(rh,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Y;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ci):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(oh,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 ui||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?wd:ih;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ci+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(t),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,wd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YE(){return typeof $localize<"u"&&$localize.locale||Di}var ru=new D("",{providedIn:"root",factory:()=>p(ru,A.Optional|A.SkipSelf)||YE()});var wi=new D(""),QE=new D("");function pr(e){return!e.moduleRef}function KE(e){let n=pr(e)?e.r3Injector:e.moduleRef.injector,t=n.get($);return t.run(()=>{pr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(dt,null),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:i=>{r.handleError(i)}})}),pr(e)){let i=()=>n.destroy(),s=e.platformInjector.get(wi);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(wi);s.add(i),e.moduleRef.onDestroy(()=>{Wo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dE(r,t,()=>{let i=n.get(up);return i.runInitializers(),i.donePromise.then(()=>{let s=n.get(ru,Di);if(OE(s||Di),!n.get(QE,!0))return pr(e)?n.get(tt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(pr(e)){let c=n.get(tt);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return JE(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function JE(e,n){let t=e.injector.get(tt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(t);else throw new E(-403,!1);n.push(e)}var yp=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){let o=r?.scheduleInRootZone,i=()=>yy(r?.ngZone,G(g({},vp({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[GE({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Fn,useExisting:ZE}],c=Ww(t.moduleType,this.injector,a);return KE({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){let o=lp({},r);return zE(this.injector,o,t).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let t=this._injector.get(wi,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(w(Oe))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),yr=null,Dp=new D("");function XE(e){if(yr&&!yr.get(Dp,!1))throw new E(400,!1);cE(),yr=e;let n=e.get(yp);return nI(e),n}function ou(e,n,t=[]){let r=`Platform: ${n}`,o=new D(r);return(i=[])=>{let s=wp();if(!s||s.injector.get(Dp,!1)){let a=[...t,...i,{provide:o,useValue:!0}];e?e(a):XE(eI(a,r))}return tI(o)}}function eI(e=[],n){return Oe.create({name:n,providers:[{provide:_i,useValue:"platform"},{provide:wi,useValue:new Set([()=>yr=null])},...e]})}function tI(e){let n=wp();if(!n)throw new E(401,!1);return n}function wp(){return yr?.get(yp)??null}function nI(e){let n=e.get(kc,null);Ie(e,()=>{n?.forEach(t=>t())})}var un=(()=>{class e{static __NG_ELEMENT_ID__=rI}return e})();function rI(e){return oI(Ce(),H(),(e&16)===16)}function oI(e,n,t){if(xi(e)&&!t){let r=Pt(e.index,n);return new nn(r,r)}else if(e.type&175){let r=n[Je];return new nn(r,n)}return null}var sc=class{constructor(){}supports(n){return cp(n)}create(n){return new ac(n)}},iI=(e,n)=>n,ac=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||iI}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new cc(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new Ei),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ei),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},cc=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},uc=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},Ei=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new uc,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function zd(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r{class e{factories;static \u0275prov=y({token:e,providedIn:"root",factory:qd});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||qd()),deps:[[e,new dc,new Mi]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new E(901,!1)}}return e})();var Ep=ou(null,"core",[]),Ip=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(w(tt))};static \u0275mod=fe({type:e});static \u0275inj=de({})}return e})();function Fr(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function su(e){let n=F(null);try{return e()}finally{F(n)}}var Gd=class{[pn];constructor(n){this[pn]=n}destroy(){this[pn].destroy()}};function Cp(e){let n=Rt(e);if(!n)return null;let t=new Vn(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var Np=null;function ln(){return Np}function xp(e){Np??=e}var Qi=class{};var he=new D(""),hu=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(sI),providedIn:"platform"})}return e})(),Ap=new D(""),sI=(()=>{class e extends hu{_location;_history;_doc=p(he);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ln().getBaseHref(this._doc)}onPopState(t){let r=ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function pu(e,n){if(e.length==0)return n;if(n.length==0)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,t==2?e+n.substring(1):t==1?e+n:e+"/"+n}function bp(e){let n=e.match(/#|\?|$/),t=n&&n.index||e.length,r=t-(e[t-1]==="/"?1:0);return e.slice(0,r)+e.slice(t)}function Dt(e){return e&&e[0]!=="?"?"?"+e:e}var wt=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(gu),providedIn:"root"})}return e})(),Rp=new D(""),gu=(()=>{class e extends wt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(he).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return pu(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(w(hu),w(Rp,8))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Op=(()=>{class e extends wt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=pu(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(w(hu),w(Rp,8))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Zn=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=uI(bp(Sp(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Dt(r))}normalize(t){return e.stripTrailingSlash(cI(this._basePath,Sp(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Dt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Dt;static joinWithSlash=pu;static stripTrailingSlash=bp;static \u0275fac=function(r){return new(r||e)(w(wt))};static \u0275prov=y({token:e,factory:()=>aI(),providedIn:"root"})}return e})();function aI(){return new Zn(w(wt))}function cI(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Sp(e){return e.replace(/\/index.html$/,"")}function uI(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}function Ki(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var au=class{$implicit;ngForOf;index;count;constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Lt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch{}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new au(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Mp(a,o)}});for(let o=0,i=r.length;o{let i=r.get(o.currentIndex);Mp(i,o)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(z(Ft),z(rn),z(iu))};static \u0275dir=an({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Mp(e,n){e.context.$implicit=n.item}var jt=(()=>{class e{_viewContainer;_context=new cu;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Tp("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Tp("ngIfElse",t),this._elseTemplateRef=t,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(z(Ft),z(rn))};static \u0275dir=an({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),cu=class{$implicit=null;ngIf=null};function Tp(e,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${ge(n)}'.`)}function lI(e,n){return new E(2100,!1)}var uu=class{createSubscription(n,t){return su(()=>n.subscribe({next:t,error:r=>{throw r}}))}dispose(n){su(()=>n.unsubscribe())}},lu=class{createSubscription(n,t){return n.then(t,r=>{throw r})}dispose(n){}},dI=new lu,fI=new uu,Yn=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(zn(t))return dI;if(eu(t))return fI;throw lI(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(z(un,16))};static \u0275pipe=ip({name:"async",type:e,pure:!1})}return e})();var Ji=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=fe({type:e});static \u0275inj=de({})}return e})(),mu="browser",hI="server";function pI(e){return e===mu}function Xi(e){return e===hI}var kp=(()=>{class e{static \u0275prov=y({token:e,providedIn:"root",factory:()=>pI(p(vt))?new du(p(he),window):new fu})}return e})(),du=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let t=gI(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function gI(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var fu=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Wn=class{};var jr=class{},ts=class{},Et=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` +`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var yu=class{encodeKey(n){return Pp(n)}encodeValue(n){return Pp(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function mI(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var vI=/%(\d[a-f0-9])/gi,yI={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Pp(e){return encodeURIComponent(e).replace(vI,(n,t)=>yI[t]??n)}function es(e){return`${e}`}var Bt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new yu,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=mI(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(es):[es(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(es(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(es(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var Du=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function DI(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Fp(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Lp(e){return typeof Blob<"u"&&e instanceof Blob}function jp(e){return typeof FormData<"u"&&e instanceof FormData}function wI(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Lr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(DI(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Et,this.context??=new Du,!this.params)this.params=new Bt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":ah.set(f,n.setHeaders[f]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((h,f)=>h.set(f,n.setParams[f]),l)),new e(t,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Ut=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ut||{}),Vr=class{headers;status;statusText;url;ok;type;constructor(n,t=200,r="OK"){this.headers=n.headers||new Et,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},ns=class e extends Vr{constructor(n={}){super(n)}type=Ut.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Br=class e extends Vr{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Ut.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Vt=class extends Vr{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Hp=200,EI=204;function vu(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Iu=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Lr)i=t;else{let c;o.headers instanceof Et?c=o.headers:c=new Et(o.headers);let u;o.params&&(o.params instanceof Bt?u=o.params:u=new Bt({fromObject:o.params})),i=new Lr(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=I(i).pipe(st(c=>this.handler.handle(c)));if(t instanceof Lr||o.observe==="events")return s;let a=s.pipe(ae(c=>c instanceof Br));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(_(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(_(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(_(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(_(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Bt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,vu(o,r))}post(t,r,o={}){return this.request("POST",t,vu(o,r))}put(t,r,o={}){return this.request("PUT",t,vu(o,r))}static \u0275fac=function(r){return new(r||e)(w(jr))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),II=/^\)\]\}',?\n/,CI="X-Request-URL";function Vp(e){if(e.url)return e.url;let n=CI.toLocaleLowerCase();return e.headers.get(n)}var bI=(()=>{class e{fetchImpl=p(wu,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=p($);handle(t){return new j(r=>{let o=new AbortController;return this.doRequest(t,o.signal,r).then(Eu,i=>r.error(new Vt({error:i}))),()=>o.abort()})}doRequest(t,r,o){return ur(this,null,function*(){let i=this.createRequestInit(t),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,g({signal:r},i)));SI(f),o.next({type:Ut.Sent}),s=yield f}catch(f){o.error(new Vt({error:f,status:f.status??0,statusText:f.statusText,url:t.urlWithParams,headers:f.headers}));return}let a=new Et(s.headers),c=s.statusText,u=Vp(s)??t.urlWithParams,l=s.status,d=null;if(t.reportProgress&&o.next(new ns({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),m=[],v=s.body.getReader(),C=0,P,K,L=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>ur(this,null,function*(){for(;;){let{done:ye,value:ee}=yield v.read();if(ye)break;if(m.push(ee),C+=ee.length,t.reportProgress){K=t.responseType==="text"?(K??"")+(P??=new TextDecoder).decode(ee,{stream:!0}):void 0;let ot=()=>o.next({type:Ut.DownloadProgress,total:f?+f:void 0,loaded:C,partialText:K});L?L.run(ot):ot()}}}));let ie=this.concatChunks(m,C);try{let ye=s.headers.get("Content-Type")??"";d=this.parseBody(t,ie,ye)}catch(ye){o.error(new Vt({error:ye,headers:new Et(s.headers),status:s.status,statusText:s.statusText,url:Vp(s)??t.urlWithParams}));return}}l===0&&(l=d?Hp:0),l>=200&&l<300?(o.next(new Br({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new Vt({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(t,r,o){switch(t.responseType){case"json":let i=new TextDecoder().decode(r).replace(II,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){let i=t.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),wu=class{};function Eu(){}function SI(e){e.then(Eu,Eu)}function zp(e,n){return n(e)}function MI(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function TI(e,n,t){return(r,o)=>Ie(t,()=>n(r,i=>e(i,o)))}var _I=new D(""),Cu=new D(""),NI=new D(""),qp=new D("",{providedIn:"root",factory:()=>!0});function xI(){let e=null;return(n,t)=>{e===null&&(e=(p(_I,{optional:!0})??[]).reduceRight(MI,zp));let r=p(gt);if(p(qp)){let i=r.add();return e(n,t).pipe(_t(()=>r.remove(i)))}else return e(n,t)}}var Bp=(()=>{class e extends jr{backend;injector;chain=null;pendingTasks=p(gt);contributeToStability=p(qp);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Cu),...this.injector.get(NI,[])]));this.chain=r.reduceRight((o,i)=>TI(o,i,this.injector),zp)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(_t(()=>this.pendingTasks.remove(r)))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(w(ts),w(me))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();var AI=/^\)\]\}',?\n/;function RI(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Up=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Z(r.\u0275loadImpl()):I(null)).pipe(ce(()=>new j(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,C)=>s.setRequestHeader(v,C.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let v=t.detectContentTypeHeader();v!==null&&s.setRequestHeader("Content-Type",v)}if(t.responseType){let v=t.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",C=new Et(s.getAllResponseHeaders()),P=RI(s)||t.url;return c=new ns({headers:C,status:s.status,statusText:v,url:P}),c},l=()=>{let{headers:v,status:C,statusText:P,url:K}=u(),L=null;C!==EI&&(L=typeof s.response>"u"?s.responseText:s.response),C===0&&(C=L?Hp:0);let ie=C>=200&&C<300;if(t.responseType==="json"&&typeof L=="string"){let ye=L;L=L.replace(AI,"");try{L=L!==""?JSON.parse(L):null}catch(ee){L=ye,ie&&(ie=!1,L={error:ee,text:L})}}ie?(i.next(new Br({body:L,headers:v,status:C,statusText:P,url:K||void 0})),i.complete()):i.error(new Vt({error:L,headers:v,status:C,statusText:P,url:K||void 0}))},d=v=>{let{url:C}=u(),P=new Vt({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(P)},h=!1,f=v=>{h||(i.next(u()),h=!0);let C={type:Ut.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),t.responseType==="text"&&s.responseText&&(C.partialText=s.responseText),i.next(C)},m=v=>{let C={type:Ut.UploadProgress,loaded:v.loaded};v.lengthComputable&&(C.total=v.total),i.next(C)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),i.next({type:Ut.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(w(Wn))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),Gp=new D(""),OI="XSRF-TOKEN",kI=new D("",{providedIn:"root",factory:()=>OI}),PI="X-XSRF-TOKEN",FI=new D("",{providedIn:"root",factory:()=>PI}),rs=class{},LI=(()=>{class e{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ki(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(w(he),w(vt),w(kI))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function jI(e,n){let t=e.url.toLowerCase();if(!p(Gp)||e.method==="GET"||e.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return n(e);let r=p(rs).getToken(),o=p(FI);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var Wp=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Wp||{});function VI(e,n){return{\u0275kind:e,\u0275providers:n}}function Zp(...e){let n=[Iu,Up,Bp,{provide:jr,useExisting:Bp},{provide:ts,useFactory:()=>p(bI,{optional:!0})??p(Up)},{provide:Cu,useValue:jI,multi:!0},{provide:Gp,useValue:!0},{provide:rs,useClass:LI}];for(let t of e)n.push(...t.\u0275providers);return Ti(n)}var $p=new D("");function Yp(){return VI(Wp.LegacyInterceptors,[{provide:$p,useFactory:xI},{provide:Cu,useExisting:$p,multi:!0}])}var Su=class extends Qi{supportsDOMEvents=!0},Mu=class e extends Su{static makeCurrent(){xp(new e)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=UI();return t==null?null:$I(t)}resetBaseElement(){Ur=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ki(document.cookie,n)}},Ur=null;function UI(){return Ur=Ur||document.querySelector("base"),Ur?Ur.getAttribute("href"):null}function $I(e){return new URL(e,document.baseURI).pathname}var Tu=class{addToWindow(n){$e.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new E(5103,!1);return i},$e.getAllAngularTestabilities=()=>n.getAllTestabilities(),$e.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let o=$e.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};$e.frameworkStabilizers||($e.frameworkStabilizers=[]),$e.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let o=n.getTestability(t);return o??(r?ln().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},HI=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),_u=new D(""),tg=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(w(_u),w($))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),is=class{_doc;constructor(n){this._doc=n}manager},os="ng-app-id";function Qp(e){for(let n of e)n.remove()}function Kp(e,n){let t=n.createElement("style");return t.textContent=e,t}function zI(e,n,t,r){let o=e.head?.querySelectorAll(`style[${os}="${n}"],link[${os}="${n}"]`);if(o)for(let i of o)i.removeAttribute(os),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Nu(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var ng=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.isServer=Xi(i),zI(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,Kp);r?.forEach(o=>this.addUsage(o,this.external,Nu))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(Qp(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])Qp(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,Kp(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Nu(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),this.isServer&&r.setAttribute(os,this.appId),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(w(he),w(Oc),w(Pc,8),w(vt))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),bu={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"},Au=/%COMP%/g,rg="%COMP%",qI=`_nghost-${rg}`,GI=`_ngcontent-${rg}`,WI=!0,ZI=new D("",{providedIn:"root",factory:()=>WI});function YI(e){return GI.replace(Au,e)}function QI(e){return qI.replace(Au,e)}function og(e,n){return n.map(t=>t.replace(Au,e))}var Jp=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,o,i,s,a,c,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.platformIsServer=Xi(a),this.defaultRenderer=new $r(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===et.ShadowDom&&(r=G(g({},r),{encapsulation:et.Emulated}));let o=this.getOrCreateRenderer(t,r);return o instanceof ss?o.applyToHost(t):o instanceof Hr&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case et.Emulated:i=new ss(c,u,r,this.appId,l,s,a,d);break;case et.ShadowDom:return new xu(c,u,t,r,s,a,this.nonce,d);default:i=new Hr(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(r){return new(r||e)(w(tg),w(ng),w(Oc),w(ZI),w(he),w(vt),w($),w(Pc))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),$r=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(bu[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Xp(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Xp(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=bu[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=bu[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(ft.DashCase|ft.Important)?n.style.setProperty(t,r,o&ft.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ft.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r){if(typeof n=="string"&&(n=ln().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))===!1&&t.preventDefault()}}};function Xp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var xu=class extends $r{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,i,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=og(o.id,o.styles);for(let d of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=d,this.shadowRoot.appendChild(h)}let l=o.getExternalStyles?.();if(l)for(let d of l){let h=Nu(d,i);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Hr=class extends $r{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=c?og(c,r.styles):r.styles,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ss=class extends Hr{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,u),this.contentAttr=YI(u),this.hostAttr=QI(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}},KI=(()=>{class e extends is{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static \u0275fac=function(r){return new(r||e)(w(he))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})(),eg=["alt","control","meta","shift"],JI={"\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"},XI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},eC=(()=>{class e extends is{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ln().onAndCancel(t,i.domEventName,s))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),eg.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=JI[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),eg.forEach(s=>{if(s!==o){let a=XI[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(w(he))};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function tC(){Mu.makeCurrent()}function nC(){return new dt}function rC(){return ph(document),document}var oC=[{provide:vt,useValue:mu},{provide:kc,useValue:tC,multi:!0},{provide:he,useFactory:rC,deps:[]}],ig=ou(Ep,"browser",oC),iC=new D(""),sC=[{provide:Pr,useClass:Tu,deps:[]},{provide:Jc,useClass:zi,deps:[$,qi,Pr]},{provide:zi,useClass:zi,deps:[$,qi,Pr]}],aC=[{provide:_i,useValue:"root"},{provide:dt,useFactory:nC,deps:[]},{provide:_u,useClass:KI,multi:!0,deps:[he,$,vt]},{provide:_u,useClass:eC,multi:!0,deps:[he]},Jp,ng,tg,{provide:jn,useExisting:Jp},{provide:Wn,useClass:HI,deps:[]},[]],sg=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(w(iC,12))};static \u0275mod=fe({type:e});static \u0275inj=de({providers:[...aC,...sC],imports:[Ji,Ip]})}return e})();var ag=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(w(he))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var T="primary",ro=Symbol("RouteTitle"),Fu=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function nr(e){return new Fu(e)}function cC(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.lengthr[i]===o)}else return e===n}function wg(e){return e.length>0?e[e.length-1]:null}function Ht(e){return Xs(e)?e:zn(e)?Z(Promise.resolve(e)):I(e)}var lC={exact:Ig,subset:Cg},Eg={exact:dC,subset:fC,ignored:()=>!0};function ug(e,n,t){return lC[t.paths](e.root,n.root,t.matrixParams)&&Eg[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function dC(e,n){return rt(e,n)}function Ig(e,n,t){if(!fn(e.segments,n.segments)||!us(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!Ig(e.children[r],n.children[r],t))return!1;return!0}function fC(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>Dg(e[t],n[t]))}function Cg(e,n,t){return bg(e,n,n.segments,t)}function bg(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!fn(o,t)||n.hasChildren()||!us(o,t,r))}else if(e.segments.length===t.length){if(!fn(e.segments,t)||!us(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!Cg(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!fn(e.segments,o)||!us(e.segments,o,r)||!e.children[T]?!1:bg(e.children[T],n,i,r)}}function us(e,n,t){return n.every((r,o)=>Eg[t](e[o].parameters,r.parameters))}var Ct=class{root;queryParams;fragment;_queryParamMap;constructor(n=new U([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=nr(this.queryParams),this._queryParamMap}toString(){return gC.serialize(this)}},U=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ls(this)}},dn=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=nr(this.parameters),this._parameterMap}toString(){return Mg(this)}};function hC(e,n){return fn(e,n)&&e.every((t,r)=>rt(t.parameters,n[r].parameters))}function fn(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function pC(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===T&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==T&&(t=t.concat(n(o,r)))}),t}var oo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>new rr,providedIn:"root"})}return e})(),rr=class{parse(n){let t=new Vu(n);return new Ct(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${zr(n.root,!0)}`,r=yC(n.queryParams),o=typeof n.fragment=="string"?`#${mC(n.fragment)}`:"";return`${t}${r}${o}`}},gC=new rr;function ls(e){return e.segments.map(n=>Mg(n)).join("/")}function zr(e,n){if(!e.hasChildren())return ls(e);if(n){let t=e.children[T]?zr(e.children[T],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==T&&r.push(`${o}:${zr(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=pC(e,(r,o)=>o===T?[zr(e.children[T],!1)]:[`${o}:${zr(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[T]!=null?`${ls(e)}/${t[0]}`:`${ls(e)}/(${t.join("//")})`}}function Sg(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function as(e){return Sg(e).replace(/%3B/gi,";")}function mC(e){return encodeURI(e)}function ju(e){return Sg(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ds(e){return decodeURIComponent(e)}function lg(e){return ds(e.replace(/\+/g,"%20"))}function Mg(e){return`${ju(e.path)}${vC(e.parameters)}`}function vC(e){return Object.entries(e).map(([n,t])=>`;${ju(n)}=${ju(t)}`).join("")}function yC(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${as(t)}=${as(o)}`).join("&"):`${as(t)}=${as(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var DC=/^[^\/()?;#]+/;function Ru(e){let n=e.match(DC);return n?n[0]:""}var wC=/^[^\/()?;=#]+/;function EC(e){let n=e.match(wC);return n?n[0]:""}var IC=/^[^=?&#]+/;function CC(e){let n=e.match(IC);return n?n[0]:""}var bC=/^[^&#]+/;function SC(e){let n=e.match(bC);return n?n[0]:""}var Vu=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[T]=new U(n,t)),r}parseSegment(){let n=Ru(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new dn(ds(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=EC(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=Ru(this.remaining);o&&(r=o,this.capture(r))}n[ds(t)]=ds(r)}parseQueryParam(n){let t=CC(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=SC(this.remaining);s&&(r=s,this.capture(r))}let o=lg(t),i=lg(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ru(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new E(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=T);let s=this.parseChildren();t[i]=Object.keys(s).length===1?s[T]:new U([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function Tg(e){return e.segments.length>0?new U([],{[T]:e}):e}function _g(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=_g(o);if(r===T&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new U(e.segments,n);return MC(t)}function MC(e){if(e.numberOfChildren===1&&e.children[T]){let n=e.children[T];return new U(e.segments.concat(n.segments),n.children)}return e}function hn(e){return e instanceof Ct}function TC(e,n,t=null,r=null){let o=Ng(e);return xg(o,n,t,r)}function Ng(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new U(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=Tg(r);return n??o}function xg(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return Ou(o,o,o,t,r);let i=_C(n);if(i.toRoot())return Ou(o,o,new U([],{}),t,r);let s=NC(i,o,e),a=s.processChildren?Wr(s.segmentGroup,s.index,i.commands):Rg(s.segmentGroup,s.index,i.commands);return Ou(o,s.segmentGroup,a,t,r)}function fs(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Qr(e){return typeof e=="object"&&e!=null&&e.outlets}function Ou(e,n,t,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===n?s=t:s=Ag(e,n,t);let a=Tg(_g(s));return new Ct(a,i,o)}function Ag(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=Ag(i,n,t)}),new U(e.segments,r)}var hs=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&fs(r[0]))throw new E(4003,!1);let o=r.find(Qr);if(o&&o!==wg(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function _C(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new hs(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new hs(t,n,r)}var Xn=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function NC(e,n,t){if(e.isAbsolute)return new Xn(n,!0,0);if(!t)return new Xn(n,!1,NaN);if(t.parent===null)return new Xn(t,!0,0);let r=fs(e.commands[0])?0:1,o=t.segments.length-1+r;return xC(t,o,e.numberOfDoubleDots)}function xC(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new E(4005,!1);o=r.segments.length}return new Xn(r,!1,o-i)}function AC(e){return Qr(e[0])?e[0].outlets:{[T]:e}}function Rg(e,n,t){if(e??=new U([],{}),e.segments.length===0&&e.hasChildren())return Wr(e,n,t);let r=RC(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndexi!==T)&&e.children[T]&&e.numberOfChildren===1&&e.children[T].segments.length===0){let i=Wr(e.children[T],n,t);return new U(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Rg(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new U(e.segments,o)}}function RC(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;let s=e.segments[o],a=t[r];if(Qr(a))break;let c=`${a}`,u=r0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!fg(c,u,s))return i;r+=2}else{if(!fg(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Bu(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=Bu(new U([],{}),0,r))}),n}function dg(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function fg(e,n,t){return e==t.path&&rt(n,t.parameters)}var Zr="imperative",oe=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(oe||{}),Fe=class{id;url;constructor(n,t){this.id=n,this.url=t}},or=class extends Fe{type=oe.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ze=class extends Fe{urlAfterRedirects;type=oe.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},xe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(xe||{}),ps=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(ps||{}),It=class extends Fe{reason;code;type=oe.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},$t=class extends Fe{reason;code;type=oe.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},Kr=class extends Fe{error;target;type=oe.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},gs=class extends Fe{urlAfterRedirects;state;type=oe.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Uu=class extends Fe{urlAfterRedirects;state;type=oe.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$u=class extends Fe{urlAfterRedirects;state;shouldActivate;type=oe.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Hu=class extends Fe{urlAfterRedirects;state;type=oe.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zu=class extends Fe{urlAfterRedirects;state;type=oe.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qu=class{route;type=oe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Gu=class{route;type=oe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Wu=class{snapshot;type=oe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zu=class{snapshot;type=oe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yu=class{snapshot;type=oe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qu=class{snapshot;type=oe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ms=class{routerEvent;position;anchor;type=oe.Scroll;constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Jr=class{},ir=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function kC(e,n){return e.providers&&!e._injector&&(e._injector=$i(e.providers,n,`Route: ${e.path}`)),e._injector??n}function We(e){return e.outlet||T}function PC(e,n){let t=e.filter(r=>We(r)===n);return t.push(...e.filter(r=>We(r)!==n)),t}function io(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var Ku=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return io(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new so(this.rootInjector)}},so=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Ku(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(w(me))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vs=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Ju(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Ju(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Xu(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Xu(n,this._root).map(t=>t.value)}};function Ju(e,n){if(e===n.value)return n;for(let t of n.children){let r=Ju(e,t);if(r)return r}return null}function Xu(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Xu(e,t);if(r.length)return r.unshift(n),r}return[]}var Ne=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Jn(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var ys=class extends vs{snapshot;constructor(n,t){super(n),this.snapshot=t,cl(this,n)}toString(){return this.snapshot.toString()}};function Og(e){let n=FC(e),t=new se([new dn("",{})]),r=new se({}),o=new se({}),i=new se({}),s=new se(""),a=new bt(t,r,i,s,o,T,e,n.root);return a.snapshot=n.root,new ys(new Ne(a,[]),n)}function FC(e){let n={},t={},r={},o="",i=new er([],n,r,o,t,T,e,null,{});return new ws("",new Ne(i,[]))}var bt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(_(u=>u[ro]))??I(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(_(n=>nr(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(_(n=>nr(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ds(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),e.params),data:g(g({},n.data),e.data),resolve:g(g(g(g({},e.data),n.data),o?.data),e._resolvedData)}:r={params:g({},e.params),data:g({},e.data),resolve:g(g({},e.data),e._resolvedData??{})},o&&Pg(o)&&(r.resolve[ro]=o.title),r}var er=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ro]}constructor(n,t,r,o,i,s,a,c,u){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=nr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=nr(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},ws=class extends vs{url;constructor(n,t){super(t),this.url=n,cl(this,t)}toString(){return kg(this._root)}};function cl(e,n){n.value._routerState=e,n.children.forEach(t=>cl(e,t))}function kg(e){let n=e.children.length>0?` { ${e.children.map(kg).join(", ")} } `:"";return`${e.value}${n}`}function ku(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,rt(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),rt(n.params,t.params)||e.paramsSubject.next(t.params),uC(n.url,t.url)||e.urlSubject.next(t.url),rt(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function el(e,n){let t=rt(e.params,n.params)&&hC(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||el(e.parent,n.parent))}function Pg(e){return typeof e.title=="string"||e.title===null}var LC=new D(""),ul=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=T;activateEvents=new Ee;deactivateEvents=new Ee;attachEvents=new Ee;detachEvents=new Ee;routerOutletData=ah(void 0);parentContexts=p(so);location=p(Ft);changeDetector=p(un);inputBinder=p(Ss,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new tl(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=an({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Nr]})}return e})(),tl=class e{route;childContexts;parent;outletData;__ngOutletInjector(n){return new e(this.route,this.childContexts,n,this.outletData)}constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===bt?this.route:n===so?this.childContexts:n===LC?this.outletData:this.parent.get(n,t)}},Ss=new D(""),hg=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=hr([r.queryParams,r.params,r.data]).pipe(ce(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?I(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=Cp(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function jC(e,n,t){let r=Xr(e,n._root,t?t._root:void 0);return new ys(r,n)}function Xr(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=VC(e,n,t);return new Ne(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Xr(e,a)),s}}let r=BC(n.value),o=n.children.map(i=>Xr(e,i));return new Ne(r,o)}}function VC(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Xr(e,r,o);return Xr(e,r)})}function BC(e){return new bt(new se(e.url),new se(e.params),new se(e.queryParams),new se(e.fragment),new se(e.data),e.outlet,e.component,e)}var eo=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},Fg="ngNavigationCancelingError";function Es(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=hn(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=Lg(!1,xe.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function Lg(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[Fg]=!0,t.cancellationCode=n,t}function UC(e){return jg(e)&&hn(e.url)}function jg(e){return!!e&&e[Fg]}var $C=(e,n,t,r)=>_(o=>(new nl(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)),nl=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),ku(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Jn(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Jn(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Jn(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=Jn(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Qu(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Zu(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(ku(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ku(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Is=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},tr=class{component;route;constructor(n,t){this.component=n,this.route=t}};function HC(e,n,t){let r=e._root,o=n?n._root:null;return qr(r,o,t,[r.value])}function zC(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function ar(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Xd(e)?e:n.get(e):r}function qr(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Jn(n);return e.children.forEach(s=>{qC(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Yr(a,t.getContext(s),o)),o}function qC(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=GC(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Is(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?qr(e,n,a?a.children:null,r,o):qr(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new tr(a.outlet.component,s))}else s&&Yr(n,a,o),o.canActivateChecks.push(new Is(r)),i.component?qr(e,null,a?a.children:null,r,o):qr(e,null,t,r,o);return o}function GC(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!fn(e.url,n.url);case"pathParamsOrQueryParamsChange":return!fn(e.url,n.url)||!rt(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!el(e,n)||!rt(e.queryParams,n.queryParams);case"paramsChange":default:return!el(e,n)}}function Yr(e,n,t){let r=Jn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Yr(s,n.children.getContext(i),t):Yr(s,null,t):Yr(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new tr(n.outlet.component,o)):t.canDeactivateChecks.push(new tr(null,o)):t.canDeactivateChecks.push(new tr(null,o))}function ao(e){return typeof e=="function"}function WC(e){return typeof e=="boolean"}function ZC(e){return e&&ao(e.canLoad)}function YC(e){return e&&ao(e.canActivate)}function QC(e){return e&&ao(e.canActivateChild)}function KC(e){return e&&ao(e.canDeactivate)}function JC(e){return e&&ao(e.canMatch)}function Vg(e){return e instanceof it||e?.name==="EmptyError"}var cs=Symbol("INITIAL_VALUE");function sr(){return ce(e=>hr(e.map(n=>n.pipe(at(1),ia(cs)))).pipe(_(n=>{for(let t of n)if(t!==!0){if(t===cs)return cs;if(t===!1||XC(t))return t}return!0}),ae(n=>n!==cs),at(1)))}function XC(e){return hn(e)||e instanceof eo}function eb(e,n){return X(t=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return s.length===0&&i.length===0?I(G(g({},t),{guardsResult:!0})):tb(s,r,o,e).pipe(X(a=>a&&WC(a)?nb(r,i,e,n):I(a)),_(a=>G(g({},t),{guardsResult:a})))})}function tb(e,n,t,r){return Z(e).pipe(X(o=>ab(o.component,o.route,t,n,r)),ct(o=>o!==!0,!0))}function nb(e,n,t,r){return Z(n).pipe(st(o=>bn(ob(o.route.parent,r),rb(o.route,r),sb(e,o.path,t),ib(e,o.route,t))),ct(o=>o!==!0,!0))}function rb(e,n){return e!==null&&n&&n(new Yu(e)),I(!0)}function ob(e,n){return e!==null&&n&&n(new Wu(e)),I(!0)}function ib(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return I(!0);let o=r.map(i=>Lo(()=>{let s=io(n)??t,a=ar(i,s),c=YC(a)?a.canActivate(n,e):Ie(s,()=>a(n,e));return Ht(c).pipe(ct())}));return I(o).pipe(sr())}function sb(e,n,t){let r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>zC(s)).filter(s=>s!==null).map(s=>Lo(()=>{let a=s.guards.map(c=>{let u=io(s.node)??t,l=ar(c,u),d=QC(l)?l.canActivateChild(r,e):Ie(u,()=>l(r,e));return Ht(d).pipe(ct())});return I(a).pipe(sr())}));return I(i).pipe(sr())}function ab(e,n,t,r,o){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return I(!0);let s=i.map(a=>{let c=io(n)??o,u=ar(a,c),l=KC(u)?u.canDeactivate(e,n,t,r):Ie(c,()=>u(e,n,t,r));return Ht(l).pipe(ct())});return I(s).pipe(sr())}function cb(e,n,t,r){let o=n.canLoad;if(o===void 0||o.length===0)return I(!0);let i=o.map(s=>{let a=ar(s,e),c=ZC(a)?a.canLoad(n,t):Ie(e,()=>a(n,t));return Ht(c)});return I(i).pipe(sr(),Bg(r))}function Bg(e){return Zs(Q(n=>{if(typeof n!="boolean")throw Es(e,n)}),_(n=>n===!0))}function ub(e,n,t,r){let o=n.canMatch;if(!o||o.length===0)return I(!0);let i=o.map(s=>{let a=ar(s,e),c=JC(a)?a.canMatch(n,t):Ie(e,()=>a(n,t));return Ht(c)});return I(i).pipe(sr(),Bg(r))}var to=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},no=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function Kn(e){return Cn(new to(e))}function lb(e){return Cn(new E(4e3,!1))}function db(e){return Cn(Lg(!1,xe.GuardRejected))}var rl=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return I(r);if(o.numberOfChildren>1||!o.children[T])return lb(`${n.redirectTo}`);o=o.children[T]}}applyRedirectCommands(n,t,r,o,i){if(typeof t!="string"){let a=t,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:m,title:v}=o,C=Ie(i,()=>a({params:f,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:v}));if(C instanceof Ct)throw new no(C);t=C}let s=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r);if(t[0]==="/")throw new no(s);return s}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Ct(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new U(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}},ol={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function fb(e,n,t,r,o){let i=Ug(e,n,t);return i.matched?(r=kC(n,r),ub(r,n,t,o).pipe(_(s=>s===!0?i:g({},ol)))):I(i)}function Ug(e,n,t){if(n.path==="**")return hb(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?g({},ol):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||cC)(t,e,n);if(!o)return g({},ol);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:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function hb(e){return{matched:!0,parameters:e.length>0?wg(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function pg(e,n,t,r){return t.length>0&&mb(e,t,r)?{segmentGroup:new U(n,gb(r,new U(t,e.children))),slicedSegments:[]}:t.length===0&&vb(e,t,r)?{segmentGroup:new U(e.segments,pb(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new U(e.segments,e.children),slicedSegments:t}}function pb(e,n,t,r){let o={};for(let i of t)if(Ms(e,n,i)&&!r[We(i)]){let s=new U([],{});o[We(i)]=s}return g(g({},r),o)}function gb(e,n){let t={};t[T]=n;for(let r of e)if(r.path===""&&We(r)!==T){let o=new U([],{});t[We(r)]=o}return t}function mb(e,n,t){return t.some(r=>Ms(e,n,r)&&We(r)!==T)}function vb(e,n,t){return t.some(r=>Ms(e,n,r))}function Ms(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function yb(e,n,t){return n.length===0&&!e.children[t]}var il=class{};function Db(e,n,t,r,o,i,s="emptyOnly"){return new sl(e,n,t,r,o,s,i).recognize()}var wb=31,sl=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new rl(this.urlSerializer,this.urlTree)}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}recognize(){let n=pg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(_(({children:t,rootSnapshot:r})=>{let o=new Ne(r,t),i=new ws("",o),s=TC(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(n){let t=new er([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),T,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,T,t).pipe(_(r=>({children:r,rootSnapshot:t})),Ae(r=>{if(r instanceof no)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof to?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,i):this.processSegment(n,t,r,r.segments,o,!0,i).pipe(_(s=>s instanceof Ne?[s]:[]))}processChildren(n,t,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return Z(i).pipe(st(s=>{let a=r.children[s],c=PC(t,s);return this.processSegmentGroup(n,c,a,s,o)}),oa((s,a)=>(s.push(...a),s)),Tt(null),ra(),X(s=>{if(s===null)return Kn(r);let a=$g(s);return Eb(a),I(a)}))}processSegment(n,t,r,o,i,s,a){return Z(t).pipe(st(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a).pipe(Ae(u=>{if(u instanceof to)return I(null);throw u}))),ct(c=>!!c),Ae(c=>{if(Vg(c))return yb(r,o,i)?I(new il):Kn(r);throw c}))}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return We(r)!==s&&(s===T||!Ms(o,i,r))?Kn(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c):Kn(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Ug(t,o,i);if(!c)return Kn(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>wb&&(this.allowRedirects=!1));let f=new er(i,u,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,gg(o),We(o),o.component??o._loadedComponent??null,o,mg(o)),m=Ds(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(m.params),f.data=Object.freeze(m.data);let v=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,n);return this.applyRedirects.lineralizeSegments(o,v).pipe(X(C=>this.processSegment(n,r,t,C.concat(h),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a=fb(t,r,o,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(ce(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,o).pipe(ce(({routes:u})=>{let l=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:f}=c,m=new er(h,d,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,gg(r),We(r),r.component??r._loadedComponent??null,r,mg(r)),v=Ds(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(v.params),m.data=Object.freeze(v.data);let{segmentGroup:C,slicedSegments:P}=pg(t,h,f,u);if(P.length===0&&C.hasChildren())return this.processChildren(l,u,C,m).pipe(_(L=>new Ne(m,L)));if(u.length===0&&P.length===0)return I(new Ne(m,[]));let K=We(r)===i;return this.processSegment(l,u,C,P,K?T:i,!0,m).pipe(_(L=>new Ne(m,L instanceof Ne?[L]:[])))}))):Kn(t)))}getChildConfig(n,t,r){return t.children?I({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?I({routes:t._loadedRoutes,injector:t._loadedInjector}):cb(n,t,r,this.urlSerializer).pipe(X(o=>o?this.configLoader.loadChildren(n,t).pipe(Q(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):db(t))):I({routes:[],injector:n})}};function Eb(e){e.sort((n,t)=>n.value.outlet===T?-1:t.value.outlet===T?1:n.value.outlet.localeCompare(t.value.outlet))}function Ib(e){let n=e.value.routeConfig;return n&&n.path===""}function $g(e){let n=[],t=new Set;for(let r of e){if(!Ib(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=$g(r.children);n.push(new Ne(r.value,o))}return n.filter(r=>!t.has(r))}function gg(e){return e.data||{}}function mg(e){return e.resolve||{}}function Cb(e,n,t,r,o,i){return X(s=>Db(e,n,t,r,s.extractedUrl,o,i).pipe(_(({state:a,tree:c})=>G(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function bb(e,n){return X(t=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return I(t);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 Hg(c))s.add(u);let a=0;return Z(s).pipe(st(c=>i.has(c)?Sb(c,r,e,n):(c.data=Ds(c,c.parent,e).resolve,I(void 0))),Q(()=>a++),Sn(1),X(c=>a===s.size?I(t):Se))})}function Hg(e){let n=e.children.map(t=>Hg(t)).flat();return[e,...n]}function Sb(e,n,t,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Pg(o)&&(i[ro]=o.title),Mb(i,e,n,r).pipe(_(s=>(e._resolvedData=s,e.data=Ds(e,e.parent,t).resolve,null)))}function Mb(e,n,t,r){let o=Lu(e);if(o.length===0)return I({});let i={};return Z(o).pipe(X(s=>Tb(e[s],n,t,r).pipe(ct(),Q(a=>{if(a instanceof eo)throw Es(new rr,a);i[s]=a}))),Sn(1),ta(i),Ae(s=>Vg(s)?Se:Cn(s)))}function Tb(e,n,t,r){let o=io(n)??r,i=ar(e,o),s=i.resolve?i.resolve(n,t):Ie(o,()=>i(n,t));return Ht(s)}function Pu(e){return ce(n=>{let t=e(n);return t?Z(t).pipe(_(()=>n)):I(n)})}var zg=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===T);return r}getResolvedTitleForRoute(t){return t.data[ro]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(_b),providedIn:"root"})}return e})(),_b=(()=>{class e extends zg{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(w(ag))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),co=new D("",{providedIn:"root",factory:()=>({})}),Nb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(r,o){r&1&&_e(0,"router-outlet")},dependencies:[ul],encapsulation:2})}return e})();function ll(e){let n=e.children&&e.children.map(ll),t=n?G(g({},e),{children:n}):g({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==T&&(t.component=Nb),t}var Cs=new D(""),dl=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(Yi);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return I(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=Ht(t.loadComponent()).pipe(_(qg),Q(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),_t(()=>{this.componentLoaders.delete(t)})),o=new En(r,()=>new J).pipe(wn());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return I({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=xb(r,this.compiler,t,this.onLoadEndListener).pipe(_t(()=>{this.childrenLoaders.delete(r)})),s=new En(i,()=>new J).pipe(wn());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xb(e,n,t,r){return Ht(e.loadChildren()).pipe(_(qg),X(o=>o instanceof br||Array.isArray(o)?I(o):Z(n.compileModuleAsync(o))),_(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(t).injector,s=i.get(Cs,[],{optional:!0,self:!0}).flat()),{routes:s.map(ll),injector:i}}))}function Ab(e){return e&&typeof e=="object"&&"default"in e}function qg(e){return Ab(e)?e.default:e}var fl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(Rb),providedIn:"root"})}return e})(),Rb=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gg=new D(""),Wg=new D("");function Ob(e,n,t){let r=e.get(Wg),o=e.get(he);return e.get($).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),kb(e))),{onViewTransitionCreated:c}=r;return c&&Ie(e,()=>c({transition:a,from:n,to:t})),s})}function kb(e){return new Promise(n=>{Lc({read:()=>setTimeout(n)},{injector:e})})}var Zg=new D(""),hl=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortSubject=new J;configLoader=p(dl);environmentInjector=p(me);urlSerializer=p(oo);rootContexts=p(so);location=p(Zn);inputBindingEnabled=p(Ss,{optional:!0})!==null;titleStrategy=p(zg);options=p(co,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(fl);createViewTransition=p(Gg,{optional:!0});navigationErrorHandler=p(Zg,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>I(void 0);rootComponentType=null;constructor(){let t=o=>this.events.next(new qu(o)),r=o=>this.events.next(new Gu(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(G(g(g({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,o){return this.transitions=new se({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Zr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ae(i=>i.id!==0),_(i=>G(g({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),ce(i=>{let s=!1,a=!1;return I(i).pipe(ce(c=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",xe.SupersededByNewNavigation),Se;this.currentTransition=i,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?G(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new $t(c.id,this.urlSerializer.serialize(c.rawUrl),d,ps.IgnoredSameUrlNavigation)),c.resolve(!1),Se}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return I(c).pipe(ce(d=>{let h=this.transitions?.getValue();return this.events.next(new or(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?Se:Promise.resolve(d)}),Cb(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Q(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=G(g({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new gs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:m,extras:v}=c,C=new or(d,this.urlSerializer.serialize(h),f,m);this.events.next(C);let P=Og(this.rootComponentType).snapshot;return this.currentTransition=i=G(g({},c),{targetSnapshot:P,urlAfterRedirects:h,extras:G(g({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,I(i)}else{let d="";return this.events.next(new $t(c.id,this.urlSerializer.serialize(c.extractedUrl),d,ps.IgnoredByUrlHandlingStrategy)),c.resolve(!1),Se}}),Q(c=>{let u=new Uu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),_(c=>(this.currentTransition=i=G(g({},c),{guards:HC(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),i)),eb(this.environmentInjector,c=>this.events.next(c)),Q(c=>{if(i.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Es(this.urlSerializer,c.guardsResult);let u=new $u(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),ae(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",xe.GuardRejected),!1)),Pu(c=>{if(c.guards.canActivateChecks.length)return I(c).pipe(Q(u=>{let l=new Hu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),ce(u=>{let l=!1;return I(u).pipe(bb(this.paramsInheritanceStrategy,this.environmentInjector),Q({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",xe.NoDataFromResolver)}}))}),Q(u=>{let l=new zu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Pu(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(Q(h=>{l.component=h}),_(()=>{})));for(let h of l.children)d.push(...u(h));return d};return hr(u(c.targetSnapshot.root)).pipe(Tt(null),at(1))}),Pu(()=>this.afterPreactivation()),ce(()=>{let{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?Z(l).pipe(_(()=>i)):I(i)}),_(c=>{let u=jC(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i=G(g({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,i}),Q(()=>{this.events.next(new Jr)}),$C(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),at(1),Q({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ze(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),sa(this.transitionAbortSubject.pipe(Q(c=>{throw c}))),_t(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",xe.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ae(c=>{if(a=!0,jg(c))this.events.next(new It(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),UC(c)?this.events.next(new ir(c.url,c.navigationBehaviorOptions)):i.resolve(!1);else{let u=new Kr(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0);try{let l=Ie(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof eo){let{message:d,cancellationCode:h}=Es(this.urlSerializer,l);this.events.next(new It(i.id,this.urlSerializer.serialize(i.extractedUrl),d,h)),this.events.next(new ir(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),c}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Se}))}))}cancelNavigationTransition(t,r,o){let i=new It(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pb(e){return e!==Zr}var Fb=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(Lb),providedIn:"root"})}return e})(),al=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},Lb=(()=>{class e extends al{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Tc(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:()=>p(jb),providedIn:"root"})}return e})(),jb=(()=>{class e extends Yg{location=p(Zn);urlSerializer=p(oo);options=p(co,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";urlHandlingStrategy=p(fl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ct;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}routerState=Og(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof or)this.stateMemento=this.createStateMemento();else if(t instanceof $t)this.rawUrlTree=r.initialUrl;else if(t instanceof gs){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else t instanceof Jr?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):t instanceof It&&(t.code===xe.GuardRejected||t.code===xe.NoDataFromResolver)?this.restoreHistory(r):t instanceof Kr?this.restoreHistory(r,!0):t instanceof Ze&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let o=t instanceof Ct?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=g(g({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=g(g({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===t.finalUrl&&i===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Tc(e)))(o||e)}})();static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Gr||{});function Qg(e,n){e.events.pipe(ae(t=>t instanceof Ze||t instanceof It||t instanceof Kr||t instanceof $t),_(t=>t instanceof Ze||t instanceof $t?Gr.COMPLETE:(t instanceof It?t.code===xe.Redirect||t.code===xe.SupersededByNewNavigation:!1)?Gr.REDIRECTING:Gr.FAILED),ae(t=>t!==Gr.REDIRECTING),at(1)).subscribe(()=>{n()})}var Vb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ye=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Hi);stateManager=p(Yg);options=p(co,{optional:!0})||{};pendingTasks=p(gt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(hl);urlSerializer=p(oo);location=p(Zn);urlHandlingStrategy=p(fl);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(Fb);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(Cs,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Ss,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Y;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof It&&r.code!==xe.Redirect&&r.code!==xe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ze)this.navigated=!0;else if(r instanceof ir){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Pb(o.source)},s);this.scheduleNavigation(a,Zr,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}$b(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Zr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=g({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(ll),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(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=Ng(h)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return xg(d,t,l,u??null)}navigateByUrl(t,r={skipLocationChange:!1}){let o=hn(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Zr,null,r)}navigate(t,r={skipLocationChange:!1}){return Ub(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=g({},Vb):r===!1?o=g({},Bb):o=r,hn(t))return ug(this.currentUrlTree,t,o);let i=this.parseUrl(t);return ug(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Qg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ub(e){for(let n=0;n{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new J;constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(u=>{u instanceof Ze&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(hn(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let r=this.href===null?null:yh(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:hn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(z(Ye),z(bt),_c("tabindex"),z(Or),z(mt),z(wt))};static \u0275dir=an({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&cn("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&tu("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Fr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Fr],replaceUrl:[2,"replaceUrl","replaceUrl",Fr],routerLink:"routerLink"},features:[Kc,Nr]})}return e})(),Kg=(()=>{class e{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ee;constructor(t,r,o,i,s){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Ze&&this.update()})}ngAfterContentInit(){I(this.links.changes,I(null)).pipe(Mt()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Z(t).pipe(Mt()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=Hb(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?t.isActive(i,r):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(z(Ye),z(mt),z(Or),z(un),z(Le,8))};static \u0275dir=an({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&dp(i,Le,5),r&2){let s;fp(s=hp())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Nr]})}return e})();function Hb(e){return!!e.paths}var bs=class{};var zb=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ae(t=>t instanceof Ze),st(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=$i(i.providers,t,`Route: ${i.path}`));let s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Z(o).pipe(Mt())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(t,r):o=I(null);let i=o.pipe(X(s=>s===null?I(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return Z([i,s]).pipe(Mt())}else return i})}static \u0275fac=function(r){return new(r||e)(w(Ye),w(Yi),w(me),w(bs),w(dl))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jg=new D(""),qb=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.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(t=>{t instanceof or?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ze?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof $t&&t.code===ps.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof ms&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ms(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Rh()};static \u0275prov=y({token:e,factory:e.\u0275fac})}return e})();function Gb(e){return e.routerState.root}function uo(e,n){return{\u0275kind:e,\u0275providers:n}}function Wb(){let e=p(Oe);return n=>{let t=e.get(tt);if(n!==t.components[0])return;let r=e.get(Ye),o=e.get(Xg);e.get(pl)===1&&r.initialNavigation(),e.get(em,null,A.Optional)?.setUpPreloading(),e.get(Jg,null,A.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Xg=new D("",{factory:()=>new J}),pl=new D("",{providedIn:"root",factory:()=>1});function Zb(){return uo(2,[{provide:pl,useValue:0},{provide:Gi,multi:!0,deps:[Oe],useFactory:n=>{let t=n.get(Ap,Promise.resolve());return()=>t.then(()=>new Promise(r=>{let o=n.get(Ye),i=n.get(Xg);Qg(o,()=>{r(!0)}),n.get(hl).afterPreactivation=()=>(r(!0),i.closed?I(void 0):i),o.initialNavigation()}))}}])}function Yb(){return uo(3,[{provide:Gi,multi:!0,useFactory:()=>{let n=p(Ye);return()=>{n.setUpLocationChangeListener()}}},{provide:pl,useValue:2}])}var em=new D("");function Qb(e){return uo(0,[{provide:em,useExisting:zb},{provide:bs,useExisting:e}])}function Kb(){return uo(8,[hg,{provide:Ss,useExisting:hg}])}function Jb(e){let n=[{provide:Gg,useValue:Ob},{provide:Wg,useValue:g({skipNextTransition:!!e?.skipInitialTransition},e)}];return uo(9,n)}var vg=new D("ROUTER_FORROOT_GUARD"),Xb=[Zn,{provide:oo,useClass:rr},Ye,so,{provide:bt,useFactory:Gb,deps:[Ye]},dl,[]],cr=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[Xb,[],{provide:Cs,multi:!0,useValue:t},{provide:vg,useFactory:r0,deps:[[Ye,new Mi,new dc]]},r?.errorHandler?{provide:Zg,useValue:r.errorHandler}:[],{provide:co,useValue:r||{}},r?.useHash?t0():n0(),e0(),r?.preloadingStrategy?Qb(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?o0(r):[],r?.bindToComponentInputs?Kb().\u0275providers:[],r?.enableViewTransitions?Jb().\u0275providers:[],i0()]}}static forChild(t){return{ngModule:e,providers:[{provide:Cs,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)(w(vg,8))};static \u0275mod=fe({type:e});static \u0275inj=de({})}return e})();function e0(){return{provide:Jg,useFactory:()=>{let e=p(kp),n=p($),t=p(co),r=p(hl),o=p(oo);return t.scrollOffset&&e.setOffset(t.scrollOffset),new qb(o,r,e,n,t)}}}function t0(){return{provide:wt,useClass:Op}}function n0(){return{provide:wt,useClass:gu}}function r0(e){return"guarded"}function o0(e){return[e.initialNavigation==="disabled"?Yb().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Zb().\u0275providers:[]]}var yg=new D("");function i0(){return[{provide:yg,useFactory:Wb},{provide:Wi,multi:!0,useExisting:yg}]}var zt=class e{constructor(n){this.http=n}apiUrl="https://api5.angular-buch.com";getAll(){return this.http.get(`${this.apiUrl}/books`).pipe(Ae(n=>(console.error(n),I([]))))}getSingle(n){return this.http.get(`${this.apiUrl}/books/${n}`)}remove(n){return this.http.delete(`${this.apiUrl}/books/${n}`)}getAllSearch(n){return this.http.get(`${this.apiUrl}/books/search/${n}`).pipe(Ae(t=>(console.error(t),I([]))))}static \u0275fac=function(t){return new(t||e)(w(Iu))};static \u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})};var s0=e=>["/books",e];function a0(e,n){if(e&1&&(x(0,"li")(1,"a",6),V(2),x(3,"p",7),V(4),M()()()),e&2){let t=n.$implicit;B(),W("routerLink",gp(3,s0,t.isbn)),B(),Ge(" ",t.title," "),B(2),nt(t.subtitle)}}function c0(e,n){e&1&&(x(0,"li"),V(1,"No results"),M())}function u0(e,n){if(e&1&&(x(0,"ul",3),re(1,a0,5,5,"li",4)(2,c0,2,0,"li",5),M()),e&2){let t=n.ngIf;B(),W("ngForOf",t),B(),W("ngIf",!t.length)}}var Ts=class e{constructor(n){this.service=n;this.results$=this.input$.pipe(ae(t=>t.length>=3),ea(500),na(),Q(()=>this.isLoading=!0),ce(t=>this.service.getAllSearch(t)),Q(()=>this.isLoading=!1))}input$=new J;isLoading=!1;results$;static \u0275fac=function(t){return new(t||e)(z(zt))};static \u0275cmp=be({type:e,selectors:[["bm-search"]],standalone:!1,decls:4,vars:5,consts:[["searchInput",""],["type","search","autocomplete","off","aria-label","Search",3,"input"],["class","search-results",4,"ngIf"],[1,"search-results"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"routerLink"],["role","doc-subtitle"]],template:function(t,r){if(t&1){let o=Zi();x(0,"input",1,0),cn("input",function(){Oi(o);let s=pp(1);return ki(r.input$.next(s.value))}),M(),re(2,u0,3,2,"ul",2),qn(3,"async")}t&2&&(nu("loading",r.isLoading),B(2),W("ngIf",Gn(3,3,r.results$)))},dependencies:[Lt,jt,Le,Yn],encapsulation:2})};var _s=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=be({type:e,selectors:[["bm-home"]],standalone:!1,decls:7,vars:0,consts:[["routerLink","/books",1,"button","red"]],template:function(t,r){t&1&&(x(0,"h1"),V(1,"Home"),M(),x(2,"a",0),V(3,` Show book list +`),M(),x(4,"h2"),V(5,"Search"),M(),_e(6,"bm-search"))},dependencies:[Le,Ts],encapsulation:2})};var d0=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:_s}],Ns=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e});static \u0275inj=de({imports:[cr.forRoot(d0),cr]})};var xs=class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=be({type:e,selectors:[["bm-root"]],standalone:!1,decls:7,vars:0,consts:[["routerLink","/home","routerLinkActive","active","ariaCurrentWhenActive","page"],["routerLink","/books","routerLinkActive","active","ariaCurrentWhenActive","page"]],template:function(t,r){t&1&&(x(0,"nav")(1,"a",0),V(2,"Home"),M(),x(3,"a",1),V(4,"Books"),M()(),x(5,"main"),_e(6,"router-outlet"),M())},dependencies:[ul,Le,Kg],encapsulation:2})};function f0(e,n){if(e&1&&(x(0,"p",9),V(1),M()),e&2){let t=yt().ngIf;B(),nt(t.subtitle)}}function h0(e,n){if(e&1&&(x(0,"li"),V(1),M()),e&2){let t=n.$implicit;B(),nt(t)}}function p0(e,n){if(e&1&&(x(0,"div")(1,"h2"),V(2,"Published"),M(),V(3),M()),e&2){let t=yt().ngIf;B(3),Ge(" ",t.published," ")}}function g0(e,n){if(e&1&&_e(0,"img",10),e&2){let t=yt().ngIf;W("src",t.thumbnailUrl,Rr)}}function m0(e,n){if(e&1){let t=Zi();x(0,"div",1)(1,"h1"),V(2),M(),re(3,f0,2,1,"p",2),x(4,"div",3)(5,"div")(6,"h2"),V(7,"Authors"),M(),x(8,"ul"),re(9,h0,2,1,"li",4),M()(),x(10,"div")(11,"h2"),V(12,"ISBN"),M(),V(13),M(),re(14,p0,4,1,"div",5),M(),x(15,"h2"),V(16,"Description"),M(),x(17,"p"),V(18),M(),re(19,g0,1,1,"img",6),x(20,"a",7),V(21,"Back to list"),M(),x(22,"button",8),cn("click",function(){let o=Oi(t).ngIf,i=yt();return ki(i.removeBook(o.isbn))}),V(23," Remove book "),M()()}if(e&2){let t=n.ngIf;B(2),nt(t.title),B(),W("ngIf",t.subtitle),B(6),W("ngForOf",t.authors),B(4),Ge(" ",t.isbn," "),B(),W("ngIf",t.published),B(4),nt(t.description),B(),W("ngIf",t.thumbnailUrl)}}var As=class e{constructor(n,t,r){this.service=n;this.route=t;this.router=r;let o=this.route.snapshot.paramMap.get("isbn");this.book$=this.service.getSingle(o)}book$;removeBook(n){window.confirm("Remove book?")&&this.service.remove(n).subscribe(()=>{this.router.navigateByUrl("/books")})}static \u0275fac=function(t){return new(t||e)(z(zt),z(bt),z(Ye))};static \u0275cmp=be({type:e,selectors:[["bm-book-details"]],standalone:!1,decls:2,vars:3,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"],["routerLink","..",1,"button","arrow-left"],[1,"red",3,"click"],["role","doc-subtitle"],["alt","Cover",3,"src"]],template:function(t,r){t&1&&(re(0,m0,24,7,"div",0),qn(1,"async")),t&2&&W("ngIf",Gn(1,1,r.book$))},dependencies:[Lt,jt,Le,Yn],encapsulation:2})};function v0(e,n){if(e&1&&_e(0,"img",6),e&2){let t=yt(2);W("src",t.book.thumbnailUrl,Rr)}}function y0(e,n){if(e&1&&(x(0,"p",7),V(1),M()),e&2){let t=yt(2);B(),Ge(" ",t.book.subtitle," ")}}function D0(e,n){if(e&1&&(x(0,"li"),V(1),M()),e&2){let t=n.$implicit;B(),Ge(" ",t," ")}}function w0(e,n){if(e&1&&(x(0,"a",1),re(1,v0,1,1,"img",2),x(2,"h2"),V(3),M(),re(4,y0,2,1,"p",3),x(5,"ul",4),re(6,D0,2,1,"li",5),M(),x(7,"div"),V(8),M()()),e&2){let t=yt();W("routerLink",t.book.isbn),B(),W("ngIf",t.book.thumbnailUrl),B(2),nt(t.book.title),B(),W("ngIf",t.book.subtitle),B(2),W("ngForOf",t.book.authors),B(2),Ge("ISBN ",t.book.isbn,"")}}var Rs=class e{book;static \u0275fac=function(t){return new(t||e)};static \u0275cmp=be({type:e,selectors:[["bm-book-list-item"]],inputs:{book:"book"},standalone:!1,decls:1,vars:1,consts:[["class","list-item",3,"routerLink",4,"ngIf"],[1,"list-item",3,"routerLink"],["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(t,r){t&1&&re(0,w0,9,6,"a",0),t&2&&W("ngIf",r.book)},dependencies:[Lt,jt,Le],encapsulation:2})};function I0(e,n){if(e&1&&(x(0,"li"),_e(1,"bm-book-list-item",4),M()),e&2){let t=n.$implicit;B(),W("book",t)}}function C0(e,n){e&1&&(x(0,"li"),V(1," No books available. "),M())}function b0(e,n){if(e&1&&(x(0,"ul",1),re(1,I0,2,1,"li",2)(2,C0,2,0,"li",3),M()),e&2){let t=n.ngIf;B(),W("ngForOf",t),B(),W("ngIf",!t.length)}}var Os=class e{constructor(n){this.service=n;this.books$=this.service.getAll()}books$;static \u0275fac=function(t){return new(t||e)(z(zt))};static \u0275cmp=be({type:e,selectors:[["bm-book-list"]],standalone:!1,decls:4,vars:3,consts:[["class","book-list",4,"ngIf"],[1,"book-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"book"]],template:function(t,r){t&1&&(x(0,"h1"),V(1,"Books"),M(),re(2,b0,3,2,"ul",0),qn(3,"async")),t&2&&(B(2),W("ngIf",Gn(3,1,r.books$)))},dependencies:[Lt,jt,Rs,Yn],encapsulation:2})};var S0=[{path:"books",component:Os},{path:"books/:isbn",component:As}],ks=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e});static \u0275inj=de({imports:[cr.forChild(S0),cr]})};var Ps=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e});static \u0275inj=de({imports:[Ji,ks]})};var Fs=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=fe({type:e,bootstrap:[xs]});static \u0275inj=de({providers:[Zp(Yp())],imports:[sg,Ns,Ps]})};ig().bootstrapModule(Fs,{ngZoneEventCoalescing:!0}).catch(e=>console.error(e));