-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunk-WUT6GOCX.js
8 lines (8 loc) · 241 KB
/
chunk-WUT6GOCX.js
1
2
3
4
5
6
7
8
var jg=Object.defineProperty,Vg=Object.defineProperties;var $g=Object.getOwnPropertyDescriptors;var Qr=Object.getOwnPropertySymbols;var Ju=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable;var Ku=(e,t,r)=>t in e?jg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||={})Ju.call(t,r)&&Ku(e,r,t[r]);if(Qr)for(var r of Qr(t))Xu.call(t,r)&&Ku(e,r,t[r]);return e},q=(e,t)=>Vg(e,$g(t));var el=(e,t)=>{var r={};for(var n in e)Ju.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Qr)for(var n of Qr(e))t.indexOf(n)<0&&Xu.call(e,n)&&(r[n]=e[n]);return r};var is=(e,t,r)=>new Promise((n,o)=>{var i=c=>{try{a(r.next(c))}catch(u){o(u)}},s=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(e,t)).next())});var tl=null;var ss=1,nl=Symbol("SIGNAL");function se(e){let t=tl;return tl=e,t}var rl={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 Ug(e){if(!(us(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ss)){if(!e.producerMustRecompute(e)&&!as(e)){e.dirty=!1,e.lastCleanEpoch=ss;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ss}}function ol(e){return e&&(e.nextProducerIndex=0),se(e)}function il(e,t){if(se(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(us(e))for(let r=e.nextProducerIndex;r<e.producerNode.length;r++)cs(e.producerNode[r],e.producerIndexOfThis[r]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function as(e){Kr(e);for(let t=0;t<e.producerNode.length;t++){let r=e.producerNode[t],n=e.producerLastReadVersion[t];if(n!==r.version||(Ug(r),n!==r.version))return!0}return!1}function sl(e){if(Kr(e),us(e))for(let t=0;t<e.producerNode.length;t++)cs(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 cs(e,t){if(Bg(e),Kr(e),e.liveConsumerNode.length===1)for(let n=0;n<e.producerNode.length;n++)cs(e.producerNode[n],e.producerIndexOfThis[n]);let r=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[r],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[r],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let n=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Kr(o),o.producerIndexOfThis[n]=t}}function us(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Kr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Bg(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Hg(){throw new Error}var zg=Hg;function al(e){zg=e}function D(e){return typeof e=="function"}function rn(e){let r=e(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Jr=rn(e=>function(r){e(this),this.message=r?`${r.length} errors occurred during unsubscription:
${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=r});function At(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var G=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:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(D(n))try{n()}catch(i){t=i instanceof Jr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{cl(i)}catch(s){t=t??[],s instanceof Jr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Jr(t)}}add(t){var r;if(t&&t!==this)if(this.closed)cl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}}_hasParent(t){let{_parentage:r}=this;return r===t||Array.isArray(r)&&r.includes(t)}_addParent(t){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t}_removeParent(t){let{_parentage:r}=this;r===t?this._parentage=null:Array.isArray(r)&&At(r,t)}remove(t){let{_finalizers:r}=this;r&&At(r,t),t instanceof e&&t._removeParent(this)}};G.EMPTY=(()=>{let e=new G;return e.closed=!0,e})();var ls=G.EMPTY;function Xr(e){return e instanceof G||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function cl(e){D(e)?e():e.unsubscribe()}var Re={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var on={setTimeout(e,t,...r){let{delegate:n}=on;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){let{delegate:t}=on;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function eo(e){on.setTimeout(()=>{let{onUnhandledError:t}=Re;if(t)t(e);else throw e})}function Ye(){}var ul=ds("C",void 0,void 0);function ll(e){return ds("E",void 0,e)}function dl(e){return ds("N",e,void 0)}function ds(e,t,r){return{kind:e,value:t,error:r}}var _t=null;function sn(e){if(Re.useDeprecatedSynchronousErrorHandling){let t=!_t;if(t&&(_t={errorThrown:!1,error:null}),e(),t){let{errorThrown:r,error:n}=_t;if(_t=null,r)throw n}}else e()}function fl(e){Re.useDeprecatedSynchronousErrorHandling&&_t&&(_t.errorThrown=!0,_t.error=e)}var Nt=class extends G{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xr(t)&&t.add(this)):this.destination=Wg}static create(t,r,n){return new an(t,r,n)}next(t){this.isStopped?hs(dl(t),this):this._next(t)}error(t){this.isStopped?hs(ll(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?hs(ul,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()}}},Gg=Function.prototype.bind;function fs(e,t){return Gg.call(e,t)}var ps=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(n){to(n)}}error(t){let{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(n){to(n)}else to(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(r){to(r)}}},an=class extends Nt{constructor(t,r,n){super();let o;if(D(t)||!t)o={next:t??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Re.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&fs(t.next,i),error:t.error&&fs(t.error,i),complete:t.complete&&fs(t.complete,i)}):o=t}this.destination=new ps(o)}};function to(e){Re.useDeprecatedSynchronousErrorHandling?fl(e):eo(e)}function qg(e){throw e}function hs(e,t){let{onStoppedNotification:r}=Re;r&&on.setTimeout(()=>r(e,t))}var Wg={closed:!0,next:Ye,error:qg,complete:Ye};var cn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ye(e){return e}function gs(...e){return ms(e)}function ms(e){return e.length===0?ye:e.length===1?e[0]:function(r){return e.reduce((n,o)=>o(n),r)}}var x=(()=>{class e{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new e;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Yg(r)?r:new an(r,n,o);return sn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=hl(n),new n((o,i)=>{let s=new an({next:a=>{try{r(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[cn](){return this}pipe(...r){return ms(r)(this)}toPromise(r){return r=hl(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return e.create=t=>new e(t),e})();function hl(e){var t;return(t=e??Re.Promise)!==null&&t!==void 0?t:Promise}function Zg(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function Yg(e){return e&&e instanceof Nt||Zg(e)&&Xr(e)}function vs(e){return D(e?.lift)}function R(e){return t=>{if(vs(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function O(e,t,r,n,o){return new ys(e,t,r,n,o)}var ys=class extends Nt{constructor(t,r,n,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(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=n?function(){try{n()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function un(){return R((e,t)=>{let r=null;e._refCount++;let n=O(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){r=null;return}let o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}var ct=class extends x{constructor(t,r){super(),this.source=t,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,vs(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 G;let r=this.getSubject();t.add(this.source.subscribe(O(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=G.EMPTY)}return t}refCount(){return un()(this)}};var pl=rn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Q=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new no(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new pl}next(r){sn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){sn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){sn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?ls:(this.currentObservers=null,i.push(r),new G(()=>{this.currentObservers=null,At(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new x;return r.source=this,r}}return e.create=(t,r)=>new no(t,r),e})(),no=class extends Q{constructor(t,r){super(),this.destination=t,this.source=r}next(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,t)}error(t){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,t)}complete(){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||r===void 0||r.call(t)}_subscribe(t){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(t))!==null&&n!==void 0?n:ls}};var X=class extends Q{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){let{hasError:t,thrownError:r,_value:n}=this;if(t)throw r;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}};var Ds={now(){return(Ds.delegate||Date).now()},delegate:void 0};var ro=class extends G{constructor(t,r){super()}schedule(t,r=0){return this}};var zn={setInterval(e,t,...r){let{delegate:n}=zn;return n?.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){let{delegate:t}=zn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var oo=class extends ro{constructor(t,r){super(t,r),this.scheduler=t,this.work=r,this.pending=!1}schedule(t,r=0){var n;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(t,r,n=0){return zn.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&zn.clearInterval(r)}execute(t,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(t,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,r){let n=!1,o;try{this.work(t)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,At(n,this),t!=null&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,super.unsubscribe()}}};var ln=class e{constructor(t,r=e.now){this.schedulerActionCtor=t,this.now=r}schedule(t,r=0,n){return new this.schedulerActionCtor(this,t).schedule(n,r)}};ln.now=Ds.now;var io=class extends ln{constructor(t,r=ln.now){super(t,r),this.actions=[],this._active=!1}flush(t){let{actions:r}=this;if(this._active){r.push(t);return}let n;this._active=!0;do if(n=t.execute(t.state,t.delay))break;while(t=r.shift());if(this._active=!1,n){for(;t=r.shift();)t.unsubscribe();throw n}}};var ws=new io(oo),gl=ws;var fe=new x(e=>e.complete());function so(e){return e&&D(e.schedule)}function Es(e){return e[e.length-1]}function ao(e){return D(Es(e))?e.pop():void 0}function je(e){return so(Es(e))?e.pop():void 0}function ml(e,t){return typeof Es(e)=="number"?e.pop():t}function yl(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(e,t||[])).next())})}function vl(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rt(e){return this instanceof Rt?(this.v=e,this):new Rt(e)}function Dl(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){n[f]&&(o[f]=function(h){return new Promise(function(p,w){i.push([f,h,p,w])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(p){d(i[0][3],p)}}function c(f){f.value instanceof Rt?Promise.resolve(f.value.v).then(u,l):d(i[0][2],f)}function u(f){a("next",f)}function l(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function wl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof vl=="function"?vl(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[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 dn=e=>e&&typeof e.length=="number"&&typeof e!="function";function co(e){return D(e?.then)}function uo(e){return D(e[cn])}function lo(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function fo(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 Qg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ho=Qg();function po(e){return D(e?.[ho])}function go(e){return Dl(this,arguments,function*(){let r=e.getReader();try{for(;;){let{value:n,done:o}=yield Rt(r.read());if(o)return yield Rt(void 0);yield yield Rt(n)}}finally{r.releaseLock()}})}function mo(e){return D(e?.getReader)}function j(e){if(e instanceof x)return e;if(e!=null){if(uo(e))return Kg(e);if(dn(e))return Jg(e);if(co(e))return Xg(e);if(lo(e))return El(e);if(po(e))return em(e);if(mo(e))return tm(e)}throw fo(e)}function Kg(e){return new x(t=>{let r=e[cn]();if(D(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Jg(e){return new x(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Xg(e){return new x(t=>{e.then(r=>{t.closed||(t.next(r),t.complete())},r=>t.error(r)).then(null,eo)})}function em(e){return new x(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}function El(e){return new x(t=>{nm(e,t).catch(r=>t.error(r))})}function tm(e){return El(go(e))}function nm(e,t){var r,n,o,i;return yl(this,void 0,void 0,function*(){try{for(r=wl(e);n=yield r.next(),!n.done;){let s=n.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}t.complete()})}function he(e,t,r,n=0,o=!1){let i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function vo(e,t=0){return R((r,n)=>{r.subscribe(O(n,o=>he(n,e,()=>n.next(o),t),()=>he(n,e,()=>n.complete(),t),o=>he(n,e,()=>n.error(o),t)))})}function yo(e,t=0){return R((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}function Il(e,t){return j(e).pipe(yo(t),vo(t))}function Cl(e,t){return j(e).pipe(yo(t),vo(t))}function bl(e,t){return new x(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Ml(e,t){return new x(r=>{let n;return he(r,t,()=>{n=e[ho](),he(r,t,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>D(n?.return)&&n.return()})}function Do(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(r=>{he(r,t,()=>{let n=e[Symbol.asyncIterator]();he(r,t,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function Tl(e,t){return Do(go(e),t)}function Sl(e,t){if(e!=null){if(uo(e))return Il(e,t);if(dn(e))return bl(e,t);if(co(e))return Cl(e,t);if(lo(e))return Do(e,t);if(po(e))return Ml(e,t);if(mo(e))return Tl(e,t)}throw fo(e)}function B(e,t){return t?Sl(e,t):j(e)}function T(...e){let t=je(e);return B(e,t)}function fn(e,t){let r=D(e)?e:()=>e,n=o=>o.error(r());return new x(t?o=>t.schedule(n,0,o):n)}function Is(e){return!!e&&(e instanceof x||D(e.lift)&&D(e.subscribe))}var Qe=rn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function xl(e){return e instanceof Date&&!isNaN(e)}function N(e,t){return R((r,n)=>{let o=0;r.subscribe(O(n,i=>{n.next(e.call(t,i,o++))}))})}var{isArray:rm}=Array;function om(e,t){return rm(t)?e(...t):e(t)}function hn(e){return N(t=>om(e,t))}var{isArray:im}=Array,{getPrototypeOf:sm,prototype:am,keys:cm}=Object;function wo(e){if(e.length===1){let t=e[0];if(im(t))return{args:t,keys:null};if(um(t)){let r=cm(t);return{args:r.map(n=>t[n]),keys:r}}}return{args:e,keys:null}}function um(e){return e&&typeof e=="object"&&sm(e)===am}function Eo(e,t){return e.reduce((r,n,o)=>(r[n]=t[o],r),{})}function Io(...e){let t=je(e),r=ao(e),{args:n,keys:o}=wo(e);if(n.length===0)return B([],t);let i=new x(lm(n,t,o?s=>Eo(o,s):ye));return r?i.pipe(hn(r)):i}function lm(e,t,r=ye){return n=>{Al(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Al(t,()=>{let u=B(e[c],t),l=!1;u.subscribe(O(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Al(e,t,r){e?he(r,e,t):t()}function _l(e,t,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&t.complete()},h=w=>u<n?p(w):c.push(w),p=w=>{i&&t.next(w),u++;let v=!1;j(r(w,l++)).subscribe(O(t,m=>{o?.(m),i?h(m):t.next(m)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<n;){let m=c.shift();s?he(t,s,()=>p(m)):p(m)}f()}catch(m){t.error(m)}}))};return e.subscribe(O(t,h,()=>{d=!0,f()})),()=>{a?.()}}function H(e,t,r=1/0){return D(t)?H((n,o)=>N((i,s)=>t(n,i,o,s))(j(e(n,o))),r):(typeof t=="number"&&(r=t),R((n,o)=>_l(n,o,e,r)))}function Gn(e=1/0){return H(ye,e)}function Nl(){return Gn(1)}function ut(...e){return Nl()(B(e,je(e)))}function Co(e){return new x(t=>{j(e()).subscribe(t)})}function dm(...e){let t=ao(e),{args:r,keys:n}=wo(e),o=new x(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;j(r[l]).subscribe(O(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(n?Eo(n,a):a),i.complete())}))}});return t?o.pipe(hn(t)):o}var fm=["addListener","removeListener"],hm=["addEventListener","removeEventListener"],pm=["on","off"];function Cs(e,t,r,n){if(D(r)&&(n=r,r=void 0),n)return Cs(e,t,r).pipe(hn(n));let[o,i]=vm(e)?hm.map(s=>a=>e[s](t,a,r)):gm(e)?fm.map(Rl(e,t)):mm(e)?pm.map(Rl(e,t)):[];if(!o&&dn(e))return H(s=>Cs(s,t,r))(j(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Rl(e,t){return r=>n=>e[r](t,n)}function gm(e){return D(e.addListener)&&D(e.removeListener)}function mm(e){return D(e.on)&&D(e.off)}function vm(e){return D(e.addEventListener)&&D(e.removeEventListener)}function Ol(e=0,t,r=gl){let n=-1;return t!=null&&(so(t)?r=t:n=t),new x(o=>{let i=xl(e)?+e-r.now():e;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function ym(...e){let t=je(e),r=ml(e,1/0),n=e;return n.length?n.length===1?j(n[0]):Gn(r)(B(n,t)):fe}var Dm=new x(Ye);function De(e,t){return R((r,n)=>{let o=0;r.subscribe(O(n,i=>e.call(t,i,o++)&&n.next(i)))})}function lt(e){return R((t,r)=>{let n=null,o=!1,i;n=t.subscribe(O(r,void 0,void 0,s=>{i=j(e(s,lt(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Pl(e,t,r,n,o){return(i,s)=>{let a=r,c=t,u=0;i.subscribe(O(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function dt(e,t){return D(t)?H(e,t,1):H(e,1)}function Fl(e){return new x(t=>e.subscribe(t))}var wm={connector:()=>new Q};function bo(e,t=wm){let{connector:r}=t;return R((n,o)=>{let i=r();j(e(Fl(i))).subscribe(o),o.add(n.subscribe(i))})}function ft(e){return R((t,r)=>{let n=!1;t.subscribe(O(r,o=>{n=!0,r.next(o)},()=>{n||r.next(e),r.complete()}))})}function Te(e){return e<=0?()=>fe:R((t,r)=>{let n=0;t.subscribe(O(r,o=>{++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function kl(){return R((e,t)=>{e.subscribe(O(t,Ye))})}function qn(e){return N(()=>e)}function bs(e,t){return t?r=>ut(t.pipe(Te(1),kl()),r.pipe(bs(e))):H((r,n)=>j(e(r,n)).pipe(Te(1),qn(r)))}function Em(e,t=ws){let r=Ol(e,t);return bs(()=>r)}function Mo(e=Im){return R((t,r)=>{let n=!1;t.subscribe(O(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(e())))})}function Im(){return new Qe}function ht(e){return R((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}function Oe(e,t){let r=arguments.length>=2;return n=>n.pipe(e?De((o,i)=>e(o,i,n)):ye,Te(1),r?ft(t):Mo(()=>new Qe))}function pn(e){return e<=0?()=>fe:R((t,r)=>{let n=[];t.subscribe(O(r,o=>{n.push(o),e<n.length&&n.shift()},()=>{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function Ms(e,t){let r=arguments.length>=2;return n=>n.pipe(e?De((o,i)=>e(o,i,n)):ye,pn(1),r?ft(t):Mo(()=>new Qe))}function Ll(e,t){let r=D(e)?e:()=>e;return D(t)?bo(t,{connector:r}):n=>new ct(n,r)}function Cm(e){return e?t=>bo(e)(t):t=>Ll(new Q)(t)}function Ts(e,t){return R(Pl(e,t,arguments.length>=2,!0))}function Ss(...e){let t=je(e);return R((r,n)=>{(t?ut(e,r,t):ut(e,r)).subscribe(n)})}function we(e,t){return R((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(O(n,c=>{o?.unsubscribe();let u=0,l=i++;j(e(c,l)).subscribe(o=O(n,d=>n.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function xs(e){return R((t,r)=>{j(e).subscribe(O(r,()=>r.complete(),Ye)),!r.closed&&t.subscribe(r)})}function W(e,t,r){let n=D(e)||t||r?{next:e,error:t,complete:r}:e;return n?R((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(O(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):ye}var Ad="https://g.co/ng/security#xss",E=class extends Error{constructor(t,r){super(ii(t,r)),this.code=t}};function ii(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function bm(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}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 r=t.indexOf(`
`);return r===-1?t:t.substring(0,r)}function jl(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Mm=$({__forward_ref__:$});function _d(e){return e.__forward_ref__=_d,e.toString=function(){return ce(this())},e}function ae(e){return Nd(e)?e():e}function Nd(e){return typeof e=="function"&&e.hasOwnProperty(Mm)&&e.__forward_ref__===_d}function Rd(e){return e&&!!e.\u0275providers}var Tm=$({\u0275cmp:$}),Sm=$({\u0275dir:$}),xm=$({\u0275pipe:$}),Am=$({\u0275mod:$}),Lo=$({\u0275fac:$}),Wn=$({__NG_ELEMENT_ID__:$}),Vl=$({__NG_ENV_ID__:$});function si(e){return typeof e=="string"?e:e==null?"":String(e)}function _m(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():si(e)}function Nm(e,t){let r=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${r}`)}function Ha(e,t){throw new E(-201,!1)}function Rm(e,t){e==null&&za(t,e,null,"!=")}function za(e,t,r,n){throw new Error(`ASSERTION ERROR: ${e}`+(n==null?"":` [Expected=> ${r} ${n} ${t} <=Actual]`))}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ht(e){return{providers:e.providers||[],imports:e.imports||[]}}function ai(e){return $l(e,Pd)||$l(e,Fd)}function Od(e){return ai(e)!==null}function $l(e,t){return e.hasOwnProperty(t)?e[t]:null}function Om(e){let t=e&&(e[Pd]||e[Fd]);return t||null}function Ul(e){return e&&(e.hasOwnProperty(Bl)||e.hasOwnProperty(Pm))?e[Bl]:null}var Pd=$({\u0275prov:$}),Bl=$({\u0275inj:$}),Fd=$({ngInjectableDef:$}),Pm=$({ngInjectorDef:$}),P=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}(P||{}),Zs;function Fm(){return Zs}function Se(e){let t=Zs;return Zs=e,t}function kd(e,t,r){let n=ai(e);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&P.Optional)return null;if(t!==void 0)return t;Ha(e,"Injector")}var ge=globalThis;var M=class{constructor(t,r){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=C({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var km={},Yn=km,Lm="__NG_DI_FLAG__",jo="ngTempTokenPath",jm="ngTokenPath",Vm=/\n/gm,$m="\u0275",Hl="__source",Zn;function pt(e){let t=Zn;return Zn=e,t}function Um(e,t=P.Default){if(Zn===void 0)throw new E(-203,!1);return Zn===null?kd(e,void 0,t):Zn.get(e,t&P.Optional?null:void 0,t)}function b(e,t=P.Default){return(Fm()||Um)(ae(e),t)}function g(e,t=P.Default){return b(e,ci(t))}function ci(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ys(e){let t=[];for(let r=0;r<e.length;r++){let n=ae(e[r]);if(Array.isArray(n)){if(n.length===0)throw new E(900,!1);let o,i=P.Default;for(let s=0;s<n.length;s++){let a=n[s],c=Bm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(n))}return t}function Bm(e){return e[Lm]}function Hm(e,t,r,n){let o=e[jo];throw t[Hl]&&o.unshift(t[Hl]),e.message=zm(`
`+e.message,o,r,n),e[jm]=o,e[jo]=null,e}function zm(e,t,r,n=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==$m?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`${r}${n?"("+n+")":""}[${o}]: ${e.replace(Vm,`
`)}`}function ui(e){return{toString:e}.toString()}var Ld=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ld||{}),Be=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Be||{}),In={},Ee=[],Ae=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ae||{});function jd(e,t,r){let n=e.length;for(;;){let o=e.indexOf(t,r);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===n||e.charCodeAt(o+i)<=32)return o}r=o+1}}function Qs(e,t,r){let n=0;for(;n<r.length;){let o=r[n];if(typeof o=="number"){if(o!==0)break;n++;let i=r[n++],s=r[n++],a=r[n++];e.setAttribute(t,s,a,i)}else{let i=o,s=r[++n];Gm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),n++}}return n}function Vd(e){return e===3||e===4||e===6}function Gm(e){return e.charCodeAt(0)===64}function Qn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let o=t[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?zl(e,r,o,null,t[++n]):zl(e,r,o,null,null))}}return e}function zl(e,t,r,n,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===r){if(n===null){o!==null&&(e[i+1]=o);return}else if(n===e[i+1]){e[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,r),n!==null&&e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}var $d="ng-template";function qm(e,t,r){let n=0,o=!0;for(;n<e.length;){let i=e[n++];if(typeof i=="string"&&o){let s=e[n++];if(r&&i==="class"&&jd(s.toLowerCase(),t,0)!==-1)return!0}else if(i===1){for(;n<e.length&&typeof(i=e[n++])=="string";)if(i.toLowerCase()===t)return!0;return!1}else typeof i=="number"&&(o=!1)}return!1}function Ud(e){return e.type===4&&e.value!==$d}function Wm(e,t,r){let n=e.type===4&&!r?$d:e.value;return t===n}function Zm(e,t,r){let n=4,o=e.attrs||[],i=Km(o),s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Pe(n)&&!Pe(c))return!1;if(s&&Pe(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!Wm(e,c,r)||c===""&&t.length===1){if(Pe(n))return!1;s=!0}}else{let u=n&8?c:t[++a];if(n&8&&e.attrs!==null){if(!qm(e.attrs,u,r)){if(Pe(n))return!1;s=!0}continue}let l=n&8?"class":c,d=Ym(l,o,Ud(e),r);if(d===-1){if(Pe(n))return!1;s=!0;continue}if(u!==""){let f;d>i?f="":f=o[d+1].toLowerCase();let h=n&8?f:null;if(h&&jd(h,u,0)!==-1||n&2&&u!==f){if(Pe(n))return!1;s=!0}}}}return Pe(n)||s}function Pe(e){return(e&1)===0}function Ym(e,t,r,n){if(t===null)return-1;let o=0;if(n||!r){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 Jm(t,e)}function Bd(e,t,r=!1){for(let n=0;n<t.length;n++)if(Zm(e,t[n],r))return!0;return!1}function Qm(e){let t=e.attrs;if(t!=null){let r=t.indexOf(5);if(!(r&1))return t[r+1]}return null}function Km(e){for(let t=0;t<e.length;t++){let r=e[t];if(Vd(r))return t}return e.length}function Jm(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if(typeof n=="number")return-1;if(n===t)return r;r++}return-1}function Xm(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];if(e.length===n.length){for(let o=0;o<e.length;o++)if(e[o]!==n[o])continue e;return!0}}return!1}function Gl(e,t){return e?":not("+t.trim()+")":t}function ev(e){let t=e[0],r=1,n=2,o="",i=!1;for(;r<e.length;){let s=e[r];if(typeof s=="string")if(n&2){let a=e[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Pe(s)&&(t+=Gl(i,o),o=""),n=s,i=i||!Pe(n);r++}return o!==""&&(t+=Gl(i,o)),t}function tv(e){return e.map(ev).join(",")}function nv(e){let t=[],r=[],n=1,o=2;for(;n<e.length;){let i=e[n];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++n]):o===8&&r.push(i);else{if(!Pe(o))break;o=i}n++}return{attrs:t,classes:r}}function Hd(e){return ui(()=>{let t=qd(e),r=q(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ld.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Be.Emulated,styles:e.styles||Ee,_:null,schemas:e.schemas||null,tView:null,id:""});Wd(r);let n=e.dependencies;return r.directiveDefs=Wl(n,!1),r.pipeDefs=Wl(n,!0),r.id=iv(r),r})}function rv(e){return Je(e)||Ga(e)}function ov(e){return e!==null}function zt(e){return ui(()=>({type:e.type,bootstrap:e.bootstrap||Ee,declarations:e.declarations||Ee,imports:e.imports||Ee,exports:e.exports||Ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ql(e,t){if(e==null)return In;let r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n],i,s,a=Ae.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(r[i]=a!==Ae.None?[n,a]:n,t[i]=s):r[i]=n}return r}function xn(e){return ui(()=>{let t=qd(e);return Wd(t),t})}function Je(e){return e[Tm]||null}function Ga(e){return e[Sm]||null}function qa(e){return e[xm]||null}function zd(e){let t=Je(e)||Ga(e)||qa(e);return t!==null?t.standalone:!1}function Gd(e,t){let r=e[Am]||null;if(!r&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return r}function qd(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||In,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ql(e.inputs,t),outputs:ql(e.outputs),debugInfo:null}}function Wd(e){e.features?.forEach(t=>t(e))}function Wl(e,t){if(!e)return null;let r=t?qa:rv;return()=>(typeof e=="function"?e():e).map(n=>r(n)).filter(ov)}function iv(e){let t=0,r=[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 r)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var Ie=0,I=1,S=2,Z=3,Fe=4,Ce=5,ke=6,Kn=7,oe=8,Xe=9,et=10,z=11,Jn=12,Zl=13,An=14,ue=15,lr=16,vn=17,Ue=18,li=19,Zd=20,gt=21,As=22,Ft=23,Y=25,Yd=1,Xn=6,tt=7,Vo=8,Cn=9,K=10,Wa=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Wa||{});function Ke(e){return Array.isArray(e)&&typeof e[Yd]=="object"}function He(e){return Array.isArray(e)&&e[Yd]===!0}function Qd(e){return(e.flags&4)!==0}function dr(e){return e.componentOffset>-1}function Za(e){return(e.flags&1)===1}function mt(e){return!!e.template}function Kd(e){return(e[S]&512)!==0}function Ks(e){return(e[S]&256)===256}function bn(e,t){let r=e.hasOwnProperty(Lo);return r?e[Lo]:null}var Js=class{constructor(t,r,n){this.previousValue=t,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Jd(e,t,r,n){t!==null?t.applyValueToInputSignal(t,n):e[r]=n}function fr(){return Xd}function Xd(e){return e.type.prototype.ngOnChanges&&(e.setInput=av),sv}fr.ngInherit=!0;function sv(){let e=tf(this),t=e?.current;if(t){let r=e.previous;if(r===In)e.previous=t;else for(let n in t)r[n]=t[n];e.current=null,this.ngOnChanges(t)}}function av(e,t,r,n,o){let i=this.declaredInputs[n],s=tf(e)||cv(e,{previous:In,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Js(u&&u.currentValue,r,c===In),Jd(e,t,o,r)}var ef="__ngSimpleChanges__";function tf(e){return e[ef]||null}function cv(e,t){return e[ef]=t}var Yl=null;var Ve=function(e,t,r){Yl?.(e,t,r)},nf="svg",uv="math",lv=!1;function dv(){return lv}function Le(e){for(;Array.isArray(e);)e=e[Ie];return e}function Ya(e,t){return Le(t[e])}function be(e,t){return Le(t[e.index])}function hr(e,t){return e.data[t]}function yt(e,t){let r=t[e];return Ke(r)?r:r[Ie]}function fv(e){return(e[S]&4)===4}function Qa(e){return(e[S]&128)===128}function hv(e){return He(e[Z])}function $o(e,t){return t==null?null:e[t]}function rf(e){e[vn]=0}function pv(e){e[S]&1024||(e[S]|=1024,Qa(e)&&er(e))}function of(e,t){for(;e>0;)t=t[An],e--;return t}function sf(e){return e[S]&9216||e[Ft]?.dirty}function Xs(e){sf(e)?er(e):e[S]&64&&(dv()?(e[S]|=1024,er(e)):e[et].changeDetectionScheduler?.notify())}function er(e){e[et].changeDetectionScheduler?.notify();let t=tr(e);for(;t!==null&&!(t[S]&8192||(t[S]|=8192,!Qa(t)));)t=tr(t)}function Ka(e,t){if((e[S]&256)===256)throw new E(911,!1);e[gt]===null&&(e[gt]=[]),e[gt].push(t)}function af(e,t){if(e[gt]===null)return;let r=e[gt].indexOf(t);r!==-1&&e[gt].splice(r,1)}function tr(e){let t=e[Z];return He(t)?t[Z]:t}var A={lFrame:gf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gv(){return A.lFrame.elementDepthCount}function mv(){A.lFrame.elementDepthCount++}function vv(){A.lFrame.elementDepthCount--}function cf(){return A.bindingsEnabled}function _n(){return A.skipHydrationRootTNode!==null}function yv(e){return A.skipHydrationRootTNode===e}function Dv(e){A.skipHydrationRootTNode=e}function wv(){A.skipHydrationRootTNode=null}function F(){return A.lFrame.lView}function ie(){return A.lFrame.tView}function LN(e){return A.lFrame.contextLView=e,e[oe]}function jN(e){return A.lFrame.contextLView=null,e}function le(){let e=uf();for(;e!==null&&e.type===64;)e=e.parent;return e}function uf(){return A.lFrame.currentTNode}function Ev(){let e=A.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function pr(e,t){let r=A.lFrame;r.currentTNode=e,r.isParent=t}function lf(){return A.lFrame.isParent}function df(){A.lFrame.isParent=!1}function Iv(){let e=A.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Cv(e){return A.lFrame.bindingIndex=e}function di(){return A.lFrame.bindingIndex++}function bv(e){let t=A.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function Mv(){return A.lFrame.inI18n}function Tv(e,t){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=e,ea(t)}function Sv(){return A.lFrame.currentDirectiveIndex}function ea(e){A.lFrame.currentDirectiveIndex=e}function xv(e){let t=A.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ff(){return A.lFrame.currentQueryIndex}function Ja(e){A.lFrame.currentQueryIndex=e}function Av(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[Ce]:null}function hf(e,t,r){if(r&P.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(r&P.Host);)if(o=Av(i),o===null||(i=i[An],o.type&10))break;if(o===null)return!1;t=o,e=i}let n=A.lFrame=pf();return n.currentTNode=t,n.lView=e,!0}function Xa(e){let t=pf(),r=e[I];A.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function pf(){let e=A.lFrame,t=e===null?null:e.child;return t===null?gf(e):t}function gf(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 mf(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var vf=mf;function ec(){let e=mf();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 _v(e){return(A.lFrame.contextLView=of(e,A.lFrame.contextLView))[oe]}function Gt(){return A.lFrame.selectedIndex}function kt(e){A.lFrame.selectedIndex=e}function tc(){let e=A.lFrame;return hr(e.tView,e.selectedIndex)}function VN(){A.lFrame.currentNamespace=nf}function $N(){Nv()}function Nv(){A.lFrame.currentNamespace=null}function yf(){return A.lFrame.currentNamespace}var Df=!0;function nc(){return Df}function Dt(e){Df=e}function Rv(e,t,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(n){let s=Xd(t);(r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s)}o&&(r.preOrderHooks??=[]).push(0-e,o),i&&((r.preOrderHooks??=[]).push(e,i),(r.preOrderCheckHooks??=[]).push(e,i))}function rc(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let i=e.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-r,s),a&&((e.contentHooks??=[]).push(r,a),(e.contentCheckHooks??=[]).push(r,a)),c&&(e.viewHooks??=[]).push(-r,c),u&&((e.viewHooks??=[]).push(r,u),(e.viewCheckHooks??=[]).push(r,u)),l!=null&&(e.destroyHooks??=[]).push(r,l)}}function No(e,t,r){wf(e,t,3,r)}function Ro(e,t,r,n){(e[S]&3)===r&&wf(e,t,r,n)}function _s(e,t){let r=e[S];(r&3)===t&&(r&=16383,r+=1,e[S]=r)}function wf(e,t,r,n){let o=n!==void 0?e[vn]&65535:0,i=n??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],n!=null&&a>=n)break}else t[c]<0&&(e[vn]+=65536),(a<i||i==-1)&&(Ov(e,r,t,c),e[vn]=(e[vn]&4294901760)+c+2),c++}function Ql(e,t){Ve(4,e,t);let r=se(null);try{t.call(e)}finally{se(r),Ve(5,e,t)}}function Ov(e,t,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=e[s];o?e[S]>>14<e[vn]>>16&&(e[S]&3)===t&&(e[S]+=16384,Ql(a,i)):Ql(a,i)}var En=-1,Lt=class{constructor(t,r,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Pv(e){return e instanceof Lt}function Fv(e){return(e.flags&8)!==0}function kv(e){return(e.flags&16)!==0}function Ef(e){return e!==En}function Uo(e){return e&32767}function Lv(e){return e>>16}function Bo(e,t){let r=Lv(e),n=t;for(;r>0;)n=n[An],r--;return n}var ta=!0;function Kl(e){let t=ta;return ta=e,t}var jv=256,If=jv-1,Cf=5,Vv=0,$e={};function $v(e,t,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Wn)&&(n=r[Wn]),n==null&&(n=r[Wn]=Vv++);let o=n&If,i=1<<o;t.data[e+(o>>Cf)]|=i}function Ho(e,t){let r=bf(e,t);if(r!==-1)return r;let n=t[I];n.firstCreatePass&&(e.injectorIndex=t.length,Ns(n.data,e),Ns(t,null),Ns(n.blueprint,null));let o=oc(e,t),i=e.injectorIndex;if(Ef(o)){let s=Uo(o),a=Bo(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ns(e,t){e.push(0,0,0,0,0,0,0,0,t)}function bf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function oc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let r=0,n=null,o=t;for(;o!==null;){if(n=Af(o),n===null)return En;if(r++,o=o[An],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return En}function na(e,t,r){$v(e,t,r)}function Uv(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let r=e.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(Vd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<n&&typeof r[o]=="string";)o++;else{if(i===t)return r[o+1];o=o+2}}}return null}function Mf(e,t,r){if(r&P.Optional||e!==void 0)return e;Ha(t,"NodeInjector")}function Tf(e,t,r,n){if(r&P.Optional&&n===void 0&&(n=null),!(r&(P.Self|P.Host))){let o=e[Xe],i=Se(void 0);try{return o?o.get(t,n,r&P.Optional):kd(t,n,r&P.Optional)}finally{Se(i)}}return Mf(n,t,r)}function Sf(e,t,r,n=P.Default,o){if(e!==null){if(t[S]&2048&&!(n&P.Self)){let s=Gv(e,t,r,n,$e);if(s!==$e)return s}let i=xf(e,t,r,n,$e);if(i!==$e)return i}return Tf(t,r,n,o)}function xf(e,t,r,n,o){let i=Hv(r);if(typeof i=="function"){if(!hf(t,e,n))return n&P.Host?Mf(o,r,n):Tf(t,r,n,o);try{let s;if(s=i(n),s==null&&!(n&P.Optional))Ha(r);else return s}finally{vf()}}else if(typeof i=="number"){let s=null,a=bf(e,t),c=En,u=n&P.Host?t[ue][Ce]:null;for((a===-1||n&P.SkipSelf)&&(c=a===-1?oc(e,t):t[a+8],c===En||!Xl(n,!1)?a=-1:(s=t[I],a=Uo(c),t=Bo(c,t)));a!==-1;){let l=t[I];if(Jl(i,a,l.data)){let d=Bv(a,t,r,s,n,u);if(d!==$e)return d}c=t[a+8],c!==En&&Xl(n,t[I].data[a+8]===u)&&Jl(i,a,t)?(s=l,a=Uo(c),t=Bo(c,t)):a=-1}}return o}function Bv(e,t,r,n,o,i){let s=t[I],a=s.data[e+8],c=n==null?dr(a)&&ta:n!=s&&(a.type&3)!==0,u=o&P.Host&&i===a,l=Oo(a,s,r,c,u);return l!==null?jt(t,s,l,a):$e}function Oo(e,t,r,n,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let p=s[h];if(h<c&&r===p||h>=c&&p.type===r)return h}if(o){let h=s[c];if(h&&mt(h)&&h.type===r)return c}return null}function jt(e,t,r,n){let o=e[r],i=t.data;if(Pv(o)){let s=o;s.resolving&&Nm(_m(i[r]));let a=Kl(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Se(s.injectImpl):null,l=hf(e,n,P.Default);try{o=e[r]=s.factory(void 0,i,e,n),t.firstCreatePass&&r>=n.directiveStart&&Rv(r,i[r],t)}finally{u!==null&&Se(u),Kl(a),s.resolving=!1,vf()}}return o}function Hv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Wn)?e[Wn]:void 0;return typeof t=="number"?t>=0?t&If:zv:t}function Jl(e,t,r){let n=1<<e;return!!(r[t+(e>>Cf)]&n)}function Xl(e,t){return!(e&P.Self)&&!(e&P.Host&&t)}var Pt=class{constructor(t,r){this._tNode=t,this._lView=r}get(t,r,n){return Sf(this._tNode,this._lView,t,ci(n),r)}};function zv(){return new Pt(le(),F())}function ic(e){return ui(()=>{let t=e.prototype.constructor,r=t[Lo]||ra(t),n=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==n;){let i=o[Lo]||ra(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ra(e){return Nd(e)?()=>{let t=ra(ae(e));return t&&t()}:bn(e)}function Gv(e,t,r,n,o){let i=e,s=t;for(;i!==null&&s!==null&&s[S]&2048&&!(s[S]&512);){let a=xf(i,s,r,n|P.Self,$e);if(a!==$e)return a;let c=i.parent;if(!c){let u=s[Zd];if(u){let l=u.get(r,$e,n);if(l!==$e)return l}c=Af(s),s=s[An]}i=c}return o}function Af(e){let t=e[I],r=t.type;return r===2?t.declTNode:r===1?e[Ce]:null}function sc(e){return Uv(le(),e)}function qv(e){return typeof e=="function"}function Wv(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let o=e[n],i=t[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function Zv(e){return e.flat(Number.POSITIVE_INFINITY)}function ac(e,t){e.forEach(r=>Array.isArray(r)?ac(r,t):t(r))}function _f(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function zo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Yv(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}function Qv(e,t,r,n){let o=e.length;if(o==t)e.push(r,n);else if(o===1)e.push(n,e[0]),e[0]=r;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=r,e[t+1]=n}}function Kv(e,t,r){let n=gr(e,t);return n>=0?e[n|1]=r:(n=~n,Qv(e,n,t,r)),n}function Rs(e,t){let r=gr(e,t);if(r>=0)return e[r|1]}function gr(e,t){return Jv(e,t,1)}function Jv(e,t,r){let n=0,o=e.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=e[i<<r];if(t===s)return i<<r;s>t?o=i:n=i+1}return~(o<<r)}var Vt=new M("ENVIRONMENT_INITIALIZER"),Nf=new M("INJECTOR",-1),Rf=new M("INJECTOR_DEF_TYPES"),Go=class{get(t,r=Yn){if(r===Yn){let n=new Error(`NullInjectorError: No provider for ${ce(t)}!`);throw n.name="NullInjectorError",n}return r}};function wt(e){return{\u0275providers:e}}function Xv(...e){return{\u0275providers:Of(!0,e),\u0275fromNgModule:!0}}function Of(e,...t){let r=[],n=new Set,o,i=s=>{r.push(s)};return ac(t,s=>{let a=s;oa(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Pf(o,i),r}function Pf(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:o}=e[r];cc(o,i=>{t(i,n)})}}function oa(e,t,r,n){if(e=ae(e),!e)return!1;let o=null,i=Ul(e),s=!i&&Je(e);if(!i&&!s){let c=e.ngModule;if(i=Ul(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)oa(u,t,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{ac(i.imports,l=>{oa(l,t,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Pf(u,t)}if(!a){let u=bn(o)||(()=>new o);t({provide:o,useFactory:u,deps:Ee},o),t({provide:Rf,useValue:o,multi:!0},o),t({provide:Vt,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;cc(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function cc(e,t){for(let r of e)Rd(r)&&(r=r.\u0275providers),Array.isArray(r)?cc(r,t):t(r)}var ey=$({provide:String,useValue:$});function Ff(e){return e!==null&&typeof e=="object"&&ey in e}function ty(e){return!!(e&&e.useExisting)}function ny(e){return!!(e&&e.useFactory)}function Mn(e){return typeof e=="function"}function ry(e){return!!e.useClass}var fi=new M("Set Injector scope."),Po={},oy={},Os;function uc(){return Os===void 0&&(Os=new Go),Os}var me=class{},nr=class extends me{get destroyed(){return this._destroyed}constructor(t,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,sa(t,s=>this.processProvider(s)),this.records.set(Nf,yn(void 0,this)),o.has("environment")&&this.records.set(me,yn(void 0,this));let i=this.records.get(fi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Rf,Ee,P.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let r=pt(this),n=Se(void 0),o;try{return t()}finally{pt(r),Se(n)}}get(t,r=Yn,n=P.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Vl))return t[Vl](this);n=ci(n);let o,i=pt(this),s=Se(void 0);try{if(!(n&P.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=uy(t)&&ai(t);u&&this.injectableDefInScope(u)?c=yn(ia(t),Po):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=n&P.Self?uc():this.parent;return r=n&P.Optional&&r===Yn?null:r,a.get(t,r)}catch(a){if(a.name==="NullInjectorError"){if((a[jo]=a[jo]||[]).unshift(ce(t)),i)throw a;return Hm(a,t,"R3InjectorError",this.source)}else throw a}finally{Se(s),pt(i)}}resolveInjectorInitializers(){let t=pt(this),r=Se(void 0),n;try{let o=this.get(Vt,Ee,P.Self);for(let i of o)i()}finally{pt(t),Se(r)}}toString(){let t=[],r=this.records;for(let n of r.keys())t.push(ce(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){t=ae(t);let r=Mn(t)?t:ae(t&&t.provide),n=sy(t);if(!Mn(t)&&t.multi===!0){let o=this.records.get(r);o||(o=yn(void 0,Po,!0),o.factory=()=>Ys(o.multi),this.records.set(r,o)),r=t,o.multi.push(t)}this.records.set(r,n)}hydrate(t,r){return r.value===Po&&(r.value=oy,r.value=r.factory()),typeof r.value=="object"&&r.value&&cy(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(t){if(!t.providedIn)return!1;let r=ae(t.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(t){let r=this._onDestroyHooks.indexOf(t);r!==-1&&this._onDestroyHooks.splice(r,1)}};function ia(e){let t=ai(e),r=t!==null?t.factory:bn(e);if(r!==null)return r;if(e instanceof M)throw new E(204,!1);if(e instanceof Function)return iy(e);throw new E(204,!1)}function iy(e){if(e.length>0)throw new E(204,!1);let r=Om(e);return r!==null?()=>r.factory(e):()=>new e}function sy(e){if(Ff(e))return yn(void 0,e.useValue);{let t=kf(e);return yn(t,Po)}}function kf(e,t,r){let n;if(Mn(e)){let o=ae(e);return bn(o)||ia(o)}else if(Ff(e))n=()=>ae(e.useValue);else if(ny(e))n=()=>e.useFactory(...Ys(e.deps||[]));else if(ty(e))n=()=>b(ae(e.useExisting));else{let o=ae(e&&(e.useClass||e.provide));if(ay(e))n=()=>new o(...Ys(e.deps));else return bn(o)||ia(o)}return n}function yn(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function ay(e){return!!e.deps}function cy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function uy(e){return typeof e=="function"||typeof e=="object"&&e instanceof M}function sa(e,t){for(let r of e)Array.isArray(r)?sa(r,t):r&&Rd(r)?sa(r.\u0275providers,t):t(r)}function ot(e,t){e instanceof nr&&e.assertNotDestroyed();let r,n=pt(e),o=Se(void 0);try{return t()}finally{pt(n),Se(o)}}function ed(e,t=null,r=null,n){let o=Lf(e,t,r,n);return o.resolveInjectorInitializers(),o}function Lf(e,t=null,r=null,n,o=new Set){let i=[r||Ee,Xv(e)];return n=n||(typeof e=="object"?void 0:ce(e)),new nr(i,t||uc(),n||null,o)}var it=(()=>{let t=class t{static create(n,o){if(Array.isArray(n))return ed({name:""},o,n,"");{let i=n.name??"";return ed({name:i},n.parent,n.providers,i)}}};t.THROW_IF_NOT_FOUND=Yn,t.NULL=new Go,t.\u0275prov=C({token:t,providedIn:"any",factory:()=>b(Nf)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var aa;function jf(e){aa=e}function hi(){if(aa!==void 0)return aa;if(typeof document<"u")return document;throw new E(210,!1)}var mr=new M("AppId",{providedIn:"root",factory:()=>ly}),ly="ng",lc=new M("Platform Initializer"),ze=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var UN=new M("AnimationModuleType"),dc=new M("CSP nonce",{providedIn:"root",factory:()=>hi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function dy(e){return e.ownerDocument.body}function Vf(e){return e instanceof Function?e():e}function Dn(e){return(e??g(it)).get(ze)==="browser"}function fy(e){za("Must never be called in production mode");let r=e[ue][oe];return r&&r.constructor?Je(r.constructor):null}function hy(e){za("Must never be called in production mode");let r=fy(e)?.type?.name;return r?` (used in the '${r}' component template)`:""}var py="ngSkipHydration",gy="ngskiphydration";function $f(e){let t=e.mergedAttrs;if(t===null)return!1;for(let r=0;r<t.length;r+=2){let n=t[r];if(typeof n=="number")return!1;if(typeof n=="string"&&n.toLowerCase()===gy)return!0}return!1}function Uf(e){return e.hasAttribute(py)}function qo(e){return(e.flags&128)===128}function my(e){if(qo(e))return!0;let t=e.parent;for(;t;){if(qo(e)||$f(t))return!0;t=t.parent}return!1}var nt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(nt||{}),vy=/^>|^->|<!--|-->|--!>|<!-$/g,yy=/(<|>)/g,Dy="\u200B$1\u200B";function wy(e){return e.replace(vy,t=>t.replace(yy,Dy))}var Bf=new Map,Ey=0;function Iy(){return Ey++}function Cy(e){Bf.set(e[li],e)}function by(e){Bf.delete(e[li])}var td="__ngContext__";function $t(e,t){Ke(t)?(e[td]=t[li],Cy(t)):e[td]=t}var My;function fc(e,t){return My(e,t)}function wn(e,t,r,n,o){if(n!=null){let i,s=!1;He(n)?i=n:Ke(n)&&(s=!0,n=n[Ie]);let a=Le(n);e===0&&r!==null?o==null?Zf(t,r,a):Wo(t,r,a,o||null,!0):e===1&&r!==null?Wo(t,r,a,o||null,!0):e===2?Kf(t,a,s):e===3&&t.destroyNode(a),i!=null&&$y(t,e,i,r,o)}}function Hf(e,t){return e.createText(t)}function Ty(e,t,r){e.setValue(t,r)}function zf(e,t){return e.createComment(wy(t))}function hc(e,t,r){return e.createElement(t,r)}function Sy(e,t){Gf(e,t),t[Ie]=null,t[Ce]=null}function xy(e,t,r,n,o,i){n[Ie]=o,n[Ce]=t,gi(e,n,r,1,o,i)}function Gf(e,t){gi(e,t,t[z],2,null,null)}function Ay(e){let t=e[Jn];if(!t)return Ps(e[I],e);for(;t;){let r=null;if(Ke(t))r=t[Jn];else{let n=t[K];n&&(r=n)}if(!r){for(;t&&!t[Fe]&&t!==e;)Ke(t)&&Ps(t[I],t),t=t[Z];t===null&&(t=e),Ke(t)&&Ps(t[I],t),r=t&&t[Fe]}t=r}}function _y(e,t,r,n){let o=K+n,i=r.length;n>0&&(r[o-1][Fe]=t),n<i-K?(t[Fe]=r[o],_f(r,K+n,t)):(r.push(t),t[Fe]=null),t[Z]=r;let s=t[lr];s!==null&&r!==s&&Ny(s,t);let a=t[Ue];a!==null&&a.insertView(e),Xs(t),t[S]|=128}function Ny(e,t){let r=e[Cn],o=t[Z][Z][ue];t[ue]!==o&&(e[S]|=Wa.HasTransplantedViews),r===null?e[Cn]=[t]:r.push(t)}function qf(e,t){let r=e[Cn],n=r.indexOf(t);r.splice(n,1)}function rr(e,t){if(e.length<=K)return;let r=K+t,n=e[r];if(n){let o=n[lr];o!==null&&o!==e&&qf(o,n),t>0&&(e[r-1][Fe]=n[Fe]);let i=zo(e,K+t);Sy(n[I],n);let s=i[Ue];s!==null&&s.detachView(i[I]),n[Z]=null,n[Fe]=null,n[S]&=-129}return n}function pi(e,t){if(!(t[S]&256)){let r=t[z];r.destroyNode&&gi(e,t,r,3,null,null),Ay(t)}}function Ps(e,t){if(!(t[S]&256)){t[S]&=-129,t[S]|=256,t[Ft]&&sl(t[Ft]),Oy(e,t),Ry(e,t),t[I].type===1&&t[z].destroy();let r=t[lr];if(r!==null&&He(t[Z])){r!==t[Z]&&qf(r,t);let n=t[Ue];n!==null&&n.detachView(e)}by(t)}}function Ry(e,t){let r=e.cleanup,n=t[Kn];if(r!==null)for(let i=0;i<r.length-1;i+=2)if(typeof r[i]=="string"){let s=r[i+3];s>=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(t[Kn]=null);let o=t[gt];if(o!==null){t[gt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Oy(e,t){let r;if(e!=null&&(r=e.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=t[r[n]];if(!(o instanceof Lt)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Ve(4,a,c);try{c.call(a)}finally{Ve(5,a,c)}}else{Ve(4,o,i);try{i.call(o)}finally{Ve(5,o,i)}}}}}function Wf(e,t,r){return Py(e,t.parent,r)}function Py(e,t,r){let n=t;for(;n!==null&&n.type&40;)t=n,n=t.parent;if(n===null)return r[Ie];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=e.data[n.directiveStart+o];if(i===Be.None||i===Be.Emulated)return null}return be(n,r)}}function Wo(e,t,r,n,o){e.insertBefore(t,r,n,o)}function Zf(e,t,r){e.appendChild(t,r)}function nd(e,t,r,n,o){n!==null?Wo(e,t,r,n,o):Zf(e,t,r)}function Fy(e,t,r,n){e.removeChild(t,r,n)}function pc(e,t){return e.parentNode(t)}function ky(e,t){return e.nextSibling(t)}function Yf(e,t,r){return jy(e,t,r)}function Ly(e,t,r){return e.type&40?be(e,r):null}var jy=Ly,rd;function gc(e,t,r,n){let o=Wf(e,n,t),i=t[z],s=n.parent||t[Ce],a=Yf(s,n,t);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)nd(i,o,r[c],a,!1);else nd(i,o,r,a,!1);rd!==void 0&&rd(i,n,t,r,o)}function Fo(e,t){if(t!==null){let r=t.type;if(r&3)return be(t,e);if(r&4)return ca(-1,e[t.index]);if(r&8){let n=t.child;if(n!==null)return Fo(e,n);{let o=e[t.index];return He(o)?ca(-1,o):Le(o)}}else{if(r&32)return fc(t,e)()||Le(e[t.index]);{let n=Qf(e,t);if(n!==null){if(Array.isArray(n))return n[0];let o=tr(e[ue]);return Fo(o,n)}else return Fo(e,t.next)}}}return null}function Qf(e,t){if(t!==null){let n=e[ue][Ce],o=t.projection;return n.projection[o]}return null}function ca(e,t){let r=K+e+1;if(r<t.length){let n=t[r],o=n[I].firstChild;if(o!==null)return Fo(n,o)}return t[tt]}function Kf(e,t,r){let n=pc(e,t);n&&Fy(e,n,t,r)}function Jf(e){e.textContent=""}function mc(e,t,r,n,o,i,s){for(;r!=null;){let a=n[r.index],c=r.type;if(s&&t===0&&(a&&$t(Le(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)mc(e,t,r.child,n,o,i,!1),wn(t,e,o,a,i);else if(c&32){let u=fc(r,n),l;for(;l=u();)wn(t,e,o,l,i);wn(t,e,o,a,i)}else c&16?Xf(e,t,n,r,o,i):wn(t,e,o,a,i);r=s?r.projectionNext:r.next}}function gi(e,t,r,n,o,i){mc(r,n,e.firstChild,t,o,i,!1)}function Vy(e,t,r){let n=t[z],o=Wf(e,r,t),i=r.parent||t[Ce],s=Yf(i,r,t);Xf(n,0,t,r,o,s)}function Xf(e,t,r,n,o,i){let s=r[ue],c=s[Ce].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];wn(t,e,o,l,i)}else{let u=c,l=s[Z];qo(n)&&(u.flags|=128),mc(e,t,u,l,o,i,!0)}}function $y(e,t,r,n,o){let i=r[tt],s=Le(r);i!==s&&wn(t,e,n,i,o);for(let a=K;a<r.length;a++){let c=r[a];gi(c[I],c,e,t,n,i)}}function Uy(e,t,r,n,o){if(t)o?e.addClass(r,n):e.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:nt.DashCase;o==null?e.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=nt.Important),e.setStyle(r,n,o,i))}}function By(e,t,r){e.setAttribute(t,"style",r)}function eh(e,t,r){r===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}function th(e,t,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&Qs(e,t,n),o!==null&&eh(e,t,o),i!==null&&By(e,t,i)}var To;function Hy(){if(To===void 0&&(To=null,ge.trustedTypes))try{To=ge.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return To}function od(e){return Hy()?.createScriptURL(e)||e}var Zo=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ad})`}};function vr(e){return e instanceof Zo?e.changingThisBreaksApplicationSecurity:e}function vc(e,t){let r=zy(e);if(r!=null&&r!==t){if(r==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${Ad})`)}return r===t}function zy(e){return e instanceof Zo&&e.getTypeName()||null}var Gy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function nh(e){return e=String(e),e.match(Gy)?e:"unsafe:"+e}var mi=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}(mi||{});function qy(e){let t=oh();return t?t.sanitize(mi.URL,e)||"":vc(e,"URL")?vr(e):nh(si(e))}function Wy(e){let t=oh();if(t)return od(t.sanitize(mi.RESOURCE_URL,e)||"");if(vc(e,"ResourceURL"))return od(vr(e));throw new E(904,!1)}function Zy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Wy:qy}function rh(e,t,r){return Zy(t,r)(e)}function oh(){let e=F();return e&&e[et].sanitizer}var ua=class{};function Yy(){let e=new qt;return g(ze)==="browser"&&(e.store=Qy(hi(),g(mr))),e}var qt=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,o){return this.store[n]!==void 0?this.store[n]:o}set(n,o){this.store[n]=o}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,o){this.onSerializeCallbacks[n]=o}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};t.\u0275prov=C({token:t,providedIn:"root",factory:Yy});let e=t;return e})();function Qy(e,t){let r=e.getElementById(t+"-state");if(r?.textContent)try{return JSON.parse(r.textContent)}catch(n){console.warn("Exception while restoring TransferState for app "+t,n)}return{}}var ih="h",sh="b",la=function(e){return e.FirstChild="f",e.NextSibling="n",e}(la||{}),Ky="e",Jy="t",yc="c",ah="x",Yo="r",Xy="i",eD="n",tD="d",nD="__nghData__",ch=nD,Fs="ngh",rD="nghm",uh=()=>null;function oD(e,t,r=!1){let n=e.getAttribute(Fs);if(n==null)return null;let[o,i]=n.split("|");if(n=r?i:o,!n)return null;let s=r?o:i?`|${i}`:"",a={};if(n!==""){let u=t.get(qt,null,{optional:!0});u!==null&&(a=u.get(ch,[])[Number(n)])}let c={data:a,firstChild:e.firstChild??null};return r&&(c.firstChild=e,vi(c,0,e.nextSibling)),s?e.setAttribute(Fs,s):e.removeAttribute(Fs),c}function iD(){uh=oD}function Dc(e,t,r=!1){return uh(e,t,r)}function sD(e){let t=e._lView;return t[I].type===2?null:(Kd(t)&&(t=t[Y]),t)}function aD(e){return e.textContent?.replace(/\s/gm,"")}function cD(e){let t=hi(),r=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=aD(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,o=[];for(;n=r.nextNode();)o.push(n);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function vi(e,t,r){e.segmentHeads??={},e.segmentHeads[t]=r}function da(e,t){return e.segmentHeads?.[t]??null}function uD(e,t){let r=e.data,n=r[Ky]?.[t]??null;return n===null&&r[yc]?.[t]&&(n=wc(e,t)),n}function lh(e,t){return e.data[yc]?.[t]??null}function wc(e,t){let r=lh(e,t)??[],n=0;for(let o of r)n+=o[Yo]*(o[ah]??1);return n}function yi(e,t){if(typeof e.disconnectedNodes>"u"){let r=e.data[tD];e.disconnectedNodes=r?new Set(r):null}return!!e.disconnectedNodes?.has(t)}var fa=class{},Qo=class{};function lD(e){let t=Error(`No component factory found for ${ce(e)}.`);return t[dD]=e,t}var dD="ngComponent";var ha=class{resolveComponentFactory(t){throw lD(t)}},Di=(()=>{let t=class t{};t.NULL=new ha;let e=t;return e})();function fD(){return Nn(le(),F())}function Nn(e,t){return new st(be(e,t))}var st=(()=>{let t=class t{constructor(n){this.nativeElement=n}};t.__NG_ELEMENT_ID__=fD;let e=t;return e})();function hD(e){return e instanceof st?e.nativeElement:e}var or=class{},yr=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>pD();let e=t;return e})();function pD(){let e=F(),t=le(),r=yt(t.index,e);return(Ke(r)?r:e)[z]}var gD=(()=>{let t=class t{};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),ks={};function Ko(e,t,r,n,o=!1){for(;r!==null;){let i=t[r.index];i!==null&&n.push(Le(i)),He(i)&&mD(i,n);let s=r.type;if(s&8)Ko(e,t,r.child,n);else if(s&32){let a=fc(r,t),c;for(;c=a();)n.push(c)}else if(s&16){let a=Qf(t,r);if(Array.isArray(a))n.push(...a);else{let c=tr(t[ue]);Ko(c[I],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function mD(e,t){for(let r=K;r<e.length;r++){let n=e[r],o=n[I].firstChild;o!==null&&Ko(n[I],n,o,t)}e[tt]!==e[Ie]&&t.push(e[tt])}var dh=[];function vD(e){return e[Ft]??yD(e)}function yD(e){let t=dh.pop()??Object.create(wD);return t.lView=e,t}function DD(e){e.lView[Ft]!==e&&(e.lView=null,dh.push(e))}var wD=q(y({},rl),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{er(e.lView)},consumerOnSignalRead(){this.lView[Ft]=this}});function fh(e){return ph(e[Jn])}function hh(e){return ph(e[Fe])}function ph(e){for(;e!==null&&!He(e);)e=e[Fe];return e}var ED="ngOriginalError";function Ls(e){return e[ED]}var rt=class{constructor(){this._console=console}handleError(t){let r=this._findOriginalError(t);this._console.error("ERROR",t),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(t){let r=t&&Ls(t);for(;r&&Ls(r);)r=Ls(r);return r||null}},gh=new M("",{providedIn:"root",factory:()=>g(rt).handleError.bind(void 0)}),So=new M(""),mh=!1,vh=new M("",{providedIn:"root",factory:()=>mh});var Et={};function BN(e=1){yh(ie(),F(),Gt()+e,!1)}function yh(e,t,r,n){if(!n)if((t[S]&3)===3){let i=e.preOrderCheckHooks;i!==null&&No(t,i,r)}else{let i=e.preOrderHooks;i!==null&&Ro(t,i,0,r)}kt(r)}function ve(e,t=P.Default){let r=F();if(r===null)return b(e,t);let n=le();return Sf(n,r,ae(e),t)}function Dh(e,t,r,n,o,i){let s=se(null);try{let a=null;o&Ae.SignalBased&&(a=t[n][nl]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ae.HasDecoratorInputTransform&&(i=e.inputTransforms[n].call(t,i)),e.setInput!==null?e.setInput(t,a,i,r,n):Jd(t,a,n,i)}finally{se(s)}}function ID(e,t){let r=e.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)kt(~o);else{let i=o,s=r[++n],a=r[++n];Tv(s,i);let c=t[i];a(2,c)}}}finally{kt(-1)}}function wi(e,t,r,n,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Ie]=o,d[S]=n|4|128|8|64,(u!==null||e&&e[S]&2048)&&(d[S]|=2048),rf(d),d[Z]=d[An]=e,d[oe]=r,d[et]=s||e&&e[et],d[z]=a||e&&e[z],d[Xe]=c||e&&e[Xe]||null,d[Ce]=i,d[li]=Iy(),d[ke]=l,d[Zd]=u,d[ue]=t.type==2?e[ue]:d,d}function Dr(e,t,r,n,o){let i=e.data[t];if(i===null)i=CD(e,t,r,n,o),Mv()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=Ev();i.injectorIndex=s===null?-1:s.injectorIndex}return pr(i,!0),i}function CD(e,t,r,n,o){let i=uf(),s=lf(),a=s?i:i&&i.parent,c=e.data[t]=_D(e,a,r,t,n,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 wh(e,t,r,n){if(r===0)return-1;let o=t.length;for(let i=0;i<r;i++)t.push(n),e.blueprint.push(n),e.data.push(null);return o}function Eh(e,t,r,n,o){let i=Gt(),s=n&2;try{kt(-1),s&&t.length>Y&&yh(e,t,Y,!1),Ve(s?2:0,o),r(n,o)}finally{kt(i),Ve(s?3:1,o)}}function Ih(e,t,r){if(Qd(t)){let n=se(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];a.contentQueries&&a.contentQueries(1,r[s],s)}}finally{se(n)}}}function Ch(e,t,r){cf()&&(kD(e,t,r,be(r,t)),(r.flags&64)===64&&_h(e,t,r))}function bh(e,t,r=be){let n=t.localNames;if(n!==null){let o=t.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(t,e):e[s];e[o++]=a}}}function Mh(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ec(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ec(e,t,r,n,o,i,s,a,c,u,l){let d=Y+n,f=d+o,h=bD(d,f),p=typeof u=="function"?u():u;return h[I]={type:e,blueprint:h,template:r,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:p,incompleteFirstPass:!1,ssrId:l}}function bD(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:Et);return r}function MD(e,t,r,n){let i=n.get(vh,mh)||r===Be.ShadowDom,s=e.selectRootElement(t,i);return TD(s),s}function TD(e){Th(e)}var Th=()=>null;function SD(e){Uf(e)?Jf(e):cD(e)}function xD(){Th=SD}function AD(e,t,r,n){let o=Oh(t);o.push(r),e.firstCreatePass&&Ph(e).push(n,o.length-1)}function _D(e,t,r,n,o,i){let s=t?t.injectorIndex:-1,a=0;return _n()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function id(e,t,r,n,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;n??={};let a,c=Ae.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?sd(n,r,u,a,c):sd(n,r,u,a)}return n}function sd(e,t,r,n,o){let i;e.hasOwnProperty(r)?(i=e[r]).push(t,n):i=e[r]=[t,n],o!==void 0&&i.push(o)}function ND(e,t,r){let n=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=n;l<o;l++){let d=i[l],f=r?r.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;c=id(0,d.inputs,l,c,h),u=id(1,d.outputs,l,u,p);let w=c!==null&&s!==null&&!Ud(t)?WD(c,l,s):null;a.push(w)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function RD(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Sh(e,t,r,n,o,i,s,a){let c=be(t,r),u=t.inputs,l;!a&&u!=null&&(l=u[n])?(Ic(e,r,l,n,o),dr(t)&&OD(r,t.index)):t.type&3?(n=RD(n),o=s!=null?s(o,t.value||"",n):o,i.setProperty(c,n,o)):t.type&12}function OD(e,t){let r=yt(t,e);r[S]&16||(r[S]|=64)}function xh(e,t,r,n){if(cf()){let o=n===null?null:{"":-1},i=jD(e,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Ah(e,t,r,s,o,a),o&&VD(r,n,o)}r.mergedAttrs=Qn(r.mergedAttrs,r.attrs)}function Ah(e,t,r,n,o,i){for(let u=0;u<n.length;u++)na(Ho(r,t),e,n[u].type);UD(r,e.data.length,n.length);for(let u=0;u<n.length;u++){let l=n[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=wh(e,t,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=Qn(r.mergedAttrs,l.hostAttrs),BD(e,r,t,c,l),$D(c,l,o),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}ND(e,r,i)}function PD(e,t,r,n,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;FD(s)!=a&&s.push(a),s.push(r,n,i)}}function FD(e){let t=e.length;for(;t>0;){let r=e[--t];if(typeof r=="number"&&r<0)return r}return 0}function kD(e,t,r,n){let o=r.directiveStart,i=r.directiveEnd;dr(r)&&HD(t,r,e.data[o+r.componentOffset]),e.firstCreatePass||Ho(r,t),$t(n,t);let s=r.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=jt(t,e,a,r);if($t(u,t),s!==null&&qD(t,a-o,u,c,r,s),mt(c)){let l=yt(r.index,t);l[oe]=jt(t,e,a,r)}}}function _h(e,t,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=Sv();try{kt(i);for(let a=n;a<o;a++){let c=e.data[a],u=t[a];ea(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&LD(c,u)}}finally{kt(-1),ea(s)}}function LD(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function jD(e,t){let r=e.directiveRegistry,n=null,o=null;if(r)for(let i=0;i<r.length;i++){let s=r[i];if(Bd(t,s.selectors,!1))if(n||(n=[]),mt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;pa(e,t,c)}else n.unshift(s),pa(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function pa(e,t,r){t.componentOffset=r,(e.components??=[]).push(t.index)}function VD(e,t,r){if(t){let n=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=r[t[o+1]];if(i==null)throw new E(-301,!1);n.push(t[o],i)}}}function $D(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;mt(t)&&(r[""]=e)}}function UD(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}function BD(e,t,r,n,o){e.data[n]=o;let i=o.factory||(o.factory=bn(o.type,!0)),s=new Lt(i,mt(o),ve);e.blueprint[n]=s,r[n]=s,PD(e,t,n,wh(e,r,o.hostVars,Et),o)}function HD(e,t,r){let n=be(t,e),o=Mh(r),i=e[et].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Ei(e,wi(e,o,null,s,n,t,null,i.createRenderer(n,r),null,null,null));e[t.index]=a}function zD(e,t,r,n,o,i){let s=be(e,t);GD(t[z],s,i,e.value,r,n,o)}function GD(e,t,r,n,o,i,s){if(i==null)e.removeAttribute(t,o,r);else{let a=s==null?si(i):s(i,n||"",o);e.setAttribute(t,o,a,r)}}function qD(e,t,r,n,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++];Dh(n,r,c,u,l,d)}}function WD(e,t,r){let n=null,o=0;for(;o<r.length;){let i=r[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){n===null&&(n=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){n.push(i,s[a+1],s[a+2],r[o+1]);break}}o+=2}return n}function Nh(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function Rh(e,t){let r=e.contentQueries;if(r!==null){let n=se(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=e.data[s];Ja(i),a.contentQueries(2,t[s],s)}}}finally{se(n)}}}function Ei(e,t){return e[Jn]?e[Zl][Fe]=t:e[Jn]=t,e[Zl]=t,t}function ga(e,t,r){Ja(0);let n=se(null);try{t(e,r)}finally{se(n)}}function Oh(e){return e[Kn]||(e[Kn]=[])}function Ph(e){return e.cleanup||(e.cleanup=[])}function Ii(e,t){let r=e[Xe],n=r?r.get(rt,null):null;n&&n.handleError(t)}function Ic(e,t,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],c=r[i++],u=t[s],l=e.data[s];Dh(l,u,n,a,c,o)}}function ZD(e,t,r){let n=Ya(t,e);Ty(e[z],n,r)}var YD=100;function QD(e,t=!0){let r=e[et],n=r.rendererFactory,o=!1;o||n.begin?.();try{KD(e)}catch(i){throw t&&Ii(e,i),i}finally{o||(n.end?.(),r.inlineEffectRunner?.flush())}}function KD(e){ma(e,0);let t=0;for(;sf(e);){if(t===YD)throw new E(103,!1);t++,ma(e,1)}}function JD(e,t,r,n){let o=t[S];if((o&256)===256)return;let i=!1;!i&&t[et].inlineEffectRunner?.flush(),Xa(t);let s=null,a=null;!i&&XD(e)&&(a=vD(t),s=ol(a));try{rf(t),Cv(e.bindingStartIndex),r!==null&&Eh(e,t,r,2,n);let c=(o&3)===3;if(!i)if(c){let d=e.preOrderCheckHooks;d!==null&&No(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Ro(t,d,0,null),_s(t,0)}if(ew(t),Fh(t,0),e.contentQueries!==null&&Rh(e,t),!i)if(c){let d=e.contentCheckHooks;d!==null&&No(t,d)}else{let d=e.contentHooks;d!==null&&Ro(t,d,1),_s(t,1)}ID(e,t);let u=e.components;u!==null&&Lh(t,u,0);let l=e.viewQuery;if(l!==null&&ga(2,l,n),!i)if(c){let d=e.viewCheckHooks;d!==null&&No(t,d)}else{let d=e.viewHooks;d!==null&&Ro(t,d,2),_s(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[As]){for(let d of t[As])d();t[As]=null}i||(t[S]&=-73)}catch(c){throw er(t),c}finally{a!==null&&(il(a,s),DD(a)),ec()}}function XD(e){return e.type!==2}function Fh(e,t){for(let r=fh(e);r!==null;r=hh(r))for(let n=K;n<r.length;n++){let o=r[n];kh(o,t)}}function ew(e){for(let t=fh(e);t!==null;t=hh(t)){if(!(t[S]&Wa.HasTransplantedViews))continue;let r=t[Cn];for(let n=0;n<r.length;n++){let o=r[n],i=o[Z];pv(o)}}}function tw(e,t,r){let n=yt(t,e);kh(n,r)}function kh(e,t){Qa(e)&&ma(e,t)}function ma(e,t){let n=e[I],o=e[S],i=e[Ft],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&as(i)),i&&(i.dirty=!1),e[S]&=-9217,s)JD(n,e,n.template,e[oe]);else if(o&8192){Fh(e,1);let a=n.components;a!==null&&Lh(e,a,1)}}function Lh(e,t,r){for(let n=0;n<t.length;n++)tw(e,t[n],r)}function Ci(e){for(e[et].changeDetectionScheduler?.notify();e;){e[S]|=64;let t=tr(e);if(Kd(e)&&!t)return e;e=t}return null}var Ut=class{get rootNodes(){let t=this._lView,r=t[I];return Ko(r,t,r.firstChild,[])}constructor(t,r,n=!0){this._lView=t,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[oe]}set context(t){this._lView[oe]=t}get destroyed(){return(this._lView[S]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Z];if(He(t)){let r=t[Vo],n=r?r.indexOf(this):-1;n>-1&&(rr(t,n),zo(r,n))}this._attachedToViewContainer=!1}pi(this._lView[I],this._lView)}onDestroy(t){Ka(this._lView,t)}markForCheck(){Ci(this._cdRefInjectingView||this._lView)}detach(){this._lView[S]&=-129}reattach(){Xs(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,QD(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Gf(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t,Xs(this._lView)}},bi=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=nw;let e=t;return e})();function nw(e){return rw(le(),F(),(e&16)===16)}function rw(e,t,r){if(dr(e)&&!r){let n=yt(e.index,t);return new Ut(n,n)}else if(e.type&47){let n=t[ue];return new Ut(n,t)}return null}var ad=new Set;function Wt(e){ad.has(e)||(ad.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var va=class extends Q{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,r,n){let o=t,i=r||(()=>null),s=n;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=js(i),o&&(o=js(o)),s&&(s=js(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof G&&t.add(a),a}};function js(e){return t=>{setTimeout(e,void 0,t)}}var xe=va;function cd(...e){}function ow(){let e=typeof ge.requestAnimationFrame=="function",t=ge[e?"requestAnimationFrame":"setTimeout"],r=ge[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&r){let n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:r}}var V=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xe(!1),this.onMicrotaskEmpty=new xe(!1),this.onStable=new xe(!1),this.onError=new xe(!1),typeof Zone>"u")throw new E(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=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=ow().nativeRequestAnimationFrame,aw(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(t,r,n){return this._inner.run(t,r,n)}runTask(t,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,iw,cd,cd);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(t,r,n){return this._inner.runGuarded(t,r,n)}runOutsideAngular(t){return this._outer.run(t)}},iw={};function Cc(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 sw(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ge,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ya(e),e.isCheckStableRunning=!0,Cc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ya(e))}function aw(e){let t=()=>{sw(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(cw(a))return r.invokeTask(o,i,s,a);try{return ud(e),r.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ld(e)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return ud(e),r.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),ld(e)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,ya(e),Cc(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function ya(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ud(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ld(e){e._nesting--,Cc(e)}function cw(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}function dd(e,t){let r=t?.injector??g(it);if(!Dn(r))return;r.get(bc).internalCallbacks.push(e)}var bc=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of n)i();return!!this.handler?.execute()||n.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=C({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function uw(e,t){let r=yt(t,e),n=r[I];lw(n,r);let o=r[Ie];o!==null&&r[ke]===null&&(r[ke]=Dc(o,r[Xe])),Mc(n,r,r[oe])}function lw(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}function Mc(e,t,r){Xa(t);try{let n=e.viewQuery;n!==null&&ga(1,n,r);let o=e.template;o!==null&&Eh(e,t,o,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Rh(e,t),e.staticViewQueries&&ga(2,e.viewQuery,r);let i=e.components;i!==null&&dw(t,i)}catch(n){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),n}finally{t[S]&=-5,ec()}}function dw(e,t){for(let r=0;r<t.length;r++)uw(e,t[r])}function Da(e,t,r){let n=r?e.styles:null,o=r?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=jl(o,a);else if(i==2){let c=a,u=t[++s];n=jl(n,c+": "+u+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=o:e.classesWithoutHost=o}var Jo=class extends Di{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let r=Je(t);return new ir(r,this.ngModule)}};function fd(e){let t=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let n=e[r];n!==void 0&&t.push({propName:Array.isArray(n)?n[0]:n,templateName:r})}return t}function fw(e){let t=e.toLowerCase();return t==="svg"?nf:t==="math"?uv:null}var wa=class{constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,n){n=ci(n);let o=this.injector.get(t,ks,n);return o!==ks||r===ks?o:this.parentInjector.get(t,r,n)}},ir=class extends Qo{get inputs(){let t=this.componentDef,r=t.inputTransforms,n=fd(t.inputs);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return fd(this.componentDef.outputs)}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=tv(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!r}create(t,r,n,o){o=o||this.ngModule;let i=o instanceof me?o:o?.injector;i&&this.componentDef.getStandaloneInjector!==null&&(i=this.componentDef.getStandaloneInjector(i)||i);let s=i?new wa(t,i):t,a=s.get(or,null);if(a===null)throw new E(407,!1);let c=s.get(gD,null),u=s.get(bc,null),l=s.get(ua,null),d={rendererFactory:a,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:u,changeDetectionScheduler:l},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=n?MD(f,n,this.componentDef.encapsulation,s):hc(f,h,fw(h)),w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let v=null;p!==null&&(v=Dc(p,s,!0));let m=Ec(0,null,null,1,0,null,null,null,null,null,null),U=wi(null,m,null,w,null,null,d,f,s,null,v);Xa(U);let ne,L;try{let re=this.componentDef,J,Ze=null;re.findHostDirectiveDefs?(J=[],Ze=new Map,re.findHostDirectiveDefs(re,J,Ze),J.push(re)):J=[re];let Yr=hw(U,p),Lg=pw(Yr,p,re,J,U,d,f);L=hr(m,Y),p&&vw(f,re,p,n),r!==void 0&&yw(L,this.ngContentSelectors,r),ne=mw(Lg,re,J,Ze,U,[Dw]),Mc(m,U,null)}finally{ec()}return new Ea(this.componentType,ne,Nn(L,U),U,L)}},Ea=class extends fa{constructor(t,r,n,o,i){super(),this.location=n,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Ut(o,void 0,!1),this.componentType=t}setInput(t,r){let n=this._tNode.inputs,o;if(n!==null&&(o=n[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;let i=this._rootLView;Ic(i[I],i,o,t,r),this.previousInputValues.set(t,r);let s=yt(this._tNode.index,i);Ci(s)}}get injector(){return new Pt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function hw(e,t){let r=e[I],n=Y;return e[n]=t,Dr(r,n,2,"#host",null)}function pw(e,t,r,n,o,i,s){let a=o[I];gw(n,e,t,s);let c=null;t!==null&&(c=Dc(t,o[Xe]));let u=i.rendererFactory.createRenderer(t,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=wi(o,Mh(r),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&pa(a,e,n.length-1),Ei(o,d),o[e.index]=d}function gw(e,t,r,n){for(let o of e)t.mergedAttrs=Qn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Da(t,t.mergedAttrs,!0),r!==null&&th(n,r,t))}function mw(e,t,r,n,o,i){let s=le(),a=o[I],c=be(s,o);Ah(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=jt(o,a,d,s);$t(f,o)}_h(a,o,s),c&&$t(c,o);let u=jt(o,a,s.directiveStart+s.componentOffset,s);if(e[oe]=o[oe]=u,i!==null)for(let l of i)l(u,t);return Ih(a,s,e),u}function vw(e,t,r,n){if(n)Qs(e,r,["ng-version","17.1.1"]);else{let{attrs:o,classes:i}=nv(t.selectors[0]);o&&Qs(e,r,o),i&&i.length>0&&eh(e,r,i.join(" "))}}function yw(e,t,r){let n=e.projection=[];for(let o=0;o<t.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function Dw(){let e=le();rc(F()[I],e)}function ww(e){return Object.getPrototypeOf(e.prototype).constructor}function Ew(e){let t=ww(e.type),r=!0,n=[e];for(;t;){let o;if(mt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new E(903,!1);o=t.\u0275dir}if(o){if(r){n.push(o);let s=e;s.inputs=xo(e.inputs),s.inputTransforms=xo(e.inputTransforms),s.declaredInputs=xo(e.declaredInputs),s.outputs=xo(e.outputs);let a=o.hostBindings;a&&Tw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&bw(e,c),u&&Mw(e,u),Iw(e,o),bm(e.outputs,o.outputs),mt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Ew&&(r=!1)}}t=Object.getPrototypeOf(t)}Cw(n)}function Iw(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];if(n!==void 0&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r],t.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function Cw(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let o=e[n];o.hostVars=t+=o.hostVars,o.hostAttrs=Qn(o.hostAttrs,r=Qn(r,o.hostAttrs))}}function xo(e){return e===In?{}:e===Ee?[]:e}function bw(e,t){let r=e.viewQuery;r?e.viewQuery=(n,o)=>{t(n,o),r(n,o)}:e.viewQuery=t}function Mw(e,t){let r=e.contentQueries;r?e.contentQueries=(n,o,i)=>{t(n,o,i),r(n,o,i)}:e.contentQueries=t}function Tw(e,t){let r=e.hostBindings;r?e.hostBindings=(n,o)=>{t(n,o),r(n,o)}:e.hostBindings=t}function Tc(e){let t=e.inputConfig,r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}e.inputTransforms=r}function jh(e){let t=e[Xn]??[],n=e[Z][z];for(let o of t)Sw(o,n);e[Xn]=Ee}function Sw(e,t){let r=0,n=e.firstChild;if(n){let o=e.data[Yo];for(;r<o;){let i=n.nextSibling;Kf(t,n,!1),n=i,r++}}}function Vh(e){jh(e);for(let t=K;t<e.length;t++)Xo(e[t])}function Xo(e){let t=e[I];for(let r=Y;r<t.bindingStartIndex;r++)if(He(e[r])){let n=e[r];Vh(n)}else Ke(e[r])&&Xo(e[r])}function xw(e){let t=e._views;for(let r of t){let n=sD(r);if(n!==null&&n[Ie]!==null)if(Ke(n))Xo(n);else{let o=n[Ie];Xo(o),Vh(n)}}}var Aw=new RegExp(`^(\\d+)*(${sh}|${ih})*(.*)`);function _w(e){let t=e.match(Aw),[r,n,o,i]=t,s=n?parseInt(n,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 Nw(e){return!e.prev&&e.parent?.type===8}function Vs(e){return e.index-Y}function Mi(e,t,r,n){let o=null,i=Vs(n),s=e.data[eD];if(s?.[i])o=Ow(s[i],r);else if(t.firstChild===n)o=e.firstChild;else{let a=n.prev===null,c=n.prev??n.parent;if(Nw(n)){let u=Vs(n.parent);o=da(e,u)}else{let u=be(c,r);if(a)o=u.firstChild;else{let l=Vs(c),d=da(e,l);if(c.type===2&&d){let h=wc(e,l)+1;o=Ti(h,d)}else o=u.nextSibling}}}return o}function Ti(e,t){let r=t;for(let n=0;n<e;n++)r=r.nextSibling;return r}function Rw(e,t){let r=e;for(let n=0;n<t.length;n+=2){let o=t[n],i=t[n+1];for(let s=0;s<i;s++)switch(o){case la.FirstChild:r=r.firstChild;break;case la.NextSibling:r=r.nextSibling;break}}return r}function Ow(e,t){let[r,...n]=_w(e),o;if(r===ih)o=t[ue][Ie];else if(r===sh)o=dy(t[ue][Ie]);else{let i=Number(r);o=Le(t[i+Y])}return Rw(o,n)}function Pw(e,t){let r=[];for(let n of t)for(let o=0;o<(n[ah]??1);o++){let i={data:n,firstChild:null};n[Yo]>0&&(i.firstChild=e,e=Ti(n[Yo],e)),r.push(i)}return[e,r]}var $h=()=>null;function Fw(e,t){let r=e[Xn];return!t||r===null||r.length===0?null:r[0].data[Xy]===t?r.shift():(jh(e),null)}function kw(){$h=Fw}function sr(e,t){return $h(e,t)}function Si(e,t,r,n){let o=t.tView,s=e[S]&4096?4096:16,a=wi(e,o,r,s,null,t,null,null,null,n?.injector??null,n?.dehydratedView??null),c=e[t.index];a[lr]=c;let u=e[Ue];return u!==null&&(a[Ue]=u.createEmbeddedView(o)),Mc(o,a,r),a}function Lw(e,t){let r=K+t;if(r<e.length)return e[r]}function ar(e,t){return!t||t.firstChild===null||qo(e)}function xi(e,t,r,n=!0){let o=t[I];if(_y(o,t,e,r),n){let s=ca(r,e),a=t[z],c=pc(a,e[tt]);c!==null&&xy(o,e[Ce],a,t,c,s)}let i=t[ke];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Uh(e,t){let r=rr(e,t);return r!==void 0&&pi(r[I],r),r}var Zt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=jw;let e=t;return e})();function jw(){let e=le();return Hh(e,F())}var Vw=Zt,Bh=class extends Vw{constructor(t,r,n){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=n}get element(){return Nn(this._hostTNode,this._hostLView)}get injector(){return new Pt(this._hostTNode,this._hostLView)}get parentInjector(){let t=oc(this._hostTNode,this._hostLView);if(Ef(t)){let r=Bo(t,this._hostLView),n=Uo(t),o=r[I].data[n+8];return new Pt(o,r)}else return new Pt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let r=hd(this._lContainer);return r!==null&&r[t]||null}get length(){return this._lContainer.length-K}createEmbeddedView(t,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=sr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,ar(this._hostTNode,s)),a}createComponent(t,r,n,o,i){let s=t&&!qv(t),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?t:new ir(Je(t)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let w=(s?u:this.parentInjector).get(me,null);w&&(i=w)}let l=Je(c.componentType??{}),d=sr(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,ar(this._hostTNode,d)),h}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,n){let o=t._lView;if(hv(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Z],u=new Bh(c,c[Ce],c[Z]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(r),s=this._lContainer;return xi(s,o,i,n),t.attachToViewContainerRef(),_f($s(s),i,t),t}move(t,r){return this.insert(t,r)}indexOf(t){let r=hd(this._lContainer);return r!==null?r.indexOf(t):-1}remove(t){let r=this._adjustIndex(t,-1),n=rr(this._lContainer,r);n&&(zo($s(this._lContainer),r),pi(n[I],n))}detach(t){let r=this._adjustIndex(t,-1),n=rr(this._lContainer,r);return n&&zo($s(this._lContainer),r)!=null?new Ut(n):null}_adjustIndex(t,r=0){return t??this.length+r}};function hd(e){return e[Vo]}function $s(e){return e[Vo]||(e[Vo]=[])}function Hh(e,t){let r,n=t[e.index];return He(n)?r=n:(r=Nh(n,t,null,e),t[e.index]=r,Ei(t,r)),zh(r,t,e,n),new Bh(r,e,t)}function $w(e,t){let r=e[z],n=r.createComment(""),o=be(t,e),i=pc(r,o);return Wo(r,i,n,ky(r,o),!1),n}var zh=qh,Sc=()=>!1;function Gh(e,t,r){return Sc(e,t,r)}function qh(e,t,r,n){if(e[tt])return;let o;r.type&8?o=Le(n):o=$w(t,r),e[tt]=o}function Uw(e,t,r){if(e[tt]&&e[Xn])return!0;let n=r[ke],o=t.index-Y;if(!n||my(t)||yi(n,o))return!1;let s=da(n,o),a=n.data[yc]?.[o],[c,u]=Pw(s,a);return e[tt]=c,e[Xn]=u,!0}function Bw(e,t,r,n){Sc(e,r,t)||qh(e,t,r,n)}function Hw(){zh=Bw,Sc=Uw}function zw(e,t,r){return e[t]=r}function Rn(e,t,r){let n=e[t];return Object.is(n,r)?!1:(e[t]=r,!0)}function Gw(e,t,r,n,o,i,s,a,c){let u=t.consts,l=Dr(t,e,4,s||null,$o(u,a));xh(t,r,l,$o(u,c)),rc(t,l);let d=l.tView=Ec(2,l,n,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 ei(e,t,r,n,o,i,s,a){let c=F(),u=ie(),l=e+Y,d=u.firstCreatePass?Gw(l,u,c,t,r,n,o,i,s):u.data[l];pr(d,!1);let f=Wh(u,c,d,e);nc()&&gc(u,c,f,d),$t(f,c);let h=Nh(f,c,f,d);return c[l]=h,Ei(c,h),Gh(h,d,c),Za(d)&&Ch(u,c,d),s!=null&&bh(c,d,a),ei}var Wh=Zh;function Zh(e,t,r,n){return Dt(!0),t[z].createComment("")}function qw(e,t,r,n){let o=t[ke],i=!o||_n()||yi(o,n);if(Dt(i),i)return Zh(e,t,r,n);let s=o.data[Jy]?.[n]??null;s!==null&&r.tView!==null&&r.tView.ssrId===null&&(r.tView.ssrId=s);let a=Mi(o,e,t,r);vi(o,n,a);let c=wc(o,n);return Ti(c,a)}function Ww(){Wh=qw}var pe=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(pe||{}),pd=0,Zw=1,ee=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(ee||{}),xc=function(e){return e[e.Initial=-1]="Initial",e}(xc||{}),Yw=0,Ac=1;var Yh=4,Qh=5,Kh=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Kh||{});function Jh(e,t,r){let n=e===1?Qh:Yh;t[n]===null&&(t[n]=[]),t[n].push(r)}function Ia(e,t){let r=e===1?Qh:Yh,n=t[r];if(n!==null){for(let o of n)o();t[r]=null}}function Xh(e){Ia(1,e),Ia(0,e)}function Ai(e){return e+1}function _i(e,t){let r=e[I],n=Ai(t.index);return e[n]}function Qw(e,t,r){let n=e[I],o=Ai(t);e[o]=r}function _c(e,t){let r=Ai(t.index);return e.data[r]}function Kw(e,t,r){let n=Ai(t);e.data[n]=r}function Jw(e,t,r){let n=t[I],o=_c(n,r);switch(e){case ee.Complete:return o.primaryTmplIndex;case ee.Loading:return o.loadingTmplIndex;case ee.Error:return o.errorTmplIndex;case ee.Placeholder:return o.placeholderTmplIndex;default:return null}}function gd(e,t){return t===ee.Placeholder?e.placeholderBlockConfig?.[pd]??null:t===ee.Loading?e.loadingBlockConfig?.[pd]??null:null}function Xw(e){return e.loadingBlockConfig?.[Zw]??null}function md(e,t){if(!e||e.length===0)return t;let r=new Set(e);for(let n of t)r.add(n);return e.length===r.size?e:Array.from(r)}function eE(e,t){let r=t.primaryTmplIndex+Y;return hr(e,r)}var gn=new WeakMap;var mn=null,Us=0,Ca=class{constructor(){this.callbacks=new Set,this.listener=()=>{for(let t of this.callbacks)t()}}};function tE(e,t,r){let n=r.get(V),o=gn.get(e);return mn=mn||n.runOutsideAngular(()=>new IntersectionObserver(i=>{for(let s of i)s.isIntersecting&&gn.has(s.target)&&n.run(gn.get(s.target).listener)})),o||(o=new Ca,n.runOutsideAngular(()=>mn.observe(e)),gn.set(e,o),Us++),o.callbacks.add(t),()=>{gn.has(e)&&(o.callbacks.delete(t),o.callbacks.size===0&&(mn?.unobserve(e),gn.delete(e),Us--),Us===0&&(mn?.disconnect(),mn=null))}}function nE(e,t,r){return r==null?e:r>=0?of(r,e):e[t.index][K]??null}function rE(e,t){return Ya(Y+t,e)}function oE(e,t,r,n,o,i,s){let a=e[Xe];function c(){if(Ks(e))return;let u=_i(e,t),l=u[Ac];if(l!==xc.Initial&&l!==ee.Placeholder)return;let d=nE(e,t,n);if(!d){dd(c,{injector:a});return}if(Ks(d))return;let f=rE(d,r),h=o(f,()=>{e!==d&&af(d,h),i()},a);e!==d&&Ka(d,h),Jh(s,u,h)}dd(c,{injector:a})}var iE=new M("");function sE(e){return e.get(iE,null,{optional:!0})?.behavior===Kh.Manual?!1:Dn(e)}var aE=null;function zN(e,t,r,n,o,i,s,a,c){let u=F(),l=ie(),d=e+Y;if(ei(e,null,0,0),l.firstCreatePass){Wt("NgDefer");let v={primaryTmplIndex:t,loadingTmplIndex:n??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:r??null,loadingState:pe.NOT_STARTED,loadingPromise:null};c?.(l,v,a,s),Kw(l,d,v)}let f=le(),h=u[d];Gh(h,f,u);let p=[null,xc.Initial,null,null,null,null];Qw(u,d,p);let w=()=>Xh(p);Jh(0,p,()=>af(u,w)),Ka(u,w)}function GN(e,t){let r=F(),n=le();lE(r,n),oE(r,n,e,t,tE,()=>dE(r,n),0)}function Ot(e,t,r,n=!1){let o=r[Z],i=o[I];if(Ks(o))return;let s=_i(o,t),a=s[Ac];if(vd(a,e)&&vd(s[Yw]??-1,e)){let c=_c(i,t),l=!n&&(Xw(c)!==null||gd(c,ee.Loading)!==null||gd(c,ee.Placeholder))?aE:cE;try{l(e,s,r,t,o)}catch(d){Ii(o,d)}}}function cE(e,t,r,n,o){let i=Jw(e,o,n);if(i!==null){t[Ac]=e;let s=o[I],a=i+Y,c=hr(s,a),u=0;Uh(r,u);let l=sr(r,c.tView.ssrId),d=Si(o,c,null,{dehydratedView:l});xi(r,d,u,ar(c,l)),Ci(d)}}function vd(e,t){return e<t}function uE(e,t,r){let n=t[Xe],o=t[I];if(e.loadingState!==pe.NOT_STARTED)return;let i=_i(t,r),s=eE(o,e);e.loadingState=pe.IN_PROGRESS,Ia(1,i);let a=e.dependencyResolverFn;if(!a){e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=pe.COMPLETE});return}e.loadingPromise=Promise.allSettled(a()).then(c=>{let u=!1,l=[],d=[];for(let f of c)if(f.status==="fulfilled"){let h=f.value,p=Je(h)||Ga(h);if(p)l.push(p);else{let w=qa(h);w&&d.push(w)}}else{u=!0;break}if(e.loadingPromise=null,u){if(e.loadingState=pe.FAILED,e.errorTmplIndex===null){let f=hy(t),h=new E(750,!1);Ii(t,h)}}else{e.loadingState=pe.COMPLETE;let f=s.tView;l.length>0&&(f.directiveRegistry=md(f.directiveRegistry,l)),d.length>0&&(f.pipeRegistry=md(f.pipeRegistry,d))}})}function lE(e,t){let r=e[t.index];Ot(ee.Placeholder,t,r)}function yd(e,t,r){e.loadingPromise.then(()=>{e.loadingState===pe.COMPLETE?Ot(ee.Complete,t,r):e.loadingState===pe.FAILED&&Ot(ee.Error,t,r)})}function dE(e,t){let r=e[I],n=e[t.index],o=e[Xe];if(!sE(o))return;let i=_i(e,t),s=_c(r,t);switch(Xh(i),s.loadingState){case pe.NOT_STARTED:Ot(ee.Loading,t,n),uE(s,e,t),s.loadingState===pe.IN_PROGRESS&&yd(s,t,n);break;case pe.IN_PROGRESS:Ot(ee.Loading,t,n),yd(s,t,n);break;case pe.COMPLETE:Ot(ee.Complete,t,n);break;case pe.FAILED:Ot(ee.Error,t,n);break;default:}}function Nc(e,t,r,n){let o=F(),i=di();if(Rn(o,i,t)){let s=ie(),a=tc();zD(a,o,e,t,r,n)}return Nc}function ep(e,t,r,n){return Rn(e,di(),r)?t+si(r)+n:Et}function Ao(e,t){return e<<17|t<<2}function Bt(e){return e>>17&32767}function fE(e){return(e&2)==2}function hE(e,t){return e&131071|t<<17}function ba(e){return e|2}function Tn(e){return(e&131068)>>2}function Bs(e,t){return e&-131069|t<<2}function pE(e){return(e&1)===1}function Ma(e){return e|1}function gE(e,t,r,n,o,i){let s=i?t.classBindings:t.styleBindings,a=Bt(s),c=Tn(s);e[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||gr(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=Bt(e[a+1]);e[n+1]=Ao(f,a),f!==0&&(e[f+1]=Bs(e[f+1],n)),e[a+1]=hE(e[a+1],n)}else e[n+1]=Ao(a,0),a!==0&&(e[a+1]=Bs(e[a+1],n)),a=n;else e[n+1]=Ao(c,0),a===0?a=n:e[c+1]=Bs(e[c+1],n),c=n;u&&(e[n+1]=ba(e[n+1])),Dd(e,l,n,!0),Dd(e,l,n,!1),mE(t,l,e,n,i),s=Ao(a,c),i?t.classBindings=s:t.styleBindings=s}function mE(e,t,r,n,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&gr(i,t)>=0&&(r[n+1]=Ma(r[n+1]))}function Dd(e,t,r,n){let o=e[r+1],i=t===null,s=n?Bt(o):Tn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];vE(c,t)&&(a=!0,e[s+1]=n?Ma(u):ba(u)),s=n?Bt(u):Tn(u)}a&&(e[r+1]=n?ba(o):Ma(o))}function vE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?gr(e,t)>=0:!1}function yE(e,t,r){let n=F(),o=di();if(Rn(n,o,t)){let i=ie(),s=tc();Sh(i,s,n,e,t,n[z],r,!1)}return yE}function wd(e,t,r,n,o){let i=t.inputs,s=o?"class":"style";Ic(e,r,i[s],s,n)}function tp(e,t,r){return np(e,t,r,!1),tp}function DE(e,t){return np(e,t,null,!0),DE}function np(e,t,r,n){let o=F(),i=ie(),s=bv(2);if(i.firstUpdatePass&&EE(i,e,s,n),t!==Et&&Rn(o,s,t)){let a=i.data[Gt()];TE(i,a,o,o[z],e,o[s+1]=SE(t,r),n,s)}}function wE(e,t){return t>=e.expandoStartIndex}function EE(e,t,r,n){let o=e.data;if(o[r+1]===null){let i=o[Gt()],s=wE(e,r);xE(i,n)&&t===null&&!s&&(t=!1),t=IE(o,i,t,n),gE(o,i,t,r,s,n)}}function IE(e,t,r,n){let o=xv(e),i=n?t.residualClasses:t.residualStyles;if(o===null)(n?t.classBindings:t.styleBindings)===0&&(r=Hs(null,e,t,r,n),r=cr(r,t.attrs,n),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(r=Hs(o,e,t,r,n),i===null){let c=CE(e,t,n);c!==void 0&&Array.isArray(c)&&(c=Hs(null,e,t,c[1],n),c=cr(c,t.attrs,n),bE(e,t,n,c))}else i=ME(e,t,n)}return i!==void 0&&(n?t.residualClasses=i:t.residualStyles=i),r}function CE(e,t,r){let n=r?t.classBindings:t.styleBindings;if(Tn(n)!==0)return e[Bt(n)]}function bE(e,t,r,n){let o=r?t.classBindings:t.styleBindings;e[Bt(o)]=n}function ME(e,t,r){let n,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;n=cr(n,s,r)}return cr(n,t.attrs,r)}function Hs(e,t,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=t[a],n=cr(n,i.hostAttrs,o),i!==e);)a++;return e!==null&&(r.directiveStylingLast=a),n}function cr(e,t,r){let n=r?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===n&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Kv(e,s,r?!0:t[++i]))}return e===void 0?null:e}function TE(e,t,r,n,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=pE(u)?Ed(c,t,r,o,Tn(u),s):void 0;if(!ti(l)){ti(i)||fE(u)&&(i=Ed(c,null,r,o,a,s));let d=Ya(Gt(),r);Uy(n,s,d,o,i)}}function Ed(e,t,r,n,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===Et&&(f=d?Ee:void 0);let h=d?Rs(f,n):l===n?f:void 0;if(u&&!ti(h)&&(h=Rs(c,n)),ti(h)&&(a=h,s))return a;let p=e[o+1];o=s?Bt(p):Tn(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Rs(c,n))}return a}function ti(e){return e!==void 0}function SE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ce(vr(e)))),e}function xE(e,t){return(e.flags&(t?8:16))!==0}var Ta=class{destroy(t){}updateValue(t,r){}swap(t,r){let n=Math.min(t,r),o=Math.max(t,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(t,r){this.attach(r,this.detach(t))}};function zs(e,t,r,n,o){return e===r&&Object.is(t,n)?1:Object.is(o(e,t),o(r,n))?-1:0}function AE(e,t,r){let n,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let c=e.at(i),u=t[i],l=zs(i,c,i,u,r);if(l!==0){l<0&&e.updateValue(i,u),i++;continue}let d=e.at(s),f=t[a],h=zs(s,d,a,f,r);if(h!==0){h<0&&e.updateValue(s,f),s--,a--;continue}let p=r(i,c),w=r(s,d),v=r(i,u);if(Object.is(v,w)){let m=r(a,f);Object.is(m,p)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(n??=new ni,o??=Cd(e,i,s,r),Sa(e,n,i,v))e.updateValue(i,u),i++,s++;else if(o.has(v))n.set(p,e.detach(i)),s--;else{let m=e.create(i,t[i]);e.attach(i,m),i++,s++}}for(;i<=a;)Id(e,n,r,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let u=e.at(i),l=c.value,d=zs(i,u,i,l,r);if(d!==0)d<0&&e.updateValue(i,l),i++,c=a.next();else{n??=new ni,o??=Cd(e,i,s,r);let f=r(i,l);if(Sa(e,n,i,f))e.updateValue(i,l),i++,s++,c=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,c=a.next();else{let h=r(i,u);n.set(h,e.detach(i)),s--}}}for(;!c.done;)Id(e,n,r,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));n?.forEach(a=>{e.destroy(a)})}function Sa(e,t,r,n){return t!==void 0&&t.has(n)?(e.attach(r,t.get(n)),t.delete(n),!0):!1}function Id(e,t,r,n,o){if(Sa(e,t,n,r(n,o)))e.updateValue(n,o);else{let i=e.create(n,o);e.attach(n,i)}}function Cd(e,t,r,n){let o=new Set;for(let i=t;i<=r;i++)o.add(n(i,e.at(i)));return o}var ni=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 r=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let n=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,n]of this.kvMap)if(t(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),t(n,r)}}};var xa=class{constructor(t,r,n){this.lContainer=t,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-K}};function qN(e){return e}var Aa=class{constructor(t,r,n){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=n}};function WN(e,t,r,n,o,i,s,a,c,u,l,d,f){Wt("NgControlFlow");let h=c!==void 0,p=F(),w=a?s.bind(p[ue][oe]):s,v=new Aa(h,w);p[Y+e]=v,ei(e+1,t,r,n,o,i),h&&ei(e+2,c,u,l,d,f)}var _a=class extends Ta{constructor(t,r,n){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-K}at(t){return this.getLView(t)[oe].$implicit}attach(t,r){let n=r[ke];this.needsIndexUpdate||=t!==this.length,xi(this.lContainer,r,t,ar(this.templateTNode,n))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,_E(this.lContainer,t)}create(t,r){let n=sr(this.lContainer,this.templateTNode.tView.ssrId);return Si(this.hostLView,this.templateTNode,new xa(this.lContainer,r,t),{dehydratedView:n})}destroy(t){pi(t[I],t)}updateValue(t,r){this.getLView(t)[oe].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[oe].$index=t}getLView(t){return NE(this.lContainer,t)}};function ZN(e){let t=se(null),r=Gt();try{let n=F(),o=n[I],i=n[r];if(i.liveCollection===void 0){let a=r+1,c=bd(n,a),u=Md(o,a);i.liveCollection=new _a(c,n,u)}else i.liveCollection.reset();let s=i.liveCollection;if(AE(s,e,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=di(),c=s.length===0;if(Rn(n,a,c)){let u=r+2,l=bd(n,u);if(c){let d=Md(o,u),f=sr(l,d.tView.ssrId),h=Si(n,d,void 0,{dehydratedView:f});xi(l,h,0,ar(d,f))}else Uh(l,0)}}}finally{se(t)}}function bd(e,t){return e[t]}function _E(e,t){return rr(e,t)}function NE(e,t){return Lw(e,t)}function Md(e,t){return hr(e,t)}function RE(e,t,r,n,o,i){let s=t.consts,a=$o(s,o),c=Dr(t,e,2,n,a);return xh(t,r,c,$o(s,i)),c.attrs!==null&&Da(c,c.attrs,!1),c.mergedAttrs!==null&&Da(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function rp(e,t,r,n){let o=F(),i=ie(),s=Y+e,a=o[z],c=i.firstCreatePass?RE(s,i,o,t,r,n):i.data[s],u=ip(i,o,c,a,t,e);o[s]=u;let l=Za(c);return pr(c,!0),th(a,u,c),(c.flags&32)!==32&&nc()&&gc(i,o,u,c),gv()===0&&$t(u,o),mv(),l&&(Ch(i,o,c),Ih(i,c,o)),n!==null&&bh(o,c),rp}function op(){let e=le();lf()?df():(e=e.parent,pr(e,!1));let t=e;yv(t)&&wv(),vv();let r=ie();return r.firstCreatePass&&(rc(r,e),Qd(e)&&r.queries.elementEnd(e)),t.classesWithoutHost!=null&&Fv(t)&&wd(r,t,F(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&kv(t)&&wd(r,t,F(),t.stylesWithoutHost,!1),op}function Rc(e,t,r,n){return rp(e,t,r,n),op(),Rc}var ip=(e,t,r,n,o,i)=>(Dt(!0),hc(n,o,yf()));function OE(e,t,r,n,o,i){let s=t[ke],a=!s||_n()||yi(s,i);if(Dt(a),a)return hc(n,o,yf());let c=Mi(s,e,t,r);return lh(s,i)&&vi(s,i,c.nextSibling),s&&($f(r)||Uf(c))&&dr(r)&&(Dv(r),Jf(c)),c}function PE(){ip=OE}var FE=(e,t,r,n)=>(Dt(!0),zf(t[z],""));function kE(e,t,r,n){let o,i=t[ke],s=!i||_n();if(Dt(s),s)return zf(t[z],"");let a=Mi(i,e,t,r),c=uD(i,n);return vi(i,n,a),o=Ti(c,a),o}function LE(){FE=kE}function YN(){return F()}var ri="en-US";var jE=ri;function VE(e){Rm(e,"Expected localeId to be defined"),typeof e=="string"&&(jE=e.toLowerCase().replace(/_/g,"-"))}function wr(e){return!!e&&typeof e.then=="function"}function sp(e){return!!e&&typeof e.subscribe=="function"}function Oc(e,t,r,n){let o=F(),i=ie(),s=le();return UE(i,o,o[z],s,e,t,n),Oc}function $E(e,t,r,n){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===r&&o[i+1]===n){let a=t[Kn],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function UE(e,t,r,n,o,i,s){let a=Za(n),u=e.firstCreatePass&&Ph(e),l=t[oe],d=Oh(t),f=!0;if(n.type&3||s){let w=be(n,t),v=s?s(w):w,m=d.length,U=s?L=>s(Le(L[n.index])):n.index,ne=null;if(!s&&a&&(ne=$E(e,t,o,n.index)),ne!==null){let L=ne.__ngLastListenerFn__||ne;L.__ngNextListenerFn__=i,ne.__ngLastListenerFn__=i,f=!1}else{i=Sd(n,t,l,i,!1);let L=r.listen(v,o,i);d.push(i,L),u&&u.push(o,U,m,m+1)}}else i=Sd(n,t,l,i,!1);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let w=p.length;if(w)for(let v=0;v<w;v+=2){let m=p[v],U=p[v+1],re=t[m][U].subscribe(i),J=d.length;d.push(i,re),u&&u.push(o,n.index,J,-(J+1))}}}function Td(e,t,r,n){try{return Ve(6,t,r),r(n)!==!1}catch(o){return Ii(e,o),!1}finally{Ve(7,t,r)}}function Sd(e,t,r,n,o){return function i(s){if(s===Function)return n;let a=e.componentOffset>-1?yt(e.index,t):t;Ci(a);let c=Td(t,r,n,s),u=i.__ngNextListenerFn__;for(;u;)c=Td(t,r,u,s)&&c,u=u.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function QN(e=1){return _v(e)}function BE(e,t){let r=null,n=Qm(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){r=o;continue}if(n===null?Bd(e,i,!0):Xm(n,i))return o}return r}function KN(e){let t=F()[ue][Ce];if(!t.projection){let r=e?e.length:1,n=t.projection=Yv(r,null),o=n.slice(),i=t.child;for(;i!==null;){let s=e?BE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i),i=i.next}}}function JN(e,t=0,r){let n=F(),o=ie(),i=Dr(o,Y+e,16,null,r||null);i.projection===null&&(i.projection=t),df(),(!n[ke]||_n())&&(i.flags&32)!==32&&Vy(o,n,i)}function HE(e,t,r,n,o){let i=F(),s=ep(i,t,r,n);if(s!==Et){let a=ie(),c=tc();Sh(a,c,i,e,s,i[z],o,!1)}return HE}function zE(){return this._results[Symbol.iterator]()}var Na=class e{get changes(){return this._changes??=new xe}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=e.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=zE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;let n=Zv(t);(this._changesDetected=!Wv(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},Sn=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=WE;let e=t;return e})(),GE=Sn,qE=class extends GE{constructor(t,r,n){super(),this._declarationLView=t,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,n){let o=Si(this._declarationLView,this._declarationTContainer,t,{injector:r,dehydratedView:n});return new Ut(o)}};function WE(){return Pc(le(),F())}function Pc(e,t){return e.type&4?new qE(t,e,Nn(e,t)):null}var Ra=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Oa=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let r=t.queries;if(r!==null){let n=t.contentQueries!==null?t.contentQueries[0]:r.length,o=[];for(let i=0;i<n;i++){let s=r.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)cp(t,r).matches!==null&&this.queries[r].setDirty()}},Pa=class{constructor(t,r,n=null){this.predicate=t,this.flags=r,this.read=n}},Fa=class e{constructor(t=[]){this.queries=t}elementStart(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(t,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new e(r):null}template(t,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ka=class e{constructor(t,r=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=t.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(t,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(t,r,ZE(r,i)),this.matchTNodeWithReadOption(t,r,Oo(r,t,i,!1,!1))}else n===Sn?r.type&4&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Oo(r,t,n,!1,!1))}matchTNodeWithReadOption(t,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===st||o===Zt||o===Sn&&r.type&4)this.addMatch(r.index,-2);else{let i=Oo(r,t,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(t,r){this.matches===null?this.matches=[t,r]:this.matches.push(t,r)}};function ZE(e,t){let r=e.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1]}return null}function YE(e,t){return e.type&11?Nn(e,t):e.type&4?Pc(e,t):null}function QE(e,t,r,n){return r===-1?YE(t,e):r===-2?KE(e,t,n):jt(e,e[I],r,t)}function KE(e,t,r){if(r===st)return Nn(t,e);if(r===Sn)return Pc(t,e);if(r===Zt)return Hh(t,e)}function ap(e,t,r,n){let o=t[Ue].queries[n];if(o.matches===null){let i=e.data,s=r.matches,a=[];for(let c=0;c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(QE(t,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function La(e,t,r,n){let o=e.queries.getByIndex(r),i=o.matches;if(i!==null){let s=ap(e,t,o,r);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)n.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=K;d<l.length;d++){let f=l[d];f[lr]===f[Z]&&La(f[I],f,u,n)}if(l[Cn]!==null){let d=l[Cn];for(let f=0;f<d.length;f++){let h=d[f];La(h[I],h,u,n)}}}}}return n}function JE(e,t){return e[Ue].queries[t].queryList}function XE(e,t,r){let n=new Na((r&4)===4);AD(e,t,n,n.destroy),t[Ue]===null&&(t[Ue]=new Oa),t[Ue].queries.push(new Ra(n))}function eI(e,t,r){e.queries===null&&(e.queries=new Fa),e.queries.track(new ka(t,r))}function cp(e,t){return e.queries.getByIndex(t)}function eR(e,t,r){let n=ie();n.firstCreatePass&&(eI(n,new Pa(e,t,r),-1),(t&2)===2&&(n.staticViewQueries=!0)),XE(n,F(),t)}function tI(e){let t=F(),r=ie(),n=ff();Ja(n+1);let o=cp(r,n);if(e.dirty&&fv(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=o.crossesNgTemplate?La(r,t,n,[]):ap(r,t,o,n);e.reset(i,hD),e.notifyOnChanges()}return!0}return!1}function nI(){return JE(F(),ff())}function tR(e,t=""){let r=F(),n=ie(),o=e+Y,i=n.firstCreatePass?Dr(n,o,1,t,null):n.data[o],s=up(n,r,i,t,e);r[o]=s,nc()&&gc(n,r,s,i),pr(i,!1)}var up=(e,t,r,n,o)=>(Dt(!0),Hf(t[z],n));function rI(e,t,r,n,o){let i=t[ke],s=!i||_n()||yi(i,o);return Dt(s),s?Hf(t[z],n):Mi(i,e,t,r)}function oI(){up=rI}function iI(e){return lp("",e,""),iI}function lp(e,t,r){let n=F(),o=ep(n,e,t,r);return o!==Et&&ZD(n,Gt(),o),lp}function sI(e,t,r){let n=ie();if(n.firstCreatePass){let o=mt(e);ja(r,n.data,n.blueprint,o,!0),ja(t,n.data,n.blueprint,o,!1)}}function ja(e,t,r,n,o){if(e=ae(e),Array.isArray(e))for(let i=0;i<e.length;i++)ja(e[i],t,r,n,o);else{let i=ie(),s=F(),a=le(),c=Mn(e)?e:ae(e.provide),u=kf(e),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Mn(e)||!e.multi){let h=new Lt(u,o,ve),p=qs(c,t,o?l:l+f,d);p===-1?(na(Ho(a,s),i,c),Gs(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{let h=qs(c,t,l+f,d),p=qs(c,t,l,l+f),w=h>=0&&r[h],v=p>=0&&r[p];if(o&&!v||!o&&!w){na(Ho(a,s),i,c);let m=uI(o?cI:aI,r.length,o,n,u);!o&&v&&(r[p].providerFactory=m),Gs(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(m),s.push(m)}else{let m=dp(r[o?p:h],u,!o&&n);Gs(i,e,h>-1?h:p,m)}!o&&n&&v&&r[p].componentProviders++}}}function Gs(e,t,r,n){let o=Mn(t),i=ry(t);if(o||i){let c=(i?ae(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function dp(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function qs(e,t,r,n){for(let o=r;o<n;o++)if(t[o]===e)return o;return-1}function aI(e,t,r,n){return Va(this.multi,[])}function cI(e,t,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=jt(r,r[I],this.providerFactory.index,n);i=a.slice(0,s),Va(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Va(o,i);return i}function Va(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function uI(e,t,r,n,o){let i=new Lt(e,r,ve);return i.multi=[],i.index=t,i.componentProviders=0,dp(i,o,n&&!r),i}function nR(e,t=[]){return r=>{r.providersResolver=(n,o)=>sI(n,o?o(e):e,t)}}var vt=class{},ur=class{};var $a=class extends vt{constructor(t,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Jo(this);let o=Gd(t);this._bootstrapComponents=Vf(o.bootstrap),this._r3Injector=Lf(t,r,[{provide:vt,useValue:this},{provide:Di,useValue:this.componentFactoryResolver},...n],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(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ua=class extends ur{constructor(t){super(),this.moduleType=t}create(t){return new $a(this.moduleType,t,[])}};var oi=class extends vt{constructor(t){super(),this.componentFactoryResolver=new Jo(this),this.instance=null;let r=new nr([...t.providers,{provide:vt,useValue:this},{provide:Di,useValue:this.componentFactoryResolver}],t.parent||uc(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Fc(e,t,r=null){return new oi({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}var lI=(()=>{let t=class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Of(!1,n.type),i=o.length>0?Fc([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=C({token:t,providedIn:"environment",factory:()=>new t(b(me))});let e=t;return e})();function fp(e){Wt("NgStandalone"),e.getStandaloneInjector=t=>t.get(lI).getOrCreateStandaloneInjector(e)}function rR(e,t,r,n){return fI(F(),Iv(),e,t,r,n)}function dI(e,t){let r=e[t];return r===Et?void 0:r}function fI(e,t,r,n,o,i){let s=t+r;return Rn(e,s,o)?zw(e,s+1,i?n.call(i,o):n(o)):dI(e,s+1)}var Ni=(()=>{let t=class t{log(n){console.log(n)}warn(n){console.warn(n)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})(),Ba=class{constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}},kc=(()=>{let t=class t{compileModuleSync(n){return new Ua(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Gd(n),s=Vf(i.declarations).reduce((a,c)=>{let u=Je(c);return u&&a.push(new ir(u)),a},[]);return new Ba(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Yt=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Lc=new M(""),Er=new M(""),Ri=(()=>{let t=class t{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,jc||(hI(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};t.\u0275fac=function(o){return new(o||t)(b(V),b(Oi),b(Er))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Oi=(()=>{let t=class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return jc?.findTestabilityInTree(this,n,o)??null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();function hI(e){jc=e}var jc,hp=new M("Application Initializer"),pp=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=g(hp,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(wr(s))n.push(s);else if(sp(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),On=new M("appBootstrapListener");function pI(){al(()=>{throw new E(600,!1)})}function gI(e){return e.isBoundToModule}function mI(e,t,r){try{let n=r();return wr(n)?n.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}var at=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(gh),this.afterRenderEffectManager=g(bc),this.componentTypes=[],this.components=[],this.isStable=g(Yt).hasPendingTasks.pipe(N(n=>!n)),this._injector=g(me)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Qo;if(!this._injector.get(pp).done){let h=!i&&zd(n),p=!1;throw new E(405,p)}let a;i?a=n:a=this._injector.get(Di).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=gI(a)?void 0:this._injector.get(vt),u=o||a.selector,l=a.create(it.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Lc,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Ws(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{try{let n=this.afterRenderEffectManager.execute()}catch(n){this.internalErrorHandler(n)}this._runningTick=!1}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Ws(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(On,[]);[...this._bootstrapListeners,...o].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ws(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ws(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var _o;function Vc(e){_o??=new WeakMap;let t=_o.get(e);if(t)return t;let r=e.isStable.pipe(Oe(n=>n)).toPromise().then(()=>{});return _o.set(e,r),e.onDestroy(()=>_o?.delete(e)),r}var vI=(()=>{let t=class t{constructor(){this.zone=g(V),this.applicationRef=g(at)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function yI(e){return[{provide:V,useFactory:e},{provide:Vt,multi:!0,useFactory:()=>{let t=g(vI,{optional:!0});return()=>t.initialize()}},{provide:Vt,multi:!0,useFactory:()=>{let t=g(II);return()=>{t.initialize()}}},{provide:gh,useFactory:DI}]}function DI(){let e=g(V),t=g(rt);return r=>e.runOutsideAngular(()=>t.handleError(r))}function wI(e){let t=yI(()=>new V(EI(e)));return wt([[],t])}function EI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var II=(()=>{let t=class t{constructor(){this.subscription=new G,this.initialized=!1,this.zone=g(V),this.pendingTasks=g(Yt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{V.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{V.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function CI(){return typeof $localize<"u"&&$localize.locale||ri}var $c=new M("LocaleId",{providedIn:"root",factory:()=>g($c,P.Optional|P.SkipSelf)||CI()});var gp=new M("PlatformDestroyListeners");var ko=null;function bI(e=[],t){return it.create({name:t,providers:[{provide:fi,useValue:"platform"},{provide:gp,useValue:new Set([()=>ko=null])},...e]})}function MI(e=[]){if(ko)return ko;let t=bI(e);return ko=t,pI(),TI(t),t}function TI(e){e.get(lc,null)?.forEach(r=>r())}function oR(){return!1}var mp=(()=>{let t=class t{constructor(n){}};t.\u0275fac=function(o){return new(o||t)(b(at))},t.\u0275mod=zt({type:t}),t.\u0275inj=Ht({});let e=t;return e})();function vp(e){try{let{rootComponent:t,appProviders:r,platformProviders:n}=e,o=MI(n),i=[wI(),...r||[]],a=new oi({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(V);return c.run(()=>{a.resolveInjectorInitializers();let u=a.get(rt,null),l;c.runOutsideAngular(()=>{l=c.onError.subscribe({next:h=>{u.handleError(h)}})});let d=()=>a.destroy(),f=o.get(gp);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),mI(u,c,()=>{let h=a.get(pp);return h.runInitializers(),h.donePromise.then(()=>{let p=a.get($c,ri);VE(p||ri);let w=a.get(at);return t!==void 0&&w.bootstrap(t),w})})})}catch(t){return Promise.reject(t)}}var xd=!1;function SI(){xd||(xd=!0,iD(),PE(),oI(),LE(),Ww(),Hw(),kw(),xD())}function xI(e,t){return Vc(e)}function yp(){return wt([{provide:So,useFactory:()=>{let e=!0;return Dn()&&(e=!!g(qt,{optional:!0})?.get(ch,null)),e&&Wt("NgHydration"),e}},{provide:Vt,useValue:()=>{Dn()&&g(So)&&(AI(),SI())},multi:!0},{provide:vh,useFactory:()=>Dn()&&g(So)},{provide:On,useFactory:()=>{if(Dn()&&g(So)){let e=g(at),t=g(it);return()=>{xI(e,t).then(()=>{V.assertInAngularZone(),xw(e)})}}return()=>{}},multi:!0}])}function AI(){let e=hi(),t;for(let r of e.body.childNodes)if(r.nodeType===Node.COMMENT_NODE&&r.textContent?.trim()===rD){t=r;break}if(!t)throw new E(-507,!1)}function Ir(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Bc=null;function Kt(){return Bc}function bp(e){Bc||(Bc=e)}var Fi=class{},de=new M("DocumentToken"),Mp=(()=>{let t=class t{historyGo(n){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>g(_I),providedIn:"platform"});let e=t;return e})();var _I=(()=>{let t=class t extends Mp{constructor(){super(),this._doc=g(de),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kt().getBaseHref(this._doc)}onPopState(n){let o=Kt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Kt().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Tp(e,t){if(e.length==0)return t;if(t.length==0)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,r==2?e+t.substring(1):r==1?e+t:e+"/"+t}function Dp(e){let t=e.match(/#|\?|$/),r=t&&t.index||e.length,n=r-(e[r-1]==="/"?1:0);return e.slice(0,n)+e.slice(r)}function Qt(e){return e&&e[0]!=="?"?"?"+e:e}var Fn=(()=>{let t=class t{historyGo(n){throw new Error("Not implemented")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>g(Sp),providedIn:"root"});let e=t;return e})(),NI=new M("appBaseHref"),Sp=(()=>{let t=class t extends Fn{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(de).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Tp(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Qt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Qt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Qt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};t.\u0275fac=function(o){return new(o||t)(b(Mp),b(NI,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Cr=(()=>{let t=class t{constructor(n){this._subject=new xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=PI(Dp(wp(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+Qt(o))}normalize(n){return t.stripTrailingSlash(OI(this._basePath,wp(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Qt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};t.normalizeQueryParams=Qt,t.joinWithSlash=Tp,t.stripTrailingSlash=Dp,t.\u0275fac=function(o){return new(o||t)(b(Fn))},t.\u0275prov=C({token:t,factory:()=>RI(),providedIn:"root"});let e=t;return e})();function RI(){return new Cr(b(Fn))}function OI(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return r===""||["/",";","?","#"].includes(r[0])?r:t}function wp(e){return e.replace(/\/index.html$/,"")}function PI(e){if(new RegExp("^(https?:)?//").test(e)){let[,r]=e.split(/\/\/[^\/]+/);return r}return e}function ki(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Uc=/\s+/,Ep=[],_R=(()=>{let t=class t{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Ep,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Uc):Ep}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Uc):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Uc).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(ve(st),ve(yr))},t.\u0275dir=xn({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Ae.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var NR=(()=>{let t=class t{constructor(n,o){this._viewContainer=n,this._context=new Hc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Ip("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Ip("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};t.\u0275fac=function(o){return new(o||t)(ve(Zt),ve(Sn))},t.\u0275dir=xn({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),Hc=class{constructor(){this.$implicit=null,this.ngIf=null}};function Ip(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${ce(t)}'.`)}var xp=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=zt({type:t}),t.\u0275inj=Ht({});let e=t;return e})(),zc="browser",FI="server";function RR(e){return e===zc}function Gc(e){return e===FI}var Pn=class{};var Mr=class{},Tr=class{},Ge=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+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((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,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(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new e;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(t.name,r);let o=(t.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=t.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(t,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var Zc=class{encodeKey(t){return _p(t)}encodeValue(t){return _p(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function LI(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var jI=/%(\d[a-f0-9])/gi,VI={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _p(e){return encodeURIComponent(e).replace(jI,(t,r)=>VI[r]??t)}function Li(e){return`${e}`}var Ct=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Zc,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=LI(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let n=t.fromObject[r],o=Array.isArray(n)?n.map(Li):[Li(n)];this.map.set(r,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(n=>{let o=t[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new e({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Li(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let n=this.map.get(t.param)||[],o=n.indexOf(Li(t.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Yc=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function $I(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Np(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Rp(e){return typeof Blob<"u"&&e instanceof Blob}function Op(e){return typeof FormData<"u"&&e instanceof FormData}function UI(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var br=class e{constructor(t,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if($I(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers||(this.headers=new Ge),this.context||(this.context=new Yc),!this.params)this.params=new Ct,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:Np(this.body)||Rp(this.body)||Op(this.body)||UI(this.body)||typeof this.body=="string"?this.body:this.body instanceof Ct?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Op(this.body)?null:Rp(this.body)?this.body.type||null:Np(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Ct?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,o=t.responseType||this.responseType,i=t.body!==void 0?t.body:this.body,s=t.withCredentials!==void 0?t.withCredentials:this.withCredentials,a=t.reportProgress!==void 0?t.reportProgress:this.reportProgress,c=t.headers||this.headers,u=t.params||this.params,l=t.context??this.context;return t.setHeaders!==void 0&&(c=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new e(r,n,i,{params:u,headers:c,context:l,reportProgress:a,responseType:o,withCredentials:s})}},bt=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}(bt||{}),Sr=class{constructor(t,r=xr.Ok,n="OK"){this.headers=t.headers||new Ge,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Vi=class e extends Sr{constructor(t={}){super(t),this.type=bt.ResponseHeader}clone(t={}){return new e({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})}},Jt=class e extends Sr{constructor(t={}){super(t),this.type=bt.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})}},It=class extends Sr{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},xr=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(xr||{});function qc(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var BI=(()=>{let t=class t{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof br)s=n;else{let u;i.headers instanceof Ge?u=i.headers:u=new Ge(i.headers);let l;i.params&&(i.params instanceof Ct?l=i.params:l=new Ct({fromObject:i.params})),s=new br(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=T(s).pipe(dt(u=>this.handler.handle(u)));if(n instanceof br||i.observe==="events")return a;let c=a.pipe(De(u=>u instanceof Jt));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(N(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(N(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(N(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new Ct().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,qc(i,o))}post(n,o,i={}){return this.request("POST",n,qc(i,o))}put(n,o,i={}){return this.request("PUT",n,qc(i,o))}};t.\u0275fac=function(o){return new(o||t)(b(Mr))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),HI=/^\)\]\}',?\n/,zI="X-Request-URL";function Pp(e){if(e.url)return e.url;let t=zI.toLocaleLowerCase();return e.headers.get(t)}var Wc=(()=>{let t=class t{constructor(){this.fetchImpl=g(Qc,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(V)}handle(n){return new x(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(Kc,s=>o.error(new It({error:s}))),()=>i.abort()})}doRequest(n,o,i){return is(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.fetchImpl(n.urlWithParams,y({signal:o},s));GI(p),i.next({type:bt.Sent}),a=yield p}catch(p){i.error(new It({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let c=new Ge(a.headers),u=a.statusText,l=Pp(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&i.next(new Vi({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),w=[],v=a.body.getReader(),m=0,U,ne,L=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>is(this,null,function*(){for(;;){let{done:J,value:Ze}=yield v.read();if(J)break;if(w.push(Ze),m+=Ze.length,n.reportProgress){ne=n.responseType==="text"?(ne??"")+(U??=new TextDecoder).decode(Ze,{stream:!0}):void 0;let Yr=()=>i.next({type:bt.DownloadProgress,total:p?+p:void 0,loaded:m,partialText:ne});L?L.run(Yr):Yr()}}}));let re=this.concatChunks(w,m);try{let J=a.headers.get("Content-Type")??"";f=this.parseBody(n,re,J)}catch(J){i.error(new It({error:J,headers:new Ge(a.headers),status:a.status,statusText:a.statusText,url:Pp(a)??n.urlWithParams}));return}}d===0&&(d=f?xr.Ok:0),d>=200&&d<300?(i.next(new Jt({body:f,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new It({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(HI,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),o.Accept??="application/json, text/plain, */*",!o["Content-Type"]){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Qc=class{};function Kc(){}function GI(e){e.then(Kc,Kc)}function zp(e,t){return t(e)}function qI(e,t){return(r,n)=>t.intercept(r,{handle:o=>e(o,n)})}function WI(e,t,r){return(n,o)=>ot(r,()=>t(n,i=>e(i,o)))}var ZI=new M(""),Jc=new M(""),Gp=new M(""),qp=new M("");function YI(){let e=null;return(t,r)=>{e===null&&(e=(g(ZI,{optional:!0})??[]).reduceRight(qI,zp));let n=g(Yt),o=n.add();return e(t,r).pipe(ht(()=>n.remove(o)))}}var Fp=(()=>{let t=class t extends Mr{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(Yt);let i=g(qp,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Jc),...this.injector.get(Gp,[])]));this.chain=i.reduceRight((s,a)=>WI(s,a,this.injector),zp)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(ht(()=>this.pendingTasks.remove(o)))}};t.\u0275fac=function(o){return new(o||t)(b(Tr),b(me))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})();var QI=/^\)\]\}',?\n/;function KI(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var kp=(()=>{let t=class t{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new E(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?B(o.\u0275loadImpl()):T(null)).pipe(we(()=>new x(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((v,m)=>a.setRequestHeader(v,m.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let v=n.detectContentTypeHeader();v!==null&&a.setRequestHeader("Content-Type",v)}if(n.responseType){let v=n.responseType.toLowerCase();a.responseType=v!=="json"?v:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let v=a.statusText||"OK",m=new Ge(a.getAllResponseHeaders()),U=KI(a)||n.url;return u=new Vi({headers:m,status:a.status,statusText:v,url:U}),u},d=()=>{let{headers:v,status:m,statusText:U,url:ne}=l(),L=null;m!==xr.NoContent&&(L=typeof a.response>"u"?a.responseText:a.response),m===0&&(m=L?xr.Ok:0);let re=m>=200&&m<300;if(n.responseType==="json"&&typeof L=="string"){let J=L;L=L.replace(QI,"");try{L=L!==""?JSON.parse(L):null}catch(Ze){L=J,re&&(re=!1,L={error:Ze,text:L})}}re?(s.next(new Jt({body:L,headers:v,status:m,statusText:U,url:ne||void 0})),s.complete()):s.error(new It({error:L,headers:v,status:m,statusText:U,url:ne||void 0}))},f=v=>{let{url:m}=l(),U=new It({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:m||void 0});s.error(U)},h=!1,p=v=>{h||(s.next(l()),h=!0);let m={type:bt.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(m.total=v.total),n.responseType==="text"&&a.responseText&&(m.partialText=a.responseText),s.next(m)},w=v=>{let m={type:bt.UploadProgress,loaded:v.loaded};v.lengthComputable&&(m.total=v.total),s.next(m)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",w)),a.send(c),s.next({type:bt.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",w)),a.readyState!==a.DONE&&a.abort()}})))}};t.\u0275fac=function(o){return new(o||t)(b(Pn))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Wp=new M("XSRF_ENABLED"),JI="XSRF-TOKEN",XI=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>JI}),eC="X-XSRF-TOKEN",tC=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>eC}),$i=class{},nC=(()=>{let t=class t{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ki(n,this.cookieName),this.lastCookieString=n),this.lastToken}};t.\u0275fac=function(o){return new(o||t)(b(de),b(ze),b(XI))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})();function rC(e,t){let r=e.url.toLowerCase();if(!g(Wp)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let n=g($i).getToken(),o=g(tC);return n!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,n)})),t(e)}var Xc=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Xc||{});function Zp(e,t){return{\u0275kind:e,\u0275providers:t}}function zR(...e){let t=[BI,kp,Fp,{provide:Mr,useExisting:Fp},{provide:Tr,useExisting:kp},{provide:Jc,useValue:rC,multi:!0},{provide:Wp,useValue:!0},{provide:$i,useClass:nC}];for(let r of e)t.push(...r.\u0275providers);return wt(t)}var Lp=new M("LEGACY_INTERCEPTOR_FN");function GR(){return Zp(Xc.LegacyInterceptors,[{provide:Lp,useFactory:YI},{provide:Jc,useExisting:Lp,multi:!0}])}function qR(){return Zp(Xc.Fetch,[Wc,{provide:Tr,useExisting:Wc},{provide:qp,useExisting:Wc}])}var jp="b",Vp="h",$p="s",Up="st",Bp="u",Hp="rt",ji=new M(""),oC=["GET","HEAD"];function iC(e,t){let l=g(ji),{isCacheActive:r}=l,n=el(l,["isCacheActive"]),{transferCache:o,method:i}=e;if(!r||i==="POST"&&!n.includePostRequests&&!o||i!=="POST"&&!oC.includes(i)||o===!1||n.filter?.(e)===!1)return t(e);let s=g(qt),a=aC(e),c=s.get(a,null),u=n.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(u=o.includeHeaders),c){let{[jp]:d,[Hp]:f,[Vp]:h,[$p]:p,[Up]:w,[Bp]:v}=c,m=d;switch(f){case"arraybuffer":m=new TextEncoder().encode(d).buffer;break;case"blob":m=new Blob([d]);break}let U=new Ge(h);return T(new Jt({body:m,headers:U,status:p,statusText:w,url:v}))}return t(e).pipe(W(d=>{d instanceof Jt&&s.set(a,{[jp]:d.body,[Vp]:sC(d.headers,u),[$p]:d.status,[Up]:d.statusText,[Bp]:d.url||"",[Hp]:e.responseType})}))}function sC(e,t){if(!t)return{};let r={};for(let n of t){let o=e.getAll(n);o!==null&&(r[n]=o)}return r}function aC(e){let{params:t,method:r,responseType:n,url:o}=e,i=t.keys().sort().map(c=>`${c}=${t.getAll(c)}`).join("&"),s=r+"."+n+"."+o+"?"+i,a=cC(s);return a}function cC(e){let t=0;for(let r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function Yp(e){return[{provide:ji,useFactory:()=>(Wt("NgHttpTransferCache"),y({isCacheActive:!0},e))},{provide:Gp,useValue:iC,multi:!0,deps:[qt,ji]},{provide:On,multi:!0,useFactory:()=>{let t=g(at),r=g(ji);return()=>{Vc(t).then(()=>{r.isCacheActive=!1})}}}]}var nu=class extends Fi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ru=class e extends nu{static makeCurrent(){bp(new e)}onAndCancel(t,r,n){return t.addEventListener(r,n),()=>{t.removeEventListener(r,n)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.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,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=lC();return r==null?null:dC(r)}resetBaseElement(){Ar=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ki(document.cookie,t)}},Ar=null;function lC(){return Ar=Ar||document.querySelector("base"),Ar?Ar.getAttribute("href"):null}function dC(e){return new URL(e,document.baseURI).pathname}var ou=class{addToWindow(t){ge.getAngularTestability=(n,o=!0)=>{let i=t.findTestabilityInTree(n,o);if(i==null)throw new E(5103,!1);return i},ge.getAllAngularTestabilities=()=>t.getAllTestabilities(),ge.getAllAngularRootElements=()=>t.getAllRootElements();let r=n=>{let o=ge.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(r)}findTestabilityInTree(t,r,n){if(r==null)return null;let o=t.getTestability(r);return o??(n?Kt().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null)}},fC=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),iu=new M("EventManagerPlugins"),Xp=(()=>{let t=class t{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new E(5101,!1);return this._eventNameToPlugin.set(n,o),o}};t.\u0275fac=function(o){return new(o||t)(b(iu),b(V))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Ui=class{constructor(t){this._doc=t}},eu="ng-app-id",eg=(()=>{let t=class t{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Gc(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${eu}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(eu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(eu,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};t.\u0275fac=function(o){return new(o||t)(b(de),b(mr),b(dc,8),b(ze))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),tu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},cu=/%COMP%/g,tg="%COMP%",hC=`_nghost-${tg}`,pC=`_ngcontent-${tg}`,gC=!0,mC=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>gC});function vC(e){return pC.replace(cu,e)}function yC(e){return hC.replace(cu,e)}function ng(e,t){return t.map(r=>r.replace(cu,e))}var Qp=(()=>{let t=class t{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Gc(c),this.defaultRenderer=new _r(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Be.ShadowDom&&(o=q(y({},o),{encapsulation:Be.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Bi?i.applyToHost(n):i instanceof Nr&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Be.Emulated:s=new Bi(u,l,o,this.appId,d,a,c,f);break;case Be.ShadowDom:return new su(u,l,n,o,a,c,this.nonce,f);default:s=new Nr(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)(b(Xp),b(eg),b(mr),b(mC),b(de),b(ze),b(V),b(dc))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),_r=class{constructor(t,r,n,o){this.eventManager=t,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(tu[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(Kp(t)?t.content:t).appendChild(r)}insertBefore(t,r,n){t&&(Kp(t)?t.content:t).insertBefore(r,n)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let n=typeof t=="string"?this.doc.querySelector(t):t;if(!n)throw new E(-5104,!1);return r||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,n,o){if(o){r=o+":"+r;let i=tu[o];i?t.setAttributeNS(i,r,n):t.setAttribute(r,n)}else t.setAttribute(r,n)}removeAttribute(t,r,n){if(n){let o=tu[n];o?t.removeAttributeNS(o,r):t.removeAttribute(`${n}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,n,o){o&(nt.DashCase|nt.Important)?t.style.setProperty(r,n,o&nt.Important?"important":""):t.style[r]=n}removeStyle(t,r,n){n&nt.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,n){t!=null&&(t[r]=n)}setValue(t,r){t.nodeValue=r}listen(t,r,n){if(typeof t=="string"&&(t=Kt().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(n))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function Kp(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var su=class extends _r{constructor(t,r,n,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=ng(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,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,n){return super.insertBefore(this.nodeOrShadowRoot(t),r,n)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Nr=class extends _r{constructor(t,r,n,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?ng(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Bi=class extends Nr{constructor(t,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(t,r,n,i,s,a,c,u),this.contentAttr=vC(u),this.hostAttr=yC(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let n=super.createElement(t,r);return super.setAttribute(n,this.contentAttr,""),n}},DC=(()=>{let t=class t extends Ui{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};t.\u0275fac=function(o){return new(o||t)(b(de))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})(),Jp=["alt","control","meta","shift"],wC={"\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"},EC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},IC=(()=>{let t=class t extends Ui{constructor(n){super(n)}supports(n){return t.parseEventName(n)!=null}addEventListener(n,o,i){let s=t.parseEventName(o),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Jp.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=wC[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Jp.forEach(a=>{if(a!==i){let c=EC[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{t.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};t.\u0275fac=function(o){return new(o||t)(b(de))},t.\u0275prov=C({token:t,factory:t.\u0275fac});let e=t;return e})();function fO(e,t){return vp(y({rootComponent:e},CC(t)))}function CC(e){return{appProviders:[...rg,...e?.providers??[]],platformProviders:SC}}function bC(){ru.makeCurrent()}function MC(){return new rt}function TC(){return jf(document),document}var SC=[{provide:ze,useValue:zc},{provide:lc,useValue:bC,multi:!0},{provide:de,useFactory:TC,deps:[]}];var xC=new M(""),AC=[{provide:Er,useClass:ou,deps:[]},{provide:Lc,useClass:Ri,deps:[V,Oi,Er]},{provide:Ri,useClass:Ri,deps:[V,Oi,Er]}],rg=[{provide:fi,useValue:"root"},{provide:rt,useFactory:MC,deps:[]},{provide:iu,useClass:DC,multi:!0,deps:[de,V,ze]},{provide:iu,useClass:IC,multi:!0,deps:[de]},Qp,eg,Xp,{provide:or,useExisting:Qp},{provide:Pn,useClass:fC,deps:[]},[]],hO=(()=>{let t=class t{constructor(n){}static withServerTransition(n){return{ngModule:t,providers:[{provide:mr,useValue:n.appId}]}}};t.\u0275fac=function(o){return new(o||t)(b(xC,12))},t.\u0275mod=zt({type:t}),t.\u0275inj=Ht({providers:[...rg,...AC],imports:[xp,mp]});let e=t;return e})();function _C(){return new uu(b(de))}var uu=(()=>{let t=class t{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};t.\u0275fac=function(o){return new(o||t)(b(de))},t.\u0275prov=C({token:t,factory:function(o){let i=null;return o?i=new o:i=_C(),i},providedIn:"root"});let e=t;return e})();var au=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e}(au||{});function pO(...e){let t=[],r=new Set,n=r.has(au.HttpTransferCacheOptions);for(let{\u0275providers:o,\u0275kind:i}of e)r.add(i),o.length&&t.push(o);return wt([[],yp(),r.has(au.NoHttpTransferCache)||n?[]:Yp({}),t])}var _="primary",qr=Symbol("RouteTitle"),pu=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function $n(e){return new pu(e)}function RC(e,t,r){let n=r.path.split("/");if(n.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||n.length<e.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=e[i];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,n.length),posParams:o}}function OC(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!qe(e[r],t[r]))return!1;return!0}function qe(e,t){let r=e?gu(e):void 0,n=t?gu(t):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!ug(e[o],t[o]))return!1;return!0}function gu(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function ug(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let r=[...e].sort(),n=[...t].sort();return r.every((o,i)=>n[i]===o)}else return e===t}function lg(e){return e.length>0?e[e.length-1]:null}function xt(e){return Is(e)?e:wr(e)?B(Promise.resolve(e)):T(e)}var PC={exact:fg,subset:hg},dg={exact:FC,subset:kC,ignored:()=>!0};function og(e,t,r){return PC[r.paths](e.root,t.root,r.matrixParams)&&dg[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function FC(e,t){return qe(e,t)}function fg(e,t,r){if(!en(e.segments,t.segments)||!Gi(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let n in t.children)if(!e.children[n]||!fg(e.children[n],t.children[n],r))return!1;return!0}function kC(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>ug(e[r],t[r]))}function hg(e,t,r){return pg(e,t,t.segments,r)}function pg(e,t,r,n){if(e.segments.length>r.length){let o=e.segments.slice(0,r.length);return!(!en(o,r)||t.hasChildren()||!Gi(o,r,n))}else if(e.segments.length===r.length){if(!en(e.segments,r)||!Gi(e.segments,r,n))return!1;for(let o in t.children)if(!e.children[o]||!hg(e.children[o],t.children[o],n))return!1;return!0}else{let o=r.slice(0,e.segments.length),i=r.slice(e.segments.length);return!en(e.segments,o)||!Gi(e.segments,o,n)||!e.children[_]?!1:pg(e.children[_],t,i,n)}}function Gi(e,t,r){return t.every((n,o)=>dg[r](e[o].parameters,n.parameters))}var Mt=class{constructor(t=new k([],{}),r={},n=null){this.root=t,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=$n(this.queryParams),this._queryParamMap}toString(){return VC.serialize(this)}},k=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qi(this)}},Xt=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=$n(this.parameters),this._parameterMap}toString(){return mg(this)}};function LC(e,t){return en(e,t)&&e.every((r,n)=>qe(r.parameters,t[n].parameters))}function en(e,t){return e.length!==t.length?!1:e.every((r,n)=>r.path===t[n].path)}function jC(e,t){let r=[];return Object.entries(e.children).forEach(([n,o])=>{n===_&&(r=r.concat(t(o,n)))}),Object.entries(e.children).forEach(([n,o])=>{n!==_&&(r=r.concat(t(o,n)))}),r}var Uu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>new Zi,providedIn:"root"});let e=t;return e})(),Zi=class{parse(t){let r=new vu(t);return new Mt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Rr(t.root,!0)}`,n=BC(t.queryParams),o=typeof t.fragment=="string"?`#${$C(t.fragment)}`:"";return`${r}${n}${o}`}},VC=new Zi;function qi(e){return e.segments.map(t=>mg(t)).join("/")}function Rr(e,t){if(!e.hasChildren())return qi(e);if(t){let r=e.children[_]?Rr(e.children[_],!1):"",n=[];return Object.entries(e.children).forEach(([o,i])=>{o!==_&&n.push(`${o}:${Rr(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=jC(e,(n,o)=>o===_?[Rr(e.children[_],!1)]:[`${o}:${Rr(n,!1)}`]);return Object.keys(e.children).length===1&&e.children[_]!=null?`${qi(e)}/${r[0]}`:`${qi(e)}/(${r.join("//")})`}}function gg(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hi(e){return gg(e).replace(/%3B/gi,";")}function $C(e){return encodeURI(e)}function mu(e){return gg(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wi(e){return decodeURIComponent(e)}function ig(e){return Wi(e.replace(/\+/g,"%20"))}function mg(e){return`${mu(e.path)}${UC(e.parameters)}`}function UC(e){return Object.entries(e).map(([t,r])=>`;${mu(t)}=${mu(r)}`).join("")}function BC(e){let t=Object.entries(e).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Hi(r)}=${Hi(o)}`).join("&"):`${Hi(r)}=${Hi(n)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var HC=/^[^\/()?;#]+/;function lu(e){let t=e.match(HC);return t?t[0]:""}var zC=/^[^\/()?;=#]+/;function GC(e){let t=e.match(zC);return t?t[0]:""}var qC=/^[^=?&#]+/;function WC(e){let t=e.match(qC);return t?t[0]:""}var ZC=/^[^&#]+/;function YC(e){let t=e.match(ZC);return t?t[0]:""}var vu=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new k([],{}):new k([],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 r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(n[_]=new k(t,r)),n}parseSegment(){let t=lu(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new Xt(Wi(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=GC(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=lu(this.remaining);o&&(n=o,this.capture(n))}t[Wi(r)]=Wi(n)}parseQueryParam(t){let r=WC(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=YC(this.remaining);s&&(n=s,this.capture(n))}let o=ig(r),i=ig(n);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 r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=lu(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new E(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[_]:new k([],s),this.consumeOptional("//")}return r}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 E(4011,!1)}};function vg(e){return e.segments.length>0?new k([],{[_]:e}):e}function yg(e){let t={};for(let[n,o]of Object.entries(e.children)){let i=yg(o);if(n===_&&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[n]=i)}let r=new k(e.segments,t);return QC(r)}function QC(e){if(e.numberOfChildren===1&&e.children[_]){let t=e.children[_];return new k(e.segments.concat(t.segments),t.children)}return e}function Un(e){return e instanceof Mt}function KC(e,t,r=null,n=null){let o=Dg(e);return wg(o,t,r,n)}function Dg(e){let t;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new k(i.url,s);return i===e&&(t=a),a}let n=r(e.root),o=vg(n);return t??o}function wg(e,t,r,n){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return du(o,o,o,r,n);let i=JC(t);if(i.toRoot())return du(o,o,new k([],{}),r,n);let s=XC(i,o,e),a=s.processChildren?Fr(s.segmentGroup,s.index,i.commands):Ig(s.segmentGroup,s.index,i.commands);return du(o,s.segmentGroup,a,r,n)}function Yi(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function jr(e){return typeof e=="object"&&e!=null&&e.outlets}function du(e,t,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=r:s=Eg(e,t,r);let a=vg(yg(s));return new Mt(a,i,o)}function Eg(e,t,r){let n={};return Object.entries(e.children).forEach(([o,i])=>{i===t?n[o]=r:n[o]=Eg(i,t,r)}),new k(e.segments,n)}var Qi=class{constructor(t,r,n){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=n,t&&n.length>0&&Yi(n[0]))throw new E(4003,!1);let o=n.find(jr);if(o&&o!==lg(n))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function JC(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Qi(!0,0,e);let t=0,r=!1,n=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===""?r=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Qi(r,t,n)}var jn=class{constructor(t,r,n){this.segmentGroup=t,this.processChildren=r,this.index=n}};function XC(e,t,r){if(e.isAbsolute)return new jn(t,!0,0);if(!r)return new jn(t,!1,NaN);if(r.parent===null)return new jn(r,!0,0);let n=Yi(e.commands[0])?0:1,o=r.segments.length-1+n;return eb(r,o,e.numberOfDoubleDots)}function eb(e,t,r){let n=e,o=t,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new E(4005,!1);o=n.segments.length}return new jn(n,!1,o-i)}function tb(e){return jr(e[0])?e[0].outlets:{[_]:e}}function Ig(e,t,r){if(e??=new k([],{}),e.segments.length===0&&e.hasChildren())return Fr(e,t,r);let n=nb(e,t,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<e.segments.length){let i=new k(e.segments.slice(0,n.pathIndex),{});return i.children[_]=new k(e.segments.slice(n.pathIndex),e.children),Fr(i,0,o)}else return n.match&&o.length===0?new k(e.segments,{}):n.match&&!e.hasChildren()?yu(e,t,r):n.match?Fr(e,0,o):yu(e,t,r)}function Fr(e,t,r){if(r.length===0)return new k(e.segments,{});{let n=tb(r),o={};if(Object.keys(n).some(i=>i!==_)&&e.children[_]&&e.numberOfChildren===1&&e.children[_].segments.length===0){let i=Fr(e.children[_],t,r);return new k(e.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Ig(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new k(e.segments,o)}}function nb(e,t,r){let n=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(n>=r.length)return i;let s=e.segments[o],a=r[n];if(jr(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ag(c,u,s))return i;n+=2}else{if(!ag(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function yu(e,t,r){let n=e.segments.slice(0,t),o=0;for(;o<r.length;){let i=r[o];if(jr(i)){let c=rb(i.outlets);return new k(n,c)}if(o===0&&Yi(r[0])){let c=e.segments[t];n.push(new Xt(c.path,sg(r[0]))),o++;continue}let s=jr(i)?i.outlets[_]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&Yi(a)?(n.push(new Xt(s,sg(a))),o+=2):(n.push(new Xt(s,{})),o++)}return new k(n,{})}function rb(e){let t={};return Object.entries(e).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(t[r]=yu(new k([],{}),0,n))}),t}function sg(e){let t={};return Object.entries(e).forEach(([r,n])=>t[r]=`${n}`),t}function ag(e,t,r){return e==r.path&&qe(t,r.parameters)}var kr="imperative",te=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}(te||{}),Ne=class{constructor(t,r){this.id=t,this.url=r}},Vr=class extends Ne{constructor(t,r,n="imperative",o=null){super(t,r),this.type=te.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Tt=class extends Ne{constructor(t,r,n){super(t,r),this.urlAfterRedirects=n,this.type=te.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},_e=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(_e||{}),Du=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Du||{}),St=class extends Ne{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=te.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},tn=class extends Ne{constructor(t,r,n,o){super(t,r),this.reason=n,this.code=o,this.type=te.NavigationSkipped}},$r=class extends Ne{constructor(t,r,n,o){super(t,r),this.error=n,this.target=o,this.type=te.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ki=class extends Ne{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=te.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wu=class extends Ne{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=te.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Eu=class extends Ne{constructor(t,r,n,o,i){super(t,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=te.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Iu=class extends Ne{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=te.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cu=class extends Ne{constructor(t,r,n,o){super(t,r),this.urlAfterRedirects=n,this.state=o,this.type=te.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bu=class{constructor(t){this.route=t,this.type=te.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Mu=class{constructor(t){this.route=t,this.type=te.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Tu=class{constructor(t){this.snapshot=t,this.type=te.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Su=class{constructor(t){this.snapshot=t,this.type=te.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xu=class{constructor(t){this.snapshot=t,this.type=te.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Au=class{constructor(t){this.snapshot=t,this.type=te.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ur=class{},Br=class{constructor(t){this.url=t}};var _u=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new rs,this.attachRef=null}},rs=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new _u,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ji=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=Nu(t,this._root);return r?r.children.map(n=>n.value):[]}firstChild(t){let r=Nu(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=Ru(t,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ru(t,this._root).map(r=>r.value)}};function Nu(e,t){if(e===t.value)return t;for(let r of t.children){let n=Nu(e,r);if(n)return n}return null}function Ru(e,t){if(e===t.value)return[t];for(let r of t.children){let n=Ru(e,r);if(n.length)return n.unshift(t),n}return[]}var Me=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ln(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var Xi=class extends Ji{constructor(t,r){super(t),this.snapshot=r,Hu(this,t)}toString(){return this.snapshot.toString()}};function Cg(e){let t=ob(e),r=new X([new Xt("",{})]),n=new X({}),o=new X({}),i=new X({}),s=new X(""),a=new nn(r,n,i,s,o,_,e,t.root);return a.snapshot=t.root,new Xi(new Me(a,[]),t)}function ob(e){let t={},r={},n={},o="",i=new Hr([],t,n,o,r,_,e,null,{});return new es("",new Me(i,[]))}var nn=class{constructor(t,r,n,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(N(u=>u[qr]))??T(void 0),this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(N(t=>$n(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(N(t=>$n(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Bu(e,t,r="emptyOnly"){let n,{routeConfig:o}=e;return t!==null&&(r==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?n={params:y(y({},t.params),e.params),data:y(y({},t.data),e.data),resolve:y(y(y(y({},e.data),t.data),o?.data),e._resolvedData)}:n={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&Mg(o)&&(n.resolve[qr]=o.title),n}var Hr=class{get title(){return this.data?.[qr]}constructor(t,r,n,o,i,s,a,c,u){this.url=t,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=$n(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$n(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},es=class extends Ji{constructor(t,r){super(r),this.url=t,Hu(this,r)}toString(){return bg(this._root)}};function Hu(e,t){t.value._routerState=e,t.children.forEach(r=>Hu(e,r))}function bg(e){let t=e.children.length>0?` { ${e.children.map(bg).join(", ")} } `:"";return`${e.value}${t}`}function fu(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,qe(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),qe(t.params,r.params)||e.paramsSubject.next(r.params),OC(t.url,r.url)||e.urlSubject.next(r.url),qe(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Ou(e,t){let r=qe(e.params,t.params)&&LC(e.url,t.url),n=!e.parent!=!t.parent;return r&&!n&&(!e.parent||Ou(e.parent,t.parent))}function Mg(e){return typeof e.title=="string"||e.title===null}var ib=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=_,this.activateEvents=new xe,this.deactivateEvents=new xe,this.attachEvents=new xe,this.detachEvents=new xe,this.parentContexts=g(rs),this.location=g(Zt),this.changeDetector=g(bi),this.environmentInjector=g(me),this.inputBinder=g(zu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Pu(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275dir=xn({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[fr]});let e=t;return e})(),Pu=class{constructor(t,r,n){this.route=t,this.childContexts=r,this.parent=n}get(t,r){return t===nn?this.route:t===rs?this.childContexts:this.parent.get(t,r)}},zu=new M("");function sb(e,t,r){let n=zr(e,t._root,r?r._root:void 0);return new Xi(n,t)}function zr(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=t.value;let o=ab(e,t,r);return new Me(n,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=>zr(e,a)),s}}let n=cb(t.value),o=t.children.map(i=>zr(e,i));return new Me(n,o)}}function ab(e,t,r){return t.children.map(n=>{for(let o of r.children)if(e.shouldReuseRoute(n.value,o.value.snapshot))return zr(e,n,o);return zr(e,n)})}function cb(e){return new nn(new X(e.url),new X(e.params),new X(e.queryParams),new X(e.fragment),new X(e.data),e.outlet,e.component,e)}var Tg="ngNavigationCancelingError";function Sg(e,t){let{redirectTo:r,navigationBehaviorOptions:n}=Un(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=xg(!1,_e.Redirect,t);return o.url=r,o.navigationBehaviorOptions=n,o}function xg(e,t,r){let n=new Error("NavigationCancelingError: "+(e||""));return n[Tg]=!0,n.cancellationCode=t,r&&(n.url=r),n}function ub(e){return Ag(e)&&Un(e.url)}function Ag(e){return e&&e[Tg]}var lb=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=Hd({type:t,selectors:[["ng-component"]],standalone:!0,features:[fp],decls:1,vars:0,template:function(o,i){o&1&&Rc(0,"router-outlet")},dependencies:[ib],encapsulation:2});let e=t;return e})();function db(e,t){return e.providers&&!e._injector&&(e._injector=Fc(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Gu(e){let t=e.children&&e.children.map(Gu),r=t?q(y({},e),{children:t}):y({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==_&&(r.component=lb),r}function We(e){return e.outlet||_}function fb(e,t){let r=e.filter(n=>We(n)===t);return r.push(...e.filter(n=>We(n)!==t)),r}function Wr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var hb=(e,t,r,n)=>N(o=>(new Fu(t,o.targetRouterState,o.currentRouterState,r,n).activate(e),o)),Fu=class{constructor(t,r,n,o,i){this.routeReuseStrategy=t,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,t),fu(this.futureState.root),this.activateChildRoutes(r,n,t)}deactivateChildRoutes(t,r,n){let o=Ln(r);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(t,r,s.children)}else this.deactivateChildRoutes(t,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Ln(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,r){let n=r.getContext(t.value.outlet),o=n&&t.value.component?n.children:r,i=Ln(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,r,n){let o=Ln(r);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Au(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Su(t.value.snapshot))}activateRoutes(t,r,n){let o=t.value,i=r?r.value:null;if(fu(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(t,r,s.children)}else this.activateChildRoutes(t,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),fu(a.route.value),this.activateChildRoutes(t,null,s.children)}else{let a=Wr(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,n)}},ts=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Vn=class{constructor(t,r){this.component=t,this.route=r}};function pb(e,t,r){let n=e._root,o=t?t._root:null;return Or(n,o,r,[n.value])}function gb(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Hn(e,t){let r=Symbol(),n=t.get(e,r);return n===r?typeof e=="function"&&!Od(e)?e:t.get(e):n}function Or(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Ln(t);return e.children.forEach(s=>{mb(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Lr(a,r.getContext(s),o)),o}function mb(e,t,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=r?r.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=vb(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ts(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Or(e,t,a?a.children:null,n,o):Or(e,t,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Vn(a.outlet.component,s))}else s&&Lr(t,a,o),o.canActivateChecks.push(new ts(n)),i.component?Or(e,null,a?a.children:null,n,o):Or(e,null,r,n,o);return o}function vb(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!en(e.url,t.url);case"pathParamsOrQueryParamsChange":return!en(e.url,t.url)||!qe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ou(e,t)||!qe(e.queryParams,t.queryParams);case"paramsChange":default:return!Ou(e,t)}}function Lr(e,t,r){let n=Ln(e),o=e.value;Object.entries(n).forEach(([i,s])=>{o.component?t?Lr(s,t.children.getContext(i),r):Lr(s,null,r):Lr(s,t,r)}),o.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Vn(t.outlet.component,o)):r.canDeactivateChecks.push(new Vn(null,o)):r.canDeactivateChecks.push(new Vn(null,o))}function Zr(e){return typeof e=="function"}function yb(e){return typeof e=="boolean"}function Db(e){return e&&Zr(e.canLoad)}function wb(e){return e&&Zr(e.canActivate)}function Eb(e){return e&&Zr(e.canActivateChild)}function Ib(e){return e&&Zr(e.canDeactivate)}function Cb(e){return e&&Zr(e.canMatch)}function _g(e){return e instanceof Qe||e?.name==="EmptyError"}var zi=Symbol("INITIAL_VALUE");function Bn(){return we(e=>Io(e.map(t=>t.pipe(Te(1),Ss(zi)))).pipe(N(t=>{for(let r of t)if(r!==!0){if(r===zi)return zi;if(r===!1||r instanceof Mt)return r}return!0}),De(t=>t!==zi),Te(1)))}function bb(e,t){return H(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?T(q(y({},r),{guardsResult:!0})):Mb(s,n,o,e).pipe(H(a=>a&&yb(a)?Tb(n,i,e,t):T(a)),N(a=>q(y({},r),{guardsResult:a})))})}function Mb(e,t,r,n){return B(e).pipe(H(o=>Nb(o.component,o.route,r,t,n)),Oe(o=>o!==!0,!0))}function Tb(e,t,r,n){return B(t).pipe(dt(o=>ut(xb(o.route.parent,n),Sb(o.route,n),_b(e,o.path,r),Ab(e,o.route,r))),Oe(o=>o!==!0,!0))}function Sb(e,t){return e!==null&&t&&t(new xu(e)),T(!0)}function xb(e,t){return e!==null&&t&&t(new Tu(e)),T(!0)}function Ab(e,t,r){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return T(!0);let o=n.map(i=>Co(()=>{let s=Wr(t)??r,a=Hn(i,s),c=wb(a)?a.canActivate(t,e):ot(s,()=>a(t,e));return xt(c).pipe(Oe())}));return T(o).pipe(Bn())}function _b(e,t,r){let n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>gb(s)).filter(s=>s!==null).map(s=>Co(()=>{let a=s.guards.map(c=>{let u=Wr(s.node)??r,l=Hn(c,u),d=Eb(l)?l.canActivateChild(n,e):ot(u,()=>l(n,e));return xt(d).pipe(Oe())});return T(a).pipe(Bn())}));return T(i).pipe(Bn())}function Nb(e,t,r,n,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return T(!0);let s=i.map(a=>{let c=Wr(t)??o,u=Hn(a,c),l=Ib(u)?u.canDeactivate(e,t,r,n):ot(c,()=>u(e,t,r,n));return xt(l).pipe(Oe())});return T(s).pipe(Bn())}function Rb(e,t,r,n){let o=t.canLoad;if(o===void 0||o.length===0)return T(!0);let i=o.map(s=>{let a=Hn(s,e),c=Db(a)?a.canLoad(t,r):ot(e,()=>a(t,r));return xt(c)});return T(i).pipe(Bn(),Ng(n))}function Ng(e){return gs(W(t=>{if(Un(t))throw Sg(e,t)}),N(t=>t===!0))}function Ob(e,t,r,n){let o=t.canMatch;if(!o||o.length===0)return T(!0);let i=o.map(s=>{let a=Hn(s,e),c=Cb(a)?a.canMatch(t,r):ot(e,()=>a(t,r));return xt(c)});return T(i).pipe(Bn(),Ng(n))}var Gr=class{constructor(t){this.segmentGroup=t||null}},ns=class extends Error{constructor(t){super(),this.urlTree=t}};function kn(e){return fn(new Gr(e))}function Pb(e){return fn(new E(4e3,!1))}function Fb(e){return fn(xg(!1,_e.GuardRejected))}var ku=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return T(n);if(o.numberOfChildren>1||!o.children[_])return Pb(t.redirectTo);o=o.children[_]}}applyRedirectCommands(t,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,n);if(r.startsWith("/"))throw new ns(o);return o}applyRedirectCreateUrlTree(t,r,n,o){let i=this.createSegmentGroup(t,r.root,n,o);return new Mt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let n={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i.startsWith(":")){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(t,r,n,o){let i=this.createSegments(t,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,n,o)}),new k(i,s)}createSegments(t,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,n))}findPosParam(t,r,n){let o=n[r.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(t,r){let n=0;for(let o of r){if(o.path===t.path)return r.splice(n),o;n++}return t}},Lu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kb(e,t,r,n,o){let i=qu(e,t,r);return i.matched?(n=db(t,n),Ob(n,t,r,o).pipe(N(s=>s===!0?i:y({},Lu)))):T(i)}function qu(e,t,r){if(t.path==="**")return Lb(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?y({},Lu):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(t.matcher||RC)(r,e,t);if(!o)return y({},Lu);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Lb(e){return{matched:!0,parameters:e.length>0?lg(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function cg(e,t,r,n){return r.length>0&&$b(e,r,n)?{segmentGroup:new k(t,Vb(n,new k(r,e.children))),slicedSegments:[]}:r.length===0&&Ub(e,r,n)?{segmentGroup:new k(e.segments,jb(e,r,n,e.children)),slicedSegments:r}:{segmentGroup:new k(e.segments,e.children),slicedSegments:r}}function jb(e,t,r,n){let o={};for(let i of r)if(os(e,t,i)&&!n[We(i)]){let s=new k([],{});o[We(i)]=s}return y(y({},n),o)}function Vb(e,t){let r={};r[_]=t;for(let n of e)if(n.path===""&&We(n)!==_){let o=new k([],{});r[We(n)]=o}return r}function $b(e,t,r){return r.some(n=>os(e,t,n)&&We(n)!==_)}function Ub(e,t,r){return r.some(n=>os(e,t,n))}function os(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Bb(e,t,r,n){return We(e)!==n&&(n===_||!os(t,r,e))?!1:qu(t,e,r).matched}function Hb(e,t,r){return t.length===0&&!e.children[r]}var ju=class{};function zb(e,t,r,n,o,i,s="emptyOnly"){return new Vu(e,t,r,n,o,s,i).recognize()}var Gb=31,Vu=class{constructor(t,r,n,o,i,s,a){this.injector=t,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ku(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new E(4002,`'${t.segmentGroup}'`)}recognize(){let t=cg(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(N(r=>{let n=new Hr([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,{},_,this.rootComponentType,null,{}),o=new Me(n,r),i=new es("",o),s=KC(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,_).pipe(lt(n=>{if(n instanceof ns)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Gr?this.noMatchError(n):n}))}inheritParamsAndData(t,r){let n=t.value,o=Bu(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),t.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(t,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(t,r,n):this.processSegment(t,r,n,n.segments,o,!0).pipe(N(i=>i instanceof Me?[i]:[]))}processChildren(t,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return B(o).pipe(dt(i=>{let s=n.children[i],a=fb(r,i);return this.processSegmentGroup(t,a,s,i)}),Ts((i,s)=>(i.push(...s),i)),ft(null),Ms(),H(i=>{if(i===null)return kn(n);let s=Rg(i);return qb(s),T(s)}))}processSegment(t,r,n,o,i,s){return B(r).pipe(dt(a=>this.processSegmentAgainstRoute(a._injector??t,r,a,n,o,i,s).pipe(lt(c=>{if(c instanceof Gr)return T(null);throw c}))),Oe(a=>!!a),lt(a=>{if(_g(a))return Hb(n,o,i)?T(new ju):kn(n);throw a}))}processSegmentAgainstRoute(t,r,n,o,i,s,a){return Bb(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,r,n,i,s):kn(o):kn(o)}expandSegmentAgainstRouteUsingRedirect(t,r,n,o,i,s){let{matched:a,consumedSegments:c,positionalParamSegments:u,remainingSegments:l}=qu(r,o,i);if(!a)return kn(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Gb&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return this.applyRedirects.lineralizeSegments(o,d).pipe(H(f=>this.processSegment(t,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(t,r,n,o,i){let s=kb(r,n,o,t,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(we(a=>a.matched?(t=n._injector??t,this.getChildConfig(t,n,o).pipe(we(({routes:c})=>{let u=n._loadedInjector??t,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new Hr(l,f,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Zb(n),We(n),n.component??n._loadedComponent??null,n,Yb(n)),{segmentGroup:p,slicedSegments:w}=cg(r,l,d,c);if(w.length===0&&p.hasChildren())return this.processChildren(u,c,p).pipe(N(m=>m===null?null:new Me(h,m)));if(c.length===0&&w.length===0)return T(new Me(h,[]));let v=We(n)===i;return this.processSegment(u,c,p,w,v?_:i,!0).pipe(N(m=>new Me(h,m instanceof Me?[m]:[])))}))):kn(r)))}getChildConfig(t,r,n){return r.children?T({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?T({routes:r._loadedRoutes,injector:r._loadedInjector}):Rb(t,r,n,this.urlSerializer).pipe(H(o=>o?this.configLoader.loadChildren(t,r).pipe(W(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):Fb(r))):T({routes:[],injector:t})}};function qb(e){e.sort((t,r)=>t.value.outlet===_?-1:r.value.outlet===_?1:t.value.outlet.localeCompare(r.value.outlet))}function Wb(e){let t=e.value.routeConfig;return t&&t.path===""}function Rg(e){let t=[],r=new Set;for(let n of e){if(!Wb(n)){t.push(n);continue}let o=t.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):t.push(n)}for(let n of r){let o=Rg(n.children);t.push(new Me(n.value,o))}return t.filter(n=>!r.has(n))}function Zb(e){return e.data||{}}function Yb(e){return e.resolve||{}}function Qb(e,t,r,n,o,i){return H(s=>zb(e,t,r,n,s.extractedUrl,o,i).pipe(N(({state:a,tree:c})=>q(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Kb(e,t){return H(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return T(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Og(c))s.add(u);let a=0;return B(s).pipe(dt(c=>i.has(c)?Jb(c,n,e,t):(c.data=Bu(c,c.parent,e).resolve,T(void 0))),W(()=>a++),pn(1),H(c=>a===s.size?T(r):fe))})}function Og(e){let t=e.children.map(r=>Og(r)).flat();return[e,...t]}function Jb(e,t,r,n){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Mg(o)&&(i[qr]=o.title),Xb(i,e,t,n).pipe(N(s=>(e._resolvedData=s,e.data=Bu(e,e.parent,r).resolve,null)))}function Xb(e,t,r,n){let o=gu(e);if(o.length===0)return T({});let i={};return B(o).pipe(H(s=>e0(e[s],t,r,n).pipe(Oe(),W(a=>{i[s]=a}))),pn(1),qn(i),lt(s=>_g(s)?fe:fn(s)))}function e0(e,t,r,n){let o=Wr(t)??n,i=Hn(e,o),s=i.resolve?i.resolve(t,r):ot(o,()=>i(t,r));return xt(s)}function hu(e){return we(t=>{let r=e(t);return r?B(r).pipe(N(()=>t)):T(t)})}var Pg=(()=>{let t=class t{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===_);return o}getResolvedTitleForRoute(n){return n.data[qr]}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>g(t0),providedIn:"root"});let e=t;return e})(),t0=(()=>{let t=class t extends Pg{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};t.\u0275fac=function(o){return new(o||t)(b(uu))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Wu=new M("",{providedIn:"root",factory:()=>({})}),Zu=new M("ROUTES"),n0=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(kc)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return T(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=xt(n.loadComponent()).pipe(N(Fg),W(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),ht(()=>{this.componentLoaders.delete(n)})),i=new ct(o,()=>new Q).pipe(un());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return T({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=r0(o,this.compiler,n,this.onLoadEndListener).pipe(ht(()=>{this.childrenLoaders.delete(o)})),a=new ct(s,()=>new Q).pipe(un());return this.childrenLoaders.set(o,a),a}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function r0(e,t,r,n){return xt(e.loadChildren()).pipe(N(Fg),H(o=>o instanceof ur||Array.isArray(o)?T(o):B(t.compileModuleAsync(o))),N(o=>{n&&n(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(Zu,[],{optional:!0,self:!0}).flat()),{routes:s.map(Gu),injector:i}}))}function o0(e){return e&&typeof e=="object"&&"default"in e}function Fg(e){return o0(e)?e.default:e}var Yu=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>g(i0),providedIn:"root"});let e=t;return e})(),i0=(()=>{let t=class t{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),s0=new M("");var a0=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q,this.transitionAbortSubject=new Q,this.configLoader=g(n0),this.environmentInjector=g(me),this.urlSerializer=g(Uu),this.rootContexts=g(rs),this.location=g(Cr),this.inputBindingEnabled=g(zu,{optional:!0})!==null,this.titleStrategy=g(Pg),this.options=g(Wu,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Yu),this.createViewTransition=g(s0,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>T(void 0),this.rootComponentType=null;let n=i=>this.events.next(new bu(i)),o=i=>this.events.next(new Mu(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(q(y(y({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new X({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:kr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(De(s=>s.id!==0),N(s=>q(y({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),we(s=>{this.currentTransition=s;let a=!1,c=!1;return T(s).pipe(W(u=>{this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?q(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),we(u=>{let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new tn(u.id,this.urlSerializer.serialize(u.rawUrl),f,Du.IgnoredSameUrlNavigation)),u.resolve(null),fe}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return T(u).pipe(we(f=>{let h=this.transitions?.getValue();return this.events.next(new Vr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?fe:Promise.resolve(f)}),Qb(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),W(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=q(y({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Ki(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:p,restoredState:w,extras:v}=u,m=new Vr(f,this.urlSerializer.serialize(h),p,w);this.events.next(m);let U=Cg(this.rootComponentType).snapshot;return this.currentTransition=s=q(y({},u),{targetSnapshot:U,urlAfterRedirects:h,extras:q(y({},v),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,T(s)}else{let f="";return this.events.next(new tn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Du.IgnoredByUrlHandlingStrategy)),u.resolve(null),fe}}),W(u=>{let l=new wu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),N(u=>(this.currentTransition=s=q(y({},u),{guards:pb(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),bb(this.environmentInjector,u=>this.events.next(u)),W(u=>{if(s.guardsResult=u.guardsResult,Un(u.guardsResult))throw Sg(this.urlSerializer,u.guardsResult);let l=new Eu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),De(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",_e.GuardRejected),!1)),hu(u=>{if(u.guards.canActivateChecks.length)return T(u).pipe(W(l=>{let d=new Iu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),we(l=>{let d=!1;return T(l).pipe(Kb(this.paramsInheritanceStrategy,this.environmentInjector),W({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",_e.NoDataFromResolver)}}))}),W(l=>{let d=new Cu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),hu(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(W(h=>{d.component=h}),N(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Io(l(u.targetSnapshot.root)).pipe(ft(null),Te(1))}),hu(()=>this.afterPreactivation()),we(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?B(d).pipe(N(()=>s)):T(s)}),N(u=>{let l=sb(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=q(y({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),W(()=>{this.events.next(new Ur)}),hb(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Te(1),W({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Tt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),xs(this.transitionAbortSubject.pipe(W(u=>{throw u}))),ht(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",_e.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),lt(u=>{if(c=!0,Ag(u))this.events.next(new St(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),ub(u)?this.events.next(new Br(u.url)):s.resolve(!1);else{this.events.next(new $r(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(u))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return fe}))}))}cancelNavigationTransition(n,o,i){let s=new St(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function c0(e){return e!==kr}var u0=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>g(l0),providedIn:"root"});let e=t;return e})(),$u=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},l0=(()=>{let t=class t extends $u{};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=ic(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),kg=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:()=>g(d0),providedIn:"root"});let e=t;return e})(),d0=(()=>{let t=class t extends kg{constructor(){super(...arguments),this.location=g(Cr),this.urlSerializer=g(Uu),this.options=g(Wu,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Yu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Mt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Cg(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof Vr)this.stateMemento=this.createStateMemento();else if(n instanceof tn)this.rawUrlTree=o.initialUrl;else if(n instanceof Ki){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof Ur?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof St&&(n.code===_e.GuardRejected||n.code===_e.NoDataFromResolver)?this.restoreHistory(o):n instanceof $r?this.restoreHistory(o,!0):n instanceof Tt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=y(y({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=y(y({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};t.\u0275fac=(()=>{let n;return function(i){return(n||(n=ic(t)))(i||t)}})(),t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Pr=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Pr||{});function f0(e,t){e.events.pipe(De(r=>r instanceof Tt||r instanceof St||r instanceof $r||r instanceof tn),N(r=>r instanceof Tt||r instanceof tn?Pr.COMPLETE:(r instanceof St?r.code===_e.Redirect||r.code===_e.SupersededByNewNavigation:!1)?Pr.REDIRECTING:Pr.FAILED),De(r=>r!==Pr.REDIRECTING),Te(1)).subscribe(()=>{t()})}function h0(e){throw e}var p0={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},g0={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Qu=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=g(Ni),this.stateManager=g(kg),this.options=g(Wu,{optional:!0})||{},this.pendingTasks=g(Yt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(a0),this.urlSerializer=g(Uu),this.location=g(Cr),this.urlHandlingStrategy=g(Yu),this._events=new Q,this.errorHandler=this.options.errorHandler||h0,this.navigated=!1,this.routeReuseStrategy=g(u0),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Zu,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(zu,{optional:!0}),this.eventsSubscription=new G,this.isNgZoneEnabled=g(V)instanceof V&&V.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof St&&o.code!==_e.Redirect&&o.code!==_e.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof Tt)this.navigated=!0;else if(o instanceof Br){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),c={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||c0(i.source)};this.scheduleNavigation(a,kr,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}v0(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),kr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=y({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Gu),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=y(y({},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=Dg(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return wg(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=Un(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,kr,null,o)}navigate(n,o={skipLocationChange:!1}){return m0(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=y({},p0):o===!1?i=y({},g0):i=o,Un(n))return og(this.currentUrlTree,n,i);let s=this.parseUrl(n);return og(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return f0(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function m0(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new E(4008,!1)}function v0(e){return!(e instanceof Ur)&&!(e instanceof Br)}var $O=(()=>{let t=class t{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new Q,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof Tt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:rh(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(o){return new(o||t)(ve(Qu),ve(nn),sc("tabindex"),ve(yr),ve(st),ve(Fn))},t.\u0275dir=xn({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Oc("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Nc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Ae.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Ir],skipLocationChange:[Ae.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Ir],replaceUrl:[Ae.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Ir],routerLink:"routerLink"},standalone:!0,features:[Tc,fr]});let e=t;return e})();var y0=new M("");function UO(e,...t){return wt([{provide:Zu,multi:!0,useValue:e},[],{provide:nn,useFactory:D0,deps:[Qu]},{provide:On,multi:!0,useFactory:w0},t.map(r=>r.\u0275providers)])}function D0(e){return e.routerState.root}function w0(){let e=g(it);return t=>{let r=e.get(at);if(t!==r.components[0])return;let n=e.get(Qu),o=e.get(E0);e.get(I0)===1&&n.initialNavigation(),e.get(C0,null,P.Optional)?.setUpPreloading(),e.get(y0,null,P.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var E0=new M("",{factory:()=>new Q}),I0=new M("",{providedIn:"root",factory:()=>1});var C0=new M("");export{y as a,q as b,el as c,Q as d,B as e,T as f,fn as g,N as h,ut as i,Co as j,dm as k,Cs as l,ym as m,Dm as n,De as o,Te as p,Em as q,Cm as r,we as s,W as t,E as u,_d as v,C as w,Ht as x,M as y,b as z,g as A,Ae as B,Hd as C,zt as D,xn as E,fr as F,LN as G,jN as H,VN as I,$N as J,ic as K,wt as L,Xv as M,it as N,ze as O,UN as P,qy as Q,ua as R,st as S,or as T,yr as U,BN as V,ve as W,bi as X,xe as Y,V as Z,Ew as _,ei as $,zN as aa,GN as ba,Nc as ca,yE as da,tp as ea,DE as fa,qN as ga,WN as ha,ZN as ia,rp as ja,op as ka,Rc as la,YN as ma,wr as na,Oc as oa,QN as pa,KN as qa,JN as ra,HE as sa,eR as ta,tI as ua,nI as va,tR as wa,iI as xa,lp as ya,nR as za,fp as Aa,rR as Ba,hp as Ca,at as Da,oR as Ea,Ir as Fa,Kt as Ga,de as Ha,_R as Ia,NR as Ja,RR as Ka,zR as La,GR as Ma,qR as Na,Qp as Oa,fO as Pa,hO as Qa,pO as Ra,ib as Sa,$O as Ta,UO as Ua};