175 lines
210 KiB
JavaScript

var Uh=Object.defineProperty,$h=Object.defineProperties;var Bh=Object.getOwnPropertyDescriptors;var hr=Object.getOwnPropertySymbols;var Dc=Object.prototype.hasOwnProperty,wc=Object.prototype.propertyIsEnumerable;var yc=(e,t,n)=>t in e?Uh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||={})Dc.call(t,n)&&yc(e,n,t[n]);if(hr)for(var n of hr(t))wc.call(t,n)&&yc(e,n,t[n]);return e},V=(e,t)=>$h(e,Bh(t));var Ec=(e,t)=>{var n={};for(var r in e)Dc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&hr)for(var r of hr(e))t.indexOf(r)<0&&wc.call(e,r)&&(n[r]=e[r]);return n};var Cc=null;var di=1,Ic=Symbol("SIGNAL");function R(e){let t=Cc;return Cc=e,t}var bc={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 Hh(e){if(!(pi(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===di)){if(!e.producerMustRecompute(e)&&!fi(e)){e.dirty=!1,e.lastCleanEpoch=di;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=di}}function Mc(e){return e&&(e.nextProducerIndex=0),R(e)}function Sc(e,t){if(R(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(pi(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)hi(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function fi(e){gi(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Hh(n),r!==n.version))return!0}return!1}function Tc(e){if(gi(e),pi(e))for(let t=0;t<e.producerNode.length;t++)hi(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function hi(e,t){if(zh(e),e.liveConsumerNode.length===1&&Gh(e))for(let r=0;r<e.producerNode.length;r++)hi(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];gi(o),o.producerIndexOfThis[r]=t}}function pi(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function gi(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function zh(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Gh(e){return e.producerNode!==void 0}function qh(){throw new Error}var Wh=qh;function xc(e){Wh=e}function C(e){return typeof e=="function"}function St(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var pr=St(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function mn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var U=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(C(r))try{r()}catch(i){t=i instanceof pr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{_c(i)}catch(s){t=t??[],s instanceof pr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new pr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)_c(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&mn(n,t)}remove(t){let{_finalizers:n}=this;n&&mn(n,t),t instanceof e&&t._removeParent(this)}};U.EMPTY=(()=>{let e=new U;return e.closed=!0,e})();var mi=U.EMPTY;function gr(e){return e instanceof U||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function _c(e){C(e)?e():e.unsubscribe()}var Ee={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Tt={setTimeout(e,t,...n){let{delegate:r}=Tt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Tt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function mr(e){Tt.setTimeout(()=>{let{onUnhandledError:t}=Ee;if(t)t(e);else throw e})}function vn(){}var Nc=vi("C",void 0,void 0);function Ac(e){return vi("E",void 0,e)}function Rc(e){return vi("N",e,void 0)}function vi(e,t,n){return{kind:e,value:t,error:n}}var rt=null;function xt(e){if(Ee.useDeprecatedSynchronousErrorHandling){let t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=rt;if(rt=null,n)throw r}}else e()}function Oc(e){Ee.useDeprecatedSynchronousErrorHandling&&rt&&(rt.errorThrown=!0,rt.error=e)}var ot=class extends U{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,gr(t)&&t.add(this)):this.destination=Qh}static create(t,n,r){return new _t(t,n,r)}next(t){this.isStopped?Di(Rc(t),this):this._next(t)}error(t){this.isStopped?Di(Ac(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Di(Nc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Zh=Function.prototype.bind;function yi(e,t){return Zh.call(e,t)}var wi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){vr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){vr(r)}else vr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){vr(n)}}},_t=class extends ot{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ee.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&yi(t.next,i),error:t.error&&yi(t.error,i),complete:t.complete&&yi(t.complete,i)}):o=t}this.destination=new wi(o)}};function vr(e){Ee.useDeprecatedSynchronousErrorHandling?Oc(e):mr(e)}function Yh(e){throw e}function Di(e,t){let{onStoppedNotification:n}=Ee;n&&Tt.setTimeout(()=>n(e,t))}var Qh={closed:!0,next:vn,error:Yh,complete:vn};var Nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function se(e){return e}function Ei(...e){return Ci(e)}function Ci(e){return e.length===0?se:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var P=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Jh(n)?n:new _t(n,r,o);return xt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Pc(r),new r((o,i)=>{let s=new _t({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Nt](){return this}pipe(...n){return Ci(n)(this)}toPromise(n){return n=Pc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Pc(e){var t;return(t=e??Ee.Promise)!==null&&t!==void 0?t:Promise}function Kh(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function Jh(e){return e&&e instanceof ot||Kh(e)&&gr(e)}function Ii(e){return C(e?.lift)}function _(e){return t=>{if(Ii(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(e,t,n,r,o){return new bi(e,t,n,r,o)}var bi=class extends ot{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function At(){return _((e,t)=>{let n=null;e._refCount++;let r=N(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Rt=class extends P{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ii(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new U;let n=this.getSubject();t.add(this.source.subscribe(N(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=U.EMPTY)}return t}refCount(){return At()(this)}};var kc=St(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class e extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new yr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new kc}next(n){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?mi:(this.currentObservers=null,i.push(n),new U(()=>{this.currentObservers=null,mn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return e.create=(t,n)=>new yr(t,n),e})(),yr=class extends X{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:mi}};var Z=class extends X{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ae=new P(e=>e.complete());function Fc(e){return e&&C(e.schedule)}function Lc(e){return e[e.length-1]}function jc(e){return C(Lc(e))?e.pop():void 0}function We(e){return Fc(Lc(e))?e.pop():void 0}function Uc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Vc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function it(e){return this instanceof it?(this.v=e,this):new it(e)}function $c(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(g){return Promise.resolve(g).then(h,d)}}function a(h,g){r[h]&&(o[h]=function(y){return new Promise(function(k,F){i.push([h,y,k,F])>1||c(h,y)})},g&&(o[h]=g(o[h])))}function c(h,g){try{u(r[h](g))}catch(y){f(i[0][3],y)}}function u(h){h.value instanceof it?Promise.resolve(h.value.v).then(l,d):f(i[0][2],h)}function l(h){c("next",h)}function d(h){c("throw",h)}function f(h,g){h(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Bc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Vc=="function"?Vc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Dr=e=>e&&typeof e.length=="number"&&typeof e!="function";function wr(e){return C(e?.then)}function Er(e){return C(e[Nt])}function Cr(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function Ir(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 Xh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var br=Xh();function Mr(e){return C(e?.[br])}function Sr(e){return $c(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield it(n.read());if(o)return yield it(void 0);yield yield it(r)}}finally{n.releaseLock()}})}function Tr(e){return C(e?.getReader)}function q(e){if(e instanceof P)return e;if(e!=null){if(Er(e))return ep(e);if(Dr(e))return tp(e);if(wr(e))return np(e);if(Cr(e))return Hc(e);if(Mr(e))return rp(e);if(Tr(e))return op(e)}throw Ir(e)}function ep(e){return new P(t=>{let n=e[Nt]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function tp(e){return new P(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function np(e){return new P(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,mr)})}function rp(e){return new P(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Hc(e){return new P(t=>{ip(e,t).catch(n=>t.error(n))})}function op(e){return Hc(Sr(e))}function ip(e,t){var n,r,o,i;return Uc(this,void 0,void 0,function*(){try{for(n=Bc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function oe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function xr(e,t=0){return _((n,r)=>{n.subscribe(N(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function _r(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function zc(e,t){return q(e).pipe(_r(t),xr(t))}function Gc(e,t){return q(e).pipe(_r(t),xr(t))}function qc(e,t){return new P(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Wc(e,t){return new P(n=>{let r;return oe(n,t,()=>{r=e[br](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>C(r?.return)&&r.return()})}function Nr(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Zc(e,t){return Nr(Sr(e),t)}function Yc(e,t){if(e!=null){if(Er(e))return zc(e,t);if(Dr(e))return qc(e,t);if(wr(e))return Gc(e,t);if(Cr(e))return Nr(e,t);if(Mr(e))return Wc(e,t);if(Tr(e))return Zc(e,t)}throw Ir(e)}function $(e,t){return t?Yc(e,t):q(e)}function w(...e){let t=We(e);return $(e,t)}function Ot(e,t){let n=C(e)?e:()=>e,r=o=>o.error(n());return new P(t?o=>t.schedule(r,0,o):r)}function Mi(e){return!!e&&(e instanceof P||C(e.lift)&&C(e.subscribe))}var Le=St(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function T(e,t){return _((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:sp}=Array;function ap(e,t){return sp(t)?e(...t):e(t)}function Qc(e){return T(t=>ap(e,t))}var{isArray:cp}=Array,{getPrototypeOf:up,prototype:lp,keys:dp}=Object;function Kc(e){if(e.length===1){let t=e[0];if(cp(t))return{args:t,keys:null};if(fp(t)){let n=dp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function fp(e){return e&&typeof e=="object"&&up(e)===lp}function Jc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ar(...e){let t=We(e),n=jc(e),{args:r,keys:o}=Kc(e);if(r.length===0)return $([],t);let i=new P(hp(r,t,o?s=>Jc(o,s):se));return n?i.pipe(Qc(n)):i}function hp(e,t,n=se){return r=>{Xc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Xc(t,()=>{let u=$(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Xc(e,t,n){e?oe(n,e,t):t()}function eu(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&t.complete()},h=y=>u<r?g(y):c.push(y),g=y=>{i&&t.next(y),u++;let k=!1;q(n(y,l++)).subscribe(N(t,F=>{o?.(F),i?h(F):t.next(F)},()=>{k=!0},void 0,()=>{if(k)try{for(u--;c.length&&u<r;){let F=c.shift();s?oe(t,s,()=>g(F)):g(F)}f()}catch(F){t.error(F)}}))};return e.subscribe(N(t,h,()=>{d=!0,f()})),()=>{a?.()}}function H(e,t,n=1/0){return C(t)?H((r,o)=>T((i,s)=>t(r,i,o,s))(q(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>eu(r,o,e,n)))}function Si(e=1/0){return H(se,e)}function tu(){return Si(1)}function Pt(...e){return tu()($(e,We(e)))}function Rr(e){return new P(t=>{q(e()).subscribe(t)})}function pe(e,t){return _((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ze(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=q(e(s,Ze(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function nu(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(N(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,t){return C(t)?H(e,t,1):H(e,1)}function Ye(e){return _((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function je(e){return e<=0?()=>ae:_((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ti(e){return T(()=>e)}function Or(e=pp){return _((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function pp(){return new Le}function kt(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ce(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pe((o,i)=>e(o,i,r)):se,je(1),n?Ye(t):Or(()=>new Le))}function Ft(e){return e<=0?()=>ae:_((t,n)=>{let r=[];t.subscribe(N(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function xi(e,t){let n=arguments.length>=2;return r=>r.pipe(e?pe((o,i)=>e(o,i,r)):se,Ft(1),n?Ye(t):Or(()=>new Le))}function _i(e,t){return _(nu(e,t,arguments.length>=2,!0))}function Ni(...e){let t=We(e);return _((n,r)=>{(t?Pt(e,n,t):Pt(e,n)).subscribe(r)})}function ge(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;q(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ai(e){return _((t,n)=>{q(e).subscribe(N(n,()=>n.complete(),vn)),!n.closed&&t.subscribe(n)})}function z(e,t,n){let r=C(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(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)}))}):se}var Bu="https://g.co/ng/security#xss",v=class extends Error{constructor(t,n){super(fo(t,n)),this.code=t}};function fo(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function xs(e){return{toString:e}.toString()}var Gi=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function ce(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ce).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function ru(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var gp=L({__forward_ref__:L});function Hu(e){return e.__forward_ref__=Hu,e.toString=function(){return ce(this())},e}function ve(e){return zu(e)?e():e}function zu(e){return typeof e=="function"&&e.hasOwnProperty(gp)&&e.__forward_ref__===Hu}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ho(e){return ou(e,qu)||ou(e,Wu)}function Gu(e){return ho(e)!==null}function ou(e,t){return e.hasOwnProperty(t)?e[t]:null}function mp(e){let t=e&&(e[qu]||e[Wu]);return t||null}function iu(e){return e&&(e.hasOwnProperty(su)||e.hasOwnProperty(vp))?e[su]:null}var qu=L({\u0275prov:L}),su=L({\u0275inj:L}),Wu=L({ngInjectableDef:L}),vp=L({ngInjectorDef:L}),E=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=I({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Zu(e){return e&&!!e.\u0275providers}var yp=L({\u0275cmp:L}),Dp=L({\u0275dir:L}),wp=L({\u0275pipe:L}),Ep=L({\u0275mod:L}),Br=L({\u0275fac:L}),yn=L({__NG_ELEMENT_ID__:L}),au=L({__NG_ENV_ID__:L});function _s(e){return typeof e=="string"?e:e==null?"":String(e)}function Cp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():_s(e)}function Ip(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function Ns(e,t){throw new v(-201,!1)}var M=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}(M||{}),qi;function Yu(){return qi}function me(e){let t=qi;return qi=e,t}function Qu(e,t,n){let r=ho(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;Ns(e,"Injector")}var bp={},Dn=bp,Mp="__NG_DI_FLAG__",Hr="ngTempTokenPath",Sp="ngTokenPath",Tp=/\n/gm,xp="\u0275",cu="__source",Ut;function _p(){return Ut}function Qe(e){let t=Ut;return Ut=e,t}function Np(e,t=M.Default){if(Ut===void 0)throw new v(-203,!1);return Ut===null?Qu(e,void 0,t):Ut.get(e,t&M.Optional?null:void 0,t)}function x(e,t=M.Default){return(Yu()||Np)(ve(e),t)}function p(e,t=M.Default){return x(e,po(t))}function po(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Wi(e){let t=[];for(let n=0;n<e.length;n++){let r=ve(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=M.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Ap(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(x(o,i))}else t.push(x(r))}return t}function Ap(e){return e[Mp]}function Rp(e,t,n,r){let o=e[Hr];throw t[cu]&&o.unshift(t[cu]),e.message=Op(`
`+e.message,o,n,r),e[Sp]=o,e[Hr]=null,e}function Op(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==xp?e.slice(2):e;let o=ce(t);if(Array.isArray(t))o=t.map(ce).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Tp,`
`)}`}function Bt(e,t){let n=e.hasOwnProperty(Br);return n?e[Br]:null}function As(e,t){e.forEach(n=>Array.isArray(n)?As(n,t):t(n))}function Ku(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var wn={},ut=[],lt=new E(""),Ju=new E("",-1),Xu=new E(""),Gr=class{get(t,n=Dn){if(n===Dn){let r=new Error(`NullInjectorError: No provider for ${ce(t)}!`);throw r.name="NullInjectorError",r}return n}},el=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(el||{}),Ne=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ne||{}),Ht=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ht||{});function Pp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Zi(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];Fp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function kp(e){return e===3||e===4||e===6}function Fp(e){return e.charCodeAt(0)===64}function Rs(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?uu(e,n,o,null,t[++r]):uu(e,n,o,null,null))}}return e}function uu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var tl="ng-template";function Lp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Pp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Os(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Os(e){return e.type===4&&e.value!==tl}function jp(e,t,n){let r=e.type===4&&!n?tl:e.value;return t===r}function Vp(e,t,n){let r=4,o=e.attrs,i=o!==null?Bp(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!jp(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!Lp(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let u=t[++a],l=Up(c,o,Os(e),n);if(l===-1){if(Ie(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function Up(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Hp(t,e)}function $p(e,t,n=!1){for(let r=0;r<t.length;r++)if(Vp(e,t[r],n))return!0;return!1}function Bp(e){for(let t=0;t<e.length;t++){let n=e[t];if(kp(n))return t}return e.length}function Hp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function lu(e,t){return e?":not("+t.trim()+")":t}function zp(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=lu(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=lu(i,o)),t}function Gp(e){return e.map(zp).join(",")}function qp(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ie(o))break;o=i}r++}return{attrs:t,classes:n}}function go(e){return xs(()=>{let t=sl(e),n=V(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===el.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ne.Emulated,styles:e.styles||ut,_:null,schemas:e.schemas||null,tView:null,id:""});al(n);let r=e.dependencies;return n.directiveDefs=fu(r,!1),n.pipeDefs=fu(r,!0),n.id=Yp(n),n})}function Wp(e){return dt(e)||nl(e)}function Zp(e){return e!==null}function du(e,t){if(e==null)return wn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ht.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ht.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ps(e){return xs(()=>{let t=sl(e);return al(t),t})}function dt(e){return e[yp]||null}function nl(e){return e[Dp]||null}function rl(e){return e[wp]||null}function ol(e){let t=dt(e)||nl(e)||rl(e);return t!==null?t.standalone:!1}function il(e,t){let n=e[Ep]||null;if(!n&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return n}function sl(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||wn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||ut,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:du(e.inputs,t),outputs:du(e.outputs),debugInfo:null}}function al(e){e.features?.forEach(t=>t(e))}function fu(e,t){if(!e)return null;let n=t?rl:Wp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Zp)}function Yp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function gt(e){return{\u0275providers:e}}function Qp(...e){return{\u0275providers:cl(!0,e),\u0275fromNgModule:!0}}function cl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return As(t,s=>{let a=s;Yi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ul(o,i),n}function ul(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ks(o,i=>{t(i,r)})}}function Yi(e,t,n,r){if(e=ve(e),!e)return!1;let o=null,i=iu(e),s=!i&&dt(e);if(!i&&!s){let c=e.ngModule;if(i=iu(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)Yi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{As(i.imports,l=>{Yi(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&ul(u,t)}if(!a){let u=Bt(o)||(()=>new o);t({provide:o,useFactory:u,deps:ut},o),t({provide:Xu,useValue:o,multi:!0},o),t({provide:lt,useValue:()=>x(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ks(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ks(e,t){for(let n of e)Zu(n)&&(n=n.\u0275providers),Array.isArray(n)?ks(n,t):t(n)}var Kp=L({provide:String,useValue:L});function ll(e){return e!==null&&typeof e=="object"&&Kp in e}function Jp(e){return!!(e&&e.useExisting)}function Xp(e){return!!(e&&e.useFactory)}function Qi(e){return typeof e=="function"}var mo=new E(""),Lr={},eg={},Ri;function Fs(){return Ri===void 0&&(Ri=new Gr),Ri}var De=class{},En=class extends De{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ji(t,s=>this.processProvider(s)),this.records.set(Ju,Lt(void 0,this)),o.has("environment")&&this.records.set(De,Lt(void 0,this));let i=this.records.get(mo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Xu,ut,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=R(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),R(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Qe(this),r=me(void 0),o;try{return t()}finally{Qe(n),me(r)}}get(t,n=Dn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(au))return t[au](this);r=po(r);let o,i=Qe(this),s=me(void 0);try{if(!(r&M.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=sg(t)&&ho(t);u&&this.injectableDefInScope(u)?c=Lt(Ki(t),Lr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&M.Self?Fs():this.parent;return n=r&M.Optional&&n===Dn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Hr]=a[Hr]||[]).unshift(ce(t)),i)throw a;return Rp(a,t,"R3InjectorError",this.source)}else throw a}finally{me(s),Qe(i)}}resolveInjectorInitializers(){let t=R(null),n=Qe(this),r=me(void 0),o;try{let i=this.get(lt,ut,M.Self);for(let s of i)s()}finally{Qe(n),me(r),R(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ce(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=ve(t);let n=Qi(t)?t:ve(t&&t.provide),r=ng(t);if(!Qi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Lt(void 0,Lr,!0),o.factory=()=>Wi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=R(null);try{return n.value===Lr&&(n.value=eg,n.value=n.factory()),typeof n.value=="object"&&n.value&&ig(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ve(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ki(e){let t=ho(e),n=t!==null?t.factory:Bt(e);if(n!==null)return n;if(e instanceof E)throw new v(204,!1);if(e instanceof Function)return tg(e);throw new v(204,!1)}function tg(e){if(e.length>0)throw new v(204,!1);let n=mp(e);return n!==null?()=>n.factory(e):()=>new e}function ng(e){if(ll(e))return Lt(void 0,e.useValue);{let t=rg(e);return Lt(t,Lr)}}function rg(e,t,n){let r;if(Qi(e)){let o=ve(e);return Bt(o)||Ki(o)}else if(ll(e))r=()=>ve(e.useValue);else if(Xp(e))r=()=>e.useFactory(...Wi(e.deps||[]));else if(Jp(e))r=()=>x(ve(e.useExisting));else{let o=ve(e&&(e.useClass||e.provide));if(og(e))r=()=>new o(...Wi(e.deps));else return Bt(o)||Ki(o)}return r}function Lt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function og(e){return!!e.deps}function ig(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function sg(e){return typeof e=="function"||typeof e=="object"&&e instanceof E}function Ji(e,t){for(let n of e)Array.isArray(n)?Ji(n,t):n&&Zu(n)?Ji(n.\u0275providers,t):t(n)}function Oe(e,t){e instanceof En&&e.assertNotDestroyed();let n,r=Qe(e),o=me(void 0);try{return t()}finally{Qe(r),me(o)}}function ag(){return Yu()!==void 0||_p()!=null}function cg(e){return typeof e=="function"}var ue=0,S=1,D=2,K=3,be=4,Se=5,Me=6,hu=7,ye=8,zt=9,Ae=10,W=11,Cn=12,pu=13,On=14,le=15,Gt=16,jt=17,qt=18,vo=19,dl=20,Je=21,Oi=22,ft=23,te=25,fl=1,In=6,Ue=7,qr=8,Wr=9,Q=10,Zr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Zr||{});function Ve(e){return Array.isArray(e)&&typeof e[fl]=="object"}function Pe(e){return Array.isArray(e)&&e[fl]===!0}function hl(e){return(e.flags&4)!==0}function Pn(e){return e.componentOffset>-1}function pl(e){return(e.flags&1)===1}function kn(e){return!!e.template}function Yr(e){return(e[D]&512)!==0}var Xi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function gl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function yo(){return ml}function ml(e){return e.type.prototype.ngOnChanges&&(e.setInput=lg),ug}yo.ngInherit=!0;function ug(){let e=yl(this),t=e?.current;if(t){let n=e.previous;if(n===wn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lg(e,t,n,r,o){let i=this.declaredInputs[r],s=yl(e)||dg(e,{previous:wn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Xi(u&&u.currentValue,n,c===wn),gl(e,t,o,n)}var vl="__ngSimpleChanges__";function yl(e){return e[vl]||null}function dg(e,t){return e[vl]=t}var gu=null;var Ke=function(e,t,n){gu?.(e,t,n)},Dl="svg",fg="math";function Re(e){for(;Array.isArray(e);)e=e[ue];return e}function hg(e,t){return Re(t[e])}function Te(e,t){return Re(t[e.index])}function Ls(e,t){return e.data[t]}function Kt(e,t){let n=t[e];return Ve(n)?n:n[ue]}function js(e){return(e[D]&128)===128}function pg(e){return Pe(e[K])}function bn(e,t){return t==null?null:e[t]}function wl(e){e[jt]=0}function gg(e){e[D]&1024||(e[D]|=1024,js(e)&&Do(e))}function Mn(e){return!!(e[D]&9216||e[ft]?.dirty)}function es(e){e[Ae].changeDetectionScheduler?.notify(7),e[D]&64&&(e[D]|=1024),Mn(e)&&Do(e)}function Do(e){e[Ae].changeDetectionScheduler?.notify(0);let t=Sn(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!js(t)));)t=Sn(t)}function El(e,t){if((e[D]&256)===256)throw new v(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function mg(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function Sn(e){let t=e[K];return Pe(t)?t[K]:t}var A={lFrame:Al(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Cl=!1;function vg(){return A.lFrame.elementDepthCount}function yg(){A.lFrame.elementDepthCount++}function Dg(){A.lFrame.elementDepthCount--}function Il(){return A.bindingsEnabled}function Fn(){return A.skipHydrationRootTNode!==null}function wg(e){return A.skipHydrationRootTNode===e}function Eg(e){A.skipHydrationRootTNode=e}function Cg(){A.skipHydrationRootTNode=null}function B(){return A.lFrame.lView}function Jt(){return A.lFrame.tView}function He(){let e=bl();for(;e!==null&&e.type===64;)e=e.parent;return e}function bl(){return A.lFrame.currentTNode}function Ig(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ln(e,t){let n=A.lFrame;n.currentTNode=e,n.isParent=t}function Ml(){return A.lFrame.isParent}function bg(){A.lFrame.isParent=!1}function Sl(){return Cl}function mu(e){Cl=e}function Tl(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Mg(e){return A.lFrame.bindingIndex=e}function Vs(){return A.lFrame.bindingIndex++}function Sg(){return A.lFrame.inI18n}function Tg(e,t){let n=A.lFrame;n.bindingIndex=n.bindingRootIndex=e,ts(t)}function xg(){return A.lFrame.currentDirectiveIndex}function ts(e){A.lFrame.currentDirectiveIndex=e}function xl(e){A.lFrame.currentQueryIndex=e}function _g(e){let t=e[S];return t.type===2?t.declTNode:t.type===1?e[Se]:null}function _l(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=_g(i),o===null||(i=i[On],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=A.lFrame=Nl();return r.currentTNode=t,r.lView=e,!0}function Us(e){let t=Nl(),n=e[S];A.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Nl(){let e=A.lFrame,t=e===null?null:e.child;return t===null?Al(e):t}function Al(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Rl(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ol=Rl;function $s(){let e=Rl();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 wo(){return A.lFrame.selectedIndex}function ht(e){A.lFrame.selectedIndex=e}function Ng(){let e=A.lFrame;return Ls(e.tView,e.selectedIndex)}function Xt(){A.lFrame.currentNamespace=Dl}function jn(){Ag()}function Ag(){A.lFrame.currentNamespace=null}function Pl(){return A.lFrame.currentNamespace}var kl=!0;function Bs(){return kl}function et(e){kl=e}function Rg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ml(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Hs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function jr(e,t,n){Fl(e,t,3,n)}function Vr(e,t,n,r){(e[D]&3)===n&&Fl(e,t,n,r)}function Pi(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Fl(e,t,n,r){let o=r!==void 0?e[jt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[jt]+=65536),(a<i||i==-1)&&(Og(e,n,t,c),e[jt]=(e[jt]&4294901760)+c+2),c++}function vu(e,t){Ke(4,e,t);let n=R(null);try{t.call(e)}finally{R(n),Ke(5,e,t)}}function Og(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[jt]>>16&&(e[D]&3)===t&&(e[D]+=16384,vu(a,i)):vu(a,i)}var $t=-1,Tn=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Pg(e){return e instanceof Tn}function kg(e){return(e.flags&8)!==0}function Fg(e){return(e.flags&16)!==0}function Ll(e){return e!==$t}function Qr(e){return e&32767}function Lg(e){return e>>16}function Kr(e,t){let n=Lg(e),r=t;for(;n>0;)r=r[On],n--;return r}var ns=!0;function yu(e){let t=ns;return ns=e,t}var jg=256,jl=jg-1,Vl=5,Vg=0,_e={};function Ug(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(yn)&&(r=n[yn]),r==null&&(r=n[yn]=Vg++);let o=r&jl,i=1<<o;t.data[e+(o>>Vl)]|=i}function Ul(e,t){let n=$l(e,t);if(n!==-1)return n;let r=t[S];r.firstCreatePass&&(e.injectorIndex=t.length,ki(r.data,e),ki(t,null),ki(r.blueprint,null));let o=zs(e,t),i=e.injectorIndex;if(Ll(o)){let s=Qr(o),a=Kr(o,t),c=a[S].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ki(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $l(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function zs(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ql(o),r===null)return $t;if(n++,o=o[On],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return $t}function $g(e,t,n){Ug(e,t,n)}function Bl(e,t,n){if(n&M.Optional||e!==void 0)return e;Ns(t,"NodeInjector")}function Hl(e,t,n,r){if(n&M.Optional&&r===void 0&&(r=null),!(n&(M.Self|M.Host))){let o=e[zt],i=me(void 0);try{return o?o.get(t,r,n&M.Optional):Qu(t,r,n&M.Optional)}finally{me(i)}}return Bl(r,t,n)}function zl(e,t,n,r=M.Default,o){if(e!==null){if(t[D]&2048&&!(r&M.Self)){let s=qg(e,t,n,r,_e);if(s!==_e)return s}let i=Gl(e,t,n,r,_e);if(i!==_e)return i}return Hl(t,n,r,o)}function Gl(e,t,n,r,o){let i=zg(n);if(typeof i=="function"){if(!_l(t,e,r))return r&M.Host?Bl(o,n,r):Hl(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&M.Optional))Ns(n);else return s}finally{Ol()}}else if(typeof i=="number"){let s=null,a=$l(e,t),c=$t,u=r&M.Host?t[le][Se]:null;for((a===-1||r&M.SkipSelf)&&(c=a===-1?zs(e,t):t[a+8],c===$t||!wu(r,!1)?a=-1:(s=t[S],a=Qr(c),t=Kr(c,t)));a!==-1;){let l=t[S];if(Du(i,a,l.data)){let d=Bg(a,t,n,s,r,u);if(d!==_e)return d}c=t[a+8],c!==$t&&wu(r,t[S].data[a+8]===u)&&Du(i,a,t)?(s=l,a=Qr(c),t=Kr(c,t)):a=-1}}return o}function Bg(e,t,n,r,o,i){let s=t[S],a=s.data[e+8],c=r==null?Pn(a)&&ns:r!=s&&(a.type&3)!==0,u=o&M.Host&&i===a,l=Hg(a,s,n,c,u);return l!==null?xn(t,s,l,a):_e}function Hg(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let g=s[h];if(h<c&&n===g||h>=c&&g.type===n)return h}if(o){let h=s[c];if(h&&kn(h)&&h.type===n)return c}return null}function xn(e,t,n,r){let o=e[n],i=t.data;if(Pg(o)){let s=o;s.resolving&&Ip(Cp(i[n]));let a=yu(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?me(s.injectImpl):null,l=_l(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Rg(n,i[n],t)}finally{u!==null&&me(u),yu(a),s.resolving=!1,Ol()}}return o}function zg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(yn)?e[yn]:void 0;return typeof t=="number"?t>=0?t&jl:Gg:t}function Du(e,t,n){let r=1<<e;return!!(n[t+(e>>Vl)]&r)}function wu(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var ct=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zl(this._tNode,this._lView,t,po(r),n)}};function Gg(){return new ct(He(),B())}function Gs(e){return xs(()=>{let t=e.prototype.constructor,n=t[Br]||rs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Br]||rs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function rs(e){return zu(e)?()=>{let t=rs(ve(e));return t&&t()}:Bt(e)}function qg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!(s[D]&512);){let a=Gl(i,s,n,r|M.Self,_e);if(a!==_e)return a;let c=i.parent;if(!c){let u=s[dl];if(u){let l=u.get(n,_e,r);if(l!==_e)return l}c=ql(s),s=s[On]}i=c}return o}function ql(e){let t=e[S],n=t.type;return n===2?t.declTNode:n===1?e[Se]:null}function Eu(e,t=null,n=null,r){let o=Wl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Wl(e,t=null,n=null,r,o=new Set){let i=[n||ut,Qp(e)];return r=r||(typeof e=="object"?void 0:ce(e)),new En(i,t||Fs(),r||null,o)}var at=class at{static create(t,n){if(Array.isArray(t))return Eu({name:""},n,t,"");{let r=t.name??"";return Eu({name:r},t.parent,t.providers,r)}}};at.THROW_IF_NOT_FOUND=Dn,at.NULL=new Gr,at.\u0275prov=I({token:at,providedIn:"any",factory:()=>x(Ju)}),at.__NG_ELEMENT_ID__=-1;var $e=at;var Wg=new E("");Wg.__NG_ELEMENT_ID__=e=>{let t=He();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new v(204,!1)};var Zg="ngOriginalError";function Fi(e){return e[Zg]}var Be=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Fi(t);for(;n&&Fi(n);)n=Fi(n);return n||null}},Zl=new E("",{providedIn:"root",factory:()=>p(Be).handleError.bind(void 0)}),Yl=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Yg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),os=class extends Yl{constructor(t){super(),this._lView=t}onDestroy(t){return El(this._lView,t),()=>mg(this._lView,t)}};function Yg(){return new os(B())}function Qg(){return qs(He(),B())}function qs(e,t){return new Eo(Te(e,t))}var Eo=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Qg;let e=t;return e})();var is=class extends X{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,ag()&&(this.destroyRef=p(Yl,{optional:!0})??void 0)}emit(t){let n=R(null);try{super.next(t)}finally{R(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Li(i),o&&(o=Li(o)),s&&(s=Li(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof U&&t.add(a),a}};function Li(e){return t=>{setTimeout(e,void 0,t)}}var ee=is;var Kg="ngSkipHydration",Jg="ngskiphydration";function Ql(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===Jg)return!0}return!1}function Kl(e){return e.hasAttribute(Kg)}function Jr(e){return(e.flags&128)===128}function Xg(e){if(Jr(e))return!0;let t=e.parent;for(;t;){if(Jr(e)||Ql(t))return!0;t=t.parent}return!1}var Jl=new Map,em=0;function tm(){return em++}function nm(e){Jl.set(e[vo],e)}function rm(e){Jl.delete(e[vo])}var Cu="__ngContext__";function pt(e,t){Ve(t)?(e[Cu]=t[vo],nm(t)):e[Cu]=t}function Xl(e){return td(e[Cn])}function ed(e){return td(e[be])}function td(e){for(;e!==null&&!Pe(e);)e=e[be];return e}var ss;function nd(e){ss=e}function Co(){if(ss!==void 0)return ss;if(typeof document<"u")return document;throw new v(210,!1)}var Io=new E("",{providedIn:"root",factory:()=>om}),om="ng",Ws=new E(""),ke=new E("",{providedIn:"platform",factory:()=>"unknown"});var Zs=new E("",{providedIn:"root",factory:()=>Co().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function im(){let e=new en;return p(ke)==="browser"&&(e.store=sm(Co(),p(Io))),e}var en=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};t.\u0275prov=I({token:t,providedIn:"root",factory:im});let e=t;return e})();function sm(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var rd="h",od="b",as=function(e){return e.FirstChild="f",e.NextSibling="n",e}(as||{}),am="e",cm="t",Ys="c",id="x",Xr="r",um="i",lm="n",sd="d";var dm="__nghData__",ad=dm,ji="ngh",fm="nghm",cd=()=>null;function hm(e,t,n=!1){let r=e.getAttribute(ji);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let l=t.get(en,null,{optional:!0});l!==null&&(c=l.get(ad,[])[Number(r)])}let u={data:c,firstChild:e.firstChild??null};return n&&(u.firstChild=e,bo(u,0,e.nextSibling)),a?e.setAttribute(ji,a):e.removeAttribute(ji),u}function pm(){cd=hm}function Qs(e,t,n=!1){return cd(e,t,n)}function gm(e){let t=e._lView;return t[S].type===2?null:(Yr(t)&&(t=t[te]),t)}function mm(e){return e.textContent?.replace(/\s/gm,"")}function vm(e){let t=Co(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=mm(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function bo(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function cs(e,t){return e.segmentHeads?.[t]??null}function ym(e,t){let n=e.data,r=n[am]?.[t]??null;return r===null&&n[Ys]?.[t]&&(r=Ks(e,t)),r}function ud(e,t){return e.data[Ys]?.[t]??null}function Ks(e,t){let n=ud(e,t)??[],r=0;for(let o of n)r+=o[Xr]*(o[id]??1);return r}function Dm(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[sd];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Mo(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[sd];e.disconnectedNodes=n?new Set(n):null}return!!Dm(e)?.has(t)}var Pr=new E(""),ld=!1,dd=new E("",{providedIn:"root",factory:()=>ld});var eo=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bu})`}};function Js(e){return e instanceof eo?e.changingThisBreaksApplicationSecurity:e}function fd(e,t){let n=wm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Bu})`)}return n===t}function wm(e){return e instanceof eo&&e.getTypeName()||null}var Em=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hd(e){return e=String(e),e.match(Em)?e:"unsafe:"+e}var Xs=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}(Xs||{});function pd(e){let t=Cm();return t?t.sanitize(Xs.URL,e)||"":fd(e,"URL")?Js(e):hd(_s(e))}function Cm(){let e=B();return e&&e[Ae].sanitizer}var Im=/^>|^->|<!--|-->|--!>|<!-$/g,bm=/(<|>)/g,Mm="\u200B$1\u200B";function Sm(e){return e.replace(Im,t=>t.replace(bm,Mm))}function Tm(e){return e.ownerDocument.body}function gd(e){return e instanceof Function?e():e}function kr(e){return(e??p($e)).get(ke)==="browser"}var mt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(mt||{}),xm;function ea(e,t){return xm(e,t)}function Vt(e,t,n,r,o){if(r!=null){let i,s=!1;Pe(r)?i=r:Ve(r)&&(s=!0,r=r[ue]);let a=Re(r);e===0&&n!==null?o==null?wd(t,n,a):to(t,n,a,o||null,!0):e===1&&n!==null?to(t,n,a,o||null,!0):e===2?ia(t,a,s):e===3&&t.destroyNode(a),i!=null&&zm(t,e,i,n,o)}}function md(e,t){return e.createText(t)}function _m(e,t,n){e.setValue(t,n)}function vd(e,t){return e.createComment(Sm(t))}function ta(e,t,n){return e.createElement(t,n)}function Nm(e,t){yd(e,t),t[ue]=null,t[Se]=null}function Am(e,t,n,r,o,i){r[ue]=o,r[Se]=t,To(e,r,n,1,o,i)}function yd(e,t){t[Ae].changeDetectionScheduler?.notify(8),To(e,t,t[W],2,null,null)}function Rm(e){let t=e[Cn];if(!t)return Vi(e[S],e);for(;t;){let n=null;if(Ve(t))n=t[Cn];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[be]&&t!==e;)Ve(t)&&Vi(t[S],t),t=t[K];t===null&&(t=e),Ve(t)&&Vi(t[S],t),n=t&&t[be]}t=n}}function Om(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][be]=t),r<i-Q?(t[be]=n[o],Ku(n,Q+r,t)):(n.push(t),t[be]=null),t[K]=n;let s=t[Gt];s!==null&&n!==s&&Dd(s,t);let a=t[qt];a!==null&&a.insertView(e),es(t),t[D]|=128}function Dd(e,t){let n=e[Wr],r=t[K];if(Ve(r))e[D]|=Zr.HasTransplantedViews;else{let o=r[K][le];t[le]!==o&&(e[D]|=Zr.HasTransplantedViews)}n===null?e[Wr]=[t]:n.push(t)}function na(e,t){let n=e[Wr],r=n.indexOf(t);n.splice(r,1)}function _n(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[Gt];o!==null&&o!==e&&na(o,r),t>0&&(e[n-1][be]=r[be]);let i=zr(e,Q+t);Nm(r[S],r);let s=i[qt];s!==null&&s.detachView(i[S]),r[K]=null,r[be]=null,r[D]&=-129}return r}function So(e,t){if(!(t[D]&256)){let n=t[W];n.destroyNode&&To(e,t,n,3,null,null),Rm(t)}}function Vi(e,t){if(t[D]&256)return;let n=R(null);try{t[D]&=-129,t[D]|=256,t[ft]&&Tc(t[ft]),km(e,t),Pm(e,t),t[S].type===1&&t[W].destroy();let r=t[Gt];if(r!==null&&Pe(t[K])){r!==t[K]&&na(r,t);let o=t[qt];o!==null&&o.detachView(e)}rm(t)}finally{R(n)}}function Pm(e,t){let n=e.cleanup,r=t[hu];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[hu]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function km(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Tn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Ke(4,a,c);try{c.call(a)}finally{Ke(5,a,c)}}else{Ke(4,o,i);try{i.call(o)}finally{Ke(5,o,i)}}}}}function Fm(e,t,n){return Lm(e,t.parent,n)}function Lm(e,t,n){let r=t;for(;r!==null&&r.type&40;)t=r,r=t.parent;if(r===null)return n[ue];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ne.None||i===Ne.Emulated)return null}return Te(r,n)}}function to(e,t,n,r,o){e.insertBefore(t,n,r,o)}function wd(e,t,n){e.appendChild(t,n)}function Iu(e,t,n,r,o){r!==null?to(e,t,n,r,o):wd(e,t,n)}function jm(e,t,n,r){e.removeChild(t,n,r)}function ra(e,t){return e.parentNode(t)}function Vm(e,t){return e.nextSibling(t)}function Um(e,t,n){return Bm(e,t,n)}function $m(e,t,n){return e.type&40?Te(e,n):null}var Bm=$m,bu;function oa(e,t,n,r){let o=Fm(e,r,t),i=t[W],s=r.parent||t[Se],a=Um(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Iu(i,o,n[c],a,!1);else Iu(i,o,n,a,!1);bu!==void 0&&bu(i,r,t,n,o)}function Ur(e,t){if(t!==null){let n=t.type;if(n&3)return Te(t,e);if(n&4)return us(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ur(e,r);{let o=e[t.index];return Pe(o)?us(-1,o):Re(o)}}else{if(n&32)return ea(t,e)()||Re(e[t.index]);{let r=Ed(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Sn(e[le]);return Ur(o,r)}else return Ur(e,t.next)}}}return null}function Ed(e,t){if(t!==null){let r=e[le][Se],o=t.projection;return r.projection[o]}return null}function us(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[S].firstChild;if(o!==null)return Ur(r,o)}return t[Ue]}function ia(e,t,n){let r=ra(e,t);r&&jm(e,r,t,n)}function Cd(e){e.textContent=""}function sa(e,t,n,r,o,i,s){for(;n!=null;){let a=r[n.index],c=n.type;if(s&&t===0&&(a&&pt(Re(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)sa(e,t,n.child,r,o,i,!1),Vt(t,e,o,a,i);else if(c&32){let u=ea(n,r),l;for(;l=u();)Vt(t,e,o,l,i);Vt(t,e,o,a,i)}else c&16?Hm(e,t,r,n,o,i):Vt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function To(e,t,n,r,o,i){sa(n,r,e.firstChild,t,o,i,!1)}function Hm(e,t,n,r,o,i){let s=n[le],c=s[Se].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Vt(t,e,o,l,i)}else{let u=c,l=s[K];Jr(r)&&(u.flags|=128),sa(e,t,u,l,o,i,!0)}}function zm(e,t,n,r,o){let i=n[Ue],s=Re(n);i!==s&&Vt(t,e,r,i,o);for(let a=Q;a<n.length;a++){let c=n[a];To(c[S],c,e,t,r,i)}}function Gm(e,t,n){e.setAttribute(t,"style",n)}function Id(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function bd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Zi(e,t,r),o!==null&&Id(e,t,o),i!==null&&Gm(e,t,i)}var Vn={};function xo(e=1){Md(Jt(),B(),wo()+e,!1)}function Md(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&jr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Vr(t,i,0,n)}ht(n)}function aa(e,t=M.Default){let n=B();if(n===null)return x(e,t);let r=He();return zl(r,n,ve(e),t)}function Sd(e,t,n,r,o,i){let s=R(null);try{let a=null;o&Ht.SignalBased&&(a=t[r][Ic]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ht.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):gl(t,a,r,i)}finally{R(s)}}function qm(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)ht(~o);else{let i=o,s=n[++r],a=n[++r];Tg(s,i);let c=t[i];a(2,c)}}}finally{ht(-1)}}function _o(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[ue]=o,d[D]=r|4|128|8|64,(u!==null||e&&e[D]&2048)&&(d[D]|=2048),wl(d),d[K]=d[On]=e,d[ye]=n,d[Ae]=s||e&&e[Ae],d[W]=a||e&&e[W],d[zt]=c||e&&e[zt]||null,d[Se]=i,d[vo]=tm(),d[Me]=l,d[dl]=u,d[le]=t.type==2?e[le]:d,d}function No(e,t,n,r,o){let i=e.data[t];if(i===null)i=Wm(e,t,n,r,o),Sg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Ig();i.injectorIndex=s===null?-1:s.injectorIndex}return Ln(i,!0),i}function Wm(e,t,n,r,o){let i=bl(),s=Ml(),a=s?i:i&&i.parent,c=e.data[t]=Xm(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Td(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function xd(e,t,n,r,o){let i=wo(),s=r&2;try{ht(-1),s&&t.length>te&&Md(e,t,te,!1),Ke(s?2:0,o),n(r,o)}finally{ht(i),Ke(s?3:1,o)}}function _d(e,t,n){if(hl(t)){let r=R(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{R(r)}}}function Nd(e,t,n){Il()&&(sv(e,t,n,Te(n,t)),(n.flags&64)===64&&Fd(e,t,n))}function Ad(e,t,n=Te){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Rd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ca(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ca(e,t,n,r,o,i,s,a,c,u,l){let d=te+r,f=d+o,h=Zm(d,f),g=typeof u=="function"?u():u;return h[S]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function Zm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Vn);return n}function Ym(e,t,n,r){let i=r.get(dd,ld)||n===Ne.ShadowDom,s=e.selectRootElement(t,i);return Qm(s),s}function Qm(e){Od(e)}var Od=()=>null;function Km(e){Kl(e)?Cd(e):vm(e)}function Jm(){Od=Km}function Xm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Fn()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Mu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Ht.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?Su(r,n,u,a,c):Su(r,n,u,a)}return r}function Su(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function ev(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],f=n?n.get(d):null,h=f?f.inputs:null,g=f?f.outputs:null;c=Mu(0,d.inputs,l,c,h),u=Mu(1,d.outputs,l,u,g);let y=c!==null&&s!==null&&!Os(t)?gv(c,l,s):null;a.push(y)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function tv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nv(e,t,n,r,o,i,s,a){let c=Te(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(ua(e,n,l,r,o),Pn(t)&&rv(n,t.index)):t.type&3?(r=tv(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function rv(e,t){let n=Kt(t,e);n[D]&16||(n[D]|=64)}function Pd(e,t,n,r){if(Il()){let o=r===null?null:{"":-1},i=cv(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&kd(e,t,n,s,o,a),o&&uv(n,r,o)}n.mergedAttrs=Rs(n.mergedAttrs,n.attrs)}function kd(e,t,n,r,o,i){for(let u=0;u<r.length;u++)$g(Ul(n,t),e,r[u].type);dv(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=Td(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Rs(n.mergedAttrs,l.hostAttrs),fv(e,n,t,c,l),lv(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}ev(e,n,i)}function ov(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;iv(s)!=a&&s.push(a),s.push(n,r,i)}}function iv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function sv(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Pn(n)&&hv(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ul(n,t),pt(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=xn(t,e,a,n);if(pt(u,t),s!==null&&pv(t,a-o,u,c,n,s),kn(c)){let l=Kt(n.index,t);l[ye]=xn(t,e,a,n)}}}function Fd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=xg();try{ht(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];ts(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&av(c,u)}}finally{ht(-1),ts(s)}}function av(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function cv(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if($p(t,s.selectors,!1))if(r||(r=[]),kn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;ls(e,t,c)}else r.unshift(s),ls(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ls(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function uv(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}}function lv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;kn(t)&&(n[""]=e)}}function dv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function fv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Bt(o.type,!0)),s=new Tn(i,kn(o),aa);e.blueprint[r]=s,n[r]=s,ov(e,t,r,Td(e,n,o.hostVars,Vn),o)}function hv(e,t,n){let r=Te(t,e),o=Rd(n),i=e[Ae].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Ao(e,_o(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function pv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Sd(r,n,c,u,l,d)}}function gv(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Ld(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function jd(e,t){let n=e.contentQueries;if(n!==null){let r=R(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];xl(i),a.contentQueries(2,t[s],s)}}}finally{R(r)}}}function Ao(e,t){return e[Cn]?e[pu][be]=t:e[Cn]=t,e[pu]=t,t}function ds(e,t,n){xl(0);let r=R(null);try{t(e,n)}finally{R(r)}}function mv(e,t){let n=e[zt],r=n?n.get(Be,null):null;r&&r.handleError(t)}function ua(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];Sd(l,u,r,a,c,o)}}function vv(e,t,n){let r=hg(t,e);_m(e[W],r,n)}function yv(e,t){let n=Kt(t,e),r=n[S];Dv(r,n);let o=n[ue];o!==null&&n[Me]===null&&(n[Me]=Qs(o,n[zt])),la(r,n,n[ye])}function Dv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function la(e,t,n){Us(t);try{let r=e.viewQuery;r!==null&&ds(1,r,n);let o=e.template;o!==null&&xd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[qt]?.finishViewCreation(e),e.staticContentQueries&&jd(e,t),e.staticViewQueries&&ds(2,e.viewQuery,n);let i=e.components;i!==null&&wv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,$s()}}function wv(e,t){for(let n=0;n<t.length;n++)yv(e,t[n])}function Vd(e,t,n,r){let o=R(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=_o(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Gt]=u;let l=e[qt];return l!==null&&(c[qt]=l.createEmbeddedView(i)),la(i,c,n),c}finally{R(o)}}function Ev(e,t){let n=Q+t;if(n<e.length)return e[n]}function no(e,t){return!t||t.firstChild===null||Jr(e)}function da(e,t,n,r=!0){let o=t[S];if(Om(o,t,e,n),r){let s=us(n,e),a=t[W],c=ra(a,e[Ue]);c!==null&&Am(o,e[Se],a,t,c,s)}let i=t[Me];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Cv(e,t){let n=_n(e,t);return n!==void 0&&So(n[S],n),n}function ro(e,t,n,r,o=!1){for(;n!==null;){let i=t[n.index];i!==null&&r.push(Re(i)),Pe(i)&&Iv(i,r);let s=n.type;if(s&8)ro(e,t,n.child,r);else if(s&32){let a=ea(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ed(t,n);if(Array.isArray(a))r.push(...a);else{let c=Sn(t[le]);ro(c[S],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Iv(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[S].firstChild;o!==null&&ro(r[S],r,o,t)}e[Ue]!==e[ue]&&t.push(e[Ue])}var Ud=[];function bv(e){return e[ft]??Mv(e)}function Mv(e){let t=Ud.pop()??Object.create(Tv);return t.lView=e,t}function Sv(e){e.lView[ft]!==e&&(e.lView=null,Ud.push(e))}var Tv=V(m({},bc),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Do(e.lView)},consumerOnSignalRead(){this.lView[ft]=this}}),xv=100;function $d(e,t=!0,n=0){let r=e[Ae],o=r.rendererFactory,i=!1;i||o.begin?.();try{_v(e,n)}catch(s){throw t&&mv(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function _v(e,t){let n=Sl();try{mu(!0),fs(e,t);let r=0;for(;Mn(e);){if(r===xv)throw new v(103,!1);r++,fs(e,1)}}finally{mu(n)}}function Nv(e,t,n,r){let o=t[D];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Ae].inlineEffectRunner?.flush(),Us(t);let a=null,c=null;!i&&Av(e)&&(c=bv(t),a=Mc(c));try{wl(t),Mg(e.bindingStartIndex),n!==null&&xd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&jr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Vr(t,f,0,null),Pi(t,0)}if(s||Rv(t),Bd(t,0),e.contentQueries!==null&&jd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&jr(t,f)}else{let f=e.contentHooks;f!==null&&Vr(t,f,1),Pi(t,1)}qm(e,t);let l=e.components;l!==null&&zd(t,l,0);let d=e.viewQuery;if(d!==null&&ds(2,d,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&jr(t,f)}else{let f=e.viewHooks;f!==null&&Vr(t,f,2),Pi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Oi]){for(let f of t[Oi])f();t[Oi]=null}i||(t[D]&=-73)}catch(u){throw i||Do(t),u}finally{c!==null&&(Sc(c,a),Sv(c)),$s()}}function Av(e){return e.type!==2}function Bd(e,t){for(let n=Xl(e);n!==null;n=ed(n))for(let r=Q;r<n.length;r++){let o=n[r];Hd(o,t)}}function Rv(e){for(let t=Xl(e);t!==null;t=ed(t)){if(!(t[D]&Zr.HasTransplantedViews))continue;let n=t[Wr];for(let r=0;r<n.length;r++){let o=n[r];gg(o)}}}function Ov(e,t,n){let r=Kt(t,e);Hd(r,n)}function Hd(e,t){js(e)&&fs(e,t)}function fs(e,t){let r=e[S],o=e[D],i=e[ft],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&fi(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)Nv(r,e,r.template,e[ye]);else if(o&8192){Bd(e,1);let a=r.components;a!==null&&zd(e,a,1)}}function zd(e,t,n){for(let r=0;r<t.length;r++)Ov(e,t[r],n)}function Gd(e,t){let n=Sl()?64:1088;for(e[Ae].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=Sn(e);if(Yr(e)&&!r)return e;e=r}return null}var Wt=class{get rootNodes(){let t=this._lView,n=t[S];return ro(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ye]}set context(t){this._lView[ye]=t}get destroyed(){return(this._lView[D]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[K];if(Pe(t)){let n=t[qr],r=n?n.indexOf(this):-1;r>-1&&(_n(t,r),zr(n,r))}this._attachedToViewContainer=!1}So(this._lView[S],this._lView)}onDestroy(t){El(this._lView,t)}markForCheck(){Gd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){es(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,$d(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yr(this._lView),n=this._lView[Gt];n!==null&&!t&&na(n,this._lView),yd(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Yr(this._lView),r=this._lView[Gt];r!==null&&!n&&Dd(r,this._lView),es(this._lView)}};var Pv=new RegExp(`^(\\d+)*(${od}|${rd})*(.*)`);function kv(e){let t=e.match(Pv),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function Fv(e){return!e.prev&&e.parent?.type===8}function Ui(e){return e.index-te}function Lv(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function Ro(e,t,n,r){let o=Ui(r),i=Lv(e,o);if(i===void 0){let s=e.data[lm];if(s?.[o])i=Vv(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(Fv(r)){let u=Ui(r.parent);i=cs(e,u)}else{let u=Te(c,n);if(a)i=u.firstChild;else{let l=Ui(c),d=cs(e,l);if(c.type===2&&d){let h=Ks(e,l)+1;i=Oo(h,d)}else i=u.nextSibling}}}}return i}function Oo(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function jv(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case as.FirstChild:n=n.firstChild;break;case as.NextSibling:n=n.nextSibling;break}}return n}function Vv(e,t){let[n,...r]=kv(e),o;if(n===rd)o=t[le][ue];else if(n===od)o=Tm(t[le][ue]);else{let i=Number(n);o=Re(t[i+te])}return jv(o,r)}var Uv=!1;function $v(e){Uv=e}function Bv(e){let t=e[Me];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[W];for(let i of r.values())Hv(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function Hv(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-te);o&&ia(e,o,!1)}}function qd(e){let t=e[In]??[],r=e[K][W];for(let o of t)zv(o,r);e[In]=ut}function zv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Xr];for(;n<o;){let i=r.nextSibling;ia(t,r,!1),r=i,n++}}}function Wd(e){qd(e);for(let t=Q;t<e.length;t++)oo(e[t])}function oo(e){Bv(e);let t=e[S];for(let n=te;n<t.bindingStartIndex;n++)if(Pe(e[n])){let r=e[n];Wd(r)}else Ve(e[n])&&oo(e[n])}function Gv(e){let t=e._views;for(let n of t){let r=gm(n);if(r!==null&&r[ue]!==null)if(Ve(r))oo(r);else{let o=r[ue];oo(o),Wd(r)}}}function qv(e,t){let n=[];for(let r of t)for(let o=0;o<(r[id]??1);o++){let i={data:r,firstChild:null};r[Xr]>0&&(i.firstChild=e,e=Oo(r[Xr],e)),n.push(i)}return[e,n]}var Zd=()=>null;function Wv(e,t){let n=e[In];return!t||n===null||n.length===0?null:n[0].data[um]===t?n.shift():(qd(e),null)}function Zv(){Zd=Wv}function io(e,t){return Zd(e,t)}var Nn=class{},fa=new E("",{providedIn:"root",factory:()=>!1});var Yd=new E(""),hs=class{},so=class{};function Yv(e){let t=Error(`No component factory found for ${ce(e)}.`);return t[Qv]=e,t}var Qv="ngComponent";var ps=class{resolveComponentFactory(t){throw Yv(t)}},Ea=class Ea{};Ea.NULL=new ps;var Zt=Ea,Yt=class{};var Kv=(()=>{let t=class t{};t.\u0275prov=I({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),$i={};var Tu=new Set;function vt(e){Tu.has(e)||(Tu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Qd(e){let t=!0;return setTimeout(()=>{t&&(t=!1,e())}),typeof Gi.requestAnimationFrame=="function"&&Gi.requestAnimationFrame(()=>{t&&(t=!1,e())}),()=>{t=!1}}function xu(e){let t=!0;return queueMicrotask(()=>{t&&e()}),()=>{t=!1}}function _u(...e){}var j=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ee(!1),this.onMicrotaskEmpty=new ee(!1),this.onStable=new ee(!1),this.onError=new ee(!1),typeof Zone>"u")throw new v(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,ey(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Jv,_u,_u);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Jv={};function ha(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 Xv(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{Qd(()=>{e.callbackScheduled=!1,gs(e),e.isCheckStableRunning=!0,ha(e),e.isCheckStableRunning=!1})}),gs(e))}function ey(e){let t=()=>{Xv(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(ty(a))return n.invokeTask(o,i,s,a);try{return Nu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Au(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Nu(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!ny(a)&&t(),Au(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,gs(e),ha(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function gs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Nu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Au(e){e._nesting--,ha(e)}var ms=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ee,this.onMicrotaskEmpty=new ee,this.onStable=new ee,this.onError=new ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function ty(e){return Kd(e,"__ignore_ng_zone__")}function ny(e){return Kd(e,"__scheduler_tick__")}function Kd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Jd=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=I({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function vs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=ru(o,a);else if(i==2){let c=a,u=t[++s];r=ru(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var ao=class extends Zt{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=dt(t);return new An(n,this.ngModule)}};function Ru(e){let t=[];for(let n in e){if(!e.hasOwnProperty(n))continue;let r=e[n];r!==void 0&&t.push({propName:Array.isArray(r)?r[0]:r,templateName:n})}return t}function ry(e){let t=e.toLowerCase();return t==="svg"?Dl:t==="math"?fg:null}var ys=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=po(r);let o=this.injector.get(t,$i,r);return o!==$i||n===$i?o:this.parentInjector.get(t,n,r)}},An=class extends so{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Ru(t.inputs);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Ru(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Gp(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=R(null);try{o=o||this.ngModule;let s=o instanceof De?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new ys(t,s):t,c=a.get(Yt,null);if(c===null)throw new v(407,!1);let u=a.get(Kv,null),l=a.get(Jd,null),d=a.get(Nn,null),f={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},h=c.createRenderer(null,this.componentDef),g=this.componentDef.selectors[0][0]||"div",y=r?Ym(h,r,this.componentDef.encapsulation,a):ta(h,g,ry(g)),k=512;this.componentDef.signals?k|=4096:this.componentDef.onPush||(k|=16);let F=null;y!==null&&(F=Qs(y,a,!0));let J=ca(0,null,null,1,0,null,null,null,null,null,null),re=_o(null,J,null,k,null,null,f,h,a,null,F);Us(re);let It,bt;try{let qe=this.componentDef,Mt,li=null;qe.findHostDirectiveDefs?(Mt=[],li=new Map,qe.findHostDirectiveDefs(qe,Mt,li),Mt.push(qe)):Mt=[qe];let jh=oy(re,y),Vh=iy(jh,y,qe,Mt,re,f,h);bt=Ls(J,te),y&&cy(h,qe,y,r),n!==void 0&&uy(bt,this.ngContentSelectors,n),It=ay(Vh,qe,Mt,li,re,[ly]),la(J,re,null)}finally{$s()}return new Ds(this.componentType,It,qs(bt,re),re,bt)}finally{R(i)}}},Ds=class extends hs{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Wt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;ua(i[S],i,o,t,n),this.previousInputValues.set(t,n);let s=Kt(this._tNode.index,i);Gd(s,1)}}get injector(){return new ct(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function oy(e,t){let n=e[S],r=te;return e[r]=t,No(n,r,2,"#host",null)}function iy(e,t,n,r,o,i,s){let a=o[S];sy(r,e,t,s);let c=null;t!==null&&(c=Qs(t,o[zt]));let u=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=_o(o,Rd(n),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&ls(a,e,r.length-1),Ao(o,d),o[e.index]=d}function sy(e,t,n,r){for(let o of e)t.mergedAttrs=Rs(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(vs(t,t.mergedAttrs,!0),n!==null&&bd(r,n,t))}function ay(e,t,n,r,o,i){let s=He(),a=o[S],c=Te(s,o);kd(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,f=xn(o,a,d,s);pt(f,o)}Fd(a,o,s),c&&pt(c,o);let u=xn(o,a,s.directiveStart+s.componentOffset,s);if(e[ye]=o[ye]=u,i!==null)for(let l of i)l(u,t);return _d(a,s,o),u}function cy(e,t,n,r){if(r)Zi(e,n,["ng-version","18.0.2"]);else{let{attrs:o,classes:i}=qp(t.selectors[0]);o&&Zi(e,n,o),i&&i.length>0&&Id(e,n,i.join(" "))}}function uy(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function ly(){let e=He();Hs(B()[S],e)}var Po=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=dy;let e=t;return e})();function dy(){let e=He();return hy(e,B())}var fy=Po,Xd=class extends fy{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return qs(this._hostTNode,this._hostLView)}get injector(){return new ct(this._hostTNode,this._hostLView)}get parentInjector(){let t=zs(this._hostTNode,this._hostLView);if(Ll(t)){let n=Kr(t,this._hostLView),r=Qr(t),o=n[S].data[r+8];return new ct(o,n)}else return new ct(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ou(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=io(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,no(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!cg(t),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new An(dt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?u:this.parentInjector).get(De,null);y&&(i=y)}let l=dt(c.componentType??{}),d=io(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,no(this._hostTNode,d)),h}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(pg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[K],u=new Xd(c,c[Se],c[K]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return da(s,o,i,r),t.attachToViewContainerRef(),Ku(Bi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ou(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);r&&(zr(Bi(this._lContainer),n),So(r[S],r))}detach(t){let n=this._adjustIndex(t,-1),r=_n(this._lContainer,n);return r&&zr(Bi(this._lContainer),n)!=null?new Wt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ou(e){return e[qr]}function Bi(e){return e[qr]||(e[qr]=[])}function hy(e,t){let n,r=t[e.index];return Pe(r)?n=r:(n=Ld(r,t,null,e),t[e.index]=n,Ao(t,n)),ef(n,t,e,r),new Xd(n,e,t)}function py(e,t){let n=e[W],r=n.createComment(""),o=Te(t,e),i=ra(n,o);return to(n,i,r,Vm(n,o),!1),r}var ef=tf,pa=()=>!1;function gy(e,t,n){return pa(e,t,n)}function tf(e,t,n,r){if(e[Ue])return;let o;n.type&8?o=Re(r):o=py(t,n),e[Ue]=o}function my(e,t,n){if(e[Ue]&&e[In])return!0;let r=n[Me],o=t.index-te;if(!r||Xg(t)||Mo(r,o))return!1;let s=cs(r,o),a=r.data[Ys]?.[o],[c,u]=qv(s,a);return e[Ue]=c,e[In]=u,!0}function vy(e,t,n,r){pa(e,n,t)||tf(e,t,n,r)}function yy(){ef=vy,pa=my}var Xe=class{},Rn=class{};var ws=class extends Xe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ao(this);let o=il(t);this._bootstrapComponents=gd(o.bootstrap),this._r3Injector=Wl(t,n,[{provide:Xe,useValue:this},{provide:Zt,useValue:this.componentFactoryResolver},...r],ce(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Es=class extends Rn{constructor(t){super(),this.moduleType=t}create(t){return new ws(this.moduleType,t,[])}};var co=class extends Xe{constructor(t){super(),this.componentFactoryResolver=new ao(this),this.instance=null;let n=new En([...t.providers,{provide:Xe,useValue:this},{provide:Zt,useValue:this.componentFactoryResolver}],t.parent||Fs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ga(e,t,n=null){return new co({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var tn=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Z(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function nf(e,t,n){return e[t]=n}function rf(e,t){return e[t]}function Qt(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Pu(e,t,n,r){let o=Qt(e,t,n);return Qt(e,t+1,r)||o}function Dy(e,t,n,r,o,i){let s=Pu(e,t,n,r);return Pu(e,t+2,o,i)||s}function Un(e){return(e.flags&32)===32}function wy(e,t,n,r,o,i,s,a,c){let u=t.consts,l=No(t,e,4,s||null,a||null);Pd(t,n,l,bn(u,c)),Hs(t,l);let d=l.tView=ca(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function ku(e,t,n,r,o,i,s,a,c,u){let l=n+te,d=t.firstCreatePass?wy(l,t,e,r,o,i,s,a,c):t.data[l];Ln(d,!1);let f=of(t,e,d,n);Bs()&&oa(t,e,f,d),pt(f,e);let h=Ld(f,e,f,d);return e[l]=h,Ao(e,h),gy(h,d,e),pl(d)&&Nd(t,e,d),c!=null&&Ad(e,d,u),d}var of=sf;function sf(e,t,n,r){return et(!0),t[W].createComment("")}function Ey(e,t,n,r){let o=t[Me],i=!o||Fn()||Un(n)||Mo(o,r);if(et(i),i)return sf(e,t,n,r);let s=o.data[cm]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Ro(o,e,t,n);bo(o,r,a);let c=Ks(o,r);return Oo(c,a)}function Cy(){of=Ey}function Iy(e,t,n,r){return Qt(e,Vs(),n)?t+_s(n)+r:Vn}function ma(e,t,n){let r=B(),o=Vs();if(Qt(r,o,t)){let i=Jt(),s=Ng();nv(i,s,r,e,t,r[W],n,!1)}return ma}function Fu(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ua(e,n,i[s],s,r)}var Cs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Hi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function by(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=Hi(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let f=e.at(s),h=t[c],g=Hi(s,f,c,h,n);if(g!==0){g<0&&e.updateValue(s,h),s--,c--;continue}let y=n(i,u),k=n(s,f),F=n(i,l);if(Object.is(F,k)){let J=n(c,h);Object.is(J,y)?(e.swap(i,s),e.updateValue(s,h),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new uo,o??=ju(e,i,s,n),Is(e,r,i,F))e.updateValue(i,l),i++,s++;else if(o.has(F))r.set(y,e.detach(i)),s--;else{let J=e.create(i,t[i]);e.attach(i,J),i++,s++}}for(;i<=c;)Lu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,f=Hi(i,l,i,d,n);if(f!==0)f<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new uo,o??=ju(e,i,s,n);let h=n(i,d);if(Is(e,r,i,h))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(h))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Lu(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Is(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Lu(e,t,n,r,o){if(Is(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ju(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var uo=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};var bs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Q}};var Ms=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function af(e,t,n,r,o,i,s,a,c,u,l,d,f){vt("NgControlFlow");let h=B(),g=Jt(),y=c!==void 0,k=B(),F=a?s.bind(k[le][ye]):s,J=new Ms(y,F);k[te+e]=J,ku(h,g,e+1,t,n,r,o,bn(g.consts,i)),y&&ku(h,g,e+2,c,u,l,d,bn(g.consts,f))}var Ss=class extends Cs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Q}at(t){return this.getLView(t)[ye].$implicit}attach(t,n){let r=n[Me];this.needsIndexUpdate||=t!==this.length,da(this.lContainer,n,t,no(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,My(this.lContainer,t)}create(t,n){let r=io(this.lContainer,this.templateTNode.tView.ssrId),o=Vd(this.hostLView,this.templateTNode,new bs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){So(t[S],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ye].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ye].$index=t}getLView(t){return Sy(this.lContainer,t)}};function cf(e){let t=R(null),n=wo();try{let r=B(),o=r[S],i=r[n],s=n+1,a=Vu(r,s);if(i.liveCollection===void 0){let u=Uu(o,s);i.liveCollection=new Ss(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(by(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Vs(),l=c.length===0;if(Qt(r,u,l)){let d=n+2,f=Vu(r,d);if(l){let h=Uu(o,d),g=io(f,h.tView.ssrId),y=Vd(r,h,void 0,{dehydratedView:g});da(f,y,0,no(h,g))}else Cv(f,0)}}}finally{R(t)}}function Vu(e,t){return e[t]}function My(e,t){return _n(e,t)}function Sy(e,t){return Ev(e,t)}function Uu(e,t){return Ls(e,t)}function Ty(e,t,n,r,o,i){let s=t.consts,a=bn(s,o),c=No(t,e,2,r,a);return Pd(t,n,c,bn(s,i)),c.attrs!==null&&vs(c,c.attrs,!1),c.mergedAttrs!==null&&vs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function G(e,t,n,r){let o=B(),i=Jt(),s=te+e,a=o[W],c=i.firstCreatePass?Ty(s,i,o,t,n,r):i.data[s],u=uf(i,o,c,a,t,e);o[s]=u;let l=pl(c);return Ln(c,!0),bd(a,u,c),!Un(c)&&Bs()&&oa(i,o,u,c),vg()===0&&pt(u,o),yg(),l&&(Nd(i,o,c),_d(i,c,o)),r!==null&&Ad(o,c),G}function ne(){let e=He();Ml()?bg():(e=e.parent,Ln(e,!1));let t=e;wg(t)&&Cg(),Dg();let n=Jt();return n.firstCreatePass&&(Hs(n,e),hl(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&kg(t)&&Fu(n,t,B(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Fg(t)&&Fu(n,t,B(),t.stylesWithoutHost,!1),ne}function ie(e,t,n,r){return G(e,t,n,r),ne(),ie}var uf=(e,t,n,r,o,i)=>(et(!0),ta(r,o,Pl()));function xy(e,t,n,r,o,i){let s=t[Me],a=!s||Fn()||Un(n)||Mo(s,i);if(et(a),a)return ta(r,o,Pl());let c=Ro(s,e,t,n);return ud(s,i)&&bo(s,i,c.nextSibling),s&&(Ql(n)||Kl(c))&&Pn(n)&&(Eg(n),Cd(c)),c}function _y(){uf=xy}var Ny=(e,t,n,r)=>(et(!0),vd(t[W],""));function Ay(e,t,n,r){let o,i=t[Me],s=!i||Fn()||Un(n);if(et(s),s)return vd(t[W],"");let a=Ro(i,e,t,n),c=ym(i,r);return bo(i,r,a),o=Oo(c,a),o}function Ry(){Ny=Ay}var lo="en-US";var Oy=lo;function Py(e){typeof e=="string"&&(Oy=e.toLowerCase().replace(/_/g,"-"))}function ko(e,t=""){let n=B(),r=Jt(),o=e+te,i=r.firstCreatePass?No(r,o,1,t,null):r.data[o],s=lf(r,n,i,t,e);n[o]=s,Bs()&&oa(r,n,s,i),Ln(i,!1)}var lf=(e,t,n,r,o)=>(et(!0),md(t[W],r));function ky(e,t,n,r,o){let i=t[Me],s=!i||Fn()||Un(n)||Mo(i,o);return et(s),s?md(t[W],r):Ro(i,e,t,n)}function Fy(){lf=ky}function va(e){return Fo("",e,""),va}function Fo(e,t,n){let r=B(),o=Iy(r,e,t,n);return o!==Vn&&vv(r,wo(),o),Fo}var Ly=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=cl(!1,r.type),i=o.length>0?ga([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=I({token:t,providedIn:"environment",factory:()=>new t(x(De))});let e=t;return e})();function Lo(e){vt("NgStandalone"),e.getStandaloneInjector=t=>t.get(Ly).getOrCreateStandaloneInjector(e)}function nn(e,t,n){let r=Tl()+e,o=B();return o[r]===Vn?nf(o,r,n?t.call(n):t()):rf(o,r)}function df(e,t,n,r,o,i,s,a){let c=Tl()+e,u=B(),l=Dy(u,c,n,r,o,i);return Qt(u,c+4,s)||l?nf(u,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):rf(u,c+5)}var jo=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var ff=new E("");function $n(e){return!!e&&typeof e.then=="function"}function hf(e){return!!e&&typeof e.subscribe=="function"}var pf=new E(""),gf=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=p(pf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if($n(s))r.push(s);else if(hf(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),rn=new E("");function jy(){xc(()=>{throw new v(600,!1)})}function Vy(e){return e.isBoundToModule}var Uy=10;function $y(e,t,n){try{let r=n();return $n(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ze=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Zl),this.afterRenderEffectManager=p(Jd),this.zonelessEnabled=p(fa),this.externalTestViews=new Set,this.beforeRender=new X,this.afterTick=new X,this.componentTypes=[],this.components=[],this.isStable=p(tn).hasPendingTasks.pipe(T(r=>!r)),this._injector=p(De)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof so;if(!this._injector.get(gf).done){let h=!i&&ol(r),g=!1;throw new v(405,g)}let a;i?a=r:a=this._injector.get(Zt).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Vy(a)?void 0:this._injector.get(Xe),u=o||a.selector,l=a.create($e.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(ff,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),zi(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new v(101,!1);let o=R(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,R(o),this.afterTick.next()}}detectChangesInAttachedViews(r){let o=null;this._injector.destroyed||(o=this._injector.get(Yt,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<Uy;){let a=i===0;if(r||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:u}of this._views)By(c,u,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>Mn(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Mn(c))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;zi(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(rn,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>zi(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new v(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function zi(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Fr;function ya(e){Fr??=new WeakMap;let t=Fr.get(e);if(t)return t;let n=e.isStable.pipe(Ce(r=>r)).toPromise().then(()=>{});return Fr.set(e,n),e.onDestroy(()=>Fr?.delete(e)),n}function By(e,t,n,r){if(!n&&!Mn(e))return;$d(e,t,n&&!r?0:1)}var Ts=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Da=(()=>{let t=class t{compileModuleSync(r){return new Es(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=il(r),s=gd(i.declarations).reduce((a,c)=>{let u=dt(c);return u&&a.push(new An(u)),a},[]);return new Ts(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Hy=(()=>{let t=class t{constructor(){this.zone=p(j),this.changeDetectionScheduler=p(Nn),this.applicationRef=p(ze)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),zy=new E("",{factory:()=>!1});function mf({ngZoneFactory:e,ignoreChangesOutsideZone:t}){return e??=()=>new j(yf()),[{provide:j,useFactory:e},{provide:lt,multi:!0,useFactory:()=>{let n=p(Hy,{optional:!0});return()=>n.initialize()}},{provide:lt,multi:!0,useFactory:()=>{let n=p(qy);return()=>{n.initialize()}}},{provide:Zl,useFactory:Gy},t===!0?{provide:Yd,useValue:!0}:[]]}function Gy(){let e=p(j),t=p(Be);return n=>e.runOutsideAngular(()=>t.handleError(n))}function vf(e){let t=e?.ignoreChangesOutsideZone,n=mf({ngZoneFactory:()=>{let r=yf(e);return r.shouldCoalesceEventChangeDetection&&vt("NgZone_CoalesceEvent"),new j(r)},ignoreChangesOutsideZone:t});return gt([{provide:zy,useValue:!0},{provide:fa,useValue:!1},n])}function yf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var qy=(()=>{let t=class t{constructor(){this.subscription=new U,this.initialized=!1,this.zone=p(j),this.pendingTasks=p(tn)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{j.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Wy=(()=>{let t=class t{constructor(){this.appRef=p(ze),this.taskService=p(tn),this.ngZone=p(j),this.zonelessEnabled=p(fa),this.disableScheduling=p(Yd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new U,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ms||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&r===5)return;switch(r){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?xu:Qd;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&j.isInAngularZone())}tick(r){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(r)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Zy(){return typeof $localize<"u"&&$localize.locale||lo}var wa=new E("",{providedIn:"root",factory:()=>p(wa,M.Optional|M.SkipSelf)||Zy()});var Df=new E("");var $r=null;function Yy(e=[],t){return $e.create({name:t,providers:[{provide:mo,useValue:"platform"},{provide:Df,useValue:new Set([()=>$r=null])},...e]})}function Qy(e=[]){if($r)return $r;let t=Yy(e);return $r=t,jy(),Ky(t),t}function Ky(e){e.get(Ws,null)?.forEach(n=>n())}var Bn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Jy;let e=t;return e})();function Jy(e){return Xy(He(),B(),(e&16)===16)}function Xy(e,t,n){if(Pn(e)&&!n){let r=Kt(e.index,t);return new Wt(r,r)}else if(e.type&47){let r=t[le];return new Wt(r,t)}return null}function wf(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Qy(r),i=[mf({}),{provide:Nn,useExisting:Wy},...n||[]],a=new co({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(j);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(Be,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=o.get(Df);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),$y(u,c,()=>{let h=a.get(gf);return h.runInitializers(),h.donePromise.then(()=>{let g=a.get(wa,lo);Py(g||lo);let y=a.get(ze);return t!==void 0&&y.bootstrap(t),y})})})}catch(t){return Promise.reject(t)}}var $u=!1;function eD(){$u||($u=!0,pm(),_y(),Fy(),Ry(),Cy(),yy(),Zv(),Jm())}function tD(e,t){return ya(e)}function Ef(){return gt([{provide:Pr,useFactory:()=>{let e=!0;return kr()&&(e=!!p(en,{optional:!0})?.get(ad,null)),e&&vt("NgHydration"),e}},{provide:lt,useValue:()=>{$v(!1),kr()&&p(Pr)&&(nD(),eD())},multi:!0},{provide:dd,useFactory:()=>kr()&&p(Pr)},{provide:rn,useFactory:()=>{if(kr()&&p(Pr)){let e=p(ze),t=p($e);return()=>{tD(e,t).then(()=>{Gv(e)})}}return()=>{}},multi:!0}])}function nD(){let e=Co(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===fm){t=n;break}if(!t)throw new v(-507,!1)}var xf=null;function on(){return xf}function _f(e){xf??=e}var Uo=class{};var de=new E(""),Nf=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(sD),providedIn:"platform"});let e=t;return e})();var sD=(()=>{let t=class t extends Nf{constructor(){super(),this._doc=p(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return on().getBaseHref(this._doc)}onPopState(r){let o=on().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=on().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Af(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Cf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function yt(e){return e&&e[0]!=="?"?"?"+e:e}var Bo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(Rf),providedIn:"root"});let e=t;return e})(),aD=new E(""),Rf=(()=>{let t=class t extends Bo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Af(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+yt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+yt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+yt(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(x(Nf),x(aD,8))},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Hn=(()=>{let t=class t{constructor(r){this._subject=new ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=lD(Cf(If(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+yt(o))}normalize(r){return t.stripTrailingSlash(uD(this._basePath,If(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+yt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+yt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=yt,t.joinWithSlash=Af,t.stripTrailingSlash=Cf,t.\u0275fac=function(o){return new(o||t)(x(Bo))},t.\u0275prov=I({token:t,factory:()=>cD(),providedIn:"root"});let e=t;return e})();function cD(){return new Hn(x(Bo))}function uD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function If(e){return e.replace(/\/index.html$/,"")}function lD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function Ca(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Of="browser",dD="server";function zn(e){return e===dD}var $o=class{};var zo=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var $f=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}($f||{}),Ia=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new zo,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}};var Go=class e extends Ia{constructor(t={}){super(t),this.type=$f.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var hD=new E("");var pD=new E(""),Pf="b",kf="h",Ff="s",Lf="st",jf="u",Vf="rt",Ho=new E(""),gD=["GET","HEAD"];function mD(e,t){let h=p(Ho),{isCacheActive:n}=h,r=Ec(h,["isCacheActive"]),{transferCache:o,method:i}=e;if(!n||o===!1||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!gD.includes(i)||!r.includeRequestsWithAuthHeaders&&vD(e)||r.filter?.(e)===!1)return t(e);let s=p(en),a=p(pD,{optional:!0}),c=zn(p(ke));if(a&&!c)throw new v(2803,!1);let u=c&&a?ED(e.url,a):e.url,l=DD(e,u),d=s.get(l,null),f=r.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(f=o.includeHeaders),d){let{[Pf]:g,[Vf]:y,[kf]:k,[Ff]:F,[Lf]:J,[jf]:re}=d,It=g;switch(y){case"arraybuffer":It=new TextEncoder().encode(g).buffer;break;case"blob":It=new Blob([g]);break}let bt=new zo(k);return w(new Go({body:It,headers:bt,status:F,statusText:J,url:re}))}return t(e).pipe(z(g=>{g instanceof Go&&c&&s.set(l,{[Pf]:g.body,[kf]:yD(g.headers,f),[Ff]:g.status,[Lf]:g.statusText,[jf]:u,[Vf]:e.responseType})}))}function vD(e){return e.headers.has("authorization")||e.headers.has("proxy-authorization")}function yD(e,t){if(!t)return{};let n={};for(let r of t){let o=e.getAll(r);o!==null&&(n[r]=o)}return n}function Uf(e){return[...e.keys()].sort().map(t=>`${t}=${e.getAll(t)}`).join("&")}function DD(e,t){let{params:n,method:r,responseType:o}=e,i=Uf(n),s=e.serializeBody();s instanceof URLSearchParams?s=Uf(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=wD(a);return c}function wD(e){let t=0;for(let n of e)t=Math.imul(31,t)+n.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function Bf(e){return[{provide:Ho,useFactory:()=>(vt("NgHttpTransferCache"),m({isCacheActive:!0},e))},{provide:hD,useValue:mD,multi:!0,deps:[en,Ho]},{provide:rn,multi:!0,useFactory:()=>{let t=p(ze),n=p(Ho);return()=>{ya(t).then(()=>{n.isCacheActive=!1})}}}]}function ED(e,t){let n=new URL(e,"resolve://").origin,r=t[n];return r?e.replace(n,r):e}var Sa=class extends Uo{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ta=class e extends Sa{static makeCurrent(){_f(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=ID();return n==null?null:bD(n)}resetBaseElement(){Gn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ca(document.cookie,t)}},Gn=null;function ID(){return Gn=Gn||document.querySelector("base"),Gn?Gn.getAttribute("href"):null}function bD(e){return new URL(e,document.baseURI).pathname}var MD=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),xa=new E(""),qf=(()=>{let t=class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(i=>{i.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,i){return this._findPluginFor(o).addEventListener(r,o,i)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(s=>s.supports(r)),!o)throw new v(5101,!1);return this._eventNameToPlugin.set(r,o),o}};t.\u0275fac=function(o){return new(o||t)(x(xa),x(j))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),qo=class{constructor(t){this._doc=t}},ba="ng-app-id",Wf=(()=>{let t=class t{constructor(r,o,i,s={}){this.doc=r,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=zn(s),this.resetHostNodes()}addStyles(r){for(let o of r)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(r){for(let o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){let o=this.styleRef;o.get(r)?.elements?.forEach(i=>i.remove()),o.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${ba}="${this.appId}"]`);if(r?.length){let o=new Map;return r.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(r,o){let i=this.styleRef;if(i.has(r)){let s=i.get(r);return s.usage+=o,s.usage}return i.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===r)return i.delete(o),s.removeAttribute(ba),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(ba,this.appId),r.appendChild(a),a}}addStyleToHost(r,o){let i=this.getStyleElement(r,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(x(de),x(Io),x(Zs,8),x(ke))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),Ma={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"},Aa=/%COMP%/g,Zf="%COMP%",SD=`_nghost-${Zf}`,TD=`_ngcontent-${Zf}`,xD=!0,_D=new E("",{providedIn:"root",factory:()=>xD});function ND(e){return TD.replace(Aa,e)}function AD(e){return SD.replace(Aa,e)}function Yf(e,t){return t.map(n=>n.replace(Aa,e))}var Hf=(()=>{let t=class t{constructor(r,o,i,s,a,c,u,l=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=zn(c),this.defaultRenderer=new qn(r,a,u,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ne.ShadowDom&&(o=V(m({},o),{encapsulation:Ne.Emulated}));let i=this.getOrCreateRenderer(r,o);return i instanceof Wo?i.applyToHost(r):i instanceof Wn&&i.applyStyles(),i}getOrCreateRenderer(r,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ne.Emulated:s=new Wo(u,l,o,this.appId,d,a,c,f);break;case Ne.ShadowDom:return new _a(u,l,r,o,a,c,this.nonce,f);default:s=new Wn(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(o){return new(o||t)(x(qf),x(Wf),x(Io),x(_D),x(de),x(ke),x(j),x(Zs))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),qn=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Ma[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(zf(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(zf(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Ma[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Ma[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(mt.DashCase|mt.Important)?t.style.setProperty(n,r,o&mt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&mt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=on().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function zf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var _a=class extends qn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Yf(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Wn=class extends qn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?Yf(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Wo=class extends Wn{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=ND(u),this.hostAttr=AD(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},RD=(()=>{let t=class t extends qo{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,i){return r.addEventListener(o,i,!1),()=>this.removeEventListener(r,o,i)}removeEventListener(r,o,i){return r.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(x(de))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})(),Gf=["alt","control","meta","shift"],OD={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},PD={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},kD=(()=>{let t=class t extends qo{constructor(r){super(r)}supports(r){return t.parseEventName(r)!=null}addEventListener(r,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>on().onAndCancel(r,s.domEventName,a))}static parseEventName(r){let o=r.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Gf.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(r,o){let i=OD[r.key]||r.key,s="";return o.indexOf("code.")>-1&&(i=r.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Gf.forEach(a=>{if(a!==i){let c=PD[a];c(r)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(r,o,i){return s=>{t.matchEventFullKeyCode(s,r)&&i.runGuarded(()=>o(s))}}static _normalizeKey(r){return r==="esc"?"escape":r}};t.\u0275fac=function(o){return new(o||t)(x(de))},t.\u0275prov=I({token:t,factory:t.\u0275fac});let e=t;return e})();function Qf(e,t){return wf(m({rootComponent:e},FD(t)))}function FD(e){return{appProviders:[...$D,...e?.providers??[]],platformProviders:UD}}function LD(){Ta.makeCurrent()}function jD(){return new Be}function VD(){return nd(document),document}var UD=[{provide:ke,useValue:Of},{provide:Ws,useValue:LD,multi:!0},{provide:de,useFactory:VD,deps:[]}];var $D=[{provide:mo,useValue:"root"},{provide:Be,useFactory:jD,deps:[]},{provide:xa,useClass:RD,multi:!0,deps:[de,j,ke]},{provide:xa,useClass:kD,multi:!0,deps:[de]},Hf,Wf,qf,{provide:Yt,useExisting:Hf},{provide:$o,useClass:MD,deps:[]},[]];var Kf=(()=>{let t=class t{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};t.\u0275fac=function(o){return new(o||t)(x(de))},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Na=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e[e.I18nSupport=2]="I18nSupport",e[e.EventReplay=3]="EventReplay",e}(Na||{});function Jf(...e){let t=[],n=new Set,r=n.has(Na.HttpTransferCacheOptions);for(let{\u0275providers:o,\u0275kind:i}of e)n.add(i),o.length&&t.push(o);return gt([[],Ef(),n.has(Na.NoHttpTransferCache)||r?[]:Bf({}),t])}var b="primary",lr=Symbol("RouteTitle"),Fa=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function dn(e){return new Fa(e)}function HD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function zD(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Fe(e[n],t[n]))return!1;return!0}function Fe(e,t){let n=e?La(e):void 0,r=t?La(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!sh(e[o],t[o]))return!1;return!0}function La(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function sh(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function ah(e){return e.length>0?e[e.length-1]:null}function nt(e){return Mi(e)?e:$n(e)?$(Promise.resolve(e)):w(e)}var GD={exact:uh,subset:lh},ch={exact:qD,subset:WD,ignored:()=>!0};function Xf(e,t,n){return GD[n.paths](e.root,t.root,n.matrixParams)&&ch[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function qD(e,t){return Fe(e,t)}function uh(e,t,n){if(!wt(e.segments,t.segments)||!Qo(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!uh(e.children[r],t.children[r],n))return!1;return!0}function WD(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>sh(e[n],t[n]))}function lh(e,t,n){return dh(e,t,t.segments,n)}function dh(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!wt(o,n)||t.hasChildren()||!Qo(o,n,r))}else if(e.segments.length===n.length){if(!wt(e.segments,n)||!Qo(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!lh(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!wt(e.segments,o)||!Qo(e.segments,o,r)||!e.children[b]?!1:dh(e.children[b],t,i,r)}}function Qo(e,t,n){return t.every((r,o)=>ch[n](e[o].parameters,r.parameters))}var tt=class{constructor(t=new O([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=dn(this.queryParams),this._queryParamMap}toString(){return QD.serialize(this)}},O=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ko(this)}},Dt=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=dn(this.parameters),this._parameterMap}toString(){return hh(this)}};function ZD(e,t){return wt(e,t)&&e.every((n,r)=>Fe(n.parameters,t[r].parameters))}function wt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function YD(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===b&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==b&&(n=n.concat(t(o,r)))}),n}var uc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>new er,providedIn:"root"});let e=t;return e})(),er=class{parse(t){let n=new Va(t);return new tt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Zn(t.root,!0)}`,r=XD(t.queryParams),o=typeof t.fragment=="string"?`#${KD(t.fragment)}`:"";return`${n}${r}${o}`}},QD=new er;function Ko(e){return e.segments.map(t=>hh(t)).join("/")}function Zn(e,t){if(!e.hasChildren())return Ko(e);if(t){let n=e.children[b]?Zn(e.children[b],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==b&&r.push(`${o}:${Zn(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=YD(e,(r,o)=>o===b?[Zn(e.children[b],!1)]:[`${o}:${Zn(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[b]!=null?`${Ko(e)}/${n[0]}`:`${Ko(e)}/(${n.join("//")})`}}function fh(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Zo(e){return fh(e).replace(/%3B/gi,";")}function KD(e){return encodeURI(e)}function ja(e){return fh(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jo(e){return decodeURIComponent(e)}function eh(e){return Jo(e.replace(/\+/g,"%20"))}function hh(e){return`${ja(e.path)}${JD(e.parameters)}`}function JD(e){return Object.entries(e).map(([t,n])=>`;${ja(t)}=${ja(n)}`).join("")}function XD(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Zo(n)}=${Zo(o)}`).join("&"):`${Zo(n)}=${Zo(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var ew=/^[^\/()?;#]+/;function Ra(e){let t=e.match(ew);return t?t[0]:""}var tw=/^[^\/()?;=#]+/;function nw(e){let t=e.match(tw);return t?t[0]:""}var rw=/^[^=?&#]+/;function ow(e){let t=e.match(rw);return t?t[0]:""}var iw=/^[^&#]+/;function sw(e){let t=e.match(iw);return t?t[0]:""}var Va=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new O([],{}):new O([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[b]=new O(t,n)),r}parseSegment(){let t=Ra(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new Dt(Jo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=nw(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Ra(this.remaining);o&&(r=o,this.capture(r))}t[Jo(n)]=Jo(r)}parseQueryParam(t){let n=ow(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=sw(this.remaining);s&&(r=s,this.capture(r))}let o=eh(n),i=eh(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ra(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=b);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[b]:new O([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function ph(e){return e.segments.length>0?new O([],{[b]:e}):e}function gh(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=gh(o);if(r===b&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new O(e.segments,t);return aw(n)}function aw(e){if(e.numberOfChildren===1&&e.children[b]){let t=e.children[b];return new O(e.segments.concat(t.segments),t.children)}return e}function tr(e){return e instanceof tt}function cw(e,t,n=null,r=null){let o=mh(e);return vh(o,t,n,r)}function mh(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new O(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=ph(r);return t??o}function vh(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Oa(o,o,o,n,r);let i=uw(t);if(i.toRoot())return Oa(o,o,new O([],{}),n,r);let s=lw(i,o,e),a=s.processChildren?Kn(s.segmentGroup,s.index,i.commands):Dh(s.segmentGroup,s.index,i.commands);return Oa(o,s.segmentGroup,a,n,r)}function Xo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function nr(e){return typeof e=="object"&&e!=null&&e.outlets}function Oa(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=yh(e,t,n);let a=ph(gh(s));return new tt(a,i,o)}function yh(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=yh(i,t,n)}),new O(e.segments,r)}var ei=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Xo(r[0]))throw new v(4003,!1);let o=r.find(nr);if(o&&o!==ah(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function uw(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new ei(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new ei(n,t,r)}var cn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function lw(e,t,n){if(e.isAbsolute)return new cn(t,!0,0);if(!n)return new cn(t,!1,NaN);if(n.parent===null)return new cn(n,!0,0);let r=Xo(e.commands[0])?0:1,o=n.segments.length-1+r;return dw(n,o,e.numberOfDoubleDots)}function dw(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new v(4005,!1);o=r.segments.length}return new cn(r,!1,o-i)}function fw(e){return nr(e[0])?e[0].outlets:{[b]:e}}function Dh(e,t,n){if(e??=new O([],{}),e.segments.length===0&&e.hasChildren())return Kn(e,t,n);let r=hw(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new O(e.segments.slice(0,r.pathIndex),{});return i.children[b]=new O(e.segments.slice(r.pathIndex),e.children),Kn(i,0,o)}else return r.match&&o.length===0?new O(e.segments,{}):r.match&&!e.hasChildren()?Ua(e,t,n):r.match?Kn(e,0,o):Ua(e,t,n)}function Kn(e,t,n){if(n.length===0)return new O(e.segments,{});{let r=fw(n),o={};if(Object.keys(r).some(i=>i!==b)&&e.children[b]&&e.numberOfChildren===1&&e.children[b].segments.length===0){let i=Kn(e.children[b],t,n);return new O(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Dh(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new O(e.segments,o)}}function hw(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(nr(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!nh(c,u,s))return i;r+=2}else{if(!nh(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Ua(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(nr(i)){let c=pw(i.outlets);return new O(r,c)}if(o===0&&Xo(n[0])){let c=e.segments[t];r.push(new Dt(c.path,th(n[0]))),o++;continue}let s=nr(i)?i.outlets[b]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Xo(a)?(r.push(new Dt(s,th(a))),o+=2):(r.push(new Dt(s,{})),o++)}return new O(r,{})}function pw(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Ua(new O([],{}),0,r))}),t}function th(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function nh(e,t,n){return e==n.path&&Fe(t,n.parameters)}var Jn="imperative",Y=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}(Y||{}),we=class{constructor(t,n){this.id=t,this.url=n}},rr=class extends we{constructor(t,n,r="imperative",o=null){super(t,n),this.type=Y.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Et=class extends we{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=Y.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},he=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(he||{}),$a=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}($a||{}),Ge=class extends we{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Y.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ct=class extends we{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=Y.NavigationSkipped}},or=class extends we{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=Y.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ti=class extends we{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Y.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ba=class extends we{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Y.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ha=class extends we{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=Y.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},za=class extends we{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Y.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ga=class extends we{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=Y.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qa=class{constructor(t){this.route=t,this.type=Y.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Wa=class{constructor(t){this.route=t,this.type=Y.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Za=class{constructor(t){this.snapshot=t,this.type=Y.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ya=class{constructor(t){this.snapshot=t,this.type=Y.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qa=class{constructor(t){this.snapshot=t,this.type=Y.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ka=class{constructor(t){this.snapshot=t,this.type=Y.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ir=class{},fn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};var Ja=class{constructor(t){this.injector=t,this.outlet=null,this.route=null,this.children=new ci(this.injector),this.attachRef=null}},ci=(()=>{let t=class t{constructor(r){this.parentInjector=r,this.contexts=new Map}onChildOutletCreated(r,o){let i=this.getOrCreateContext(r);i.outlet=o,this.contexts.set(r,i)}onChildOutletDestroyed(r){let o=this.getContext(r);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let o=this.getContext(r);return o||(o=new Ja(this.parentInjector),this.contexts.set(r,o)),o}getContext(r){return this.contexts.get(r)||null}};t.\u0275fac=function(o){return new(o||t)(x(De))},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ni=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Xa(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Xa(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=ec(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return ec(t,this._root).map(n=>n.value)}};function Xa(e,t){if(e===t.value)return t;for(let n of t.children){let r=Xa(e,n);if(r)return r}return null}function ec(e,t){if(e===t.value)return[t];for(let n of t.children){let r=ec(e,n);if(r.length)return r.unshift(t),r}return[]}var fe=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function an(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var ri=class extends ni{constructor(t,n){super(t),this.snapshot=n,lc(this,t)}toString(){return this.snapshot.toString()}};function wh(e){let t=gw(e),n=new Z([new Dt("",{})]),r=new Z({}),o=new Z({}),i=new Z({}),s=new Z(""),a=new hn(n,r,i,s,o,b,e,t.root);return a.snapshot=t.root,new ri(new fe(a,[]),t)}function gw(e){let t={},n={},r={},o="",i=new un([],t,r,o,n,b,e,null,{});return new ii("",new fe(i,[]))}var hn=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[lr]))??w(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(t=>dn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(t=>dn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function oi(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Ch(o)&&(r.resolve[lr]=o.title),r}var un=class{get title(){return this.data?.[lr]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=dn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=dn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},ii=class extends ni{constructor(t,n){super(n),this.url=t,lc(this,n)}toString(){return Eh(this._root)}};function lc(e,t){t.value._routerState=e,t.children.forEach(n=>lc(e,n))}function Eh(e){let t=e.children.length>0?` { ${e.children.map(Eh).join(", ")} } `:"";return`${e.value}${t}`}function Pa(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Fe(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Fe(t.params,n.params)||e.paramsSubject.next(n.params),zD(t.url,n.url)||e.urlSubject.next(n.url),Fe(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function tc(e,t){let n=Fe(e.params,t.params)&&ZD(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||tc(e.parent,t.parent))}function Ch(e){return typeof e.title=="string"||e.title===null}var dc=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=b,this.activateEvents=new ee,this.deactivateEvents=new ee,this.attachEvents=new ee,this.detachEvents=new ee,this.parentContexts=p(ci),this.location=p(Po),this.changeDetector=p(Bn),this.inputBinder=p(fc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:o,previousValue:i}=r.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,o){this.activated=r,this._activatedRoute=o,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,o){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=r;let i=this.location,a=r.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new nc(r,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=Ps({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[yo]});let e=t;return e})(),nc=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===hn?this.route:t===ci?this.childContexts:this.parent.get(t,n)}},fc=new E("");function mw(e,t,n){let r=sr(e,t._root,n?n._root:void 0);return new ri(r,t)}function sr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=vw(e,t,n);return new fe(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>sr(e,a)),s}}let r=yw(t.value),o=t.children.map(i=>sr(e,i));return new fe(r,o)}}function vw(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return sr(e,r,o);return sr(e,r)})}function yw(e){return new hn(new Z(e.url),new Z(e.params),new Z(e.queryParams),new Z(e.fragment),new Z(e.data),e.outlet,e.component,e)}var ar=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Ih="ngNavigationCancelingError";function si(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=tr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=bh(!1,he.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function bh(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Ih]=!0,n.cancellationCode=t,n}function Dw(e){return Mh(e)&&tr(e.url)}function Mh(e){return!!e&&e[Ih]}var ww=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=go({type:t,selectors:[["ng-component"]],standalone:!0,features:[Lo],decls:1,vars:0,template:function(o,i){o&1&&ie(0,"router-outlet")},dependencies:[dc],encapsulation:2});let e=t;return e})();function Ew(e,t){return e.providers&&!e._injector&&(e._injector=ga(e.providers,t,`Route: ${e.path}`)),e._injector??t}function hc(e){let t=e.children&&e.children.map(hc),n=t?V(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==b&&(n.component=ww),n}function xe(e){return e.outlet||b}function Cw(e,t){let n=e.filter(r=>xe(r)===t);return n.push(...e.filter(r=>xe(r)!==t)),n}function dr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Iw=(e,t,n,r)=>T(o=>(new rc(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),rc=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Pa(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=an(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=an(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=an(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=an(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Ka(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Ya(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Pa(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Pa(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=dr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}},ai=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},ln=class{constructor(t,n){this.component=t,this.route=n}};function bw(e,t,n){let r=e._root,o=t?t._root:null;return Yn(r,o,n,[r.value])}function Mw(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function gn(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Gu(e)?e:t.get(e):r}function Yn(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=an(t);return e.children.forEach(s=>{Sw(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Xn(a,n.getContext(s),o)),o}function Sw(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Tw(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ai(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Yn(e,t,a?a.children:null,r,o):Yn(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new ln(a.outlet.component,s))}else s&&Xn(t,a,o),o.canActivateChecks.push(new ai(r)),i.component?Yn(e,null,a?a.children:null,r,o):Yn(e,null,n,r,o);return o}function Tw(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!wt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!wt(e.url,t.url)||!Fe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!tc(e,t)||!Fe(e.queryParams,t.queryParams);case"paramsChange":default:return!tc(e,t)}}function Xn(e,t,n){let r=an(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Xn(s,t.children.getContext(i),n):Xn(s,null,n):Xn(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new ln(t.outlet.component,o)):n.canDeactivateChecks.push(new ln(null,o)):n.canDeactivateChecks.push(new ln(null,o))}function fr(e){return typeof e=="function"}function xw(e){return typeof e=="boolean"}function _w(e){return e&&fr(e.canLoad)}function Nw(e){return e&&fr(e.canActivate)}function Aw(e){return e&&fr(e.canActivateChild)}function Rw(e){return e&&fr(e.canDeactivate)}function Ow(e){return e&&fr(e.canMatch)}function Sh(e){return e instanceof Le||e?.name==="EmptyError"}var Yo=Symbol("INITIAL_VALUE");function pn(){return ge(e=>Ar(e.map(t=>t.pipe(je(1),Ni(Yo)))).pipe(T(t=>{for(let n of t)if(n!==!0){if(n===Yo)return Yo;if(n===!1||Pw(n))return n}return!0}),pe(t=>t!==Yo),je(1)))}function Pw(e){return tr(e)||e instanceof ar}function kw(e,t){return H(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?w(V(m({},n),{guardsResult:!0})):Fw(s,r,o,e).pipe(H(a=>a&&xw(a)?Lw(r,i,e,t):w(a)),T(a=>V(m({},n),{guardsResult:a})))})}function Fw(e,t,n,r){return $(e).pipe(H(o=>Bw(o.component,o.route,n,t,r)),Ce(o=>o!==!0,!0))}function Lw(e,t,n,r){return $(t).pipe(st(o=>Pt(Vw(o.route.parent,r),jw(o.route,r),$w(e,o.path,n),Uw(e,o.route,n))),Ce(o=>o!==!0,!0))}function jw(e,t){return e!==null&&t&&t(new Qa(e)),w(!0)}function Vw(e,t){return e!==null&&t&&t(new Za(e)),w(!0)}function Uw(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return w(!0);let o=r.map(i=>Rr(()=>{let s=dr(t)??n,a=gn(i,s),c=Nw(a)?a.canActivate(t,e):Oe(s,()=>a(t,e));return nt(c).pipe(Ce())}));return w(o).pipe(pn())}function $w(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Mw(s)).filter(s=>s!==null).map(s=>Rr(()=>{let a=s.guards.map(c=>{let u=dr(s.node)??n,l=gn(c,u),d=Aw(l)?l.canActivateChild(r,e):Oe(u,()=>l(r,e));return nt(d).pipe(Ce())});return w(a).pipe(pn())}));return w(i).pipe(pn())}function Bw(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return w(!0);let s=i.map(a=>{let c=dr(t)??o,u=gn(a,c),l=Rw(u)?u.canDeactivate(e,t,n,r):Oe(c,()=>u(e,t,n,r));return nt(l).pipe(Ce())});return w(s).pipe(pn())}function Hw(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return w(!0);let i=o.map(s=>{let a=gn(s,e),c=_w(a)?a.canLoad(t,n):Oe(e,()=>a(t,n));return nt(c)});return w(i).pipe(pn(),Th(r))}function Th(e){return Ei(z(t=>{if(typeof t!="boolean")throw si(e,t)}),T(t=>t===!0))}function zw(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return w(!0);let i=o.map(s=>{let a=gn(s,e),c=Ow(a)?a.canMatch(t,n):Oe(e,()=>a(t,n));return nt(c)});return w(i).pipe(pn(),Th(r))}var cr=class{constructor(t){this.segmentGroup=t||null}},ur=class extends Error{constructor(t){super(),this.urlTree=t}};function sn(e){return Ot(new cr(e))}function Gw(e){return Ot(new v(4e3,!1))}function qw(e){return Ot(bh(!1,he.GuardRejected))}var oc=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return w(r);if(o.numberOfChildren>1||!o.children[b])return Gw(`${t.redirectTo}`);o=o.children[b]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:g,title:y}=o,k=Oe(i,()=>a({params:h,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:y}));if(k instanceof tt)throw new ur(k);n=k}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new ur(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new tt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new O(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},ic={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ww(e,t,n,r,o){let i=pc(e,t,n);return i.matched?(r=Ew(t,r),zw(r,t,n,o).pipe(T(s=>s===!0?i:m({},ic)))):w(i)}function pc(e,t,n){if(t.path==="**")return Zw(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},ic):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||HD)(n,e,t);if(!o)return m({},ic);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Zw(e){return{matched:!0,parameters:e.length>0?ah(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function rh(e,t,n,r){return n.length>0&&Kw(e,n,r)?{segmentGroup:new O(t,Qw(r,new O(n,e.children))),slicedSegments:[]}:n.length===0&&Jw(e,n,r)?{segmentGroup:new O(e.segments,Yw(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new O(e.segments,e.children),slicedSegments:n}}function Yw(e,t,n,r){let o={};for(let i of n)if(ui(e,t,i)&&!r[xe(i)]){let s=new O([],{});o[xe(i)]=s}return m(m({},r),o)}function Qw(e,t){let n={};n[b]=t;for(let r of e)if(r.path===""&&xe(r)!==b){let o=new O([],{});n[xe(r)]=o}return n}function Kw(e,t,n){return n.some(r=>ui(e,t,r)&&xe(r)!==b)}function Jw(e,t,n){return n.some(r=>ui(e,t,r))}function ui(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Xw(e,t,n,r){return xe(e)!==r&&(r===b||!ui(t,n,e))?!1:pc(t,e,n).matched}function e0(e,t,n){return t.length===0&&!e.children[n]}var sc=class{};function t0(e,t,n,r,o,i,s="emptyOnly"){return new ac(e,t,n,r,o,s,i).recognize()}var n0=31,ac=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new oc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=rh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(({children:n,rootSnapshot:r})=>{let o=new fe(r,n),i=new ii("",o),s=cw(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new un([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),b,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,b,n).pipe(T(r=>({children:r,rootSnapshot:n})),Ze(r=>{if(r instanceof ur)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof cr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(T(s=>s instanceof fe?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return $(i).pipe(st(s=>{let a=r.children[s],c=Cw(n,s);return this.processSegmentGroup(t,c,a,s,o)}),_i((s,a)=>(s.push(...a),s)),Ye(null),xi(),H(s=>{if(s===null)return sn(r);let a=xh(s);return r0(a),w(a)}))}processSegment(t,n,r,o,i,s,a){return $(n).pipe(st(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Ze(u=>{if(u instanceof cr)return w(null);throw u}))),Ce(c=>!!c),Ze(c=>{if(Sh(c))return e0(r,o,i)?w(new sc):sn(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return Xw(r,o,i,s)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):sn(o):sn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=pc(n,o,i);if(!c)return sn(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>n0&&(this.allowRedirects=!1));let h=new un(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,oh(o),xe(o),o.component??o._loadedComponent??null,o,ih(o)),g=oi(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(g.params),h.data=Object.freeze(g.data);let y=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,t);return this.applyRedirects.lineralizeSegments(o,y).pipe(H(k=>this.processSegment(t,r,n,k.concat(f),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=Ww(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(ge(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(ge(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:f,remainingSegments:h}=c,g=new un(f,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,oh(r),xe(r),r.component??r._loadedComponent??null,r,ih(r)),y=oi(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(y.params),g.data=Object.freeze(y.data);let{segmentGroup:k,slicedSegments:F}=rh(n,f,h,u);if(F.length===0&&k.hasChildren())return this.processChildren(l,u,k,g).pipe(T(re=>new fe(g,re)));if(u.length===0&&F.length===0)return w(new fe(g,[]));let J=xe(r)===i;return this.processSegment(l,u,k,F,J?b:i,!0,g).pipe(T(re=>new fe(g,re instanceof fe?[re]:[])))}))):sn(n)))}getChildConfig(t,n,r){return n.children?w({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?w({routes:n._loadedRoutes,injector:n._loadedInjector}):Hw(t,n,r,this.urlSerializer).pipe(H(o=>o?this.configLoader.loadChildren(t,n).pipe(z(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):qw(n))):w({routes:[],injector:t})}};function r0(e){e.sort((t,n)=>t.value.outlet===b?-1:n.value.outlet===b?1:t.value.outlet.localeCompare(n.value.outlet))}function o0(e){let t=e.value.routeConfig;return t&&t.path===""}function xh(e){let t=[],n=new Set;for(let r of e){if(!o0(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=xh(r.children);t.push(new fe(r.value,o))}return t.filter(r=>!n.has(r))}function oh(e){return e.data||{}}function ih(e){return e.resolve||{}}function i0(e,t,n,r,o,i){return H(s=>t0(e,t,n,r,s.extractedUrl,o,i).pipe(T(({state:a,tree:c})=>V(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function s0(e,t){return H(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return w(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of _h(c))s.add(u);let a=0;return $(s).pipe(st(c=>i.has(c)?a0(c,r,e,t):(c.data=oi(c,c.parent,e).resolve,w(void 0))),z(()=>a++),Ft(1),H(c=>a===s.size?w(n):ae))})}function _h(e){let t=e.children.map(n=>_h(n)).flat();return[e,...t]}function a0(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Ch(o)&&(i[lr]=o.title),c0(i,e,t,r).pipe(T(s=>(e._resolvedData=s,e.data=oi(e,e.parent,n).resolve,null)))}function c0(e,t,n,r){let o=La(e);if(o.length===0)return w({});let i={};return $(o).pipe(H(s=>u0(e[s],t,n,r).pipe(Ce(),z(a=>{if(a instanceof ar)throw si(new er,a);i[s]=a}))),Ft(1),Ti(i),Ze(s=>Sh(s)?ae:Ot(s)))}function u0(e,t,n,r){let o=dr(t)??r,i=gn(e,o),s=i.resolve?i.resolve(t,n):Oe(o,()=>i(t,n));return nt(s)}function ka(e){return ge(t=>{let n=e(t);return n?$(n).pipe(T(()=>t)):w(t)})}var Nh=(()=>{let t=class t{buildTitle(r){let o,i=r.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===b);return o}getResolvedTitleForRoute(r){return r.data[lr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(l0),providedIn:"root"});let e=t;return e})(),l0=(()=>{let t=class t extends Nh{constructor(r){super(),this.title=r}updateTitle(r){let o=this.buildTitle(r);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(x(Kf))},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),gc=new E("",{providedIn:"root",factory:()=>({})}),mc=new E(""),d0=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Da)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return w(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=nt(r.loadComponent()).pipe(T(Ah),z(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),kt(()=>{this.componentLoaders.delete(r)})),i=new Rt(o,()=>new X).pipe(At());return this.componentLoaders.set(r,i),i}loadChildren(r,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return w({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=f0(o,this.compiler,r,this.onLoadEndListener).pipe(kt(()=>{this.childrenLoaders.delete(o)})),a=new Rt(s,()=>new X).pipe(At());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function f0(e,t,n,r){return nt(e.loadChildren()).pipe(T(Ah),H(o=>o instanceof Rn||Array.isArray(o)?w(o):$(t.compileModuleAsync(o))),T(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(mc,[],{optional:!0,self:!0}).flat()),{routes:s.map(hc),injector:i}}))}function h0(e){return e&&typeof e=="object"&&"default"in e}function Ah(e){return h0(e)?e.default:e}var vc=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(p0),providedIn:"root"});let e=t;return e})(),p0=(()=>{let t=class t{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,o){return r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),g0=new E("");var m0=new E(""),v0=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new X,this.transitionAbortSubject=new X,this.configLoader=p(d0),this.environmentInjector=p(De),this.urlSerializer=p(uc),this.rootContexts=p(ci),this.location=p(Hn),this.inputBindingEnabled=p(fc,{optional:!0})!==null,this.titleStrategy=p(Nh),this.options=p(gc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(vc),this.createViewTransition=p(g0,{optional:!0}),this.navigationErrorHandler=p(m0,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>w(void 0),this.rootComponentType=null;let r=i=>this.events.next(new qa(i)),o=i=>this.events.next(new Wa(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let o=++this.navigationId;this.transitions?.next(V(m(m({},this.transitions.value),r),{id:o}))}setupNavigations(r,o,i){return this.transitions=new Z({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Jn,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(pe(s=>s.id!==0),T(s=>V(m({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ge(s=>{let a=!1,c=!1;return w(s).pipe(ge(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",he.SupersededByNewNavigation),ae;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?V(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Ct(u.id,this.urlSerializer.serialize(u.rawUrl),f,$a.IgnoredSameUrlNavigation)),u.resolve(!1),ae}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return w(u).pipe(ge(f=>{let h=this.transitions?.getValue();return this.events.next(new rr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?ae:Promise.resolve(f)}),i0(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),z(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=V(m({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new ti(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:y,extras:k}=u,F=new rr(f,this.urlSerializer.serialize(h),g,y);this.events.next(F);let J=wh(this.rootComponentType).snapshot;return this.currentTransition=s=V(m({},u),{targetSnapshot:J,urlAfterRedirects:h,extras:V(m({},k),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,w(s)}else{let f="";return this.events.next(new Ct(u.id,this.urlSerializer.serialize(u.extractedUrl),f,$a.IgnoredByUrlHandlingStrategy)),u.resolve(!1),ae}}),z(u=>{let l=new Ba(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),T(u=>(this.currentTransition=s=V(m({},u),{guards:bw(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),kw(this.environmentInjector,u=>this.events.next(u)),z(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw si(this.urlSerializer,u.guardsResult);let l=new Ha(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),pe(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",he.GuardRejected),!1)),ka(u=>{if(u.guards.canActivateChecks.length)return w(u).pipe(z(l=>{let d=new za(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ge(l=>{let d=!1;return w(l).pipe(s0(this.paramsInheritanceStrategy,this.environmentInjector),z({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",he.NoDataFromResolver)}}))}),z(l=>{let d=new Ga(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ka(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(z(h=>{d.component=h}),T(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Ar(l(u.targetSnapshot.root)).pipe(Ye(null),je(1))}),ka(()=>this.afterPreactivation()),ge(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?$(d).pipe(T(()=>s)):w(s)}),T(u=>{let l=mw(r.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=V(m({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),z(()=>{this.events.next(new ir)}),Iw(this.rootContexts,r.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),je(1),z({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Et(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ai(this.transitionAbortSubject.pipe(z(u=>{throw u}))),kt(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",he.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ze(u=>{if(c=!0,Mh(u))this.events.next(new Ge(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),Dw(u)?this.events.next(new fn(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new or(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=Oe(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof ar){let{message:f,cancellationCode:h}=si(this.urlSerializer,d);this.events.next(new Ge(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new fn(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=r.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return ae}))}))}cancelNavigationTransition(r,o,i){let s=new Ge(r.id,this.urlSerializer.serialize(r.extractedUrl),o,i);this.events.next(s),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function y0(e){return e!==Jn}var D0=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(w0),providedIn:"root"});let e=t;return e})(),cc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},w0=(()=>{let t=class t extends cc{};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Gs(t)))(i||t)}})(),t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Rh=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:()=>p(E0),providedIn:"root"});let e=t;return e})(),E0=(()=>{let t=class t extends Rh{constructor(){super(...arguments),this.location=p(Hn),this.urlSerializer=p(uc),this.options=p(gc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(vc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new tt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=wh(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(o=>{o.type==="popstate"&&r(o.url,o.state)})}handleRouterEvent(r,o){if(r instanceof rr)this.stateMemento=this.createStateMemento();else if(r instanceof Ct)this.rawUrlTree=o.initialUrl;else if(r instanceof ti){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else r instanceof ir?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):r instanceof Ge&&(r.code===he.GuardRejected||r.code===he.NoDataFromResolver)?this.restoreHistory(o):r instanceof or?this.restoreHistory(o,!0):r instanceof Et&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,o){let i=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=m(m({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=m(m({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(r,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===r.finalUrl&&s===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,o){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:o}:{navigationId:r}}};t.\u0275fac=(()=>{let r;return function(i){return(r||(r=Gs(t)))(i||t)}})(),t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Qn=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Qn||{});function C0(e,t){e.events.pipe(pe(n=>n instanceof Et||n instanceof Ge||n instanceof or||n instanceof Ct),T(n=>n instanceof Et||n instanceof Ct?Qn.COMPLETE:(n instanceof Ge?n.code===he.Redirect||n.code===he.SupersededByNewNavigation:!1)?Qn.REDIRECTING:Qn.FAILED),pe(n=>n!==Qn.REDIRECTING),je(1)).subscribe(()=>{t()})}function I0(e){throw e}var b0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},M0={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Oh=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=p(jo),this.stateManager=p(Rh),this.options=p(gc,{optional:!0})||{},this.pendingTasks=p(tn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(v0),this.urlSerializer=p(uc),this.location=p(Hn),this.urlHandlingStrategy=p(vc),this._events=new X,this.errorHandler=this.options.errorHandler||I0,this.navigated=!1,this.routeReuseStrategy=p(D0),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(mc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(fc,{optional:!0}),this.eventsSubscription=new U,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Ge&&o.code!==he.Redirect&&o.code!==he.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Et)this.navigated=!0;else if(o instanceof fn){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=m({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||y0(i.source)},a);this.scheduleNavigation(c,Jn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}T0(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Jn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",o)},0)})}navigateToSyncWithBrowser(r,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=m({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(r);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(hc),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=m(m({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=mh(h)}catch{(typeof r[0]!="string"||r[0][0]!=="/")&&(r=[]),f=this.currentUrlTree.root}return vh(f,r,d,l??null)}navigateByUrl(r,o={skipLocationChange:!1}){let i=tr(r)?r:this.parseUrl(r),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Jn,null,o)}navigate(r,o={skipLocationChange:!1}){return S0(r),this.navigateByUrl(this.createUrlTree(r,o),o)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,o){let i;if(o===!0?i=m({},b0):o===!1?i=m({},M0):i=o,tr(r))return Xf(this.currentUrlTree,r,i);let s=this.parseUrl(r);return Xf(this.currentUrlTree,s,i)}removeEmptyProps(r){return Object.entries(r).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return C0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=I({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function S0(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new v(4008,!1)}function T0(e){return!(e instanceof ir)&&!(e instanceof fn)}var x0=new E("");function Ph(e,...t){return gt([{provide:mc,multi:!0,useValue:e},[],{provide:hn,useFactory:_0,deps:[Oh]},{provide:rn,multi:!0,useFactory:N0},t.map(n=>n.\u0275providers)])}function _0(e){return e.routerState.root}function N0(){let e=p($e);return t=>{let n=e.get(ze);if(t!==n.components[0])return;let r=e.get(Oh),o=e.get(A0);e.get(R0)===1&&r.initialNavigation(),e.get(O0,null,M.Optional)?.setUpPreloading(),e.get(x0,null,M.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var A0=new E("",{factory:()=>new X}),R0=new E("",{providedIn:"root",factory:()=>1});var O0=new E("");var kh=[];var Fh={providers:[vf({eventCoalescing:!0}),Ph(kh),Jf()]};var P0=(e,t)=>t.title,k0=()=>({title:"Explore the Docs",link:"https://angular.dev"}),F0=()=>({title:"Learn with Tutorials",link:"https://angular.dev/tutorials"}),L0=()=>({title:"CLI Docs",link:"https://angular.dev/tools/cli"}),j0=()=>({title:"Angular Language Service",link:"https://angular.dev/tools/language-service"}),V0=()=>({title:"Angular DevTools",link:"https://angular.dev/tools/devtools"}),U0=(e,t,n,r,o)=>[e,t,n,r,o];function $0(e,t){if(e&1&&(G(0,"a",21)(1,"span"),ko(2),ne(),Xt(),G(3,"svg",32),ie(4,"path",33),ne()()),e&2){let n=t.$implicit;ma("href",n.link,pd),xo(2),va(n.title)}}var Lh=(()=>{let t=class t{constructor(){this.title="envelope-generator-ui"}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=go({type:t,selectors:[["app-root"]],standalone:!0,features:[Lo],decls:39,vars:12,consts:[[1,"main"],[1,"content"],[1,"left-side"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 982 239","fill","none",1,"angular-logo"],["clip-path","url(#a)"],["fill","url(#b)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["fill","url(#c)","d","M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"],["id","c","cx","0","cy","0","r","1","gradientTransform","rotate(118.122 171.182 60.81) scale(205.794)","gradientUnits","userSpaceOnUse"],["stop-color","#FF41F8"],["offset",".707","stop-color","#FF41F8","stop-opacity",".5"],["offset","1","stop-color","#FF41F8","stop-opacity","0"],["id","b","x1","0","x2","982","y1","192","y2","192","gradientUnits","userSpaceOnUse"],["stop-color","#F0060B"],["offset","0","stop-color","#F0070C"],["offset",".526","stop-color","#CC26D5"],["offset","1","stop-color","#7702FF"],["id","a"],["fill","#fff","d","M0 0h982v239H0z"],["role","separator","aria-label","Divider",1,"divider"],[1,"right-side"],[1,"pill-group"],["target","_blank","rel","noopener",1,"pill",3,"href"],[1,"social-links"],["href","https://github.com/angular/angular","aria-label","Github","target","_blank","rel","noopener"],["width","25","height","24","viewBox","0 0 25 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Github"],["d","M12.3047 0C5.50634 0 0 5.50942 0 12.3047C0 17.7423 3.52529 22.3535 8.41332 23.9787C9.02856 24.0946 9.25414 23.7142 9.25414 23.3871C9.25414 23.0949 9.24389 22.3207 9.23876 21.2953C5.81601 22.0377 5.09414 19.6444 5.09414 19.6444C4.53427 18.2243 3.72524 17.8449 3.72524 17.8449C2.61064 17.082 3.81137 17.0973 3.81137 17.0973C5.04697 17.1835 5.69604 18.3647 5.69604 18.3647C6.79321 20.2463 8.57636 19.7029 9.27978 19.3881C9.39052 18.5924 9.70736 18.0499 10.0591 17.7423C7.32641 17.4347 4.45429 16.3765 4.45429 11.6618C4.45429 10.3185 4.9311 9.22133 5.72065 8.36C5.58222 8.04931 5.16694 6.79833 5.82831 5.10337C5.82831 5.10337 6.85883 4.77319 9.2121 6.36459C10.1965 6.09082 11.2424 5.95546 12.2883 5.94931C13.3342 5.95546 14.3801 6.09082 15.3644 6.36459C17.7023 4.77319 18.7328 5.10337 18.7328 5.10337C19.3942 6.79833 18.9789 8.04931 18.8559 8.36C19.6403 9.22133 20.1171 10.3185 20.1171 11.6618C20.1171 16.3888 17.2409 17.4296 14.5031 17.7321C14.9338 18.1012 15.3337 18.8559 15.3337 20.0084C15.3337 21.6552 15.3183 22.978 15.3183 23.3779C15.3183 23.7009 15.5336 24.0854 16.1642 23.9623C21.0871 22.3484 24.6094 17.7341 24.6094 12.3047C24.6094 5.50942 19.0999 0 12.3047 0Z"],["href","https://twitter.com/angular","aria-label","Twitter","target","_blank","rel","noopener"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Twitter"],["d","M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"],["href","https://www.youtube.com/channel/UCbn1OgGei-DV7aSRo_HaAiw","aria-label","Youtube","target","_blank","rel","noopener"],["width","29","height","20","viewBox","0 0 29 20","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Youtube"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.4896 1.52422C27.9301 1.96749 28.2463 2.51866 28.4068 3.12258C29.0004 5.35161 29.0004 10 29.0004 10C29.0004 10 29.0004 14.6484 28.4068 16.8774C28.2463 17.4813 27.9301 18.0325 27.4896 18.4758C27.0492 18.9191 26.5 19.2389 25.8972 19.4032C23.6778 20 14.8068 20 14.8068 20C14.8068 20 5.93586 20 3.71651 19.4032C3.11363 19.2389 2.56449 18.9191 2.12405 18.4758C1.68361 18.0325 1.36732 17.4813 1.20683 16.8774C0.613281 14.6484 0.613281 10 0.613281 10C0.613281 10 0.613281 5.35161 1.20683 3.12258C1.36732 2.51866 1.68361 1.96749 2.12405 1.52422C2.56449 1.08095 3.11363 0.76113 3.71651 0.596774C5.93586 0 14.8068 0 14.8068 0C14.8068 0 23.6778 0 25.8972 0.596774C26.5 0.76113 27.0492 1.08095 27.4896 1.52422ZM19.3229 10L11.9036 5.77905V14.221L19.3229 10Z"],["xmlns","http://www.w3.org/2000/svg","height","14","viewBox","0 -960 960 960","width","14","fill","currentColor"],["d","M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"]],template:function(o,i){o&1&&(G(0,"main",0)(1,"div",1)(2,"div",2),Xt(),G(3,"svg",3)(4,"g",4),ie(5,"path",5)(6,"path",6),ne(),G(7,"defs")(8,"radialGradient",7),ie(9,"stop",8)(10,"stop",9)(11,"stop",10),ne(),G(12,"linearGradient",11),ie(13,"stop",12)(14,"stop",13)(15,"stop",14)(16,"stop",15),ne(),G(17,"clipPath",16),ie(18,"path",17),ne()()(),jn(),G(19,"h1"),ko(20),ne(),G(21,"p"),ko(22,"Congratulations! Your app is running. \u{1F389}"),ne()(),ie(23,"div",18),G(24,"div",19)(25,"div",20),af(26,$0,5,2,"a",21,P0),ne(),G(28,"div",22)(29,"a",23),Xt(),G(30,"svg",24),ie(31,"path",25),ne()(),jn(),G(32,"a",26),Xt(),G(33,"svg",27),ie(34,"path",28),ne()(),jn(),G(35,"a",29),Xt(),G(36,"svg",30),ie(37,"path",31),ne()()()()()(),jn(),ie(38,"router-outlet")),o&2&&(xo(20),Fo("Hello, ",i.title,""),xo(6),cf(df(6,U0,nn(1,k0),nn(2,F0),nn(3,L0),nn(4,j0),nn(5,V0))))},dependencies:[dc],styles:[`[_nghost-%COMP%] {
--bright-blue: oklch(51.01% 0.274 263.83);
--electric-violet: oklch(53.18% 0.28 296.97);
--french-violet: oklch(47.66% 0.246 305.88);
--vivid-pink: oklch(69.02% 0.277 332.77);
--hot-red: oklch(61.42% 0.238 15.34);
--orange-red: oklch(63.32% 0.24 31.68);
--gray-900: oklch(19.37% 0.006 300.98);
--gray-700: oklch(36.98% 0.014 302.71);
--gray-400: oklch(70.9% 0.015 304.04);
--red-to-pink-to-purple-vertical-gradient: linear-gradient(
180deg,
var(--orange-red) 0%,
var(--vivid-pink) 50%,
var(--electric-violet) 100%
);
--red-to-pink-to-purple-horizontal-gradient: linear-gradient(
90deg,
var(--orange-red) 0%,
var(--vivid-pink) 50%,
var(--electric-violet) 100%
);
--pill-accent: var(--bright-blue);
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1[_ngcontent-%COMP%] {
font-size: 3.125rem;
color: var(--gray-900);
font-weight: 500;
line-height: 100%;
letter-spacing: -0.125rem;
margin: 0;
font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol";
}
p[_ngcontent-%COMP%] {
margin: 0;
color: var(--gray-700);
}
main[_ngcontent-%COMP%] {
width: 100%;
min-height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
box-sizing: inherit;
position: relative;
}
.angular-logo[_ngcontent-%COMP%] {
max-width: 9.2rem;
}
.content[_ngcontent-%COMP%] {
display: flex;
justify-content: space-around;
width: 100%;
max-width: 700px;
margin-bottom: 3rem;
}
.content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] {
margin-top: 1.75rem;
}
.content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {
margin-top: 1.5rem;
}
.divider[_ngcontent-%COMP%] {
width: 1px;
background: var(--red-to-pink-to-purple-vertical-gradient);
margin-inline: 0.5rem;
}
.pill-group[_ngcontent-%COMP%] {
display: flex;
flex-direction: column;
align-items: start;
flex-wrap: wrap;
gap: 1.25rem;
}
.pill[_ngcontent-%COMP%] {
display: flex;
align-items: center;
--pill-accent: var(--bright-blue);
background: color-mix(in srgb, var(--pill-accent) 5%, transparent);
color: var(--pill-accent);
padding-inline: 0.75rem;
padding-block: 0.375rem;
border-radius: 2.75rem;
border: 0;
transition: background 0.3s ease;
font-family: var(--inter-font);
font-size: 0.875rem;
font-style: normal;
font-weight: 500;
line-height: 1.4rem;
letter-spacing: -0.00875rem;
text-decoration: none;
}
.pill[_ngcontent-%COMP%]:hover {
background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
}
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 1) {
--pill-accent: var(--bright-blue);
}
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 2) {
--pill-accent: var(--french-violet);
}
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 3),
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 4),
.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n + 5) {
--pill-accent: var(--hot-red);
}
.pill-group[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {
margin-inline-start: 0.25rem;
}
.social-links[_ngcontent-%COMP%] {
display: flex;
align-items: center;
gap: 0.73rem;
margin-top: 1.5rem;
}
.social-links[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {
transition: fill 0.3s ease;
fill: var(--gray-400);
}
.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {
fill: var(--gray-900);
}
@media screen and (max-width: 650px) {
.content[_ngcontent-%COMP%] {
flex-direction: column;
width: max-content;
}
.divider[_ngcontent-%COMP%] {
height: 1px;
width: 100%;
background: var(--red-to-pink-to-purple-horizontal-gradient);
margin-block: 1.5rem;
}
}`]});let e=t;return e})();Qf(Lh,Fh).catch(e=>console.error(e));