@whoz-oss/coday-client 0.80.0 → 0.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/{chunk-EN34LXVI.js → chunk-3FWTNKYQ.js} +1 -1
- package/browser/chunk-4WEVVVZ4.js +1 -0
- package/browser/chunk-6TQD7LWW.js +1 -0
- package/browser/chunk-ADVYSDMF.js +1 -0
- package/browser/{chunk-OM6QEVE5.js → chunk-EENFCYLH.js} +1 -1
- package/browser/chunk-HNLZEXQA.js +1 -0
- package/browser/{chunk-2I7BVCFA.js → chunk-L62VJ6DL.js} +1 -1
- package/browser/{chunk-NP5QKZ3S.js → chunk-LEVG5OCM.js} +1 -1
- package/browser/chunk-M4JNVHAR.js +1 -0
- package/browser/chunk-NWH4RUWY.js +1 -0
- package/browser/{chunk-JNUPIL7A.js → chunk-TJKDVBVC.js} +1 -1
- package/browser/chunk-YXDDUSGH.js +1 -0
- package/browser/{chunk-FYYZME5V.js → chunk-ZACXCOI6.js} +1 -1
- package/browser/chunk-ZKMY6DMZ.js +1 -0
- package/browser/index.html +1 -1
- package/browser/{main-IFLXFZMY.js → main-BH2P7ZIH.js} +30 -30
- package/package.json +1 -1
- package/browser/chunk-2HJUHP2O.js +0 -1
- package/browser/chunk-5CECNE3W.js +0 -1
- package/browser/chunk-ADPUMZCL.js +0 -1
- package/browser/chunk-ASTXTNCW.js +0 -1
- package/browser/chunk-LRXH43AD.js +0 -1
- package/browser/chunk-M3IE5IWD.js +0 -1
- package/browser/chunk-SSDNZR7U.js +0 -1
- package/browser/chunk-TWBSKSZ6.js +0 -1
|
@@ -2,4 +2,4 @@ var lE=Object.defineProperty,dE=Object.defineProperties;var fE=Object.getOwnProp
|
|
|
2
2
|
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
3
|
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Nn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){t=i instanceof Wi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{wh(i)}catch(s){t=t??[],s instanceof Wi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Wi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wh(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Nn(n,t)}remove(t){let{_finalizers:n}=this;n&&Nn(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var qc=K.EMPTY;function Zi(e){return e instanceof K||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function wh(e){S(e)?e():e.unsubscribe()}var Ze={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var gr={setTimeout(e,t,...n){let{delegate:r}=gr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=gr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Yi(e){gr.setTimeout(()=>{let{onUnhandledError:t}=Ze;if(t)t(e);else throw e})}function mo(){}var Ch=Wc("C",void 0,void 0);function bh(e){return Wc("E",void 0,e)}function Th(e){return Wc("N",e,void 0)}function Wc(e,t,n){return{kind:e,value:t,error:n}}var Rn=null;function mr(e){if(Ze.useDeprecatedSynchronousErrorHandling){let t=!Rn;if(t&&(Rn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Rn;if(Rn=null,n)throw r}}else e()}function _h(e){Ze.useDeprecatedSynchronousErrorHandling&&Rn&&(Rn.errorThrown=!0,Rn.error=e)}var An=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Zi(t)&&t.add(this)):this.destination=CE}static create(t,n,r){return new Ye(t,n,r)}next(t){this.isStopped?Yc(Th(t),this):this._next(t)}error(t){this.isStopped?Yc(bh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Yc(Ch,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()}}},IE=Function.prototype.bind;function Zc(e,t){return IE.call(e,t)}var Qc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Qi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Qi(r)}else Qi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Qi(n)}}},Ye=class extends An{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ze.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Zc(t.next,i),error:t.error&&Zc(t.error,i),complete:t.complete&&Zc(t.complete,i)}):o=t}this.destination=new Qc(o)}};function Qi(e){Ze.useDeprecatedSynchronousErrorHandling?_h(e):Yi(e)}function wE(e){throw e}function Yc(e,t){let{onStoppedNotification:n}=Ze;n&&gr.setTimeout(()=>n(e,t))}var CE={closed:!0,next:mo,error:wE,complete:mo};var yr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Kc(...e){return Jc(e)}function Jc(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=TE(n)?n:new Ye(n,r,o);return mr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Sh(r),new r((o,i)=>{let s=new Ye({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[yr](){return this}pipe(...n){return Jc(n)(this)}toPromise(n){return n=Sh(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Sh(e){var t;return(t=e??Ze.Promise)!==null&&t!==void 0?t:Promise}function bE(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function TE(e){return e&&e instanceof An||bE(e)&&Zi(e)}function Xc(e){return S(e?.lift)}function A(e){return t=>{if(Xc(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function R(e,t,n,r,o){return new eu(e,t,n,r,o)}var eu=class extends An{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function vr(){return A((e,t)=>{let n=null;e._refCount++;let r=R(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Dr=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Xc(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 K;let n=this.getSubject();t.add(this.source.subscribe(R(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return vr()(this)}};var Mh=pr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Ki(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Mh}next(n){mr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){mr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){mr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?qc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,Nn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new k;return n.source=this,n}}return e.create=(t,n)=>new Ki(t,n),e})(),Ki=class extends J{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:qc}};var pe=class extends J{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var yo={now(){return(yo.delegate||Date).now()},delegate:void 0};var Ji=class extends J{constructor(t=1/0,n=1/0,r=yo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Xi=class extends K{constructor(t,n){super()}schedule(t,n=0){return this}};var vo={setInterval(e,t,...n){let{delegate:r}=vo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=vo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var es=class extends Xi{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return vo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&vo.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Nn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Er=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Er.now=yo.now;var ts=class extends Er{constructor(t,n=Er.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Do=new ts(es),Nh=Do;var ve=new k(e=>e.complete());function ns(e){return e&&S(e.schedule)}function tu(e){return e[e.length-1]}function rs(e){return S(tu(e))?e.pop():void 0}function ft(e){return ns(tu(e))?e.pop():void 0}function Rh(e,t){return typeof tu(e)=="number"?e.pop():t}function xh(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Ah(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function xn(e){return this instanceof xn?(this.v=e,this):new xn(e)}function Oh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(E){return new Promise(function(D,v){i.push([f,E,D,v])>1||c(f,E)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(E){h(i[0][3],E)}}function u(f){f.value instanceof xn?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ph(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Ah=="function"?Ah(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Ir=e=>e&&typeof e.length=="number"&&typeof e!="function";function os(e){return S(e?.then)}function is(e){return S(e[yr])}function ss(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function as(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 _E(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var cs=_E();function us(e){return S(e?.[cs])}function ls(e){return Oh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield xn(n.read());if(o)return yield xn(void 0);yield yield xn(r)}}finally{n.releaseLock()}})}function ds(e){return S(e?.getReader)}function B(e){if(e instanceof k)return e;if(e!=null){if(is(e))return SE(e);if(Ir(e))return ME(e);if(os(e))return NE(e);if(ss(e))return kh(e);if(us(e))return RE(e);if(ds(e))return AE(e)}throw as(e)}function SE(e){return new k(t=>{let n=e[yr]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ME(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function NE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Yi)})}function RE(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function kh(e){return new k(t=>{xE(e,t).catch(n=>t.error(n))})}function AE(e){return kh(ls(e))}function xE(e,t){var n,r,o,i;return xh(this,void 0,void 0,function*(){try{for(n=Ph(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Me(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function fs(e,t=0){return A((n,r)=>{n.subscribe(R(r,o=>Me(r,e,()=>r.next(o),t),()=>Me(r,e,()=>r.complete(),t),o=>Me(r,e,()=>r.error(o),t)))})}function hs(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Fh(e,t){return B(e).pipe(hs(t),fs(t))}function Lh(e,t){return B(e).pipe(hs(t),fs(t))}function jh(e,t){return new k(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Bh(e,t){return new k(n=>{let r;return Me(n,t,()=>{r=e[cs](),Me(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function ps(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{Me(n,t,()=>{let r=e[Symbol.asyncIterator]();Me(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Vh(e,t){return ps(ls(e),t)}function Uh(e,t){if(e!=null){if(is(e))return Fh(e,t);if(Ir(e))return jh(e,t);if(os(e))return Lh(e,t);if(ss(e))return ps(e,t);if(us(e))return Bh(e,t);if(ds(e))return Vh(e,t)}throw as(e)}function W(e,t){return t?Uh(e,t):B(e)}function T(...e){let t=ft(e);return W(e,t)}function wr(e,t){let n=S(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function nu(e){return!!e&&(e instanceof k||S(e.lift)&&S(e.subscribe))}var Ae=pr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function OE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Ae)}})})}function PE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ye({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Ae)}});e.subscribe(i)})}function $h(e){return e instanceof Date&&!isNaN(e)}function x(e,t){return A((n,r)=>{let o=0;n.subscribe(R(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:kE}=Array;function FE(e,t){return kE(t)?e(...t):e(t)}function Cr(e){return x(t=>FE(e,t))}var{isArray:LE}=Array,{getPrototypeOf:jE,prototype:BE,keys:VE}=Object;function gs(e){if(e.length===1){let t=e[0];if(LE(t))return{args:t,keys:null};if(UE(t)){let n=VE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function UE(e){return e&&typeof e=="object"&&jE(e)===BE}function ms(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Eo(...e){let t=ft(e),n=rs(e),{args:r,keys:o}=gs(e);if(r.length===0)return W([],t);let i=new k($E(r,t,o?s=>ms(o,s):we));return n?i.pipe(Cr(n)):i}function $E(e,t,n=we){return r=>{Hh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Hh(t,()=>{let u=W(e[c],t),l=!1;u.subscribe(R(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Hh(e,t,n){e?Me(n,e,t):t()}function zh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?g(E):c.push(E),g=E=>{i&&t.next(E),u++;let D=!1;B(n(E,l++)).subscribe(R(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let v=c.shift();s?Me(t,s,()=>g(v)):g(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(R(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Y(e,t,n=1/0){return S(t)?Y((r,o)=>x((i,s)=>t(r,i,o,s))(B(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>zh(r,o,e,n)))}function Jt(e=1/0){return Y(we,e)}function Gh(){return Jt(1)}function br(...e){return Gh()(W(e,ft(e)))}function Io(e){return new k(t=>{B(e()).subscribe(t)})}function HE(...e){let t=rs(e),{args:n,keys:r}=gs(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;B(n[l]).subscribe(R(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ms(r,a):a),i.complete())}))}});return t?o.pipe(Cr(t)):o}var zE=["addListener","removeListener"],GE=["addEventListener","removeEventListener"],qE=["on","off"];function ru(e,t,n,r){if(S(n)&&(r=n,n=void 0),r)return ru(e,t,n).pipe(Cr(r));let[o,i]=YE(e)?GE.map(s=>a=>e[s](t,a,n)):WE(e)?zE.map(qh(e,t)):ZE(e)?qE.map(qh(e,t)):[];if(!o&&Ir(e))return Y(s=>ru(s,t,n))(B(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function qh(e,t){return n=>r=>e[n](t,r)}function WE(e){return S(e.addListener)&&S(e.removeListener)}function ZE(e){return S(e.on)&&S(e.off)}function YE(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Wh(e=0,t,n=Nh){let r=-1;return t!=null&&(ns(t)?n=t:r=t),new k(o=>{let i=$h(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function QE(...e){let t=ft(e),n=Rh(e,1/0),r=e;return r.length?r.length===1?B(r[0]):Jt(n)(W(r,t)):ve}function se(e,t){return A((n,r)=>{let o=0;n.subscribe(R(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Zh(e){return A((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(R(n,u=>{r=!0,o=u,i||B(e(u)).subscribe(i=R(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function KE(e,t=Do){return Zh(()=>Wh(e,t))}function ht(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(R(n,void 0,void 0,s=>{i=B(e(s,ht(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Yh(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(R(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function pt(e,t){return S(t)?Y(e,t,1):Y(e,1)}function JE(e,t=Do){return A((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(R(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Xt(e){return A((t,n)=>{let r=!1;t.subscribe(R(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function gt(e){return e<=0?()=>ve:A((t,n)=>{let r=0;t.subscribe(R(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function XE(e){return x(()=>e)}function Qh(e,t=we){return e=e??eI,A((n,r)=>{let o,i=!0;n.subscribe(R(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function eI(e,t){return e===t}function ys(e=tI){return A((t,n)=>{let r=!1;t.subscribe(R(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function tI(){return new Ae}function On(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function mt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?se((o,i)=>e(o,i,r)):we,gt(1),n?Xt(t):ys(()=>new Ae))}function Tr(e){return e<=0?()=>ve:A((t,n)=>{let r=[];t.subscribe(R(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function ou(e,t){let n=arguments.length>=2;return r=>r.pipe(e?se((o,i)=>e(o,i,r)):we,Tr(1),n?Xt(t):ys(()=>new Ae))}function nI(){return A((e,t)=>{let n,r=!1;e.subscribe(R(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function iu(e,t){return A(Yh(e,t,arguments.length>=2,!0))}function au(e={}){let{connector:t=()=>new J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let E=s;f(),E?.unsubscribe()};return A((E,D)=>{u++,!d&&!l&&h();let v=c=c??t();D.add(()=>{u--,u===0&&!d&&!l&&(a=su(g,o))}),v.subscribe(D),!s&&u>0&&(s=new Ye({next:z=>v.next(z),error:z=>{d=!0,h(),a=su(f,n,z),v.error(z)},complete:()=>{l=!0,h(),a=su(f,r),v.complete()}}),B(E).subscribe(s))})(i)}}function su(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ye({next:()=>{r.unsubscribe(),e()}});return B(t(...n)).subscribe(r)}function Kh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,au({connector:()=>new Ji(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function rI(e){return se((t,n)=>e<=n)}function vs(...e){let t=ft(e);return A((n,r)=>{(t?br(e,n,t):br(e,n)).subscribe(r)})}function de(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(R(r,c=>{o?.unsubscribe();let u=0,l=i++;B(e(c,l)).subscribe(o=R(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ds(e){return A((t,n)=>{B(e).subscribe(R(n,()=>n.complete(),mo)),!n.closed&&t.subscribe(n)})}function oI(e,t=!1){return A((n,r)=>{let o=0;n.subscribe(R(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function fe(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(R(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}function Jh(e){let t=N(null);try{return e()}finally{N(t)}}var Xh=F(y({},Tn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ep(e){if(e.dirty=!1,e.version>0&&!Mn(e))return;e.version++;let t=Qt(e);try{e.cleanup(),e.fn()}finally{Sn(e,t)}}var Cs="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ot(t,n)),this.code=t}};function iI(e){return`NG0${Math.abs(e)}`}function Ot(e,t){return`${iI(e)}${t?": "+t:""}`}var je=globalThis;function j(e){for(let t in e)if(e[t]===j)return t;throw Error("")}function rp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(xt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
4
|
`);return r>=0?n.slice(0,r):n}function bs(e,t){return e?t?`${e} ${t}`:e:t||""}var sI=j({__forward_ref__:j});function Ts(e){return e.__forward_ref__=Ts,e.toString=function(){return xt(this())},e}function ae(e){return vu(e)?e():e}function vu(e){return typeof e=="function"&&e.hasOwnProperty(sI)&&e.__forward_ref__===Ts}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pt(e){return{providers:e.providers||[],imports:e.imports||[]}}function _o(e){return aI(e,_s)}function Du(e){return _o(e)!==null}function aI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function cI(e){let t=e?.[_s]??null;return t||null}function uu(e){return e&&e.hasOwnProperty(Is)?e[Is]:null}var _s=j({\u0275prov:j}),Is=j({\u0275inj:j}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Eu(e){return e&&!!e.\u0275providers}var Iu=j({\u0275cmp:j}),wu=j({\u0275dir:j}),Cu=j({\u0275pipe:j}),bu=j({\u0275mod:j}),Co=j({\u0275fac:j}),jn=j({__NG_ELEMENT_ID__:j}),tp=j({__NG_ENV_ID__:j});function nn(e){return typeof e=="string"?e:e==null?"":String(e)}function op(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():nn(e)}var ip=j({ngErrorCode:j}),uI=j({ngErrorMessage:j}),lI=j({ngTokenPath:j});function Tu(e,t){return sp("",-200,t)}function Ss(e,t){throw new m(-201,!1)}function sp(e,t,n){let r=new m(t,e);return r[ip]=t,r[uI]=e,n&&(r[lI]=n),r}function dI(e){return e[ip]}var lu;function ap(){return lu}function Ce(e){let t=lu;return lu=e,t}function _u(e,t,n){let r=_o(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Ss(e,"Injector")}var fI={},Pn=fI,hI="__NG_DI_FLAG__",du=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=kn(n)||0;try{return this.injector.get(t,r&8?null:Pn,r)}catch(o){if(dr(o))return o;throw o}}};function pI(e,t=0){let n=ji();if(n===void 0)throw new m(-203,!1);if(n===null)return _u(e,void 0,t);{let r=gI(t),o=n.retrieve(e,r);if(dr(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(ap()||pI)(ae(e),t)}function p(e,t){return C(e,kn(t))}function kn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function gI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function fu(e){let t=[];for(let n=0;n<e.length;n++){let r=ae(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=mI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function mI(e){return e[hI]}function en(e,t){let n=e.hasOwnProperty(Co);return n?e[Co]:null}function cp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function up(e){return e.flat(Number.POSITIVE_INFINITY)}function Ms(e,t){e.forEach(n=>Array.isArray(n)?Ms(n,t):t(n))}function Su(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function So(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function dp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ns(e,t,n){let r=Sr(e,t);return r>=0?e[r|1]=n:(r=~r,dp(e,r,t,n)),r}function Rs(e,t){let n=Sr(e,t);if(n>=0)return e[n|1]}function Sr(e,t){return yI(e,t,1)}function yI(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Qe={},De=[],yt=new I(""),Mu=new I("",-1),Nu=new I(""),bo=class{get(t,n=Pn){if(n===Pn){let o=sp("",-201);throw o.name="\u0275NotFound",o}return n}};function Ru(e){return e[bu]||null}function vt(e){return e[Iu]||null}function As(e){return e[wu]||null}function fp(e){return e[Cu]||null}function Ke(e){return{\u0275providers:e}}function hp(e){return Ke([{provide:yt,multi:!0,useValue:e}])}function pp(...e){return{\u0275providers:Au(!0,e),\u0275fromNgModule:!0}}function Au(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ms(t,s=>{let a=s;ws(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&gp(o,i),n}function gp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];xu(o,i=>{t(i,r)})}}function ws(e,t,n,r){if(e=ae(e),!e)return!1;let o=null,i=uu(e),s=!i&&vt(e);if(!i&&!s){let c=e.ngModule;if(i=uu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)ws(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ms(i.imports,l=>{ws(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&gp(u,t)}if(!a){let u=en(o)||(()=>new o);t({provide:o,useFactory:u,deps:De},o),t({provide:Nu,useValue:o,multi:!0},o),t({provide:yt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;xu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function xu(e,t){for(let n of e)Eu(n)&&(n=n.\u0275providers),Array.isArray(n)?xu(n,t):t(n)}var vI=j({provide:String,useValue:j});function mp(e){return e!==null&&typeof e=="object"&&vI in e}function DI(e){return!!(e&&e.useExisting)}function EI(e){return!!(e&&e.useFactory)}function Fn(e){return typeof e=="function"}function yp(e){return!!e.useClass}var Mo=new I(""),Es={},np={},cu;function Mr(){return cu===void 0&&(cu=new bo),cu}var ee=class{},Ln=class extends ee{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,pu(t,s=>this.processProvider(s)),this.records.set(Mu,_r(void 0,this)),o.has("environment")&&this.records.set(ee,_r(void 0,this));let i=this.records.get(Mo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Nu,De,{self:!0}))}retrieve(t,n){let r=kn(n)||0;try{return this.get(t,Pn,r)}catch(o){if(dr(o))return o;throw o}}destroy(){wo(this),this._destroyed=!0;let t=N(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),N(t)}}onDestroy(t){return wo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){wo(this);let n=dt(this),r=Ce(void 0),o;try{return t()}finally{dt(n),Ce(r)}}get(t,n=Pn,r){if(wo(this),t.hasOwnProperty(tp))return t[tp](this);let o=kn(r),i,s=dt(this),a=Ce(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=TI(t)&&_o(t);l&&this.injectableDefInScope(l)?u=_r(hu(t),Es):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Mr():this.parent;return n=o&8&&n===Pn?null:n,c.get(t,n)}catch(c){let u=dI(c);throw u===-200||u===-201?new m(u,null):c}finally{Ce(a),dt(s)}}resolveInjectorInitializers(){let t=N(null),n=dt(this),r=Ce(void 0),o;try{let i=this.get(yt,De,{self:!0});for(let s of i)s()}finally{dt(n),Ce(r),N(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(xt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ae(t);let n=Fn(t)?t:ae(t&&t.provide),r=wI(t);if(!Fn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=_r(void 0,Es,!0),o.factory=()=>fu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=N(null);try{if(n.value===np)throw Tu(xt(t));return n.value===Es&&(n.value=np,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&bI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{N(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ae(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function hu(e){let t=_o(e),n=t!==null?t.factory:en(e);if(n!==null)return n;if(e instanceof I)throw new m(204,!1);if(e instanceof Function)return II(e);throw new m(204,!1)}function II(e){if(e.length>0)throw new m(204,!1);let n=cI(e);return n!==null?()=>n.factory(e):()=>new e}function wI(e){if(mp(e))return _r(void 0,e.useValue);{let t=Ou(e);return _r(t,Es)}}function Ou(e,t,n){let r;if(Fn(e)){let o=ae(e);return en(o)||hu(o)}else if(mp(e))r=()=>ae(e.useValue);else if(EI(e))r=()=>e.useFactory(...fu(e.deps||[]));else if(DI(e))r=(o,i)=>C(ae(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ae(e&&(e.useClass||e.provide));if(CI(e))r=()=>new o(...fu(e.deps));else return en(o)||hu(o)}return r}function wo(e){if(e.destroyed)throw new m(205,!1)}function _r(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function CI(e){return!!e.deps}function bI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function TI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function pu(e,t){for(let n of e)Array.isArray(n)?pu(n,t):n&&Eu(n)?pu(n.\u0275providers,t):t(n)}function he(e,t){let n;e instanceof Ln?(wo(e),n=e):n=new du(e);let r,o=dt(n),i=Ce(void 0);try{return t()}finally{dt(o),Ce(i)}}function vp(){return ap()!==void 0||ji()!=null}var Je=0,b=1,M=2,ce=3,Be=4,be=5,Bn=6,Nr=7,X=8,rn=9,Dt=10,U=11,Rr=12,Pu=13,Vn=14,Ee=15,on=16,Un=17,Et=18,No=19,ku=20,At=21,xs=22,kt=23,xe=24,$n=25,Hn=26,G=27,Dp=1,Fu=6,sn=7,Ro=8,zn=9,ne=10;function It(e){return Array.isArray(e)&&typeof e[Dp]=="object"}function Xe(e){return Array.isArray(e)&&e[Dp]===!0}function Lu(e){return(e.flags&4)!==0}function an(e){return e.componentOffset>-1}function Ar(e){return(e.flags&1)===1}function et(e){return!!e.template}function xr(e){return(e[M]&512)!==0}function Gn(e){return(e[M]&256)===256}var ju="svg",Ep="math";function Ve(e){for(;Array.isArray(e);)e=e[Je];return e}function Bu(e,t){return Ve(t[e])}function tt(e,t){return Ve(t[e.index])}function Ao(e,t){return e.data[t]}function Os(e,t){return e[t]}function Vu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ue(e,t){let n=t[e];return It(n)?n:n[Je]}function Ip(e){return(e[M]&4)===4}function Ps(e){return(e[M]&128)===128}function wp(e){return Xe(e[ce])}function $e(e,t){return t==null?null:e[t]}function Uu(e){e[Un]=0}function $u(e){e[M]&1024||(e[M]|=1024,Ps(e)&&cn(e))}function Cp(e,t){for(;e>0;)t=t[Vn],e--;return t}function xo(e){return!!(e[M]&9216||e[xe]?.dirty)}function ks(e){e[Dt].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),xo(e)&&cn(e)}function cn(e){e[Dt].changeDetectionScheduler?.notify(0);let t=tn(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Ps(t)));)t=tn(t)}function Hu(e,t){if(Gn(e))throw new m(911,!1);e[At]===null&&(e[At]=[]),e[At].push(t)}function bp(e,t){if(e[At]===null)return;let n=e[At].indexOf(t);n!==-1&&e[At].splice(n,1)}function tn(e){let t=e[ce];return Xe(t)?t[ce]:t}function zu(e){return e[Nr]??=[]}function Gu(e){return e.cleanup??=[]}function Tp(e,t,n,r){let o=zu(t);o.push(n),e.firstCreatePass&&Gu(e).push(r,o.length-1)}var O={lFrame:Bp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gu=!1;function _p(){return O.lFrame.elementDepthCount}function Sp(){O.lFrame.elementDepthCount++}function qu(){O.lFrame.elementDepthCount--}function Fs(){return O.bindingsEnabled}function Wu(){return O.skipHydrationRootTNode!==null}function Zu(e){return O.skipHydrationRootTNode===e}function Yu(){O.skipHydrationRootTNode=null}function _(){return O.lFrame.lView}function q(){return O.lFrame.tView}function Mp(e){return O.lFrame.contextLView=e,e[X]}function Np(e){return O.lFrame.contextLView=null,e}function re(){let e=Qu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Qu(){return O.lFrame.currentTNode}function Rp(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Or(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function Ku(){return O.lFrame.isParent}function Ju(){O.lFrame.isParent=!1}function Ap(){return O.lFrame.contextLView}function Xu(){return gu}function Pr(e){let t=gu;return gu=e,t}function Ls(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xp(){return O.lFrame.bindingIndex}function Op(e){return O.lFrame.bindingIndex=e}function un(){return O.lFrame.bindingIndex++}function js(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Pp(){return O.lFrame.inI18n}function kp(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,Bs(t)}function Fp(){return O.lFrame.currentDirectiveIndex}function Bs(e){O.lFrame.currentDirectiveIndex=e}function Lp(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Vs(){return O.lFrame.currentQueryIndex}function Oo(e){O.lFrame.currentQueryIndex=e}function _I(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[be]:null}function el(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=_I(i),o===null||(i=i[Vn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=O.lFrame=jp();return r.currentTNode=t,r.lView=e,!0}function Us(e){let t=jp(),n=e[b];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jp(){let e=O.lFrame,t=e===null?null:e.child;return t===null?Bp(e):t}function Bp(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 Vp(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var tl=Vp;function $s(){let e=Vp();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 Up(e){return(O.lFrame.contextLView=Cp(e,O.lFrame.contextLView))[X]}function wt(){return O.lFrame.selectedIndex}function ln(e){O.lFrame.selectedIndex=e}function Po(){let e=O.lFrame;return Ao(e.tView,e.selectedIndex)}function $p(){O.lFrame.currentNamespace=ju}function Hp(){SI()}function SI(){O.lFrame.currentNamespace=null}function zp(){return O.lFrame.currentNamespace}var Gp=!0;function Hs(){return Gp}function ko(e){Gp=e}function mu(e,t=null,n=null,r){let o=nl(e,t,n,r);return o.resolveInjectorInitializers(),o}function nl(e,t=null,n=null,r,o=new Set){let i=[n||De,pp(e)];return r=r||(typeof e=="object"?void 0:xt(e)),new Ln(i,t||Mr(),r||null,o)}var ge=class e{static THROW_IF_NOT_FOUND=Pn;static NULL=new bo;static create(t,n){if(Array.isArray(t))return mu({name:""},n,t,"");{let r=t.name??"";return mu({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>C(Mu)});static __NG_ELEMENT_ID__=-1},Z=new I(""),He=(()=>{class e{static __NG_ELEMENT_ID__=MI;static __NG_ENV_ID__=n=>n}return e})(),To=class extends He{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Gn(this._lView)}onDestroy(t){let n=this._lView;return Hu(n,t),()=>bp(n,t)}};function MI(){return new To(_())}var Fe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Te=new I("",{providedIn:"root",factory:()=>{let e=p(ee),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Fe),t.handleError(n))}}}),qp={provide:yt,useValue:()=>void p(Fe),multi:!0},NI=new I("",{providedIn:"root",factory:()=>{let e=p(Z).defaultView;if(!e)return;let t=p(Te),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(He).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function RI(){return Ke([hp(()=>void p(NI))])}function rl(e){return typeof e=="function"&&e[ie]!==void 0}function qn(e,t){let[n,r,o]=zc(e,t?.equal),i=n,s=i[ie];return i.set=r,i.update=o,i.asReadonly=ol.bind(i),i}function ol(){let e=this[ie];if(e.readonlyFn===void 0){let t=()=>this();t[ie]=e,e.readonlyFn=t}return e.readonlyFn}function il(e){return rl(e)&&typeof e.set=="function"}var Le=class{},kr=new I("",{providedIn:"root",factory:()=>!1});var sl=new I(""),al=new I("");var Wn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=AI}return e})();function AI(){return new Wn(_(),re())}var Ct=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new pe(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fo=(()=>{class e{internalPendingTasks=p(Ct);scheduler=p(Le);errorHandler=p(Te);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Zn(...e){}var Lo=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new yu})}return e})(),yu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Wo(e){return{toString:e}.toString()}function LI(e){return typeof e=="function"}var ea=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ng(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var $r=(()=>{let e=()=>Rg;return e.ngInherit=!0,e})();function Rg(e){return e.type.prototype.ngOnChanges&&(e.setInput=BI),jI}function jI(){let e=xg(this),t=e?.current;if(t){let n=e.previous;if(n===Qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function BI(e,t,n,r,o){let i=this.declaredInputs[r],s=xg(e)||VI(e,{previous:Qe,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ea(u&&u.currentValue,n,c===Qe),Ng(e,t,o,n)}var Ag="__ngSimpleChanges__";function xg(e){return e[Ag]||null}function VI(e,t){return e[Ag]=t}var Wp=[];var V=function(e,t=null,n){for(let r=0;r<Wp.length;r++){let o=Wp[r];o(e,t,n)}};function UI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Rg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Og(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Ys(e,t,n){Pg(e,t,3,n)}function Qs(e,t,n,r){(e[M]&3)===n&&Pg(e,t,n,r)}function cl(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function Pg(e,t,n,r){let o=r!==void 0?e[Un]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Un]+=65536),(a<i||i==-1)&&($I(e,n,t,c),e[Un]=(e[Un]&4294901760)+c+2),c++}function Zp(e,t){V(4,e,t);let n=N(null);try{t.call(e)}finally{N(n),V(5,e,t)}}function $I(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[Un]>>16&&(e[M]&3)===t&&(e[M]+=16384,Zp(a,i)):Zp(a,i)}var Lr=-1,Qn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function HI(e){return(e.flags&8)!==0}function zI(e){return(e.flags&16)!==0}function GI(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];qI(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function kg(e){return e===3||e===4||e===6}function qI(e){return e.charCodeAt(0)===64}function jr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Yp(e,n,o,null,t[++r]):Yp(e,n,o,null,null))}}return e}function Yp(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Fg(e){return e!==Lr}function ta(e){return e&32767}function WI(e){return e>>16}function na(e,t){let n=WI(e),r=t;for(;n>0;)r=r[Vn],n--;return r}var Dl=!0;function ra(e){let t=Dl;return Dl=e,t}var ZI=256,Lg=ZI-1,jg=5,YI=0,bt={};function QI(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(jn)&&(r=n[jn]),r==null&&(r=n[jn]=YI++);let o=r&Lg,i=1<<o;t.data[e+(o>>jg)]|=i}function oa(e,t){let n=Bg(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,ul(r.data,e),ul(t,null),ul(r.blueprint,null));let o=od(e,t),i=e.injectorIndex;if(Fg(o)){let s=ta(o),a=na(o,t),c=a[b].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ul(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Bg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function od(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=zg(o),r===null)return Lr;if(n++,o=o[Vn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Lr}function El(e,t,n){QI(e,t,n)}function KI(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(kg(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Vg(e,t,n){if(n&8||e!==void 0)return e;Ss(t,"NodeInjector")}function Ug(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[rn],i=Ce(void 0);try{return o?o.get(t,r,n&8):_u(t,r,n&8)}finally{Ce(i)}}return Vg(r,t,n)}function $g(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=tw(e,t,n,r,bt);if(s!==bt)return s}let i=Hg(e,t,n,r,bt);if(i!==bt)return i}return Ug(t,n,r,o)}function Hg(e,t,n,r,o){let i=XI(n);if(typeof i=="function"){if(!el(t,e,r))return r&1?Vg(o,n,r):Ug(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ss(n);else return s}finally{tl()}}else if(typeof i=="number"){let s=null,a=Bg(e,t),c=Lr,u=r&1?t[Ee][be]:null;for((a===-1||r&4)&&(c=a===-1?od(e,t):t[a+8],c===Lr||!Kp(r,!1)?a=-1:(s=t[b],a=ta(c),t=na(c,t)));a!==-1;){let l=t[b];if(Qp(i,a,l.data)){let d=JI(a,t,n,s,r,u);if(d!==bt)return d}c=t[a+8],c!==Lr&&Kp(r,t[b].data[a+8]===u)&&Qp(i,a,t)?(s=l,a=ta(c),t=na(c,t)):a=-1}}return o}function JI(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],c=r==null?an(a)&&Dl:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Ks(a,s,n,c,u);return l!==null?Vo(t,s,l,a,o):bt}function Ks(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&et(f)&&f.type===n)return c}return null}function Vo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Qn){let a=i;if(a.resolving){let f=op(s[n]);throw Tu(f)}let c=ra(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Ce(a.injectImpl):null,h=el(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&UI(n,s[n],t)}finally{d!==null&&Ce(d),ra(c),a.resolving=!1,tl()}}return i}function XI(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(jn)?e[jn]:void 0;return typeof t=="number"?t>=0?t&Lg:ew:t}function Qp(e,t,n){let r=1<<e;return!!(n[t+(e>>jg)]&r)}function Kp(e,t){return!(e&2)&&!(e&1&&t)}var Yn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $g(this._tNode,this._lView,t,kn(r),n)}};function ew(){return new Yn(re(),_())}function Ea(e){return Wo(()=>{let t=e.prototype.constructor,n=t[Co]||Il(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Co]||Il(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Il(e){return vu(e)?()=>{let t=Il(ae(e));return t&&t()}:en(e)}function tw(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!xr(s);){let a=Hg(i,s,n,r|2,bt);if(a!==bt)return a;let c=i.parent;if(!c){let u=s[ku];if(u){let l=u.get(n,bt,r);if(l!==bt)return l}c=zg(s),s=s[Vn]}i=c}return o}function zg(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[be]:null}function Ia(e){return KI(re(),e)}function nw(){return Hr(re(),_())}function Hr(e,t){return new jt(tt(e,t))}var jt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=nw}return e})();function Gg(e){return e instanceof jt?e.nativeElement:e}function rw(){return this._results[Symbol.iterator]()}var ia=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t}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,n){return this._results.reduce(t,n)}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,n){this.dirty=!1;let r=up(t);(this._changesDetected=!cp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=rw};function qg(e){return(e.flags&128)===128}var id=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(id||{}),Wg=new Map,ow=0;function iw(){return ow++}function sw(e){Wg.set(e[No],e)}function wl(e){Wg.delete(e[No])}var Jp="__ngContext__";function Br(e,t){It(t)?(e[Jp]=t[No],sw(t)):e[Jp]=t}function Zg(e){return Qg(e[Rr])}function Yg(e){return Qg(e[Be])}function Qg(e){for(;e!==null&&!Xe(e);)e=e[Be];return e}var Cl;function sd(e){Cl=e}function ad(){if(Cl!==void 0)return Cl;if(typeof document<"u")return document;throw new m(210,!1)}var wa=new I("",{providedIn:"root",factory:()=>aw}),aw="ng",Ca=new I(""),zr=new I("",{providedIn:"platform",factory:()=>"unknown"});var cw=new I(""),ba=new I("",{providedIn:"root",factory:()=>ad().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var uw="h",lw="b";var Kg="r";var Jg="di";var Xg=!1,em=new I("",{providedIn:"root",factory:()=>Xg});var Ta=new I("");var dw=(e,t,n,r)=>{};function fw(e,t,n,r){dw(e,t,n,r)}function _a(e){return(e.flags&32)===32}var hw=()=>null;function tm(e,t,n=!1){return hw(e,t,n)}function nm(e,t){let n=e.contentQueries;if(n!==null){let r=N(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Oo(i),a.contentQueries(2,t[s],s)}}}finally{N(r)}}}function bl(e,t,n){Oo(0);let r=N(null);try{t(e,n)}finally{N(r)}}function cd(e,t,n){if(Lu(t)){let r=N(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{N(r)}}}var Ft=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Ft||{}),zs;function pw(){if(zs===void 0&&(zs=null,je.trustedTypes))try{zs=je.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zs}function Sa(e){return pw()?.createHTML(e)||e}var Gs;function gw(){if(Gs===void 0&&(Gs=null,je.trustedTypes))try{Gs=je.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Gs}function Xp(e){return gw()?.createHTML(e)||e}var Lt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Cs})`}},Tl=class extends Lt{getTypeName(){return"HTML"}},_l=class extends Lt{getTypeName(){return"Style"}},Sl=class extends Lt{getTypeName(){return"Script"}},Ml=class extends Lt{getTypeName(){return"URL"}},Nl=class extends Lt{getTypeName(){return"ResourceURL"}};function Ge(e){return e instanceof Lt?e.changingThisBreaksApplicationSecurity:e}function Bt(e,t){let n=rm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Cs})`)}return n===t}function rm(e){return e instanceof Lt&&e.getTypeName()||null}function ud(e){return new Tl(e)}function ld(e){return new _l(e)}function dd(e){return new Sl(e)}function fd(e){return new Ml(e)}function hd(e){return new Nl(e)}function mw(e){let t=new Al(e);return yw()?new Rl(t):t}var Rl=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Sa(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Al=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Sa(t),n}};function yw(){try{return!!new window.DOMParser().parseFromString(Sa(""),"text/html")}catch{return!1}}var vw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zo(e){return e=String(e),e.match(vw)?e:"unsafe:"+e}function Vt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Yo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var om=Vt("area,br,col,hr,img,wbr"),im=Vt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sm=Vt("rp,rt"),Dw=Yo(sm,im),Ew=Yo(im,Vt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Iw=Yo(sm,Vt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),eg=Yo(om,Ew,Iw,Dw),am=Vt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ww=Vt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cw=Vt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bw=Yo(am,ww,Cw),Tw=Vt("script,style,template"),xl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Mw(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Sw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=tg(t).toLowerCase();if(!eg.hasOwnProperty(n))return this.sanitizedSomething=!0,!Tw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!bw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;am[a]&&(c=Zo(c)),this.buf.push(" ",s,'="',ng(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=tg(t).toLowerCase();eg.hasOwnProperty(n)&&!om.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ng(t))}};function _w(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Sw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw cm(t);return t}function Mw(e){let t=e.firstChild;if(t&&_w(e,t))throw cm(t);return t}function tg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function cm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Nw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rw=/([^\#-~ |!])/g;function ng(e){return e.replace(/&/g,"&").replace(Nw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Rw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var qs;function Ma(e,t){let n=null;try{qs=qs||mw(e);let r=t?String(t):"";n=qs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=qs.getInertBodyElement(r)}while(r!==i);let a=new xl().sanitizeChildren(rg(n)||n);return Sa(a)}finally{if(n){let r=rg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function rg(e){return"content"in e&&Aw(e)?e.content:null}function Aw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ot=(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})(ot||{});function xw(e){let t=um();return t?Xp(t.sanitize(ot.HTML,e)||""):Bt(e,"HTML")?Xp(Ge(e)):Ma(ad(),nn(e))}function Ow(e){let t=um();return t?t.sanitize(ot.URL,e)||"":Bt(e,"URL")?Ge(e):Zo(nn(e))}function um(){let e=_();return e&&e[Dt].sanitizer}var Pw=/^>|^->|<!--|-->|--!>|<!-$/g,kw=/(<|>)/g,Fw="\u200B$1\u200B";function Lw(e){return e.replace(Pw,t=>t.replace(kw,Fw))}function jw(e){return e.ownerDocument}function lm(e){return e instanceof Function?e():e}function Bw(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var dm="ng-template";function Vw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Bw(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(pd(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function pd(e){return e.type===4&&e.value!==dm}function Uw(e,t,n){let r=e.type===4&&!n?dm:e.value;return t===r}function $w(e,t,n){let r=4,o=e.attrs,i=o!==null?Gw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!nt(r)&&!nt(c))return!1;if(s&&nt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Uw(e,c,n)||c===""&&t.length===1){if(nt(r))return!1;s=!0}}else if(r&8){if(o===null||!Vw(e,o,c,n)){if(nt(r))return!1;s=!0}}else{let u=t[++a],l=Hw(c,o,pd(e),n);if(l===-1){if(nt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(nt(r))return!1;s=!0}}}}return nt(r)||s}function nt(e){return(e&1)===0}function Hw(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return qw(t,e)}function fm(e,t,n=!1){for(let r=0;r<t.length;r++)if($w(e,t[r],n))return!0;return!1}function zw(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Gw(e){for(let t=0;t<e.length;t++){let n=e[t];if(kg(n))return t}return e.length}function qw(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Ww(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function og(e,t){return e?":not("+t.trim()+")":t}function Zw(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!nt(s)&&(t+=og(i,o),o=""),r=s,i=i||!nt(r);n++}return o!==""&&(t+=og(i,o)),t}function Yw(e){return e.map(Zw).join(",")}function Qw(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!nt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Ne={};function Kw(e,t){return e.createText(t)}function Jw(e,t,n){e.setValue(t,n)}function Xw(e,t){return e.createComment(Lw(t))}function hm(e,t,n){return e.createElement(t,n)}function sa(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pm(e,t,n){e.appendChild(t,n)}function ig(e,t,n,r,o){r!==null?sa(e,t,n,r,o):pm(e,t,n)}function gm(e,t,n,r){e.removeChild(null,t,n,r)}function eC(e,t,n){e.setAttribute(t,"style",n)}function tC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function mm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&GI(e,t,r),o!==null&&tC(e,t,o),i!==null&&eC(e,t,i)}function gd(e,t,n,r,o,i,s,a,c,u,l){let d=G+r,h=d+o,f=nC(d,h),g=typeof u=="function"?u():u;return f[b]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function nC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ne);return n}function rC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=gd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function md(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Je]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),Uu(d),d[ce]=d[Vn]=e,d[X]=n,d[Dt]=s||e&&e[Dt],d[U]=a||e&&e[U],d[rn]=c||e&&e[rn]||null,d[be]=i,d[No]=iw(),d[Bn]=l,d[ku]=u,d[Ee]=t.type==2?e[Ee]:d,d}function oC(e,t,n){let r=tt(t,e),o=rC(n),i=e[Dt].rendererFactory,s=yd(e,md(e,o,null,ym(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function ym(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function vm(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function yd(e,t){return e[Rr]?e[Pu][Be]=t:e[Rr]=t,e[Pu]=t,t}function iC(e=1){Dm(q(),_(),wt()+e,!1)}function Dm(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ys(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Qs(t,i,0,n)}ln(n)}var Na=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Na||{});function Ol(e,t,n,r){let o=N(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Na.SignalBased)!==0&&(c=t[i][ie]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Ng(t,c,i,r)}finally{N(o)}}var Tt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Tt||{}),sC;function vd(e,t){return sC(e,t)}var Qo=new Set;var Em=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1})});function sg(e,t,n,r){let o=e?.[Hn]?.enter;if(t!==null&&o&&o.has(n.index)){let i=r.get(Em);for(let s of o.get(n.index).animateFns)i.queue.add(s)}}function Fr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Xe(o)?c=o:It(o)&&(u=!0,o=o[Je]);let l=Ve(o);e===0&&r!==null?(sg(a,r,i,n),s==null?pm(t,r,l):sa(t,r,l,s||null,!0)):e===1&&r!==null?(sg(a,r,i,n),sa(t,r,l,s||null,!0)):e===2?ag(a,i,n,d=>{gm(t,l,u,d)}):e===3&&ag(a,i,n,()=>{t.destroyNode(l)}),c!=null&&vC(t,e,n,c,i,r,s)}}function aC(e,t){let n=e.get(Em);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t)}function cC(e,t){Im(e,t),t[Je]=null,t[be]=null}function uC(e,t,n,r,o,i){r[Je]=o,r[be]=t,Aa(e,r,n,1,o,i)}function Im(e,t){t[Dt].changeDetectionScheduler?.notify(9),Aa(e,t,t[U],2,null,null)}function lC(e){let t=e[Rr];if(!t)return ll(e[b],e);for(;t;){let n=null;if(It(t))n=t[Rr];else{let r=t[ne];r&&(n=r)}if(!n){for(;t&&!t[Be]&&t!==e;)It(t)&&ll(t[b],t),t=t[ce];t===null&&(t=e),It(t)&&ll(t[b],t),n=t&&t[Be]}t=n}}function Dd(e,t){let n=e[zn],r=n.indexOf(t);n.splice(r,1)}function Ra(e,t){if(Gn(t))return;let n=t[U];n.destroyNode&&Aa(e,t,n,3,null,null),lC(t)}function ll(e,t){if(Gn(t))return;let n=N(null);try{t[M]&=-129,t[M]|=256,t[xe]&&Kt(t[xe]),hC(e,t),fC(e,t),t[b].type===1&&t[U].destroy();let r=t[on];if(r!==null&&Xe(t[ce])){r!==t[ce]&&Dd(r,t);let o=t[Et];o!==null&&o.detachView(e)}wl(t)}finally{N(n)}}function ag(e,t,n,r){let o=e?.[Hn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);aC(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s)for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.running=Promise.allSettled(a),dC(e,r)}else e&&Qo.delete(e),r(!1)})}function dC(e,t){let n=e[Hn]?.running;if(n){n.then(()=>{e[Hn].running=void 0,Qo.delete(e),t(!0)});return}t(!1)}function fC(e,t){let n=e.cleanup,r=t[Nr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Nr]=null);let o=t[At];if(o!==null){t[At]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[kt];if(i!==null){t[kt]=null;for(let s of i)s.destroy()}}function hC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Qn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];V(4,a,c);try{c.call(a)}finally{V(5,a,c)}}else{V(4,o,i);try{i.call(o)}finally{V(5,o,i)}}}}}function wm(e,t,n){return pC(e,t.parent,n)}function pC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Je];if(an(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ft.None||o===Ft.Emulated)return null}return tt(r,n)}function Cm(e,t,n){return mC(e,t,n)}function gC(e,t,n){return e.type&40?tt(e,n):null}var mC=gC,cg;function Ed(e,t,n,r){let o=wm(e,r,t),i=t[U],s=r.parent||t[be],a=Cm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ig(i,o,n[c],a,!1);else ig(i,o,n,a,!1);cg!==void 0&&cg(i,r,t,n,o)}function jo(e,t){if(t!==null){let n=t.type;if(n&3)return tt(t,e);if(n&4)return Pl(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return jo(e,r);{let o=e[t.index];return Xe(o)?Pl(-1,o):Ve(o)}}else{if(n&128)return jo(e,t.next);if(n&32)return vd(t,e)()||Ve(e[t.index]);{let r=bm(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=tn(e[Ee]);return jo(o,r)}else return jo(e,t.next)}}}return null}function bm(e,t){if(t!==null){let r=e[Ee][be],o=t.projection;return r.projection[o]}return null}function Pl(e,t){let n=ne+e+1;if(n<t.length){let r=t[n],o=r[b].firstChild;if(o!==null)return jo(r,o)}return t[sn]}function Id(e,t,n,r,o,i,s){for(;n!=null;){let a=r[rn];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Br(Ve(c),r),n.flags|=2),!_a(n))if(u&8)Id(e,t,n.child,r,o,i,!1),Fr(t,e,a,o,c,n,i,r);else if(u&32){let l=vd(n,r),d;for(;d=l();)Fr(t,e,a,o,d,n,i,r);Fr(t,e,a,o,c,n,i,r)}else u&16?Tm(e,t,r,n,o,i):Fr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Aa(e,t,n,r,o,i){Id(n,r,e.firstChild,t,o,i,!1)}function yC(e,t,n){let r=t[U],o=wm(e,n,t),i=n.parent||t[be],s=Cm(i,n,t);Tm(r,0,t,n,o,s)}function Tm(e,t,n,r,o,i){let s=n[Ee],c=s[be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Fr(t,e,n[rn],o,l,r,i,n)}else{let u=c,l=s[ce];qg(r)&&(u.flags|=128),Id(e,t,u,l,o,i,!0)}}function vC(e,t,n,r,o,i,s){let a=r[sn],c=Ve(r);a!==c&&Fr(t,e,n,i,a,o,s);for(let u=ne;u<r.length;u++){let l=r[u];Aa(l[b],l,e,t,i,a)}}function DC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Tt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Tt.Important),e.setStyle(n,r,o,i))}}function _m(e,t,n,r,o){let i=wt(),s=r&2;try{ln(-1),s&&t.length>G&&Dm(e,t,G,!1),V(s?2:0,o,n),n(r,o)}finally{ln(i),V(s?3:1,o,n)}}function xa(e,t,n){TC(e,t,n),(n.flags&64)===64&&_C(e,t,n)}function Ko(e,t,n=tt){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function EC(e,t,n,r){let i=r.get(em,Xg)||n===Ft.ShadowDom,s=e.selectRootElement(t,i);return IC(s),s}function IC(e){wC(e)}var wC=()=>null;function CC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Sm(e,t,n,r,o,i){let s=t[b];if(Td(e,s,t,n,r)){an(e)&&bC(t,e.index);return}e.type&3&&(n=CC(n)),Mm(e,t,n,r,o,i)}function Mm(e,t,n,r,o,i){if(e.type&3){let s=tt(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function bC(e,t){let n=Ue(t,e);n[M]&16||(n[M]|=64)}function TC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;an(n)&&oC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||oa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Vo(t,e,s,n);if(Br(c,t),i!==null&&RC(t,s-r,c,a,n,i),et(a)){let u=Ue(n.index,t);u[X]=Vo(t,e,s,n)}}}function _C(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Fp();try{ln(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Bs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&SC(c,u)}}finally{ln(-1),Bs(s)}}function SC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wd(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];fm(t,i.selectors,!1)&&(r??=[],et(i)?r.unshift(i):r.push(i))}return r}function MC(e,t,n,r,o,i){let s=tt(e,t);NC(t[U],s,i,e.value,n,r,o)}function NC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?nn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function RC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Ol(r,n,c,u)}}function Cd(e,t,n,r,o){let i=G+n,s=t[b],a=o(s,t,e,r,n);t[i]=a,Or(e,!0);let c=e.type===2;return c?(mm(t[U],a,e),(_p()===0||Ar(e))&&Br(a,t),Sp()):Br(a,t),Hs()&&(!c||!_a(e))&&Ed(s,t,a,e),e}function bd(e){let t=e;return Ku()?Ju():(t=t.parent,Or(t,!1)),t}function AC(e,t){let n=e[rn];if(!n)return;let r;try{r=n.get(Te,null)}catch{r=null}r?.(t)}function Td(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Ol(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Ol(l,u,r,o),a=!0}return a}function xC(e,t){let n=Ue(t,e),r=n[b];OC(r,n);let o=n[Je];o!==null&&n[Bn]===null&&(n[Bn]=tm(o,n[rn])),V(18),_d(r,n,n[X]),V(19,n[X])}function OC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function _d(e,t,n){Us(t);try{let r=e.viewQuery;r!==null&&bl(1,r,n);let o=e.template;o!==null&&_m(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Et]?.finishViewCreation(e),e.staticContentQueries&&nm(e,t),e.staticViewQueries&&bl(2,e.viewQuery,n);let i=e.components;i!==null&&PC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,$s()}}function PC(e,t){for(let n=0;n<t.length;n++)xC(e,t[n])}function Jo(e,t,n,r){let o=N(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=md(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[on]=u;let l=e[Et];return l!==null&&(c[Et]=l.createEmbeddedView(i)),_d(i,c,n),c}finally{N(o)}}function Vr(e,t){return!t||t.firstChild===null||qg(e)}function Uo(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Ve(i)),Xe(i)&&Nm(i,r);let s=n.type;if(s&8)Uo(e,t,n.child,r);else if(s&32){let a=vd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=bm(t,n);if(Array.isArray(a))r.push(...a);else{let c=tn(t[Ee]);Uo(c[b],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Nm(e,t){for(let n=ne;n<e.length;n++){let r=e[n],o=r[b].firstChild;o!==null&&Uo(r[b],r,o,t)}e[sn]!==e[Je]&&t.push(e[sn])}function Rm(e){if(e[$n]!==null){for(let t of e[$n])t.impl.addSequence(t);e[$n].length=0}}var Am=[];function kC(e){return e[xe]??FC(e)}function FC(e){let t=Am.pop()??Object.create(jC);return t.lView=e,t}function LC(e){e.lView[xe]!==e&&(e.lView=null,Am.push(e))}var jC=F(y({},Tn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{cn(e.lView)},consumerOnSignalRead(){this.lView[xe]=this}});function BC(e){let t=e[xe]??Object.create(VC);return t.lView=e,t}var VC=F(y({},Tn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=tn(e.lView);for(;t&&!xm(t[b]);)t=tn(t);t&&$u(t)},consumerOnSignalRead(){this.lView[xe]=this}});function xm(e){return e.type!==2}function Om(e){if(e[kt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[kt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var UC=100;function Pm(e,t=0){let r=e[Dt].rendererFactory,o=!1;o||r.begin?.();try{$C(e,t)}finally{o||r.end?.()}}function $C(e,t){let n=Xu();try{Pr(!0),kl(e,t);let r=0;for(;xo(e);){if(r===UC)throw new m(103,!1);r++,kl(e,1)}}finally{Pr(n)}}function HC(e,t,n,r){if(Gn(t))return;let o=t[M],i=!1,s=!1;Us(t);let a=!0,c=null,u=null;i||(xm(e)?(u=kC(t),c=Qt(u)):Hi()===null?(a=!1,u=BC(t),c=Qt(u)):t[xe]&&(Kt(t[xe]),t[xe]=null));try{Uu(t),Op(e.bindingStartIndex),n!==null&&_m(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ys(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Qs(t,f,0,null),cl(t,0)}if(s||zC(t),Om(t),km(t,0),e.contentQueries!==null&&nm(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ys(t,f)}else{let f=e.contentHooks;f!==null&&Qs(t,f,1),cl(t,1)}qC(e,t);let d=e.components;d!==null&&Lm(t,d,0);let h=e.viewQuery;if(h!==null&&bl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ys(t,f)}else{let f=e.viewHooks;f!==null&&Qs(t,f,2),cl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xs]){for(let f of t[xs])f();t[xs]=null}i||(Rm(t),t[M]&=-73)}catch(l){throw i||cn(t),l}finally{u!==null&&(Sn(u,c),a&&LC(u)),$s()}}function km(e,t){for(let n=Zg(e);n!==null;n=Yg(n))for(let r=ne;r<n.length;r++){let o=n[r];Fm(o,t)}}function zC(e){for(let t=Zg(e);t!==null;t=Yg(t)){if(!(t[M]&2))continue;let n=t[zn];for(let r=0;r<n.length;r++){let o=n[r];$u(o)}}}function GC(e,t,n){V(18);let r=Ue(t,e);Fm(r,n),V(19,r[X])}function Fm(e,t){Ps(e)&&kl(e,t)}function kl(e,t){let r=e[b],o=e[M],i=e[xe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Mn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)HC(r,e,r.template,e[X]);else if(o&8192){let a=N(null);try{Om(e),km(e,1);let c=r.components;c!==null&&Lm(e,c,1),Rm(e)}finally{N(a)}}}function Lm(e,t,n){for(let r=0;r<t.length;r++)GC(e,t[r],n)}function qC(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)ln(~o);else{let i=o,s=n[++r],a=n[++r];kp(s,i);let c=t[i];V(24,c),a(2,c),V(25,c)}}}finally{ln(-1)}}function Sd(e,t){let n=Xu()?64:1088;for(e[Dt].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=tn(e);if(xr(e)&&!r)return e;e=r}return null}function jm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Bm(e,t){let n=ne+t;if(n<e.length)return e[n]}function Xo(e,t,n,r=!0){let o=t[b];if(WC(o,t,e,n),r){let s=Pl(n,e),a=t[U],c=a.parentNode(e[sn]);c!==null&&uC(o,e[be],a,t,c,s)}let i=t[Bn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Vm(e,t){let n=$o(e,t);return n!==void 0&&Ra(n[b],n),n}function $o(e,t){if(e.length<=ne)return;let n=ne+t,r=e[n];if(r){let o=r[on];o!==null&&o!==e&&Dd(o,r),t>0&&(e[n-1][Be]=r[Be]);let i=So(e,ne+t);cC(r[b],r);let s=i[Et];s!==null&&s.detachView(i[b]),r[ce]=null,r[Be]=null,r[M]&=-129}return r}function WC(e,t,n,r){let o=ne+r,i=n.length;r>0&&(n[o-1][Be]=t),r<i-ne?(t[Be]=n[o],Su(n,ne+r,t)):(n.push(t),t[Be]=null),t[ce]=n;let s=t[on];s!==null&&n!==s&&Um(s,t);let a=t[Et];a!==null&&a.insertView(e),ks(t),t[M]|=128}function Um(e,t){let n=e[zn],r=t[ce];if(It(r))e[M]|=2;else{let o=r[ce][Ee];t[Ee]!==o&&(e[M]|=2)}n===null?e[zn]=[t]:n.push(t)}var dn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[b];return Uo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[X]}set context(t){this._lView[X]=t}get destroyed(){return Gn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ce];if(Xe(t)){let n=t[Ro],r=n?n.indexOf(this):-1;r>-1&&($o(t,r),So(n,r))}this._attachedToViewContainer=!1}Ra(this._lView[b],this._lView)}onDestroy(t){Hu(this._lView,t)}markForCheck(){Sd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){ks(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Pm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=xr(this._lView),n=this._lView[on];n!==null&&!t&&Dd(n,this._lView),Im(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=xr(this._lView),r=this._lView[on];r!==null&&!n&&Um(r,this._lView),ks(this._lView)}};var fn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ZC;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Jo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new dn(i)}}return e})();function ZC(){return Oa(re(),_())}function Oa(e,t){return e.type&4?new fn(t,e,Hr(e,t)):null}function Gr(e,t,n,r,o){let i=e.data[t];if(i===null)i=YC(e,t,n,r,o),Pp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Rp();i.injectorIndex=s===null?-1:s.injectorIndex}return Or(i,!0),i}function YC(e,t,n,r,o){let i=Qu(),s=Ku(),a=s?i:i&&i.parent,c=e.data[t]=KC(e,a,n,t,r,o);return QC(e,c,i,s),c}function QC(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function KC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Wu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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}}var a1=new RegExp(`^(\\d+)*(${lw}|${uw})*(.*)`);function JC(e){let t=e[Fu]??[],r=e[ce][U],o=[];for(let i of t)i.data[Jg]!==void 0?o.push(i):XC(i,r);e[Fu]=o}function XC(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Kg];for(;n<o;){let i=r.nextSibling;gm(t,r,!1),r=i,n++}}}var eb=()=>null,tb=()=>null;function aa(e,t){return eb(e,t)}function $m(e,t,n){return tb(e,t,n)}var Hm=class{},Pa=class{},Fl=class{resolveComponentFactory(t){throw new m(917,!1)}},ei=class{static NULL=new Fl},Kn=class{},ti=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>nb()}return e})();function nb(){let e=_(),t=re(),n=Ue(t.index,e);return(It(n)?n:e)[U]}var zm=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var Js={},Ll=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Js,r);return o!==Js||n===Js?o:this.parentInjector.get(t,n,r)}};function ca(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=bs(o,a);else if(i==2){let c=a,u=t[++s];r=bs(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ue(e,t=0){let n=_();if(n===null)return C(e,t);let r=re();return $g(r,n,ae(e),t)}function Md(){let e="invalid";throw new Error(e)}function Gm(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}ib(e,t,n,a,i,c,u)}i!==null&&r!==null&&rb(n,r,i)}function rb(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function ob(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ib(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&et(f)&&(c=!0,ob(e,n,h)),El(oa(n,t),e,f.type)}db(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=vm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=jr(n.mergedAttrs,f.hostAttrs),ab(e,n,t,d,f),lb(d,f,o),s!==null&&s.has(f)){let[E,D]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}sb(e,n,i)}function sb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))ug(0,t,o,r),ug(1,t,o,r),dg(t,r,!1);else{let i=n.get(o);lg(0,t,i,r),lg(1,t,i,r),dg(t,r,!0)}}}function ug(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),qm(t,i)}}function lg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),qm(t,s)}}function qm(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function dg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||pd(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function ab(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=en(o.type,!0)),s=new Qn(i,et(o),ue,null);e.blueprint[r]=s,n[r]=s,cb(e,t,r,vm(e,n,o.hostVars,Ne),o)}function cb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;ub(s)!=a&&s.push(a),s.push(n,r,i)}}function ub(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function lb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;et(t)&&(n[""]=e)}}function db(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Nd(e,t,n,r,o,i,s,a){let c=t[b],u=c.consts,l=$e(u,s),d=Gr(c,e,n,r,l);return i&&Gm(c,t,d,$e(u,a),o),d.mergedAttrs=jr(d.mergedAttrs,d.attrs),d.attrs!==null&&ca(d,d.attrs,!1),d.mergedAttrs!==null&&ca(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Rd(e,t){Og(e,t),Lu(t)&&e.queries.elementEnd(t)}function fb(e,t,n,r,o,i){let s=t.consts,a=$e(s,o),c=Gr(t,e,n,r,a);if(c.mergedAttrs=jr(c.mergedAttrs,c.attrs),i!=null){let u=$e(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&ca(c,c.attrs,!1),c.mergedAttrs!==null&&ca(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ad(e){return Zm(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Wm(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Zm(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ym(e,t,n){return e[t]=n}function ze(e,t,n){if(n===Ne)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Qm(e,t,n,r){let o=ze(e,t,n);return ze(e,t+1,r)||o}function Xs(e,t,n){return function r(o){let i=an(e)?Ue(e.index,t):t;Sd(i,5);let s=t[X],a=fg(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=fg(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function fg(e,t,n,r){let o=N(null);try{return V(6,t,n),n(r)!==!1}catch(i){return AC(e,i),!1}finally{V(7,t,n),N(o)}}function Km(e,t,n,r,o,i,s,a){let c=Ar(e),u=!1,l=null;if(!r&&c&&(l=pb(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=tt(e,n),h=r?r(d):d;fw(n,h,i,a);let f=o.listen(h,i,a);if(!hb(i)){let g=r?E=>r(Ve(E[e.index])):e.index;Jm(g,t,n,i,a,f,!1)}}return u}function hb(e){return e.startsWith("animation")||e.startsWith("transition")}function pb(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Nr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Jm(e,t,n,r,o,i,s){let a=t.firstCreatePass?Gu(t):null,c=zu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function hg(e,t,n,r,o,i){let s=t[n],a=t[b],u=a.data[n].outputs[r],d=s[u].subscribe(i);Jm(e.index,a,t,o,i,d,!0)}var jl=Symbol("BINDING");var ua=class extends ei{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=vt(t);return new hn(n,this.ngModule)}};function gb(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Na.SignalBased)!==0};return o&&(i.transform=o),i})}function mb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function yb(e,t,n){let r=t instanceof ee?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ll(n,r):n}function vb(e){let t=e.get(Kn,null);if(t===null)throw new m(407,!1);let n=e.get(zm,null),r=e.get(Le,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Db(e,t){let n=Xm(e);return hm(t,n,n==="svg"?ju:n==="math"?Ep:null)}function Xm(e){return(e.selectors[0][0]||"div").toLowerCase()}var hn=class extends Pa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=gb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=mb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Yw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){V(22);let a=N(null);try{let c=this.componentDef,u=Eb(r,c,s,i),l=yb(c,o||this.ngModule,t),d=vb(l),h=d.rendererFactory.createRenderer(null,c),f=r?EC(h,r,c.encapsulation,l):Db(c,h),g=s?.some(pg)||i?.some(v=>typeof v!="function"&&v.bindings.some(pg)),E=md(null,u,null,512|ym(c),null,null,d,h,l,null,tm(f,l,!0));E[G]=f,Us(E);let D=null;try{let v=Nd(G,E,2,"#host",()=>u.directiveRegistry,!0,0);mm(h,f,v),Br(f,E),xa(u,E,v),cd(u,v,E),Rd(u,v),n!==void 0&&wb(v,this.ngContentSelectors,n),D=Ue(v.index,E),E[X]=D[X],_d(u,E,null)}catch(v){throw D!==null&&wl(D),wl(E),v}finally{V(23),$s()}return new la(this.componentType,E,!!g)}finally{N(a)}}};function Eb(e,t,n,r){let o=e?["ng-version","20.3.4"]:Qw(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[jl].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let h of d.bindings){a+=h[jl].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=As(d);c.push(h)}return gd(0,null,Ib(i,s),1,a,c,null,null,null,[o],null)}function Ib(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function pg(e){let t=e[jl].kind;return t==="input"||t==="twoWay"}var la=class extends Hm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ao(n[b],G),this.location=Hr(this._tNode,n),this.instance=Ue(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new dn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Td(r,o[b],o,t,n);this.previousInputValues.set(t,n);let s=Ue(r.index,o);Sd(s,1)}get injector(){return new Yn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function wb(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var _t=(()=>{class e{static __NG_ELEMENT_ID__=Cb}return e})();function Cb(){let e=re();return ty(e,_())}var bb=_t,ey=class extends bb{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Hr(this._hostTNode,this._hostLView)}get injector(){return new Yn(this._hostTNode,this._hostLView)}get parentInjector(){let t=od(this._hostTNode,this._hostLView);if(Fg(t)){let n=na(t,this._hostLView),r=ta(t),o=n[b].data[r+8];return new Yn(o,n)}else return new Yn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=gg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ne}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=aa(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Vr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!LI(t),u;if(c)u=n;else{let D=n||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?t:new hn(vt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(ee,null);v&&(i=v)}let h=vt(l.componentType??{}),f=aa(this._lContainer,h?.id??null),g=f?.firstChild??null,E=l.create(d,o,g,i,s,a);return this.insertImpl(E.hostView,u,Vr(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(wp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ce],u=new ey(c,c[be],c[ce]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xo(s,o,i,r),t.attachToViewContainerRef(),Su(dl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=gg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=$o(this._lContainer,n);r&&(So(dl(this._lContainer),n),Ra(r[b],r))}detach(t){let n=this._adjustIndex(t,-1),r=$o(this._lContainer,n);return r&&So(dl(this._lContainer),n)!=null?new dn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function gg(e){return e[Ro]}function dl(e){return e[Ro]||(e[Ro]=[])}function ty(e,t){let n,r=t[e.index];return Xe(r)?n=r:(n=jm(r,t,null,e),t[e.index]=n,yd(t,n)),_b(n,t,e,r),new ey(n,e,t)}function Tb(e,t){let n=e[U],r=n.createComment(""),o=tt(t,e),i=n.parentNode(o);return sa(n,i,r,n.nextSibling(o),!1),r}var _b=Nb,Sb=()=>!1;function Mb(e,t,n){return Sb(e,t,n)}function Nb(e,t,n,r){if(e[sn])return;let o;n.type&8?o=Ve(r):o=Tb(t,n),e[sn]=o}var Bl=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Vl=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.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)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Od(t,n).matches!==null&&this.queries[n].setDirty()}},da=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Pb(t):this.predicate=t}},Ul=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},$l=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Rb(n,i)),this.matchTNodeWithReadOption(t,n,Ks(n,t,i,!1,!1))}else r===fn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ks(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===jt||o===_t||o===fn&&n.type&4)this.addMatch(n.index,-2);else{let i=Ks(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Rb(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Ab(e,t){return e.type&11?Hr(e,t):e.type&4?Oa(e,t):null}function xb(e,t,n,r){return n===-1?Ab(t,e):n===-2?Ob(e,t,r):Vo(e,e[b],n,t)}function Ob(e,t,n){if(n===jt)return Hr(t,e);if(n===fn)return Oa(t,e);if(n===_t)return ty(t,e)}function ny(e,t,n,r){let o=t[Et].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(xb(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Hl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ny(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=ne;d<l.length;d++){let h=l[d];h[on]===h[ce]&&Hl(h[b],h,u,r)}if(l[zn]!==null){let d=l[zn];for(let h=0;h<d.length;h++){let f=d[h];Hl(f[b],f,u,r)}}}}}return r}function xd(e,t){return e[Et].queries[t].queryList}function ry(e,t,n){let r=new ia((n&4)===4);return Tp(e,t,r,r.destroy),(t[Et]??=new Vl).queries.push(new Bl(r))-1}function oy(e,t,n){let r=q();return r.firstCreatePass&&(sy(r,new da(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),ry(r,_(),t)}function iy(e,t,n,r){let o=q();if(o.firstCreatePass){let i=re();sy(o,new da(t,n,r),i.index),kb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return ry(o,_(),n)}function Pb(e){return e.split(",").map(t=>t.trim())}function sy(e,t,n){e.queries===null&&(e.queries=new Ul),e.queries.track(new $l(t,n))}function kb(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Od(e,t){return e.queries.getByIndex(t)}function ay(e,t){let n=e[b],r=Od(n,t);return r.crossesNgTemplate?Hl(n,e,t,[]):ny(n,e,r,t)}function cy(e,t,n){let r,o=po(()=>{r._dirtyCounter();let i=Fb(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ie],r._dirtyCounter=qn(0),r._flatValue=void 0,o}function Pd(e){return cy(!0,!1,e)}function kd(e){return cy(!0,!0,e)}function uy(e,t){let n=e[ie];n._lView=_(),n._queryIndex=t,n._queryList=xd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Fb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:De;let o=xd(n,r),i=ay(n,r);return o.reset(i,Gg),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var mg=new Set;function it(e){mg.has(e)||(mg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Jn=class{},ka=class{};var fa=class extends Jn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ua(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ru(t);this._bootstrapComponents=lm(i.bootstrap),this._r3Injector=nl(t,n,[{provide:Jn,useValue:this},{provide:ei,useValue:this.componentFactoryResolver},...r],xt(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ha=class extends ka{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new fa(this.moduleType,t,[])}};var Ho=class extends Jn{injector;componentFactoryResolver=new ua(this);instance=null;constructor(t){super();let n=new Ln([...t.providers,{provide:Jn,useValue:this},{provide:ei,useValue:this.componentFactoryResolver}],t.parent||Mr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function qr(e,t,n=null){return new Ho({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Lb=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Au(!1,n.type),o=r.length>0?qr([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(C(ee))})}return e})();function Fd(e){return Wo(()=>{let t=ly(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===id.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Lb).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ft.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&it("NgStandalone"),dy(n);let r=e.dependencies;return n.directiveDefs=yg(r,jb),n.pipeDefs=yg(r,fp),n.id=Ub(n),n})}function jb(e){return vt(e)||As(e)}function pn(e){return Wo(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bb(e,t){if(e==null)return Qe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Na.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Vb(e){if(e==null)return Qe;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ut(e){return Wo(()=>{let t=ly(e);return dy(t),t})}function Fa(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function ly(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,inputConfig:e.inputs||Qe,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Bb(e.inputs,t),outputs:Vb(e.outputs),debugInfo:null}}function dy(e){e.features?.forEach(t=>t(e))}function yg(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Ub(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function $b(e){return Object.getPrototypeOf(e.prototype).constructor}function fy(e){let t=$b(e.type),n=!0,r=[e];for(;t;){let o;if(et(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=fl(e.inputs),s.declaredInputs=fl(e.declaredInputs),s.outputs=fl(e.outputs);let a=o.hostBindings;a&&Wb(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Gb(e,c),u&&qb(e,u),Hb(e,o),rp(e.outputs,o.outputs),et(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===fy&&(n=!1)}}t=Object.getPrototypeOf(t)}zb(r)}function Hb(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function zb(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=jr(o.hostAttrs,n=jr(n,o.hostAttrs))}}function fl(e){return e===Qe?{}:e===De?[]:e}function Gb(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function qb(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Wb(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Zb(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Yb,n.hostDirectives=r?e.map(zl):[e]):r?n.hostDirectives.unshift(...e.map(zl)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Yb(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,hy(s,t,r),o.set(s,[a,t.length-1])}i===0&&et(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function hy(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)vg(zl(i),t,n)}else vg(r,t,n)}function vg(e,t,n){let r=As(e.directive);Qb(r.declaredInputs,e.inputs),hy(r,t,n),n.set(r,e),t.push(r)}function zl(e){return typeof e=="function"?{directive:ae(e),inputs:Qe,outputs:Qe}:{directive:ae(e.directive),inputs:Dg(e.inputs),outputs:Dg(e.outputs)}}function Dg(e){if(e===void 0||e.length===0)return Qe;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function Qb(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function py(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=jr(e.mergedAttrs,e.attrs);let l=e.tView=gd(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Or(e,!1);let c=Jb(n,t,e,r);Hs()&&Ed(n,t,c,e),Br(c,t);let u=jm(c,t,c,e);t[r+G]=u,yd(t,u),Mb(u,e,t)}function Kb(e,t,n,r,o,i,s,a,c,u,l){let d=n+G,h;return t.firstCreatePass?(h=Gr(t,d,4,s||null,a||null),Fs()&&Gm(t,e,h,$e(t.consts,u),wd),Og(t,h)):h=t.data[d],py(h,e,t,n,r,o,i,c),Ar(h)&&xa(t,e,h),u!=null&&Ko(e,h,l),h}function zo(e,t,n,r,o,i,s,a,c,u,l){let d=n+G,h;if(t.firstCreatePass){if(h=Gr(t,d,4,s||null,a||null),u!=null){let f=$e(t.consts,u);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return py(h,e,t,n,r,o,i,c),u!=null&&Ko(e,h,l),h}function gy(e,t,n,r,o,i,s,a){let c=_(),u=q(),l=$e(u.consts,i);return Kb(c,u,e,t,n,r,o,l,void 0,s,a),gy}var Jb=Xb;function Xb(e,t,n,r){return ko(!0),t[U].createComment("")}var La=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(La||{}),gn=new I(""),my=!1,Gl=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,vp()&&(this.destroyRef=p(He,{optional:!0})??void 0,this.pendingTasks=p(Ct,{optional:!0})??void 0)}emit(t){let n=N(null);try{super.next(t)}finally{N(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},_e=Gl;function yy(e){let t,n;function r(){e=Zn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Eg(e){return queueMicrotask(()=>e()),()=>{e=Zn}}var Ld="isAngularZone",pa=Ld+"_ID",eT=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=my}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,rT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ld)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,tT,Zn,Zn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},tT={};function jd(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 nT(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){yy(()=>{e.callbackScheduled=!1,ql(e),e.isCheckStableRunning=!0,jd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ql(e)}function rT(e){let t=()=>{nT(e)},n=eT++;e._inner=e._inner.fork({name:"angular",properties:{[Ld]:!0,[pa]:n,[pa+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(oT(c))return r.invokeTask(i,s,a,c);try{return Ig(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),wg(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ig(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!iT(c)&&t(),wg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ql(e),jd(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ql(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ig(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wg(e){e._nesting--,jd(e)}var ga=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function oT(e){return vy(e,"__ignore_ng_zone__")}function iT(e){return vy(e,"__scheduler_tick__")}function vy(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ja=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Bd=[0,1,2,3],Vd=(()=>{class e{ngZone=p(Q);scheduler=p(Le);errorHandler=p(Fe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(gn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&V(16),this.executing=!0;for(let r of Bd)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&V(17)}register(n){let{view:r}=n;r!==void 0?((r[$n]??=[]).push(n),cn(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(La.AFTER_NEXT_RENDER,n):n()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Go=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[$n];t&&(this.view[$n]=t.filter(n=>n!==this))}};function Ud(e,t){let n=t?.injector??p(ge);return it("NgAfterNextRender"),aT(e,n,t,!0)}function sT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function aT(e,t,n,r){let o=t.get(ja);o.impl??=t.get(Vd);let i=t.get(gn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(He):null,a=t.get(Wn,null,{optional:!0}),c=new Go(o.impl,sT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ba=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var $d=new I("");function er(e){return!!e&&typeof e.then=="function"}function Va(e){return!!e&&typeof e.subscribe=="function"}var Hd=new I("");function Ua(e){return Ke([{provide:Hd,multi:!0,useValue:e}])}var zd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Hd,{optional:!0})??[];injector=p(ge);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=he(this.injector,o);if(er(i))n.push(i);else if(Va(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ni=new I("");function Dy(){Hc(()=>{let e="";throw new m(600,e)})}function Ey(e){return e.isBoundToModule}var cT=10;var mn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Te);afterRenderManager=p(ja);zonelessEnabled=p(kr);rootEffectScheduler=p(Lo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new J;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Ct);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(x(n=>!n))}constructor(){p(gn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(ee);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ge.NULL){return this._injector.get(Q).run(()=>{V(10);let s=n instanceof Pa;if(!this._injector.get(zd).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(ei).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Ey(c)?void 0:this._injector.get(Jn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get($d,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Bo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),V(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){V(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(La.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=N(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,N(n),this.afterTick.next(),V(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Kn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<cT;)V(14),this.synchronizeOnce(),V(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!xo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Pm(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>xo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Bo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ni,[]).forEach(o=>o(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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Bo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gd(e,t,n,r){let o=_(),i=un();if(ze(o,i,t)){let s=q(),a=Po();MC(a,o,e,t,n,r)}return Gd}var p1=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function uT(){return _()[Ee][X]}var Wl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t,!0))}};function hl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function lT(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=hl(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],g=hl(s,h,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,u),D=n(s,h),v=n(i,l);if(Object.is(v,D)){let z=n(c,f);Object.is(z,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new ma,o??=bg(e,i,s,n),Zl(e,r,i,v))e.updateValue(i,l),i++,s++;else if(o.has(v))r.set(E,e.detach(i)),s--;else{let z=e.create(i,t[i]);e.attach(i,z),i++,s++}}for(;i<=c;)Cg(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=hl(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new ma,o??=bg(e,i,s,n);let f=n(i,d);if(Zl(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Cg(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Zl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Cg(e,t,n,r,o){if(Zl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function bg(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ma=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function dT(e,t,n,r,o,i,s,a){it("NgControlFlow");let c=_(),u=q(),l=$e(u.consts,i);return zo(c,u,e,t,n,r,o,l,256,s,a),qd}function qd(e,t,n,r,o,i,s,a){it("NgControlFlow");let c=_(),u=q(),l=$e(u.consts,i);return zo(c,u,e,t,n,r,o,l,512,s,a),qd}function fT(e,t){it("NgControlFlow");let n=_(),r=un(),o=n[r]!==Ne?n[r]:-1,i=o!==-1?ya(n,G+o):void 0,s=0;if(ze(n,r,e)){let a=N(null);try{if(i!==void 0&&Vm(i,s),e!==-1){let c=G+e,u=ya(n,c),l=Jl(n[b],c),d=$m(u,l,n),h=Jo(n,l,t,{dehydratedView:d});Xo(u,h,s,Vr(l,d))}}finally{N(a)}}else if(i!==void 0){let a=Bm(i,s);a!==void 0&&(a[X]=t)}}var Yl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ne}};function hT(e){return e}function pT(e,t){return t}var Ql=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function gT(e,t,n,r,o,i,s,a,c,u,l,d,h){it("NgControlFlow");let f=_(),g=q(),E=c!==void 0,D=_(),v=a?s.bind(D[Ee][X]):s,z=new Ql(E,v);D[G+e]=z,zo(f,g,e+1,t,n,r,o,$e(g.consts,i),256),E&&zo(f,g,e+2,c,u,l,d,$e(g.consts,h),512)}var Kl=class extends Wl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ne}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[Bn];this.needsIndexUpdate||=t!==this.length,Xo(this.lContainer,n,t,Vr(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&yT(this.lContainer,t),vT(this.lContainer,t)}create(t,n){let r=aa(this.lContainer,this.templateTNode.tView.ssrId),o=Jo(this.hostLView,this.templateTNode,new Yl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ra(t[b],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return DT(this.lContainer,t)}};function mT(e){let t=N(null),n=wt();try{let r=_(),o=r[b],i=r[n],s=n+1,a=ya(r,s);if(i.liveCollection===void 0){let u=Jl(o,s);i.liveCollection=new Kl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(lT(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=un(),l=c.length===0;if(ze(r,u,l)){let d=n+2,h=ya(r,d);if(l){let f=Jl(o,d),g=$m(h,f,r),E=Jo(r,f,void 0,{dehydratedView:g});Xo(h,E,0,Vr(f,g))}else o.firstUpdatePass&&JC(h),Vm(h,0)}}}finally{N(t)}}function ya(e,t){return e[t]}function yT(e,t){if(e.length<=ne)return;let n=ne+t,r=e[n];r&&r[Hn]&&(r[Hn].skipLeaveAnimations=!0)}function vT(e,t){return $o(e,t)}function DT(e,t){return Bm(e,t)}function Jl(e,t){return Ao(e,t)}function Iy(e,t,n){let r=_(),o=un();if(ze(r,o,t)){let i=q(),s=Po();Sm(s,r,e,t,r[U],n)}return Iy}function Xl(e,t,n,r,o){Td(t,e,n,o?"class":"style",r)}function Wd(e,t,n,r){let o=_(),i=o[b],s=e+G,a=i.firstCreatePass?Nd(s,o,2,t,wd,Fs(),n,r):i.data[s];if(Cd(a,o,e,t,Cy),Ar(a)){let c=o[b];xa(c,o,a),cd(c,a,o)}return r!=null&&Ko(o,a),Wd}function Zd(){let e=q(),t=re(),n=bd(t);return e.firstCreatePass&&Rd(e,n),Zu(n)&&Yu(),qu(),n.classesWithoutHost!=null&&HI(n)&&Xl(e,n,_(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&zI(n)&&Xl(e,n,_(),n.stylesWithoutHost,!1),Zd}function $a(e,t,n,r){return Wd(e,t,n,r),Zd(),$a}function Yd(e,t,n,r){let o=_(),i=o[b],s=e+G,a=i.firstCreatePass?fb(s,i,2,t,n,r):i.data[s];return Cd(a,o,e,t,Cy),r!=null&&Ko(o,a),Yd}function Qd(){let e=re(),t=bd(e);return Zu(t)&&Yu(),qu(),Qd}function wy(e,t,n,r){return Yd(e,t,n,r),Qd(),wy}var Cy=(e,t,n,r,o)=>(ko(!0),hm(t[U],r,zp()));function Kd(e,t,n){let r=_(),o=r[b],i=e+G,s=o.firstCreatePass?Nd(i,r,8,"ng-container",wd,Fs(),t,n):o.data[i];if(Cd(s,r,e,"ng-container",ET),Ar(s)){let a=r[b];xa(a,r,s),cd(a,s,r)}return n!=null&&Ko(r,s),Kd}function Jd(){let e=q(),t=re(),n=bd(t);return e.firstCreatePass&&Rd(e,n),Jd}function by(e,t,n){return Kd(e,t,n),Jd(),by}var ET=(e,t,n,r,o)=>(ko(!0),Xw(t[U],""));function IT(){return _()}function Ty(e,t,n){let r=_(),o=un();if(ze(r,o,t)){let i=q(),s=Po();Mm(s,r,e,t,r[U],n)}return Ty}var Ws=void 0;function wT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var CT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ws,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ws,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ws,"{1} 'at' {0}",Ws],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",wT],pl={};function Oe(e){let t=bT(e),n=Tg(t);if(n)return n;let r=t.split("-")[0];if(n=Tg(r),n)return n;if(r==="en")return CT;throw new m(701,!1)}function Tg(e){return e in pl||(pl[e]=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e]),pl[e]}var te=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(te||{});function bT(e){return e.toLowerCase().replace(/_/g,"-")}var ri="en-US";var TT=ri;function _y(e){typeof e=="string"&&(TT=e.toLowerCase().replace(/_/g,"-"))}function Xd(e,t,n){let r=_(),o=q(),i=re();return My(o,r,r[U],i,e,t,n),Xd}function Sy(e,t,n){let r=_(),o=q(),i=re();return(i.type&3||n)&&Km(i,o,r,n,r[U],e,t,Xs(i,r,t)),Sy}function My(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Xs(r,t,i),Km(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];c??=Xs(r,t,i),hg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=Xs(r,t,i),hg(r,t,d,o,o,c)}}function _T(e=1){return Up(e)}function ST(e,t){let n=null,r=zw(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?fm(e,i,!0):Ww(r,i))return o}return n}function MT(e){let t=_()[Ee][be];if(!t.projection){let n=e?e.length:1,r=t.projection=lp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ST(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function NT(e,t=0,n,r,o,i){let s=_(),a=q(),c=r?e+1:null;c!==null&&zo(s,a,c,r,o,i,null,n);let u=Gr(a,G+e,16,null,n||null);u.projection===null&&(u.projection=t),Ju();let d=!s[Bn]||Wu();s[Ee][be].projection[u.projection]===null&&c!==null?RT(s,a,c):d&&!_a(u)&&yC(a,s,u)}function RT(e,t,n){let r=G+n,o=t.data[r],i=e[r],s=aa(i,o.tView.ssrId),a=Jo(e,o,void 0,{dehydratedView:s});Xo(i,a,0,Vr(o,s))}function Ny(e,t,n,r){iy(e,t,n,r)}function AT(e,t,n){oy(e,t,n)}function Ry(e){let t=_(),n=q(),r=Vs();Oo(r+1);let o=Od(n,r);if(e.dirty&&Ip(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ay(t,r);e.reset(i,Gg),e.notifyOnChanges()}return!0}return!1}function Ay(){return xd(_(),Vs())}function xT(e,t,n,r,o){uy(t,iy(e,n,r,o))}function OT(e,t,n,r){uy(e,oy(t,n,r))}function PT(e=1){Oo(Vs()+e)}function kT(e){let t=Ap();return Os(t,G+e)}function Zs(e,t){return e<<17|t<<2}function Xn(e){return e>>17&32767}function FT(e){return(e&2)==2}function LT(e,t){return e&131071|t<<17}function ed(e){return e|2}function Ur(e){return(e&131068)>>2}function gl(e,t){return e&-131069|t<<2}function jT(e){return(e&1)===1}function td(e){return e|1}function BT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Xn(s),c=Ur(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Sr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Xn(e[a+1]);e[r+1]=Zs(h,a),h!==0&&(e[h+1]=gl(e[h+1],r)),e[a+1]=LT(e[a+1],r)}else e[r+1]=Zs(a,0),a!==0&&(e[a+1]=gl(e[a+1],r)),a=r;else e[r+1]=Zs(c,0),a===0?a=r:e[c+1]=gl(e[c+1],r),c=r;u&&(e[r+1]=ed(e[r+1])),_g(e,l,r,!0),_g(e,l,r,!1),VT(t,l,e,r,i),s=Zs(a,c),i?t.classBindings=s:t.styleBindings=s}function VT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Sr(i,t)>=0&&(n[r+1]=td(n[r+1]))}function _g(e,t,n,r){let o=e[n+1],i=t===null,s=r?Xn(o):Ur(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];UT(c,t)&&(a=!0,e[s+1]=r?td(u):ed(u)),s=r?Xn(u):Ur(u)}a&&(e[n+1]=r?ed(o):td(o))}function UT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Sr(e,t)>=0:!1}var rt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $T(e){return e.substring(rt.key,rt.keyEnd)}function HT(e){return zT(e),xy(e,Oy(e,0,rt.textEnd))}function xy(e,t){let n=rt.textEnd;return n===t?-1:(t=rt.keyEnd=GT(e,rt.key=t,n),Oy(e,t,n))}function zT(e){rt.key=0,rt.keyEnd=0,rt.value=0,rt.valueEnd=0,rt.textEnd=e.length}function Oy(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function GT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Py(e,t,n){return Fy(e,t,n,!1),Py}function ky(e,t){return Fy(e,t,null,!0),ky}function qT(e){ZT(e_,WT,e,!0)}function WT(e,t){for(let n=HT(t);n>=0;n=xy(t,n))Ns(e,$T(t),!0)}function Fy(e,t,n,r){let o=_(),i=q(),s=js(2);if(i.firstUpdatePass&&jy(i,e,s,r),t!==Ne&&ze(o,s,t)){let a=i.data[wt()];By(i,a,o,o[U],e,o[s+1]=n_(t,n),r,s)}}function ZT(e,t,n,r){let o=q(),i=js(2);o.firstUpdatePass&&jy(o,null,i,r);let s=_();if(n!==Ne&&ze(s,i,n)){let a=o.data[wt()];if(Vy(a,r)&&!Ly(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=bs(c,n||"")),Xl(o,a,s,n,r)}else t_(o,a,s,s[U],s[i+1],s[i+1]=XT(e,t,n),r,i)}}function Ly(e,t){return t>=e.expandoStartIndex}function jy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[wt()],s=Ly(e,n);Vy(i,r)&&t===null&&!s&&(t=!1),t=YT(o,i,t,r),BT(o,i,t,n,s,r)}}function YT(e,t,n,r){let o=Lp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ml(null,e,t,n,r),n=qo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ml(o,e,t,n,r),i===null){let c=QT(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ml(null,e,t,c[1],r),c=qo(c,t.attrs,r),KT(e,t,r,c))}else i=JT(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function QT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ur(r)!==0)return e[Xn(r)]}function KT(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Xn(o)]=r}function JT(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=qo(r,s,n)}return qo(r,t.attrs,n)}function ml(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=qo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function qo(e,t,n){let r=n?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===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ns(e,s,n?!0:t[++i]))}return e===void 0?null:e}function XT(e,t,n){if(n==null||n==="")return De;let r=[],o=Ge(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function e_(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ns(e,r,n)}function t_(e,t,n,r,o,i,s,a){o===Ne&&(o=De);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,g=null,E;l===d?(c+=2,u+=2,h!==f&&(g=d,E=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,E=f),g!==null&&By(e,t,n,r,g,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function By(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=jT(u)?Sg(c,t,n,o,Ur(u),s):void 0;if(!va(l)){va(i)||FT(u)&&(i=Sg(c,null,n,o,a,s));let d=Bu(wt(),n);DC(r,s,d,o,i)}}function Sg(e,t,n,r,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,h=n[o+1];h===Ne&&(h=d?De:void 0);let f=d?Rs(h,r):l===r?h:void 0;if(u&&!va(f)&&(f=Rs(c,r)),va(f)&&(a=f,s))return a;let g=e[o+1];o=s?Xn(g):Ur(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Rs(c,r))}return a}function va(e){return e!==void 0}function n_(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=xt(Ge(e)))),e}function Vy(e,t){return(e.flags&(t?8:16))!==0}function r_(e,t=""){let n=_(),r=q(),o=e+G,i=r.firstCreatePass?Gr(r,o,1,t,null):r.data[o],s=o_(r,n,i,t,e);n[o]=s,Hs()&&Ed(r,n,s,i),Or(i,!1)}var o_=(e,t,n,r,o)=>(ko(!0),Kw(t[U],r));function Uy(e,t,n,r=""){return ze(e,un(),n)?t+nn(n)+r:Ne}function i_(e,t,n,r,o,i=""){let s=xp(),a=Qm(e,s,n,o);return js(2),a?t+nn(n)+r+nn(o)+i:Ne}function $y(e){return ef("",e),$y}function ef(e,t,n){let r=_(),o=Uy(r,e,t,n);return o!==Ne&&zy(r,wt(),o),ef}function Hy(e,t,n,r,o){let i=_(),s=i_(i,e,t,n,r,o);return s!==Ne&&zy(i,wt(),s),Hy}function zy(e,t,n){let r=Bu(t,e);Jw(e[U],r,n)}function Gy(e,t,n){il(t)&&(t=t());let r=_(),o=un();if(ze(r,o,t)){let i=q(),s=Po();Sm(s,r,e,t,r[U],n)}return Gy}function s_(e,t){let n=il(e);return n&&e.set(t),n}function qy(e,t){let n=_(),r=q(),o=re();return My(r,n,n[U],o,e,t),qy}function a_(e,t,n=""){return Uy(_(),e,t,n)}function c_(e,t,n){let r=q();if(r.firstCreatePass){let o=et(e);nd(n,r.data,r.blueprint,o,!0),nd(t,r.data,r.blueprint,o,!1)}}function nd(e,t,n,r,o){if(e=ae(e),Array.isArray(e))for(let i=0;i<e.length;i++)nd(e[i],t,n,r,o);else{let i=q(),s=_(),a=re(),c=Fn(e)?e:ae(e.provide),u=Ou(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Fn(e)||!e.multi){let f=new Qn(u,o,ue,null),g=vl(c,t,o?l:l+h,d);g===-1?(El(oa(a,s),i,c),yl(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=vl(c,t,l+h,d),g=vl(c,t,l,l+h),E=f>=0&&n[f],D=g>=0&&n[g];if(o&&!D||!o&&!E){El(oa(a,s),i,c);let v=d_(o?l_:u_,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=v),yl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=Wy(n[o?g:f],u,!o&&r);yl(i,e,f>-1?f:g,v)}!o&&r&&D&&n[g].componentProviders++}}}function yl(e,t,n,r){let o=Fn(t),i=yp(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(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Wy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function u_(e,t,n,r,o){return rd(this.multi,[])}function l_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Vo(r,r[b],this.providerFactory.index,o);s=c.slice(0,a),rd(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],rd(i,s);return s}function rd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function d_(e,t,n,r,o,i){let s=new Qn(e,n,ue,null);return s.multi=[],s.index=t,s.componentProviders=0,Wy(s,o,r&&!n),s}function f_(e,t=[]){return n=>{n.providersResolver=(r,o)=>c_(r,o?o(e):e,t)}}function h_(e,t,n,r){return Yy(_(),Ls(),e,t,n,r)}function Zy(e,t){let n=e[t];return n===Ne?void 0:n}function Yy(e,t,n,r,o,i){let s=t+n;return ze(e,s,o)?Ym(e,s+1,i?r.call(i,o):r(o)):Zy(e,s+1)}function p_(e,t,n,r,o,i,s){let a=t+n;return Qm(e,a,o,i)?Ym(e,a+2,s?r.call(s,o,i):r(o,i)):Zy(e,a+2)}function g_(e,t){let n=q(),r,o=e+G;n.firstCreatePass?(r=m_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=en(r.type,!0)),s,a=Ce(ue);try{let c=ra(!1),u=i();return ra(c),Vu(n,_(),o,u),u}finally{Ce(a)}}function m_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function y_(e,t,n){let r=e+G,o=_(),i=Os(o,r);return Qy(o,r)?Yy(o,Ls(),t,i.transform,n,i):i.transform(n)}function v_(e,t,n,r){let o=e+G,i=_(),s=Os(i,o);return Qy(i,o)?p_(i,Ls(),t,s.transform,n,r,s):s.transform(n,r)}function Qy(e,t){return e[b].data[t].pure}function D_(e,t){return Oa(e,t)}var Da=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},tf=(()=>{class e{compileModuleSync(n){return new ha(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ru(n),i=lm(o.declarations).reduce((s,a)=>{let c=vt(a);return c&&s.push(new hn(c)),s},[]);return new Da(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var E_=(()=>{class e{zone=p(Q);changeDetectionScheduler=p(Le);applicationRef=p(mn);applicationErrorHandler=p(Te);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ky=new I("",{factory:()=>!1});function nf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(F(y({},rf()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:yt,multi:!0,useFactory:()=>{let r=p(E_,{optional:!0});return()=>r.initialize()}},{provide:yt,multi:!0,useFactory:()=>{let r=p(w_);return()=>{r.initialize()}}},t===!0?{provide:sl,useValue:!0}:[],{provide:al,useValue:n??my},{provide:Te,useFactory:()=>{let r=p(Q),o=p(ee),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Fe),i.handleError(s))})}}}]}function I_(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=nf({ngZoneFactory:()=>{let o=rf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&it("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Ke([{provide:Ky,useValue:!0},{provide:kr,useValue:!1},r])}function rf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var w_=(()=>{class e{subscription=new K;initialized=!1;zone=p(Q);pendingTasks=p(Ct);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(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Jy=(()=>{class e{applicationErrorHandler=p(Te);appRef=p(mn);taskService=p(Ct);ngZone=p(Q);zonelessEnabled=p(kr);tracing=p(gn,{optional:!0});disableScheduling=p(sl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(pa):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(al,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ga||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Eg:yy;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(pa+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Eg(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function C_(){return typeof $localize<"u"&&$localize.locale||ri}var oi=new I("",{providedIn:"root",factory:()=>p(oi,{optional:!0,skipSelf:!0})||C_()});function st(e){return Jh(e)}function b_(e,t){return po(e,t?.equal)}var of=class{[ie];constructor(t){this[ie]=t}destroy(){this[ie].destroy()}};function T_(e,t){let n=t?.injector??p(ge),r=t?.manualCleanup!==!0?n.get(He):null,o,i=n.get(Wn,null,{optional:!0}),s=n.get(Le);return i!==null?(o=M_(i.view,s,e),r instanceof To&&r._lView===i.view&&(r=null)):o=N_(e,n.get(Lo),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new of(o)}var Xy=F(y({},Xh),{cleanupFns:void 0,zone:null,onDestroyFn:Zn,run(){let e=Pr(!1);try{ep(this)}finally{Pr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=N(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],N(e)}}}),__=F(y({},Xy),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Kt(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),S_=F(y({},Xy),{consumerMarkedDirty(){this.view[M]|=8192,cn(this.view),this.notifier.notify(13)},destroy(){Kt(this),this.onDestroyFn(),this.cleanup(),this.view[kt]?.delete(this)}});function M_(e,t,n){let r=Object.create(S_);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=ev(r,n),e[kt]??=new Set,e[kt].add(r),r.consumerMarkedDirty(r),r}function N_(e,t,n){let r=Object.create(__);return r.fn=ev(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function ev(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var cv=Symbol("InputSignalNode#UNSET"),H_=F(y({},go),{transformFn:void 0,applyValueToInputSignal(e,t){hr(e,t)}});function uv(e,t){let n=Object.create(H_);n.value=e,n.transformFn=t?.transform;function r(){if(_n(n),n.value===cv){let o=null;throw new m(-950,o)}return n.value}return r[ie]=n,r}var af=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ia(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},z_=new I("");z_.__NG_ELEMENT_ID__=e=>{let t=re();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new m(204,!1)};function tv(e,t){return uv(e,t)}function G_(e){return uv(cv,e)}var lv=(tv.required=G_,tv);function nv(e,t){return Pd(t)}function q_(e,t){return kd(t)}var X2=(nv.required=q_,nv);function rv(e,t){return Pd(t)}function W_(e,t){return kd(t)}var e$=(rv.required=W_,rv);var cf=new I(""),Z_=new I("");function ii(e){return!e.moduleRef}function Y_(e){let t=ii(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{ii(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Te),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ii(e)){let i=()=>t.destroy(),s=e.platformInjector.get(cf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(cf);s.add(i),e.moduleRef.onDestroy(()=>{Bo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return K_(r,n,()=>{let i=t.get(Ct),s=i.add(),a=t.get(zd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(oi,ri);if(_y(c||ri),!t.get(Z_,!0))return ii(e)?t.get(mn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ii(e)){let l=t.get(mn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Q_?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var Q_;function K_(e,t,n){try{let r=n();return er(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ha=null;function J_(e=[],t){return ge.create({name:t,providers:[{provide:Mo,useValue:"platform"},{provide:cf,useValue:new Set([()=>Ha=null])},...e]})}function X_(e=[]){if(Ha)return Ha;let t=J_(e);return Ha=t,Dy(),eS(t),t}function eS(e){let t=e.get(Ca,null);he(e,()=>{t?.forEach(n=>n())})}var Wr=(()=>{class e{static __NG_ELEMENT_ID__=tS}return e})();function tS(e){return nS(re(),_(),(e&16)===16)}function nS(e,t,n){if(an(e)&&!n){let r=Ue(e.index,t);return new dn(r,r)}else if(e.type&175){let r=t[Ee];return new dn(r,t)}return null}var uf=class{constructor(){}supports(t){return Ad(t)}create(t){return new lf(t)}},rS=(e,t)=>t,lf=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||rS}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<ov(r,o,i)?n:r,a=ov(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,g=f+h;l<=g&&g<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Ad(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Wm(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new df(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new za),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new za),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},df=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},ff=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},za=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ff,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ov(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function iv(){return new pf([new uf])}var pf=(()=>{class e{factories;static \u0275prov=w({token:e,providedIn:"root",factory:iv});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=p(e,{optional:!0,skipSelf:!0});return e.create(n,r||iv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function dv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;V(8);try{let i=o?.injector??X_(r),s=[nf({}),{provide:Le,useExisting:Jy},qp,...n||[]],a=new Ho({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Y_({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{V(9)}}function fv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function oS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var sf=Symbol("NOT_SET"),hv=new Set,iS=F(y({},go),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:sf,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==sf&&!Mn(this))return this.signal;try{for(let o of this.cleanup??hv)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Qt(this),r;try{r=this.userFn.apply(null,t)}finally{Sn(this,n)}return(this.value===sf||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),hf=class extends Go{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(He),s),this.scheduler=o;for(let a of Bd){let c=n[a];if(c===void 0)continue;let u=Object.create(iS);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(_n(u),u.value),u.signal[ie]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??hv)n()}finally{Kt(t)}}};function t$(e,t){let n=t?.injector??p(ge),r=n.get(Le),o=n.get(ja),i=n.get(gn,null,{optional:!0});o.impl??=n.get(Vd);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Wn,null,{optional:!0}),c=new hf(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function n$(e,t){let n=vt(e),r=t.elementInjector||Mr();return new hn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function pv(e){let t=vt(e);if(!t)return null;let n=new hn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var yv=null;function $t(){return yv}function gf(e){yv??=e}var si=class{},ai=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(vv),providedIn:"platform"})}return e})(),mf=new I(""),vv=(()=>{class e extends ai{_location;_history;_doc=p(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $t().getBaseHref(this._doc)}onPopState(n){let r=$t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=$t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.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,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ga(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function gv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function at(e){return e&&e[0]!=="?"?`?${e}`:e}var Ht=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Wa),providedIn:"root"})}return e})(),qa=new I(""),Wa=(()=>{class e extends Ht{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Z).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 Ga(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+at(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+at(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+at(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(ai),C(qa,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vn=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=cS(gv(mv(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+at(r))}normalize(n){return e.stripTrailingSlash(aS(this._basePath,mv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+at(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+at(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=at;static joinWithSlash=Ga;static stripTrailingSlash=gv;static \u0275fac=function(r){return new(r||e)(C(Ht))};static \u0275prov=w({token:e,factory:()=>sS(),providedIn:"root"})}return e})();function sS(){return new vn(C(Ht))}function aS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function mv(e){return e.replace(/\/index.html$/,"")}function cS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Cf=(()=>{class e extends Ht{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Ga(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+at(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+at(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(ai),C(qa,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),$=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})($||{}),Re=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Re||{}),Gt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Cv(e){return Oe(e)[te.LocaleId]}function bv(e,t,n){let r=Oe(e),o=[r[te.DayPeriodsFormat],r[te.DayPeriodsStandalone]],i=qe(o,t);return qe(i,n)}function Tv(e,t,n){let r=Oe(e),o=[r[te.DaysFormat],r[te.DaysStandalone]],i=qe(o,t);return qe(i,n)}function _v(e,t,n){let r=Oe(e),o=[r[te.MonthsFormat],r[te.MonthsStandalone]],i=qe(o,t);return qe(i,n)}function Sv(e,t){let r=Oe(e)[te.Eras];return qe(r,t)}function ci(e,t){let n=Oe(e);return qe(n[te.DateFormat],t)}function ui(e,t){let n=Oe(e);return qe(n[te.TimeFormat],t)}function li(e,t){let r=Oe(e)[te.DateTimeFormat];return qe(r,t)}function di(e,t){let n=Oe(e),r=n[te.NumberSymbols][t];if(typeof r>"u"){if(t===Gt.CurrencyDecimal)return n[te.NumberSymbols][Gt.Decimal];if(t===Gt.CurrencyGroup)return n[te.NumberSymbols][Gt.Group]}return r}function Mv(e){if(!e[te.ExtraData])throw new m(2303,!1)}function Nv(e){let t=Oe(e);return Mv(t),(t[te.ExtraData][2]||[]).map(r=>typeof r=="string"?yf(r):[yf(r[0]),yf(r[1])])}function Rv(e,t,n){let r=Oe(e);Mv(r);let o=[r[te.ExtraData][0],r[te.ExtraData][1]],i=qe(o,t)||[];return qe(i,n)||[]}function qe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function yf(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var uS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Za={},lS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Av(e,t,n,r){let o=DS(e);t=zt(n,t)||t;let s=[],a;for(;t;)if(a=lS.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Ov(r,c),o=vS(o,r));let u="";return s.forEach(l=>{let d=mS(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Xa(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function zt(e,t){let n=Cv(e);if(Za[n]??={},Za[n][t])return Za[n][t];let r="";switch(t){case"shortDate":r=ci(e,Re.Short);break;case"mediumDate":r=ci(e,Re.Medium);break;case"longDate":r=ci(e,Re.Long);break;case"fullDate":r=ci(e,Re.Full);break;case"shortTime":r=ui(e,Re.Short);break;case"mediumTime":r=ui(e,Re.Medium);break;case"longTime":r=ui(e,Re.Long);break;case"fullTime":r=ui(e,Re.Full);break;case"short":let o=zt(e,"shortTime"),i=zt(e,"shortDate");r=Ya(li(e,Re.Short),[o,i]);break;case"medium":let s=zt(e,"mediumTime"),a=zt(e,"mediumDate");r=Ya(li(e,Re.Medium),[s,a]);break;case"long":let c=zt(e,"longTime"),u=zt(e,"longDate");r=Ya(li(e,Re.Long),[c,u]);break;case"full":let l=zt(e,"fullTime"),d=zt(e,"fullDate");r=Ya(li(e,Re.Full),[l,d]);break}return r&&(Za[n][t]=r),r}function Ya(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function ct(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function dS(e,t){return ct(e,3).substring(0,t)}function oe(e,t,n=0,r=!1,o=!1){return function(i,s){let a=fS(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return dS(a,t);let c=di(s,Gt.MinusSign);return ct(a,t,c,r,o)}}function fS(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function H(e,t,n=Ie.Format,r=!1){return function(o,i){return hS(o,i,e,t,n,r)}}function hS(e,t,n,r,o,i){switch(n){case 2:return _v(t,o,r)[e.getMonth()];case 1:return Tv(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Nv(t),l=Rv(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,E=s>=f.hours&&a>=f.minutes,D=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(E&&D)return!0}else if(E||D)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return bv(t,o,r)[s<12?0:1];case 3:return Sv(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Qa(e){return function(t,n,r){let o=-1*r,i=di(n,Gt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ct(s,2,i)+ct(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ct(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ct(s,2,i)+":"+ct(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ct(s,2,i)+":"+ct(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var pS=0,Ja=4;function gS(e){let t=Xa(e,pS,1).getDay();return Xa(e,0,1+(t<=Ja?Ja:Ja+7)-t)}function xv(e){let t=e.getDay(),n=t===0?-3:Ja-t;return Xa(e.getFullYear(),e.getMonth(),e.getDate()+n)}function vf(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=xv(n),s=gS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ct(o,e,di(r,Gt.MinusSign))}}function Ka(e,t=!1){return function(n,r){let i=xv(n).getFullYear();return ct(i,e,di(r,Gt.MinusSign),t)}}var Df={};function mS(e){if(Df[e])return Df[e];let t;switch(e){case"G":case"GG":case"GGG":t=H(3,$.Abbreviated);break;case"GGGG":t=H(3,$.Wide);break;case"GGGGG":t=H(3,$.Narrow);break;case"y":t=oe(0,1,0,!1,!0);break;case"yy":t=oe(0,2,0,!0,!0);break;case"yyy":t=oe(0,3,0,!1,!0);break;case"yyyy":t=oe(0,4,0,!1,!0);break;case"Y":t=Ka(1);break;case"YY":t=Ka(2,!0);break;case"YYY":t=Ka(3);break;case"YYYY":t=Ka(4);break;case"M":case"L":t=oe(1,1,1);break;case"MM":case"LL":t=oe(1,2,1);break;case"MMM":t=H(2,$.Abbreviated);break;case"MMMM":t=H(2,$.Wide);break;case"MMMMM":t=H(2,$.Narrow);break;case"LLL":t=H(2,$.Abbreviated,Ie.Standalone);break;case"LLLL":t=H(2,$.Wide,Ie.Standalone);break;case"LLLLL":t=H(2,$.Narrow,Ie.Standalone);break;case"w":t=vf(1);break;case"ww":t=vf(2);break;case"W":t=vf(1,!0);break;case"d":t=oe(2,1);break;case"dd":t=oe(2,2);break;case"c":case"cc":t=oe(7,1);break;case"ccc":t=H(1,$.Abbreviated,Ie.Standalone);break;case"cccc":t=H(1,$.Wide,Ie.Standalone);break;case"ccccc":t=H(1,$.Narrow,Ie.Standalone);break;case"cccccc":t=H(1,$.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=H(1,$.Abbreviated);break;case"EEEE":t=H(1,$.Wide);break;case"EEEEE":t=H(1,$.Narrow);break;case"EEEEEE":t=H(1,$.Short);break;case"a":case"aa":case"aaa":t=H(0,$.Abbreviated);break;case"aaaa":t=H(0,$.Wide);break;case"aaaaa":t=H(0,$.Narrow);break;case"b":case"bb":case"bbb":t=H(0,$.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=H(0,$.Wide,Ie.Standalone,!0);break;case"bbbbb":t=H(0,$.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=H(0,$.Abbreviated,Ie.Format,!0);break;case"BBBB":t=H(0,$.Wide,Ie.Format,!0);break;case"BBBBB":t=H(0,$.Narrow,Ie.Format,!0);break;case"h":t=oe(3,1,-12);break;case"hh":t=oe(3,2,-12);break;case"H":t=oe(3,1);break;case"HH":t=oe(3,2);break;case"m":t=oe(4,1);break;case"mm":t=oe(4,2);break;case"s":t=oe(5,1);break;case"ss":t=oe(5,2);break;case"S":t=oe(6,1);break;case"SS":t=oe(6,2);break;case"SSS":t=oe(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Qa(0);break;case"ZZZZZ":t=Qa(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Qa(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Qa(2);break;default:return null}return Df[e]=t,t}function Ov(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function yS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function vS(e,t,n){let o=e.getTimezoneOffset(),i=Ov(t,o);return yS(e,-1*(i-o))}function DS(e){if(Dv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Xa(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(uS))return ES(r)}let t=new Date(e);if(!Dv(t))throw new m(2311,!1);return t}function ES(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Dv(e){return e instanceof Date&&!isNaN(e.valueOf())}var Ef=/\s+/,Ev=[],IS=(()=>{class e{_ngEl;_renderer;initialClasses=Ev;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Ef):Ev}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Ef):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Ef).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ue(jt),ue(ti))};static \u0275dir=Ut({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var ec=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Pv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new ec(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Iv(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Iv(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ue(_t),ue(fn),ue(pf))};static \u0275dir=Ut({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Iv(e,t){e.context.$implicit=t.item}var wS=(()=>{class e{_viewContainer;_context=new tc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){wv(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){wv(n,!1),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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ue(_t),ue(fn))};static \u0275dir=Ut({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),tc=class{$implicit=null;ngIf=null};function wv(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var CS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ue(_t))};static \u0275dir=Ut({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[$r]})}return e})();function kv(e,t){return new m(2100,!1)}var If=class{createSubscription(t,n,r){return st(()=>t.subscribe({next:n,error:r}))}dispose(t){st(()=>t.unsubscribe())}},wf=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},bS=new wf,TS=new If,_S=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(Te);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(er(n))return bS;if(Va(n))return TS;throw kv(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ue(Wr,16))};static \u0275pipe=Fa({name:"async",type:e,pure:!1})}return e})();var SS="mediumDate",Fv=new I(""),Lv=new I(""),MS=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??SS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Av(n,s,i||this.locale,a)}catch(s){throw kv(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ue(oi,16),ue(Fv,24),ue(Lv,24))};static \u0275pipe=Fa({name:"date",type:e,pure:!0})}return e})();var jv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pn({type:e});static \u0275inj=Pt({})}return e})();function fi(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var tr=class{};var Tf="browser";function yH(e){return e===Tf}var Bv=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new bf(p(Z),window)})}return e})(),bf=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(F(y({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=NS(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(Ot(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(y({},n),{left:o-s[0],top:i-s[1]}))}};function NS(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var rc=new I(""),Rf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C(rc),C(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),hi=class{_doc;constructor(t){this._doc=t}manager},_f="ng-app-id";function Vv(e){for(let t of e)t.remove()}function Uv(e,t){let n=t.createElement("style");return n.textContent=e,n}function RS(e,t,n,r){let o=e.head?.querySelectorAll(`style[${_f}="${t}"],link[${_f}="${t}"]`);if(o)for(let i of o)i.removeAttribute(_f),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Mf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Af=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,RS(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Uv);r?.forEach(o=>this.addUsage(o,this.external,Mf))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Vv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Vv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Uv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Mf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(Z),C(wa),C(ba,8),C(zr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Sf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xf=/%COMP%/g;var Hv="%COMP%",AS=`_nghost-${Hv}`,xS=`_ngcontent-${Hv}`,OS=!0,PS=new I("",{providedIn:"root",factory:()=>OS});function kS(e){return xS.replace(xf,e)}function FS(e){return AS.replace(xf,e)}function zv(e,t){return t.map(n=>n.replace(xf,e))}var Of=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new pi(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof nc?o.applyToHost(n):o instanceof gi&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Ft.Emulated:i=new nc(c,u,r,this.appId,l,s,a,d,h);break;case Ft.ShadowDom:return new Nf(c,u,n,r,s,a,this.nonce,d,h);default:i=new gi(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Rf),C(Af),C(wa),C(PS),C(Z),C(zr),C(Q),C(ba),C(gn,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),pi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Sf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){($v(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&($v(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Sf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Sf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Tt.DashCase|Tt.Important)?t.style.setProperty(n,r,o&Tt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Tt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=$t().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function $v(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Nf=class extends pi{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=zv(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Mf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},gi=class extends pi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?zv(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Qo.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},nc=class extends gi{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=kS(l),this.hostAttr=FS(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var oc=class e extends si{supportsDOMEvents=!0;static makeCurrent(){gf(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=LS();return n==null?null:jS(n)}resetBaseElement(){mi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return fi(document.cookie,t)}},mi=null;function LS(){return mi=mi||document.head.querySelector("base"),mi?mi.getAttribute("href"):null}function jS(e){return new URL(e,document.baseURI).pathname}var BS=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),qv=(()=>{class e extends hi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Gv=["alt","control","meta","shift"],VS={"\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"},US={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Wv=(()=>{class e extends hi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$t().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Gv.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=VS[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Gv.forEach(s=>{if(s!==o){let a=US[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function $S(e,t,n){let r=y({rootComponent:e,platformRef:n?.platformRef},HS(t));return dv(r)}function HS(e){return{appProviders:[...ZS,...e?.providers??[]],platformProviders:WS}}function zS(){oc.makeCurrent()}function GS(){return new Fe}function qS(){return sd(document),document}var WS=[{provide:zr,useValue:Tf},{provide:Ca,useValue:zS,multi:!0},{provide:Z,useFactory:qS}];var ZS=[{provide:Mo,useValue:"root"},{provide:Fe,useFactory:GS},{provide:rc,useClass:qv,multi:!0,deps:[Z]},{provide:rc,useClass:Wv,multi:!0,deps:[Z]},Of,Af,Rf,{provide:Kn,useExisting:Of},{provide:tr,useClass:BS},[]];var Qr=class{},yi=class{},Dn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
-
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var sc=class{encodeKey(t){return Zv(t)}encodeValue(t){return Zv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function YS(e,t){let n=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=n.get(s)||[];c.push(a),n.set(s,c)}),n}var QS=/%(\d[a-f0-9])/gi,KS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zv(e){return encodeURIComponent(e).replace(QS,(t,n)=>KS[n]??t)}function ic(e){return`${e}`}var qt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new sc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=YS(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(ic):[ic(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}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 n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(ic(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(ic(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ac=class{map=new Map;set(t,n){return this.map.set(t,n),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 JS(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Yv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Qv(e){return typeof Blob<"u"&&e instanceof Blob}function Kv(e){return typeof FormData<"u"&&e instanceof FormData}function XS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Jv="Content-Type",Xv="Accept",eD="X-Request-URL",tD="text/plain",nD="application/json",eM=`${nD}, ${tD}, */*`,Zr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(JS(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new Dn,this.context??=new ac,!this.params)this.params=new qt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Yv(this.body)||Qv(this.body)||Kv(this.body)||XS(this.body)?this.body:this.body instanceof qt?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||Kv(this.body)?null:Qv(this.body)?this.body.type||null:Yv(this.body)?null:typeof this.body=="string"?tD:this.body instanceof qt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nD:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress,z=t.headers||this.headers,We=t.params||this.params,me=t.context??this.context;return t.setHeaders!==void 0&&(z=Object.keys(t.setHeaders).reduce((Cn,bn)=>Cn.set(bn,t.setHeaders[bn]),z)),t.setParams&&(We=Object.keys(t.setParams).reduce((Cn,bn)=>Cn.set(bn,t.setParams[bn]),We)),new e(n,r,E,{params:We,headers:z,context:me,reportProgress:v,responseType:o,withCredentials:D,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},nr=(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})(nr||{}),Kr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new Dn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},cc=class e extends Kr{constructor(t={}){super(t)}type=nr.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})}},vi=class e extends Kr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=nr.Response;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,redirected:t.redirected??this.redirected})}},Yr=class extends Kr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),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}},tM=200,nM=204;function Pf(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,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var rD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Zr)i=n;else{let c;o.headers instanceof Dn?c=o.headers:c=new Dn(o.headers);let u;o.params&&(o.params instanceof qt?u=o.params:u=new qt({fromObject:o.params})),i=new Zr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=T(i).pipe(pt(c=>this.handler.handle(c)));if(n instanceof Zr||o.observe==="events")return s;let a=s.pipe(se(c=>c instanceof vi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));case"json":default:return a.pipe(x(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new qt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Pf(o,r))}post(n,r,o={}){return this.request("POST",n,Pf(o,r))}put(n,r,o={}){return this.request("PUT",n,Pf(o,r))}static \u0275fac=function(r){return new(r||e)(C(Qr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var rM=new I("");function oM(e,t){return t(e)}function iM(e,t,n){return(r,o)=>he(n,()=>t(r,i=>e(i,o)))}var oD=new I(""),iD=new I(""),sD=new I("",{providedIn:"root",factory:()=>!0});var uc=(()=>{class e extends Qr{backend;injector;chain=null;pendingTasks=p(Fo);contributeToStability=p(sD);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(oD),...this.injector.get(iD,[])]));this.chain=r.reduceRight((o,i)=>iM(o,i,this.injector),oM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(On(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(yi),C(ee))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var sM=/^\)\]\}',?\n/,aM=RegExp(`^${eD}:`,"m");function cM(e){return"responseURL"in e&&e.responseURL?e.responseURL:aM.test(e.getAllResponseHeaders())?e.getResponseHeader(eD):null}var kf=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return T(null).pipe(de(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,v)=>s.setRequestHeader(D,v.join(","))),n.headers.has(Xv)||s.setRequestHeader(Xv,eM),!n.headers.has(Jv)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(Jv,D)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let D=n.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",v=new Dn(s.getAllResponseHeaders()),z=cM(s)||n.url;return c=new cc({headers:v,status:s.status,statusText:D,url:z}),c},l=()=>{let{headers:D,status:v,statusText:z,url:We}=u(),me=null;v!==nM&&(me=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=me?tM:0);let Cn=v>=200&&v<300;if(n.responseType==="json"&&typeof me=="string"){let bn=me;me=me.replace(sM,"");try{me=me!==""?JSON.parse(me):null}catch(uE){me=bn,Cn&&(Cn=!1,me={error:uE,text:me})}}Cn?(i.next(new vi({body:me,headers:D,status:v,statusText:z,url:We||void 0})),i.complete()):i.error(new Yr({error:me,headers:D,status:v,statusText:z,url:We||void 0}))},d=D=>{let{url:v}=u(),z=new Yr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(z)},h=d;n.timeout&&(h=D=>{let{url:v}=u(),z=new Yr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(z)});let f=!1,g=D=>{f||(i.next(u()),f=!0);let v={type:nr.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},E=D=>{let v={type:nr.UploadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:nr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(tr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),aD=new I(""),uM="XSRF-TOKEN",lM=new I("",{providedIn:"root",factory:()=>uM}),dM="X-XSRF-TOKEN",fM=new I("",{providedIn:"root",factory:()=>dM}),Di=class{},hM=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=fi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(Z),C(lM))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function pM(e,t){let n=e.url.toLowerCase();if(!p(aD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Di).getToken(),o=p(fM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function gM(...e){let t=[rD,kf,uc,{provide:Qr,useExisting:uc},{provide:yi,useFactory:()=>p(rM,{optional:!0})??p(kf)},{provide:oD,useValue:pM,multi:!0},{provide:aD,useValue:!0},{provide:Di,useClass:hM}];for(let n of e)t.push(...n.\u0275providers);return Ke(t)}var cD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(yM),o},providedIn:"root"})}return e})(),yM=(()=>{class e extends mM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case ot.NONE:return r;case ot.HTML:return Bt(r,"HTML")?Ge(r):Ma(this._doc,String(r)).toString();case ot.STYLE:return Bt(r,"Style")?Ge(r):r;case ot.SCRIPT:if(Bt(r,"Script"))return Ge(r);throw new m(5200,!1);case ot.URL:return Bt(r,"URL")?Ge(r):Zo(String(r));case ot.RESOURCE_URL:if(Bt(r,"ResourceURL"))return Ge(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return ud(n)}bypassSecurityTrustStyle(n){return ld(n)}bypassSecurityTrustScript(n){return dd(n)}bypassSecurityTrustUrl(n){return fd(n)}bypassSecurityTrustResourceUrl(n){return hd(n)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var P="primary",xi=Symbol("RouteTitle"),Vf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function ir(e){return new Vf(e)}function mD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function DM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!St(e[n],t[n]))return!1;return!0}function St(e,t){let n=e?Uf(e):void 0,r=t?Uf(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!yD(e[o],t[o]))return!1;return!0}function Uf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function yD(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function vD(e){return e.length>0?e[e.length-1]:null}function Zt(e){return nu(e)?e:er(e)?W(Promise.resolve(e)):T(e)}var EM={exact:ED,subset:ID},DD={exact:IM,subset:wM,ignored:()=>!0};function uD(e,t,n){return EM[n.paths](e.root,t.root,n.matrixParams)&&DD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function IM(e,t){return St(e,t)}function ED(e,t,n){if(!rr(e.segments,t.segments)||!fc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!ED(e.children[r],t.children[r],n))return!1;return!0}function wM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yD(e[n],t[n]))}function ID(e,t,n){return wD(e,t,t.segments,n)}function wD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!rr(o,n)||t.hasChildren()||!fc(o,n,r))}else if(e.segments.length===n.length){if(!rr(e.segments,n)||!fc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!ID(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!rr(e.segments,o)||!fc(e.segments,o,r)||!e.children[P]?!1:wD(e.children[P],t,i,r)}}function fc(e,t,n){return t.every((r,o)=>DD[n](e[o].parameters,r.parameters))}var Nt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new L([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ir(this.queryParams),this._queryParamMap}toString(){return TM.serialize(this)}},L=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hc(this)}},En=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=ir(this.parameters),this._parameterMap}toString(){return bD(this)}};function CM(e,t){return rr(e,t)&&e.every((n,r)=>St(n.parameters,t[r].parameters))}function rr(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function bM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===P&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==P&&(n=n.concat(t(o,r)))}),n}var sr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new In,providedIn:"root"})}return e})(),In=class{parse(t){let n=new Hf(t);return new Nt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Ei(t.root,!0)}`,r=MM(t.queryParams),o=typeof t.fragment=="string"?`#${_M(t.fragment)}`:"";return`${n}${r}${o}`}},TM=new In;function hc(e){return e.segments.map(t=>bD(t)).join("/")}function Ei(e,t){if(!e.hasChildren())return hc(e);if(t){let n=e.children[P]?Ei(e.children[P],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==P&&r.push(`${o}:${Ei(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=bM(e,(r,o)=>o===P?[Ei(e.children[P],!1)]:[`${o}:${Ei(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[P]!=null?`${hc(e)}/${n[0]}`:`${hc(e)}/(${n.join("//")})`}}function CD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lc(e){return CD(e).replace(/%3B/gi,";")}function _M(e){return encodeURI(e)}function $f(e){return CD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pc(e){return decodeURIComponent(e)}function lD(e){return pc(e.replace(/\+/g,"%20"))}function bD(e){return`${$f(e.path)}${SM(e.parameters)}`}function SM(e){return Object.entries(e).map(([t,n])=>`;${$f(t)}=${$f(n)}`).join("")}function MM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${lc(n)}=${lc(o)}`).join("&"):`${lc(n)}=${lc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var NM=/^[^\/()?;#]+/;function Ff(e){let t=e.match(NM);return t?t[0]:""}var RM=/^[^\/()?;=#]+/;function AM(e){let t=e.match(RM);return t?t[0]:""}var xM=/^[^=?&#]+/;function OM(e){let t=e.match(xM);return t?t[0]:""}var PM=/^[^&#]+/;function kM(e){let t=e.match(PM);return t?t[0]:""}var Hf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[P]=new L(t,n)),r}parseSegment(){let t=Ff(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new En(pc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=AM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Ff(this.remaining);o&&(r=o,this.capture(r))}t[pc(n)]=pc(r)}parseQueryParam(t){let n=OM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=kM(this.remaining);s&&(r=s,this.capture(r))}let o=lD(n),i=lD(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ff(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new m(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=P);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[P]:new L([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new m(4011,!1)}};function TD(e){return e.segments.length>0?new L([],{[P]:e}):e}function _D(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=_D(o);if(r===P&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new L(e.segments,t);return FM(n)}function FM(e){if(e.numberOfChildren===1&&e.children[P]){let t=e.children[P];return new L(e.segments.concat(t.segments),t.children)}return e}function ro(e){return e instanceof Nt}function SD(e,t,n=null,r=null){let o=MD(e);return ND(o,t,n,r)}function MD(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new L(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=TD(r);return t??o}function ND(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Lf(o,o,o,n,r);let i=LM(t);if(i.toRoot())return Lf(o,o,new L([],{}),n,r);let s=jM(i,o,e),a=s.processChildren?wi(s.segmentGroup,s.index,i.commands):AD(s.segmentGroup,s.index,i.commands);return Lf(o,s.segmentGroup,a,n,r)}function gc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function bi(e){return typeof e=="object"&&e!=null&&e.outlets}function Lf(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=RD(e,t,n);let a=TD(_D(s));return new Nt(a,i,o)}function RD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=RD(i,t,n)}),new L(e.segments,r)}var mc=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&gc(r[0]))throw new m(4003,!1);let o=r.find(bi);if(o&&o!==vD(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function LM(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new mc(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new mc(n,t,r)}var eo=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function jM(e,t,n){if(e.isAbsolute)return new eo(t,!0,0);if(!n)return new eo(t,!1,NaN);if(n.parent===null)return new eo(n,!0,0);let r=gc(e.commands[0])?0:1,o=n.segments.length-1+r;return BM(n,o,e.numberOfDoubleDots)}function BM(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new m(4005,!1);o=r.segments.length}return new eo(r,!1,o-i)}function VM(e){return bi(e[0])?e[0].outlets:{[P]:e}}function AD(e,t,n){if(e??=new L([],{}),e.segments.length===0&&e.hasChildren())return wi(e,t,n);let r=UM(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new L(e.segments.slice(0,r.pathIndex),{});return i.children[P]=new L(e.segments.slice(r.pathIndex),e.children),wi(i,0,o)}else return r.match&&o.length===0?new L(e.segments,{}):r.match&&!e.hasChildren()?zf(e,t,n):r.match?wi(e,0,o):zf(e,t,n)}function wi(e,t,n){if(n.length===0)return new L(e.segments,{});{let r=VM(n),o={};if(Object.keys(r).some(i=>i!==P)&&e.children[P]&&e.numberOfChildren===1&&e.children[P].segments.length===0){let i=wi(e.children[P],t,n);return new L(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=AD(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new L(e.segments,o)}}function UM(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(bi(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!fD(c,u,s))return i;r+=2}else{if(!fD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function zf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(bi(i)){let c=$M(i.outlets);return new L(r,c)}if(o===0&&gc(n[0])){let c=e.segments[t];r.push(new En(c.path,dD(n[0]))),o++;continue}let s=bi(i)?i.outlets[P]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&gc(a)?(r.push(new En(s,dD(a))),o+=2):(r.push(new En(s,{})),o++)}return new L(r,{})}function $M(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=zf(new L([],{}),0,r))}),t}function dD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function fD(e,t,n){return e==n.path&&St(t,n.parameters)}var to="imperative",le=(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})(le||{}),ke=class{id;url;constructor(t,n){this.id=t,this.url=n}},wn=class extends ke{type=le.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},lt=class extends ke{urlAfterRedirects;type=le.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Se=(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.Aborted=4]="Aborted",e})(Se||{}),oo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(oo||{}),Mt=class extends ke{reason;code;type=le.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Rt=class extends ke{reason;code;type=le.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},io=class extends ke{error;target;type=le.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ti=class extends ke{urlAfterRedirects;state;type=le.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yc=class extends ke{urlAfterRedirects;state;type=le.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vc=class extends ke{urlAfterRedirects;state;shouldActivate;type=le.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Dc=class extends ke{urlAfterRedirects;state;type=le.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class extends ke{urlAfterRedirects;state;type=le.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class{route;type=le.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},wc=class{route;type=le.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cc=class{snapshot;type=le.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bc=class{snapshot;type=le.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tc=class{snapshot;type=le.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{snapshot;type=le.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},so=class{routerEvent;position;anchor;type=le.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},_i=class{},ao=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function HM(e){return!(e instanceof _i)&&!(e instanceof ao)}function zM(e,t){return e.providers&&!e._injector&&(e._injector=qr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function ut(e){return e.outlet||P}function GM(e,t){let n=e.filter(r=>ut(r)===t);return n.push(...e.filter(r=>ut(r)!==t)),n}function lo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Sc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return lo(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new ar(this.rootInjector)}},ar=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Sc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(C(ee))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mc=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Gf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Gf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=qf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return qf(t,this._root).map(n=>n.value)}};function Gf(e,t){if(e===t.value)return t;for(let n of t.children){let r=Gf(e,n);if(r)return r}return null}function qf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=qf(e,n);if(r.length)return r.unshift(t),r}return[]}var Pe=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Xr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Si=class extends Mc{snapshot;constructor(t,n){super(t),this.snapshot=n,eh(this,t)}toString(){return this.snapshot.toString()}};function xD(e){let t=qM(e),n=new pe([new En("",{})]),r=new pe({}),o=new pe({}),i=new pe({}),s=new pe(""),a=new Wt(n,r,i,s,o,P,e,t.root);return a.snapshot=t.root,new Si(new Pe(a,[]),t)}function qM(e){let t={},n={},r={},i=new or([],t,r,"",n,P,e,null,{});return new Mi("",new Pe(i,[]))}var Wt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[xi]))??T(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(x(t=>ir(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>ir(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Nc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={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)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&PD(o)&&(r.resolve[xi]=o.title),r}var or=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[xi]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ir(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ir(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Mi=class extends Mc{url;constructor(t,n){super(n),this.url=t,eh(this,n)}toString(){return OD(this._root)}};function eh(e,t){t.value._routerState=e,t.children.forEach(n=>eh(e,n))}function OD(e){let t=e.children.length>0?` { ${e.children.map(OD).join(", ")} } `:"";return`${e.value}${t}`}function jf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,St(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),St(t.params,n.params)||e.paramsSubject.next(n.params),DM(t.url,n.url)||e.urlSubject.next(n.url),St(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wf(e,t){let n=St(e.params,t.params)&&CM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Wf(e.parent,t.parent))}function PD(e){return typeof e.title=="string"||e.title===null}var kD=new I(""),th=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new _e;deactivateEvents=new _e;attachEvents=new _e;detachEvents=new _e;routerOutletData=lv(void 0);parentContexts=p(ar);location=p(_t);changeDetector=p(Wr);inputBinder=p(Oi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(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 m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,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,r){if(this.isActivated)throw new m(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Zf(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ut({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[$r]})}return e})(),Zf=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Wt?this.route:t===ar?this.childContexts:t===kD?this.outletData:this.parent.get(t,n)}},Oi=new I(""),nh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Eo([r.queryParams,r.params,r.data]).pipe(de(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?T(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=pv(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),rh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Fd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&$a(0,"router-outlet")},dependencies:[th],encapsulation:2})}return e})();function oh(e){let t=e.children&&e.children.map(oh),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==P&&(n.component=rh),n}function WM(e,t,n){let r=Ni(e,t._root,n?n._root:void 0);return new Si(r,t)}function Ni(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=ZM(e,t,n);return new Pe(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Ni(e,a)),s}}let r=YM(t.value),o=t.children.map(i=>Ni(e,i));return new Pe(r,o)}}function ZM(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ni(e,r,o);return Ni(e,r)})}function YM(e){return new Wt(new pe(e.url),new pe(e.params),new pe(e.queryParams),new pe(e.fragment),new pe(e.data),e.outlet,e.component,e)}var co=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},FD="ngNavigationCancelingError";function Rc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=ro(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=LD(!1,Se.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function LD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[FD]=!0,n.cancellationCode=t,n}function QM(e){return jD(e)&&ro(e.url)}function jD(e){return!!e&&e[FD]}var KM=(e,t,n,r)=>x(o=>(new Yf(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Yf=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),jf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Xr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Xr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Xr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Xr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new _c(i.value.snapshot))}),t.children.length&&this.forwardEvent(new bc(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(jf(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),jf(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Ac=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},no=class{component;route;constructor(t,n){this.component=t,this.route=n}};function JM(e,t,n){let r=e._root,o=t?t._root:null;return Ii(r,o,n,[r.value])}function XM(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function fo(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Du(e)?e:t.get(e):r}function Ii(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Xr(t);return e.children.forEach(s=>{eN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ci(a,n.getContext(s),o)),o}function eN(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=tN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ac(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ii(e,t,a?a.children:null,r,o):Ii(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new no(a.outlet.component,s))}else s&&Ci(t,a,o),o.canActivateChecks.push(new Ac(r)),i.component?Ii(e,null,a?a.children:null,r,o):Ii(e,null,n,r,o);return o}function tN(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!rr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!rr(e.url,t.url)||!St(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wf(e,t)||!St(e.queryParams,t.queryParams);case"paramsChange":default:return!Wf(e,t)}}function Ci(e,t,n){let r=Xr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Ci(s,t.children.getContext(i),n):Ci(s,null,n):Ci(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new no(t.outlet.component,o)):n.canDeactivateChecks.push(new no(null,o)):n.canDeactivateChecks.push(new no(null,o))}function Pi(e){return typeof e=="function"}function nN(e){return typeof e=="boolean"}function rN(e){return e&&Pi(e.canLoad)}function oN(e){return e&&Pi(e.canActivate)}function iN(e){return e&&Pi(e.canActivateChild)}function sN(e){return e&&Pi(e.canDeactivate)}function aN(e){return e&&Pi(e.canMatch)}function BD(e){return e instanceof Ae||e?.name==="EmptyError"}var dc=Symbol("INITIAL_VALUE");function uo(){return de(e=>Eo(e.map(t=>t.pipe(gt(1),vs(dc)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===dc)return dc;if(n===!1||cN(n))return n}return!0}),se(t=>t!==dc),gt(1)))}function cN(e){return ro(e)||e instanceof co}function uN(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?T(F(y({},n),{guardsResult:!0})):lN(s,r,o,e).pipe(Y(a=>a&&nN(a)?dN(r,i,e,t):T(a)),x(a=>F(y({},n),{guardsResult:a})))})}function lN(e,t,n,r){return W(e).pipe(Y(o=>mN(o.component,o.route,n,t,r)),mt(o=>o!==!0,!0))}function dN(e,t,n,r){return W(t).pipe(pt(o=>br(hN(o.route.parent,r),fN(o.route,r),gN(e,o.path,n),pN(e,o.route,n))),mt(o=>o!==!0,!0))}function fN(e,t){return e!==null&&t&&t(new Tc(e)),T(!0)}function hN(e,t){return e!==null&&t&&t(new Cc(e)),T(!0)}function pN(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return T(!0);let o=r.map(i=>Io(()=>{let s=lo(t)??n,a=fo(i,s),c=oN(a)?a.canActivate(t,e):he(s,()=>a(t,e));return Zt(c).pipe(mt())}));return T(o).pipe(uo())}function gN(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>XM(s)).filter(s=>s!==null).map(s=>Io(()=>{let a=s.guards.map(c=>{let u=lo(s.node)??n,l=fo(c,u),d=iN(l)?l.canActivateChild(r,e):he(u,()=>l(r,e));return Zt(d).pipe(mt())});return T(a).pipe(uo())}));return T(i).pipe(uo())}function mN(e,t,n,r,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=lo(t)??o,u=fo(a,c),l=sN(u)?u.canDeactivate(e,t,n,r):he(c,()=>u(e,t,n,r));return Zt(l).pipe(mt())});return T(s).pipe(uo())}function yN(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return T(!0);let i=o.map(s=>{let a=fo(s,e),c=rN(a)?a.canLoad(t,n):he(e,()=>a(t,n));return Zt(c)});return T(i).pipe(uo(),VD(r))}function VD(e){return Kc(fe(t=>{if(typeof t!="boolean")throw Rc(e,t)}),x(t=>t===!0))}function vN(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return T(!0);let i=o.map(s=>{let a=fo(s,e),c=aN(a)?a.canMatch(t,n):he(e,()=>a(t,n));return Zt(c)});return T(i).pipe(uo(),VD(r))}var Ri=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},Ai=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Jr(e){return wr(new Ri(e))}function DN(e){return wr(new m(4e3,!1))}function EN(e){return wr(LD(!1,Se.GuardRejected))}var Qf=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return T(r);if(o.numberOfChildren>1||!o.children[P])return DN(`${t.redirectTo}`);o=o.children[P]}}applyRedirectCommands(t,n,r,o,i){return IN(n,o,i).pipe(x(s=>{if(s instanceof Nt)throw new Ai(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Ai(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Nt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new L(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new m(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function IN(e,t,n){if(typeof e=="string")return T(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return Zt(he(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var Kf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wN(e,t,n,r,o){let i=UD(e,t,n);return i.matched?(r=zM(t,r),vN(r,t,n,o).pipe(x(s=>s===!0?i:y({},Kf)))):T(i)}function UD(e,t,n){if(t.path==="**")return CN(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Kf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||mD)(n,e,t);if(!o)return y({},Kf);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:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function CN(e){return{matched:!0,parameters:e.length>0?vD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function hD(e,t,n,r){return n.length>0&&_N(e,n,r)?{segmentGroup:new L(t,TN(r,new L(n,e.children))),slicedSegments:[]}:n.length===0&&SN(e,n,r)?{segmentGroup:new L(e.segments,bN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new L(e.segments,e.children),slicedSegments:n}}function bN(e,t,n,r){let o={};for(let i of n)if(Oc(e,t,i)&&!r[ut(i)]){let s=new L([],{});o[ut(i)]=s}return y(y({},r),o)}function TN(e,t){let n={};n[P]=t;for(let r of e)if(r.path===""&&ut(r)!==P){let o=new L([],{});n[ut(r)]=o}return n}function _N(e,t,n){return n.some(r=>Oc(e,t,r)&&ut(r)!==P)}function SN(e,t,n){return n.some(r=>Oc(e,t,r))}function Oc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function MN(e,t,n){return t.length===0&&!e.children[n]}var Jf=class{};function NN(e,t,n,r,o,i,s="emptyOnly"){return new Xf(e,t,n,r,o,s,i).recognize()}var RN=31,Xf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qf(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){let t=hD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new Pe(r,n),i=new Mi("",o),s=SD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new or([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,P,n).pipe(x(r=>({children:r,rootSnapshot:n})),ht(r=>{if(r instanceof Ai)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ri?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(x(s=>s instanceof Pe?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(pt(s=>{let a=r.children[s],c=GM(n,s);return this.processSegmentGroup(t,c,a,s,o)}),iu((s,a)=>(s.push(...a),s)),Xt(null),ou(),Y(s=>{if(s===null)return Jr(r);let a=$D(s);return AN(a),T(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(pt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(ht(u=>{if(u instanceof Ri)return T(null);throw u}))),mt(c=>!!c),ht(c=>{if(BD(c))return MN(r,o,i)?T(new Jf):Jr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return ut(r)!==s&&(s===P||!Oc(o,i,r))?Jr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Jr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=UD(n,o,i);if(!c)return Jr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>RN&&(this.allowRedirects=!1));let f=new or(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,pD(o),ut(o),o.component??o._loadedComponent??null,o,gD(o)),g=Nc(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t).pipe(de(D=>this.applyRedirects.lineralizeSegments(o,D)),Y(D=>this.processSegment(t,r,n,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=wN(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(de(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(de(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new or(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,pD(r),ut(r),r.component??r._loadedComponent??null,r,gD(r)),E=Nc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:v}=hD(n,h,f,u);if(v.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(We=>new Pe(g,We)));if(u.length===0&&v.length===0)return T(new Pe(g,[]));let z=ut(r)===i;return this.processSegment(l,u,D,v,z?P:i,!0,g).pipe(x(We=>new Pe(g,We instanceof Pe?[We]:[])))}))):Jr(n)))}getChildConfig(t,n,r){return n.children?T({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?T({routes:n._loadedRoutes,injector:n._loadedInjector}):yN(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(fe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):EN(n))):T({routes:[],injector:t})}};function AN(e){e.sort((t,n)=>t.value.outlet===P?-1:n.value.outlet===P?1:t.value.outlet.localeCompare(n.value.outlet))}function xN(e){let t=e.value.routeConfig;return t&&t.path===""}function $D(e){let t=[],n=new Set;for(let r of e){if(!xN(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=$D(r.children);t.push(new Pe(r.value,o))}return t.filter(r=>!n.has(r))}function pD(e){return e.data||{}}function gD(e){return e.resolve||{}}function ON(e,t,n,r,o,i){return Y(s=>NN(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function PN(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return T(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of HD(c))s.add(u);let a=0;return W(s).pipe(pt(c=>i.has(c)?kN(c,r,e,t):(c.data=Nc(c,c.parent,e).resolve,T(void 0))),fe(()=>a++),Tr(1),Y(c=>a===s.size?T(n):ve))})}function HD(e){let t=e.children.map(n=>HD(n)).flat();return[e,...t]}function kN(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!PD(o)&&(i[xi]=o.title),Io(()=>(e.data=Nc(e,e.parent,n).resolve,FN(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=y(y({},e.data),s),null)))))}function FN(e,t,n,r){let o=Uf(e);if(o.length===0)return T({});let i={};return W(o).pipe(Y(s=>LN(e[s],t,n,r).pipe(mt(),fe(a=>{if(a instanceof co)throw Rc(new In,a);i[s]=a}))),Tr(1),x(()=>i),ht(s=>BD(s)?ve:wr(s)))}function LN(e,t,n,r){let o=lo(t)??r,i=fo(e,o),s=i.resolve?i.resolve(t,n):he(o,()=>i(t,n));return Zt(s)}function Bf(e){return de(t=>{let n=e(t);return n?W(n).pipe(x(()=>t)):T(t)})}var ih=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===P);return r}getResolvedTitleForRoute(n){return n.data[xi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(zD),providedIn:"root"})}return e})(),zD=(()=>{class e extends ih{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(cD))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cr=new I("",{providedIn:"root",factory:()=>({})}),ur=new I(""),Pc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(tf);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return T(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Zt(he(n,()=>r.loadComponent())).pipe(x(qD),de(WD),fe(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),On(()=>{this.componentLoaders.delete(r)})),i=new Dr(o,()=>new J).pipe(vr());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return T({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=GD(r,this.compiler,n,this.onLoadEndListener).pipe(On(()=>{this.childrenLoaders.delete(r)})),s=new Dr(i,()=>new J).pipe(vr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GD(e,t,n,r){return Zt(he(n,()=>e.loadChildren())).pipe(x(qD),de(WD),Y(o=>o instanceof ka||Array.isArray(o)?T(o):W(t.compileModuleAsync(o))),x(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(ur,[],{optional:!0,self:!0}).flat()),{routes:s.map(oh),injector:i}}))}function jN(e){return e&&typeof e=="object"&&"default"in e}function qD(e){return jN(e)?e.default:e}function WD(e){return T(e)}var kc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(BN),providedIn:"root"})}return e})(),BN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sh=new I(""),ah=new I("");function ZD(e,t,n){let r=e.get(ah),o=e.get(Z);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),VN(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&he(e,()=>c({transition:a,from:t,to:n})),s}function VN(e){return new Promise(t=>{Ud({read:()=>setTimeout(t)},{injector:e})})}var ch=new I(""),Fc=(()=>{class e{currentNavigation=qn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortWithErrorSubject=new J;configLoader=p(Pc);environmentInjector=p(ee);destroyRef=p(He);urlSerializer=p(sr);rootContexts=p(ar);location=p(vn);inputBindingEnabled=p(Oi,{optional:!0})!==null;titleStrategy=p(ih);options=p(cr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(kc);createViewTransition=p(sh,{optional:!0});navigationErrorHandler=p(ch,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>T(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Ic(o)),r=o=>this.events.next(new wc(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;st(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new pe(null),this.transitions.pipe(se(r=>r!==null),de(r=>{let o=!1;return T(r).pipe(de(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),ve;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?F(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Rt(i.id,this.urlSerializer.serialize(i.rawUrl),"",oo.IgnoredSameUrlNavigation)),i.resolve(!1),ve;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return T(i).pipe(de(c=>(this.events.next(new wn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ve:Promise.resolve(c))),ON(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),fe(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Ti(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:h}=i,f=new wn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=xD(this.rootComponentType).snapshot;return this.currentTransition=r=F(y({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:F(y({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=u,E)),T(r)}else return this.events.next(new Rt(i.id,this.urlSerializer.serialize(i.extractedUrl),"",oo.IgnoredByUrlHandlingStrategy)),i.resolve(!1),ve}),fe(i=>{let s=new yc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),x(i=>(this.currentTransition=r=F(y({},i),{guards:JM(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),uN(this.environmentInjector,i=>this.events.next(i)),fe(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Rc(this.urlSerializer,i.guardsResult);let s=new vc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),se(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Se.GuardRejected),!1)),Bf(i=>{if(i.guards.canActivateChecks.length!==0)return T(i).pipe(fe(s=>{let a=new Dc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),de(s=>{let a=!1;return T(s).pipe(PN(this.paramsInheritanceStrategy,this.environmentInjector),fe({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Se.NoDataFromResolver)}}))}),fe(s=>{let a=new Ec(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Bf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=lo(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(fe(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Eo(s(i.targetSnapshot.root)).pipe(Xt(null),gt(1))}),Bf(()=>this.afterPreactivation()),de(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(x(()=>r)):T(r)}),x(i=>{let s=WM(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(y({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),fe(()=>{this.events.next(new _i)}),KM(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),gt(1),Ds(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(se(()=>!o&&!r.targetRouterState),fe(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Se.Aborted)}))),fe({next:i=>{o=!0,this.lastSuccessfulNavigation=st(this.currentNavigation),this.events.next(new lt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),Ds(this.transitionAbortWithErrorSubject.pipe(fe(i=>{throw i}))),On(()=>{o||this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ht(i=>{if(this.destroyed)return r.resolve(!1),ve;if(o=!0,jD(i))this.events.next(new Mt(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),QM(i)?this.events.next(new ao(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new io(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=he(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof co){let{message:c,cancellationCode:u}=Rc(this.urlSerializer,a);this.events.next(new Mt(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new ao(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return ve}))}))}cancelNavigationTransition(n,r,o){let i=new Mt(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=st(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function UN(e){return e!==to}var YD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p($N),providedIn:"root"})}return e})(),xc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},$N=(()=>{class e extends xc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ea(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),QD=(()=>{class e{urlSerializer=p(sr);options=p(cr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(vn);urlHandlingStrategy=p(kc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Nt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof Nt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=xD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(HN),providedIn:"root"})}return e})(),HN=(()=>{class e extends QD{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof wn?this.updateStateMemento():n instanceof Rt?this.commitTransition(r):n instanceof Ti?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof _i?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Mt&&n.code!==Se.SupersededByNewNavigation&&n.code!==Se.Redirect?this.restoreHistory(r):n instanceof io?this.restoreHistory(r,!0):n instanceof lt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ea(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lc(e,t){e.events.pipe(se(n=>n instanceof lt||n instanceof Mt||n instanceof io||n instanceof Rt),x(n=>n instanceof lt||n instanceof Rt?0:(n instanceof Mt?n.code===Se.Redirect||n.code===Se.SupersededByNewNavigation:!1)?2:1),se(n=>n!==2),gt(1)).subscribe(()=>{t()})}var zN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},GN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Yt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Ba);stateManager=p(QD);options=p(cr,{optional:!0})||{};pendingTasks=p(Ct);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Fc);urlSerializer=p(sr);location=p(vn);urlHandlingStrategy=p(kc);injector=p(ee);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(YD);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(ur,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Oi,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=st(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Mt&&r.code!==Se.Redirect&&r.code!==Se.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof lt)this.navigated=!0;else if(r instanceof ao){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||UN(o.source)},s);this.scheduleNavigation(a,to,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}HM(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});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),to,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Te)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return st(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(oh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=y(y({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=MD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return ND(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=ro(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,to,null,r)}navigate(n,r={skipLocationChange:!1}){return qN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},zN):r===!1?o=y({},GN):o=r,ro(n))return uD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return uD(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Lc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qN(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var ki=class{};var KD=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(se(n=>n instanceof lt),pt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=qr(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return W(o).pipe(Jt())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=T(null);let i=o.pipe(Y(s=>s===null?T(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return W([i,s]).pipe(Jt())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Yt),C(ee),C(ki),C(Pc))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JD=new I(""),WN=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=to;restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof wn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof lt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Rt&&n.code===oo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof so&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>lr(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new so(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Md()};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function ZN(e,...t){return Ke([{provide:ur,multi:!0,useValue:e},[],{provide:Wt,useFactory:XD,deps:[Yt]},{provide:ni,multi:!0,useFactory:eE},t.map(n=>n.\u0275providers)])}function XD(e){return e.routerState.root}function Fi(e,t){return{\u0275kind:e,\u0275providers:t}}function eE(){let e=p(ge);return t=>{let n=e.get(mn);if(t!==n.components[0])return;let r=e.get(Yt),o=e.get(tE);e.get(lh)===1&&r.initialNavigation(),e.get(oE,null,{optional:!0})?.setUpPreloading(),e.get(JD,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var tE=new I("",{factory:()=>new J}),lh=new I("",{providedIn:"root",factory:()=>1});function nE(){let e=[{provide:Ta,useValue:!0},{provide:lh,useValue:0},Ua(()=>{let t=p(ge);return t.get(mf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Yt),i=t.get(tE);Lc(o,()=>{r(!0)}),t.get(Fc).afterPreactivation=()=>(r(!0),i.closed?T(void 0):i),o.initialNavigation()}))})];return Fi(2,e)}function rE(){let e=[Ua(()=>{p(Yt).setUpLocationChangeListener()}),{provide:lh,useValue:2}];return Fi(3,e)}var oE=new I("");function iE(e){return Fi(0,[{provide:oE,useExisting:KD},{provide:ki,useExisting:e}])}function sE(){return Fi(8,[nh,{provide:Oi,useExisting:nh}])}function aE(e){it("NgRouterViewTransitions");let t=[{provide:sh,useValue:ZD},{provide:ah,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return Fi(9,t)}var cE=[vn,{provide:sr,useClass:In},Yt,ar,{provide:Wt,useFactory:XD,deps:[Yt]},Pc,[]],YN=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[cE,[],{provide:ur,multi:!0,useValue:n},[],r?.errorHandler?{provide:ch,useValue:r.errorHandler}:[],{provide:cr,useValue:r||{}},r?.useHash?KN():JN(),QN(),r?.preloadingStrategy?iE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?XN(r):[],r?.bindToComponentInputs?sE().\u0275providers:[],r?.enableViewTransitions?aE().\u0275providers:[],eR()]}}static forChild(n){return{ngModule:e,providers:[{provide:ur,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=pn({type:e});static \u0275inj=Pt({})}return e})();function QN(){return{provide:JD,useFactory:()=>{let e=p(Bv),t=p(Q),n=p(cr),r=p(Fc),o=p(sr);return n.scrollOffset&&e.setOffset(n.scrollOffset),new WN(o,r,e,t,n)}}}function KN(){return{provide:Ht,useClass:Cf}}function JN(){return{provide:Ht,useClass:Wa}}function XN(e){return[e.initialNavigation==="disabled"?rE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?nE().\u0275providers:[]]}var uh=new I("");function eR(){return[{provide:uh,useFactory:eE},{provide:ni,multi:!0,useExisting:uh}]}export{y as a,F as b,hE as c,lr as d,K as e,k as f,J as g,pe as h,ve as i,W as j,T as k,wr as l,OE as m,PE as n,x as o,Eo as p,br as q,Io as r,HE as s,ru as t,QE as u,se as v,KE as w,ht as x,JE as y,gt as z,XE as A,Qh as B,On as C,mt as D,nI as E,au as F,Kh as G,rI as H,vs as I,de as J,Ds as K,oI as L,fe as M,m as N,Ts as O,w as P,Pt as Q,I as R,C as S,p as T,pp as U,ee as V,Mp as W,Np as X,$p as Y,Hp as Z,ge as _,Z as $,He as aa,Fe as ba,RI as ca,rl as da,qn as ea,$r as fa,Ea as ga,jt as ha,ia,wa as ja,zr as ka,cw as la,ba as ma,ot as na,xw as oa,Ow as pa,jw as qa,iC as ra,fn as sa,Kn as ta,ti as ua,ue as va,_t as wa,it as xa,Jn as ya,Fd as za,pn as Aa,Ut as Ba,Fa as Ca,fy as Da,Zb as Ea,gy as Fa,_e as Ga,Q as Ha,Ud as Ia,er as Ja,Hd as Ka,mn as La,Gd as Ma,uT as Na,dT as Oa,fT as Pa,hT as Qa,pT as Ra,gT as Sa,mT as Ta,Iy as Ua,Wd as Va,Zd as Wa,$a as Xa,Yd as Ya,Qd as Za,wy as _a,by as $a,IT as ab,Ty as bb,Xd as cb,Sy as db,_T as eb,MT as fb,NT as gb,Ny as hb,AT as ib,Ry as jb,Ay as kb,xT as lb,OT as mb,PT as nb,kT as ob,Py as pb,ky as qb,qT as rb,r_ as sb,$y as tb,ef as ub,Hy as vb,Gy as wb,s_ as xb,qy as yb,a_ as zb,f_ as Ab,h_ as Bb,g_ as Cb,y_ as Db,v_ as Eb,D_ as Fb,I_ as Gb,st as Hb,b_ as Ib,T_ as Jb,af as Kb,X2 as Lb,e$ as Mb,Wr as Nb,fv as Ob,oS as Pb,t$ as Qb,n$ as Rb,$t as Sb,vn as Tb,IS as Ub,Pv as Vb,wS as Wb,CS as Xb,_S as Yb,MS as Zb,jv as _b,yH as $b,Of as ac,$S as bc,Dn as cc,qt as dc,Zr as ec,vi as fc,rD as gc,gM as hc,mM as ic,Wt as jc,th as kc,Yt as lc,ZN as mc,YN as nc};
|
|
5
|
+
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var sc=class{encodeKey(t){return Zv(t)}encodeValue(t){return Zv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function YS(e,t){let n=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=n.get(s)||[];c.push(a),n.set(s,c)}),n}var QS=/%(\d[a-f0-9])/gi,KS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zv(e){return encodeURIComponent(e).replace(QS,(t,n)=>KS[n]??t)}function ic(e){return`${e}`}var qt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new sc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=YS(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(ic):[ic(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}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 n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(ic(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(ic(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ac=class{map=new Map;set(t,n){return this.map.set(t,n),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 JS(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Yv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Qv(e){return typeof Blob<"u"&&e instanceof Blob}function Kv(e){return typeof FormData<"u"&&e instanceof FormData}function XS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Jv="Content-Type",Xv="Accept",eD="X-Request-URL",tD="text/plain",nD="application/json",eM=`${nD}, ${tD}, */*`,Zr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(JS(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new Dn,this.context??=new ac,!this.params)this.params=new qt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Yv(this.body)||Qv(this.body)||Kv(this.body)||XS(this.body)?this.body:this.body instanceof qt?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||Kv(this.body)?null:Qv(this.body)?this.body.type||null:Yv(this.body)?null:typeof this.body=="string"?tD:this.body instanceof qt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?nD:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress,z=t.headers||this.headers,We=t.params||this.params,me=t.context??this.context;return t.setHeaders!==void 0&&(z=Object.keys(t.setHeaders).reduce((Cn,bn)=>Cn.set(bn,t.setHeaders[bn]),z)),t.setParams&&(We=Object.keys(t.setParams).reduce((Cn,bn)=>Cn.set(bn,t.setParams[bn]),We)),new e(n,r,E,{params:We,headers:z,context:me,reportProgress:v,responseType:o,withCredentials:D,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},nr=(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})(nr||{}),Kr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new Dn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},cc=class e extends Kr{constructor(t={}){super(t)}type=nr.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})}},vi=class e extends Kr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=nr.Response;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,redirected:t.redirected??this.redirected})}},Yr=class extends Kr{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),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}},tM=200,nM=204;function Pf(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,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var rD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Zr)i=n;else{let c;o.headers instanceof Dn?c=o.headers:c=new Dn(o.headers);let u;o.params&&(o.params instanceof qt?u=o.params:u=new qt({fromObject:o.params})),i=new Zr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=T(i).pipe(pt(c=>this.handler.handle(c)));if(n instanceof Zr||o.observe==="events")return s;let a=s.pipe(se(c=>c instanceof vi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));case"json":default:return a.pipe(x(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new qt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Pf(o,r))}post(n,r,o={}){return this.request("POST",n,Pf(o,r))}put(n,r,o={}){return this.request("PUT",n,Pf(o,r))}static \u0275fac=function(r){return new(r||e)(C(Qr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var rM=new I("");function oM(e,t){return t(e)}function iM(e,t,n){return(r,o)=>he(n,()=>t(r,i=>e(i,o)))}var oD=new I(""),iD=new I(""),sD=new I("",{providedIn:"root",factory:()=>!0});var uc=(()=>{class e extends Qr{backend;injector;chain=null;pendingTasks=p(Fo);contributeToStability=p(sD);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(oD),...this.injector.get(iD,[])]));this.chain=r.reduceRight((o,i)=>iM(o,i,this.injector),oM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(On(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(yi),C(ee))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var sM=/^\)\]\}',?\n/,aM=RegExp(`^${eD}:`,"m");function cM(e){return"responseURL"in e&&e.responseURL?e.responseURL:aM.test(e.getAllResponseHeaders())?e.getResponseHeader(eD):null}var kf=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return T(null).pipe(de(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,v)=>s.setRequestHeader(D,v.join(","))),n.headers.has(Xv)||s.setRequestHeader(Xv,eM),!n.headers.has(Jv)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(Jv,D)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let D=n.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",v=new Dn(s.getAllResponseHeaders()),z=cM(s)||n.url;return c=new cc({headers:v,status:s.status,statusText:D,url:z}),c},l=()=>{let{headers:D,status:v,statusText:z,url:We}=u(),me=null;v!==nM&&(me=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=me?tM:0);let Cn=v>=200&&v<300;if(n.responseType==="json"&&typeof me=="string"){let bn=me;me=me.replace(sM,"");try{me=me!==""?JSON.parse(me):null}catch(uE){me=bn,Cn&&(Cn=!1,me={error:uE,text:me})}}Cn?(i.next(new vi({body:me,headers:D,status:v,statusText:z,url:We||void 0})),i.complete()):i.error(new Yr({error:me,headers:D,status:v,statusText:z,url:We||void 0}))},d=D=>{let{url:v}=u(),z=new Yr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(z)},h=d;n.timeout&&(h=D=>{let{url:v}=u(),z=new Yr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(z)});let f=!1,g=D=>{f||(i.next(u()),f=!0);let v={type:nr.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},E=D=>{let v={type:nr.UploadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:nr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(tr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),aD=new I(""),uM="XSRF-TOKEN",lM=new I("",{providedIn:"root",factory:()=>uM}),dM="X-XSRF-TOKEN",fM=new I("",{providedIn:"root",factory:()=>dM}),Di=class{},hM=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=fi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(Z),C(lM))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function pM(e,t){let n=e.url.toLowerCase();if(!p(aD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Di).getToken(),o=p(fM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function gM(...e){let t=[rD,kf,uc,{provide:Qr,useExisting:uc},{provide:yi,useFactory:()=>p(rM,{optional:!0})??p(kf)},{provide:oD,useValue:pM,multi:!0},{provide:aD,useValue:!0},{provide:Di,useClass:hM}];for(let n of e)t.push(...n.\u0275providers);return Ke(t)}var cD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(yM),o},providedIn:"root"})}return e})(),yM=(()=>{class e extends mM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case ot.NONE:return r;case ot.HTML:return Bt(r,"HTML")?Ge(r):Ma(this._doc,String(r)).toString();case ot.STYLE:return Bt(r,"Style")?Ge(r):r;case ot.SCRIPT:if(Bt(r,"Script"))return Ge(r);throw new m(5200,!1);case ot.URL:return Bt(r,"URL")?Ge(r):Zo(String(r));case ot.RESOURCE_URL:if(Bt(r,"ResourceURL"))return Ge(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return ud(n)}bypassSecurityTrustStyle(n){return ld(n)}bypassSecurityTrustScript(n){return dd(n)}bypassSecurityTrustUrl(n){return fd(n)}bypassSecurityTrustResourceUrl(n){return hd(n)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var P="primary",xi=Symbol("RouteTitle"),Vf=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function ir(e){return new Vf(e)}function mD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function DM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!St(e[n],t[n]))return!1;return!0}function St(e,t){let n=e?Uf(e):void 0,r=t?Uf(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!yD(e[o],t[o]))return!1;return!0}function Uf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function yD(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function vD(e){return e.length>0?e[e.length-1]:null}function Zt(e){return nu(e)?e:er(e)?W(Promise.resolve(e)):T(e)}var EM={exact:ED,subset:ID},DD={exact:IM,subset:wM,ignored:()=>!0};function uD(e,t,n){return EM[n.paths](e.root,t.root,n.matrixParams)&&DD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function IM(e,t){return St(e,t)}function ED(e,t,n){if(!rr(e.segments,t.segments)||!fc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!ED(e.children[r],t.children[r],n))return!1;return!0}function wM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>yD(e[n],t[n]))}function ID(e,t,n){return wD(e,t,t.segments,n)}function wD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!rr(o,n)||t.hasChildren()||!fc(o,n,r))}else if(e.segments.length===n.length){if(!rr(e.segments,n)||!fc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!ID(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!rr(e.segments,o)||!fc(e.segments,o,r)||!e.children[P]?!1:wD(e.children[P],t,i,r)}}function fc(e,t,n){return t.every((r,o)=>DD[n](e[o].parameters,r.parameters))}var Nt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new L([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=ir(this.queryParams),this._queryParamMap}toString(){return TM.serialize(this)}},L=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hc(this)}},En=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=ir(this.parameters),this._parameterMap}toString(){return bD(this)}};function CM(e,t){return rr(e,t)&&e.every((n,r)=>St(n.parameters,t[r].parameters))}function rr(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function bM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===P&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==P&&(n=n.concat(t(o,r)))}),n}var sr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new In,providedIn:"root"})}return e})(),In=class{parse(t){let n=new Hf(t);return new Nt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Ei(t.root,!0)}`,r=MM(t.queryParams),o=typeof t.fragment=="string"?`#${_M(t.fragment)}`:"";return`${n}${r}${o}`}},TM=new In;function hc(e){return e.segments.map(t=>bD(t)).join("/")}function Ei(e,t){if(!e.hasChildren())return hc(e);if(t){let n=e.children[P]?Ei(e.children[P],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==P&&r.push(`${o}:${Ei(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=bM(e,(r,o)=>o===P?[Ei(e.children[P],!1)]:[`${o}:${Ei(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[P]!=null?`${hc(e)}/${n[0]}`:`${hc(e)}/(${n.join("//")})`}}function CD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lc(e){return CD(e).replace(/%3B/gi,";")}function _M(e){return encodeURI(e)}function $f(e){return CD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pc(e){return decodeURIComponent(e)}function lD(e){return pc(e.replace(/\+/g,"%20"))}function bD(e){return`${$f(e.path)}${SM(e.parameters)}`}function SM(e){return Object.entries(e).map(([t,n])=>`;${$f(t)}=${$f(n)}`).join("")}function MM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${lc(n)}=${lc(o)}`).join("&"):`${lc(n)}=${lc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var NM=/^[^\/()?;#]+/;function Ff(e){let t=e.match(NM);return t?t[0]:""}var RM=/^[^\/()?;=#]+/;function AM(e){let t=e.match(RM);return t?t[0]:""}var xM=/^[^=?&#]+/;function OM(e){let t=e.match(xM);return t?t[0]:""}var PM=/^[^&#]+/;function kM(e){let t=e.match(PM);return t?t[0]:""}var Hf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[P]=new L(t,n)),r}parseSegment(){let t=Ff(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new En(pc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=AM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Ff(this.remaining);o&&(r=o,this.capture(r))}t[pc(n)]=pc(r)}parseQueryParam(t){let n=OM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=kM(this.remaining);s&&(r=s,this.capture(r))}let o=lD(n),i=lD(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Ff(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new m(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=P);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[P]:new L([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new m(4011,!1)}};function TD(e){return e.segments.length>0?new L([],{[P]:e}):e}function _D(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=_D(o);if(r===P&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new L(e.segments,t);return FM(n)}function FM(e){if(e.numberOfChildren===1&&e.children[P]){let t=e.children[P];return new L(e.segments.concat(t.segments),t.children)}return e}function ro(e){return e instanceof Nt}function SD(e,t,n=null,r=null){let o=MD(e);return ND(o,t,n,r)}function MD(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new L(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=TD(r);return t??o}function ND(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Lf(o,o,o,n,r);let i=LM(t);if(i.toRoot())return Lf(o,o,new L([],{}),n,r);let s=jM(i,o,e),a=s.processChildren?wi(s.segmentGroup,s.index,i.commands):AD(s.segmentGroup,s.index,i.commands);return Lf(o,s.segmentGroup,a,n,r)}function gc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function bi(e){return typeof e=="object"&&e!=null&&e.outlets}function Lf(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=RD(e,t,n);let a=TD(_D(s));return new Nt(a,i,o)}function RD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=RD(i,t,n)}),new L(e.segments,r)}var mc=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&gc(r[0]))throw new m(4003,!1);let o=r.find(bi);if(o&&o!==vD(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function LM(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new mc(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new mc(n,t,r)}var eo=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function jM(e,t,n){if(e.isAbsolute)return new eo(t,!0,0);if(!n)return new eo(t,!1,NaN);if(n.parent===null)return new eo(n,!0,0);let r=gc(e.commands[0])?0:1,o=n.segments.length-1+r;return BM(n,o,e.numberOfDoubleDots)}function BM(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new m(4005,!1);o=r.segments.length}return new eo(r,!1,o-i)}function VM(e){return bi(e[0])?e[0].outlets:{[P]:e}}function AD(e,t,n){if(e??=new L([],{}),e.segments.length===0&&e.hasChildren())return wi(e,t,n);let r=UM(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new L(e.segments.slice(0,r.pathIndex),{});return i.children[P]=new L(e.segments.slice(r.pathIndex),e.children),wi(i,0,o)}else return r.match&&o.length===0?new L(e.segments,{}):r.match&&!e.hasChildren()?zf(e,t,n):r.match?wi(e,0,o):zf(e,t,n)}function wi(e,t,n){if(n.length===0)return new L(e.segments,{});{let r=VM(n),o={};if(Object.keys(r).some(i=>i!==P)&&e.children[P]&&e.numberOfChildren===1&&e.children[P].segments.length===0){let i=wi(e.children[P],t,n);return new L(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=AD(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new L(e.segments,o)}}function UM(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(bi(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!fD(c,u,s))return i;r+=2}else{if(!fD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function zf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(bi(i)){let c=$M(i.outlets);return new L(r,c)}if(o===0&&gc(n[0])){let c=e.segments[t];r.push(new En(c.path,dD(n[0]))),o++;continue}let s=bi(i)?i.outlets[P]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&gc(a)?(r.push(new En(s,dD(a))),o+=2):(r.push(new En(s,{})),o++)}return new L(r,{})}function $M(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=zf(new L([],{}),0,r))}),t}function dD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function fD(e,t,n){return e==n.path&&St(t,n.parameters)}var to="imperative",le=(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})(le||{}),ke=class{id;url;constructor(t,n){this.id=t,this.url=n}},wn=class extends ke{type=le.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},lt=class extends ke{urlAfterRedirects;type=le.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Se=(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.Aborted=4]="Aborted",e})(Se||{}),oo=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(oo||{}),Mt=class extends ke{reason;code;type=le.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Rt=class extends ke{reason;code;type=le.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},io=class extends ke{error;target;type=le.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ti=class extends ke{urlAfterRedirects;state;type=le.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yc=class extends ke{urlAfterRedirects;state;type=le.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vc=class extends ke{urlAfterRedirects;state;shouldActivate;type=le.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Dc=class extends ke{urlAfterRedirects;state;type=le.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class extends ke{urlAfterRedirects;state;type=le.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class{route;type=le.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},wc=class{route;type=le.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cc=class{snapshot;type=le.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bc=class{snapshot;type=le.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tc=class{snapshot;type=le.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{snapshot;type=le.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},so=class{routerEvent;position;anchor;type=le.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},_i=class{},ao=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function HM(e){return!(e instanceof _i)&&!(e instanceof ao)}function zM(e,t){return e.providers&&!e._injector&&(e._injector=qr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function ut(e){return e.outlet||P}function GM(e,t){let n=e.filter(r=>ut(r)===t);return n.push(...e.filter(r=>ut(r)!==t)),n}function lo(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Sc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return lo(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new ar(this.rootInjector)}},ar=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Sc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(C(ee))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mc=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Gf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Gf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=qf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return qf(t,this._root).map(n=>n.value)}};function Gf(e,t){if(e===t.value)return t;for(let n of t.children){let r=Gf(e,n);if(r)return r}return null}function qf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=qf(e,n);if(r.length)return r.unshift(t),r}return[]}var Pe=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Xr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Si=class extends Mc{snapshot;constructor(t,n){super(t),this.snapshot=n,eh(this,t)}toString(){return this.snapshot.toString()}};function xD(e){let t=qM(e),n=new pe([new En("",{})]),r=new pe({}),o=new pe({}),i=new pe({}),s=new pe(""),a=new Wt(n,r,i,s,o,P,e,t.root);return a.snapshot=t.root,new Si(new Pe(a,[]),t)}function qM(e){let t={},n={},r={},i=new or([],t,r,"",n,P,e,null,{});return new Mi("",new Pe(i,[]))}var Wt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(x(u=>u[xi]))??T(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(x(t=>ir(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>ir(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Nc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={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)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&PD(o)&&(r.resolve[xi]=o.title),r}var or=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[xi]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ir(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ir(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Mi=class extends Mc{url;constructor(t,n){super(n),this.url=t,eh(this,n)}toString(){return OD(this._root)}};function eh(e,t){t.value._routerState=e,t.children.forEach(n=>eh(e,n))}function OD(e){let t=e.children.length>0?` { ${e.children.map(OD).join(", ")} } `:"";return`${e.value}${t}`}function jf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,St(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),St(t.params,n.params)||e.paramsSubject.next(n.params),DM(t.url,n.url)||e.urlSubject.next(n.url),St(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wf(e,t){let n=St(e.params,t.params)&&CM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Wf(e.parent,t.parent))}function PD(e){return typeof e.title=="string"||e.title===null}var kD=new I(""),th=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new _e;deactivateEvents=new _e;attachEvents=new _e;detachEvents=new _e;routerOutletData=lv(void 0);parentContexts=p(ar);location=p(_t);changeDetector=p(Wr);inputBinder=p(Oi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(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 m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,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,r){if(this.isActivated)throw new m(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Zf(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ut({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[$r]})}return e})(),Zf=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Wt?this.route:t===ar?this.childContexts:t===kD?this.outletData:this.parent.get(t,n)}},Oi=new I(""),nh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Eo([r.queryParams,r.params,r.data]).pipe(de(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?T(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=pv(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),rh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Fd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&$a(0,"router-outlet")},dependencies:[th],encapsulation:2})}return e})();function oh(e){let t=e.children&&e.children.map(oh),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==P&&(n.component=rh),n}function WM(e,t,n){let r=Ni(e,t._root,n?n._root:void 0);return new Si(r,t)}function Ni(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=ZM(e,t,n);return new Pe(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Ni(e,a)),s}}let r=YM(t.value),o=t.children.map(i=>Ni(e,i));return new Pe(r,o)}}function ZM(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Ni(e,r,o);return Ni(e,r)})}function YM(e){return new Wt(new pe(e.url),new pe(e.params),new pe(e.queryParams),new pe(e.fragment),new pe(e.data),e.outlet,e.component,e)}var co=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},FD="ngNavigationCancelingError";function Rc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=ro(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=LD(!1,Se.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function LD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[FD]=!0,n.cancellationCode=t,n}function QM(e){return jD(e)&&ro(e.url)}function jD(e){return!!e&&e[FD]}var KM=(e,t,n,r)=>x(o=>(new Yf(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Yf=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),jf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Xr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Xr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Xr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Xr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new _c(i.value.snapshot))}),t.children.length&&this.forwardEvent(new bc(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(jf(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),jf(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Ac=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},no=class{component;route;constructor(t,n){this.component=t,this.route=n}};function JM(e,t,n){let r=e._root,o=t?t._root:null;return Ii(r,o,n,[r.value])}function XM(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function fo(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Du(e)?e:t.get(e):r}function Ii(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Xr(t);return e.children.forEach(s=>{eN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ci(a,n.getContext(s),o)),o}function eN(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=tN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ac(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ii(e,t,a?a.children:null,r,o):Ii(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new no(a.outlet.component,s))}else s&&Ci(t,a,o),o.canActivateChecks.push(new Ac(r)),i.component?Ii(e,null,a?a.children:null,r,o):Ii(e,null,n,r,o);return o}function tN(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!rr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!rr(e.url,t.url)||!St(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wf(e,t)||!St(e.queryParams,t.queryParams);case"paramsChange":default:return!Wf(e,t)}}function Ci(e,t,n){let r=Xr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Ci(s,t.children.getContext(i),n):Ci(s,null,n):Ci(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new no(t.outlet.component,o)):n.canDeactivateChecks.push(new no(null,o)):n.canDeactivateChecks.push(new no(null,o))}function Pi(e){return typeof e=="function"}function nN(e){return typeof e=="boolean"}function rN(e){return e&&Pi(e.canLoad)}function oN(e){return e&&Pi(e.canActivate)}function iN(e){return e&&Pi(e.canActivateChild)}function sN(e){return e&&Pi(e.canDeactivate)}function aN(e){return e&&Pi(e.canMatch)}function BD(e){return e instanceof Ae||e?.name==="EmptyError"}var dc=Symbol("INITIAL_VALUE");function uo(){return de(e=>Eo(e.map(t=>t.pipe(gt(1),vs(dc)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===dc)return dc;if(n===!1||cN(n))return n}return!0}),se(t=>t!==dc),gt(1)))}function cN(e){return ro(e)||e instanceof co}function uN(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?T(F(y({},n),{guardsResult:!0})):lN(s,r,o,e).pipe(Y(a=>a&&nN(a)?dN(r,i,e,t):T(a)),x(a=>F(y({},n),{guardsResult:a})))})}function lN(e,t,n,r){return W(e).pipe(Y(o=>mN(o.component,o.route,n,t,r)),mt(o=>o!==!0,!0))}function dN(e,t,n,r){return W(t).pipe(pt(o=>br(hN(o.route.parent,r),fN(o.route,r),gN(e,o.path,n),pN(e,o.route,n))),mt(o=>o!==!0,!0))}function fN(e,t){return e!==null&&t&&t(new Tc(e)),T(!0)}function hN(e,t){return e!==null&&t&&t(new Cc(e)),T(!0)}function pN(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return T(!0);let o=r.map(i=>Io(()=>{let s=lo(t)??n,a=fo(i,s),c=oN(a)?a.canActivate(t,e):he(s,()=>a(t,e));return Zt(c).pipe(mt())}));return T(o).pipe(uo())}function gN(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>XM(s)).filter(s=>s!==null).map(s=>Io(()=>{let a=s.guards.map(c=>{let u=lo(s.node)??n,l=fo(c,u),d=iN(l)?l.canActivateChild(r,e):he(u,()=>l(r,e));return Zt(d).pipe(mt())});return T(a).pipe(uo())}));return T(i).pipe(uo())}function mN(e,t,n,r,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=lo(t)??o,u=fo(a,c),l=sN(u)?u.canDeactivate(e,t,n,r):he(c,()=>u(e,t,n,r));return Zt(l).pipe(mt())});return T(s).pipe(uo())}function yN(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return T(!0);let i=o.map(s=>{let a=fo(s,e),c=rN(a)?a.canLoad(t,n):he(e,()=>a(t,n));return Zt(c)});return T(i).pipe(uo(),VD(r))}function VD(e){return Kc(fe(t=>{if(typeof t!="boolean")throw Rc(e,t)}),x(t=>t===!0))}function vN(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return T(!0);let i=o.map(s=>{let a=fo(s,e),c=aN(a)?a.canMatch(t,n):he(e,()=>a(t,n));return Zt(c)});return T(i).pipe(uo(),VD(r))}var Ri=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},Ai=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Jr(e){return wr(new Ri(e))}function DN(e){return wr(new m(4e3,!1))}function EN(e){return wr(LD(!1,Se.GuardRejected))}var Qf=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return T(r);if(o.numberOfChildren>1||!o.children[P])return DN(`${t.redirectTo}`);o=o.children[P]}}applyRedirectCommands(t,n,r,o,i){return IN(n,o,i).pipe(x(s=>{if(s instanceof Nt)throw new Ai(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Ai(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Nt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new L(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new m(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function IN(e,t,n){if(typeof e=="string")return T(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return Zt(he(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var Kf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wN(e,t,n,r,o){let i=UD(e,t,n);return i.matched?(r=zM(t,r),vN(r,t,n,o).pipe(x(s=>s===!0?i:y({},Kf)))):T(i)}function UD(e,t,n){if(t.path==="**")return CN(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Kf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||mD)(n,e,t);if(!o)return y({},Kf);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:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function CN(e){return{matched:!0,parameters:e.length>0?vD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function hD(e,t,n,r){return n.length>0&&_N(e,n,r)?{segmentGroup:new L(t,TN(r,new L(n,e.children))),slicedSegments:[]}:n.length===0&&SN(e,n,r)?{segmentGroup:new L(e.segments,bN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new L(e.segments,e.children),slicedSegments:n}}function bN(e,t,n,r){let o={};for(let i of n)if(Oc(e,t,i)&&!r[ut(i)]){let s=new L([],{});o[ut(i)]=s}return y(y({},r),o)}function TN(e,t){let n={};n[P]=t;for(let r of e)if(r.path===""&&ut(r)!==P){let o=new L([],{});n[ut(r)]=o}return n}function _N(e,t,n){return n.some(r=>Oc(e,t,r)&&ut(r)!==P)}function SN(e,t,n){return n.some(r=>Oc(e,t,r))}function Oc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function MN(e,t,n){return t.length===0&&!e.children[n]}var Jf=class{};function NN(e,t,n,r,o,i,s="emptyOnly"){return new Xf(e,t,n,r,o,s,i).recognize()}var RN=31,Xf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qf(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){let t=hD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new Pe(r,n),i=new Mi("",o),s=SD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new or([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,P,n).pipe(x(r=>({children:r,rootSnapshot:n})),ht(r=>{if(r instanceof Ai)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ri?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(x(s=>s instanceof Pe?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(pt(s=>{let a=r.children[s],c=GM(n,s);return this.processSegmentGroup(t,c,a,s,o)}),iu((s,a)=>(s.push(...a),s)),Xt(null),ou(),Y(s=>{if(s===null)return Jr(r);let a=$D(s);return AN(a),T(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(pt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(ht(u=>{if(u instanceof Ri)return T(null);throw u}))),mt(c=>!!c),ht(c=>{if(BD(c))return MN(r,o,i)?T(new Jf):Jr(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return ut(r)!==s&&(s===P||!Oc(o,i,r))?Jr(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Jr(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=UD(n,o,i);if(!c)return Jr(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>RN&&(this.allowRedirects=!1));let f=new or(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,pD(o),ut(o),o.component??o._loadedComponent??null,o,gD(o)),g=Nc(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t).pipe(de(D=>this.applyRedirects.lineralizeSegments(o,D)),Y(D=>this.processSegment(t,r,n,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=wN(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(de(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(de(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new or(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,pD(r),ut(r),r.component??r._loadedComponent??null,r,gD(r)),E=Nc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:v}=hD(n,h,f,u);if(v.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(We=>new Pe(g,We)));if(u.length===0&&v.length===0)return T(new Pe(g,[]));let z=ut(r)===i;return this.processSegment(l,u,D,v,z?P:i,!0,g).pipe(x(We=>new Pe(g,We instanceof Pe?[We]:[])))}))):Jr(n)))}getChildConfig(t,n,r){return n.children?T({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?T({routes:n._loadedRoutes,injector:n._loadedInjector}):yN(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(fe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):EN(n))):T({routes:[],injector:t})}};function AN(e){e.sort((t,n)=>t.value.outlet===P?-1:n.value.outlet===P?1:t.value.outlet.localeCompare(n.value.outlet))}function xN(e){let t=e.value.routeConfig;return t&&t.path===""}function $D(e){let t=[],n=new Set;for(let r of e){if(!xN(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=$D(r.children);t.push(new Pe(r.value,o))}return t.filter(r=>!n.has(r))}function pD(e){return e.data||{}}function gD(e){return e.resolve||{}}function ON(e,t,n,r,o,i){return Y(s=>NN(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function PN(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return T(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of HD(c))s.add(u);let a=0;return W(s).pipe(pt(c=>i.has(c)?kN(c,r,e,t):(c.data=Nc(c,c.parent,e).resolve,T(void 0))),fe(()=>a++),Tr(1),Y(c=>a===s.size?T(n):ve))})}function HD(e){let t=e.children.map(n=>HD(n)).flat();return[e,...t]}function kN(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!PD(o)&&(i[xi]=o.title),Io(()=>(e.data=Nc(e,e.parent,n).resolve,FN(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=y(y({},e.data),s),null)))))}function FN(e,t,n,r){let o=Uf(e);if(o.length===0)return T({});let i={};return W(o).pipe(Y(s=>LN(e[s],t,n,r).pipe(mt(),fe(a=>{if(a instanceof co)throw Rc(new In,a);i[s]=a}))),Tr(1),x(()=>i),ht(s=>BD(s)?ve:wr(s)))}function LN(e,t,n,r){let o=lo(t)??r,i=fo(e,o),s=i.resolve?i.resolve(t,n):he(o,()=>i(t,n));return Zt(s)}function Bf(e){return de(t=>{let n=e(t);return n?W(n).pipe(x(()=>t)):T(t)})}var ih=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===P);return r}getResolvedTitleForRoute(n){return n.data[xi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(zD),providedIn:"root"})}return e})(),zD=(()=>{class e extends ih{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(cD))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cr=new I("",{providedIn:"root",factory:()=>({})}),ur=new I(""),Pc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(tf);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return T(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Zt(he(n,()=>r.loadComponent())).pipe(x(qD),de(WD),fe(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),On(()=>{this.componentLoaders.delete(r)})),i=new Dr(o,()=>new J).pipe(vr());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return T({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=GD(r,this.compiler,n,this.onLoadEndListener).pipe(On(()=>{this.childrenLoaders.delete(r)})),s=new Dr(i,()=>new J).pipe(vr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GD(e,t,n,r){return Zt(he(n,()=>e.loadChildren())).pipe(x(qD),de(WD),Y(o=>o instanceof ka||Array.isArray(o)?T(o):W(t.compileModuleAsync(o))),x(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(ur,[],{optional:!0,self:!0}).flat()),{routes:s.map(oh),injector:i}}))}function jN(e){return e&&typeof e=="object"&&"default"in e}function qD(e){return jN(e)?e.default:e}function WD(e){return T(e)}var kc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(BN),providedIn:"root"})}return e})(),BN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sh=new I(""),ah=new I("");function ZD(e,t,n){let r=e.get(ah),o=e.get(Z);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),VN(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&he(e,()=>c({transition:a,from:t,to:n})),s}function VN(e){return new Promise(t=>{Ud({read:()=>setTimeout(t)},{injector:e})})}var ch=new I(""),Fc=(()=>{class e{currentNavigation=qn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortWithErrorSubject=new J;configLoader=p(Pc);environmentInjector=p(ee);destroyRef=p(He);urlSerializer=p(sr);rootContexts=p(ar);location=p(vn);inputBindingEnabled=p(Oi,{optional:!0})!==null;titleStrategy=p(ih);options=p(cr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(kc);createViewTransition=p(sh,{optional:!0});navigationErrorHandler=p(ch,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>T(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Ic(o)),r=o=>this.events.next(new wc(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;st(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new pe(null),this.transitions.pipe(se(r=>r!==null),de(r=>{let o=!1;return T(r).pipe(de(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),ve;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?F(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Rt(i.id,this.urlSerializer.serialize(i.rawUrl),"",oo.IgnoredSameUrlNavigation)),i.resolve(!1),ve;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return T(i).pipe(de(c=>(this.events.next(new wn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ve:Promise.resolve(c))),ON(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),fe(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Ti(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:h}=i,f=new wn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=xD(this.rootComponentType).snapshot;return this.currentTransition=r=F(y({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:F(y({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=u,E)),T(r)}else return this.events.next(new Rt(i.id,this.urlSerializer.serialize(i.extractedUrl),"",oo.IgnoredByUrlHandlingStrategy)),i.resolve(!1),ve}),fe(i=>{let s=new yc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),x(i=>(this.currentTransition=r=F(y({},i),{guards:JM(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),uN(this.environmentInjector,i=>this.events.next(i)),fe(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Rc(this.urlSerializer,i.guardsResult);let s=new vc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),se(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Se.GuardRejected),!1)),Bf(i=>{if(i.guards.canActivateChecks.length!==0)return T(i).pipe(fe(s=>{let a=new Dc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),de(s=>{let a=!1;return T(s).pipe(PN(this.paramsInheritanceStrategy,this.environmentInjector),fe({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Se.NoDataFromResolver)}}))}),fe(s=>{let a=new Ec(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Bf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=lo(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(fe(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Eo(s(i.targetSnapshot.root)).pipe(Xt(null),gt(1))}),Bf(()=>this.afterPreactivation()),de(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(x(()=>r)):T(r)}),x(i=>{let s=WM(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(y({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),fe(()=>{this.events.next(new _i)}),KM(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),gt(1),Ds(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(se(()=>!o&&!r.targetRouterState),fe(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Se.Aborted)}))),fe({next:i=>{o=!0,this.lastSuccessfulNavigation=st(this.currentNavigation),this.events.next(new lt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),Ds(this.transitionAbortWithErrorSubject.pipe(fe(i=>{throw i}))),On(()=>{o||this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ht(i=>{if(this.destroyed)return r.resolve(!1),ve;if(o=!0,jD(i))this.events.next(new Mt(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),QM(i)?this.events.next(new ao(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new io(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=he(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof co){let{message:c,cancellationCode:u}=Rc(this.urlSerializer,a);this.events.next(new Mt(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new ao(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return ve}))}))}cancelNavigationTransition(n,r,o){let i=new Mt(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=st(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function UN(e){return e!==to}var YD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p($N),providedIn:"root"})}return e})(),xc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},$N=(()=>{class e extends xc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ea(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),QD=(()=>{class e{urlSerializer=p(sr);options=p(cr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(vn);urlHandlingStrategy=p(kc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Nt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof Nt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=xD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(HN),providedIn:"root"})}return e})(),HN=(()=>{class e extends QD{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof wn?this.updateStateMemento():n instanceof Rt?this.commitTransition(r):n instanceof Ti?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof _i?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Mt&&n.code!==Se.SupersededByNewNavigation&&n.code!==Se.Redirect?this.restoreHistory(r):n instanceof io?this.restoreHistory(r,!0):n instanceof lt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ea(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lc(e,t){e.events.pipe(se(n=>n instanceof lt||n instanceof Mt||n instanceof io||n instanceof Rt),x(n=>n instanceof lt||n instanceof Rt?0:(n instanceof Mt?n.code===Se.Redirect||n.code===Se.SupersededByNewNavigation:!1)?2:1),se(n=>n!==2),gt(1)).subscribe(()=>{t()})}var zN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},GN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Yt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Ba);stateManager=p(QD);options=p(cr,{optional:!0})||{};pendingTasks=p(Ct);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Fc);urlSerializer=p(sr);location=p(vn);urlHandlingStrategy=p(kc);injector=p(ee);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(YD);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(ur,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Oi,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=st(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Mt&&r.code!==Se.Redirect&&r.code!==Se.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof lt)this.navigated=!0;else if(r instanceof ao){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||UN(o.source)},s);this.scheduleNavigation(a,to,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}HM(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});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),to,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Te)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return st(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(oh),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=y(y({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=MD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return ND(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=ro(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,to,null,r)}navigate(n,r={skipLocationChange:!1}){return qN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},zN):r===!1?o=y({},GN):o=r,ro(n))return uD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return uD(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Lc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qN(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var ki=class{};var KD=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(se(n=>n instanceof lt),pt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=qr(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return W(o).pipe(Jt())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=T(null);let i=o.pipe(Y(s=>s===null?T(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return W([i,s]).pipe(Jt())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Yt),C(ee),C(ki),C(Pc))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JD=new I(""),WN=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=to;restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof wn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof lt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Rt&&n.code===oo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof so&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>lr(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new so(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Md()};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function ZN(e,...t){return Ke([{provide:ur,multi:!0,useValue:e},[],{provide:Wt,useFactory:XD,deps:[Yt]},{provide:ni,multi:!0,useFactory:eE},t.map(n=>n.\u0275providers)])}function XD(e){return e.routerState.root}function Fi(e,t){return{\u0275kind:e,\u0275providers:t}}function eE(){let e=p(ge);return t=>{let n=e.get(mn);if(t!==n.components[0])return;let r=e.get(Yt),o=e.get(tE);e.get(lh)===1&&r.initialNavigation(),e.get(oE,null,{optional:!0})?.setUpPreloading(),e.get(JD,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var tE=new I("",{factory:()=>new J}),lh=new I("",{providedIn:"root",factory:()=>1});function nE(){let e=[{provide:Ta,useValue:!0},{provide:lh,useValue:0},Ua(()=>{let t=p(ge);return t.get(mf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Yt),i=t.get(tE);Lc(o,()=>{r(!0)}),t.get(Fc).afterPreactivation=()=>(r(!0),i.closed?T(void 0):i),o.initialNavigation()}))})];return Fi(2,e)}function rE(){let e=[Ua(()=>{p(Yt).setUpLocationChangeListener()}),{provide:lh,useValue:2}];return Fi(3,e)}var oE=new I("");function iE(e){return Fi(0,[{provide:oE,useExisting:KD},{provide:ki,useExisting:e}])}function sE(){return Fi(8,[nh,{provide:Oi,useExisting:nh}])}function aE(e){it("NgRouterViewTransitions");let t=[{provide:sh,useValue:ZD},{provide:ah,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return Fi(9,t)}var cE=[vn,{provide:sr,useClass:In},Yt,ar,{provide:Wt,useFactory:XD,deps:[Yt]},Pc,[]],YN=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[cE,[],{provide:ur,multi:!0,useValue:n},[],r?.errorHandler?{provide:ch,useValue:r.errorHandler}:[],{provide:cr,useValue:r||{}},r?.useHash?KN():JN(),QN(),r?.preloadingStrategy?iE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?XN(r):[],r?.bindToComponentInputs?sE().\u0275providers:[],r?.enableViewTransitions?aE().\u0275providers:[],eR()]}}static forChild(n){return{ngModule:e,providers:[{provide:ur,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=pn({type:e});static \u0275inj=Pt({})}return e})();function QN(){return{provide:JD,useFactory:()=>{let e=p(Bv),t=p(Q),n=p(cr),r=p(Fc),o=p(sr);return n.scrollOffset&&e.setOffset(n.scrollOffset),new WN(o,r,e,t,n)}}}function KN(){return{provide:Ht,useClass:Cf}}function JN(){return{provide:Ht,useClass:Wa}}function XN(e){return[e.initialNavigation==="disabled"?rE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?nE().\u0275providers:[]]}var uh=new I("");function eR(){return[{provide:uh,useFactory:eE},{provide:ni,multi:!0,useExisting:uh}]}export{y as a,F as b,hE as c,lr as d,K as e,k as f,J as g,pe as h,ve as i,W as j,T as k,wr as l,OE as m,PE as n,x as o,Eo as p,br as q,Io as r,HE as s,ru as t,QE as u,se as v,KE as w,ht as x,JE as y,gt as z,XE as A,Qh as B,On as C,mt as D,nI as E,au as F,Kh as G,rI as H,vs as I,de as J,Ds as K,oI as L,fe as M,m as N,Ts as O,w as P,Pt as Q,I as R,C as S,p as T,Ke as U,pp as V,ee as W,Mp as X,Np as Y,$p as Z,Hp as _,ge as $,Z as aa,He as ba,Fe as ca,RI as da,rl as ea,qn as fa,$r as ga,Ea as ha,jt as ia,ia as ja,wa as ka,zr as la,cw as ma,ba as na,ot as oa,xw as pa,Ow as qa,jw as ra,iC as sa,fn as ta,Kn as ua,ti as va,ue as wa,_t as xa,it as ya,Jn as za,Fd as Aa,pn as Ba,Ut as Ca,Fa as Da,fy as Ea,Zb as Fa,gy as Ga,_e as Ha,Q as Ia,Ud as Ja,er as Ka,Hd as La,mn as Ma,Gd as Na,uT as Oa,dT as Pa,fT as Qa,hT as Ra,pT as Sa,gT as Ta,mT as Ua,Iy as Va,Wd as Wa,Zd as Xa,$a as Ya,Yd as Za,Qd as _a,wy as $a,by as ab,IT as bb,Ty as cb,Xd as db,Sy as eb,_T as fb,MT as gb,NT as hb,Ny as ib,AT as jb,Ry as kb,Ay as lb,xT as mb,OT as nb,PT as ob,kT as pb,Py as qb,ky as rb,qT as sb,r_ as tb,$y as ub,ef as vb,Hy as wb,Gy as xb,s_ as yb,qy as zb,a_ as Ab,f_ as Bb,h_ as Cb,g_ as Db,y_ as Eb,v_ as Fb,D_ as Gb,I_ as Hb,st as Ib,b_ as Jb,T_ as Kb,af as Lb,X2 as Mb,e$ as Nb,Wr as Ob,fv as Pb,oS as Qb,t$ as Rb,n$ as Sb,$t as Tb,vn as Ub,IS as Vb,Pv as Wb,wS as Xb,CS as Yb,_S as Zb,MS as _b,jv as $b,yH as ac,Of as bc,$S as cc,Dn as dc,ac as ec,rD as fc,gM as gc,mM as hc,Wt as ic,th as jc,Yt as kc,ZN as lc,YN as mc};
|