@ngocsangairvds/vsaf 5.4.6 → 5.5.0
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/package.json +1 -1
- package/packages/cli/dist/commands/run.d.ts +2 -0
- package/packages/cli/dist/commands/run.d.ts.map +1 -1
- package/packages/cli/dist/commands/run.js +23 -5
- package/packages/cli/dist/commands/run.js.map +1 -1
- package/packages/cli/dist/commands/validate.d.ts.map +1 -1
- package/packages/cli/dist/commands/validate.js +7 -1
- package/packages/cli/dist/commands/validate.js.map +1 -1
- package/packages/cli/dist/server/app.d.ts.map +1 -1
- package/packages/cli/dist/server/app.js +2 -0
- package/packages/cli/dist/server/app.js.map +1 -1
- package/packages/cli/dist/server/routes/config.d.ts +6 -0
- package/packages/cli/dist/server/routes/config.d.ts.map +1 -0
- package/packages/cli/dist/server/routes/config.js +64 -0
- package/packages/cli/dist/server/routes/config.js.map +1 -0
- package/packages/cli/dist/server/services/execution-manager.d.ts.map +1 -1
- package/packages/cli/dist/server/services/execution-manager.js +10 -6
- package/packages/cli/dist/server/services/execution-manager.js.map +1 -1
- package/packages/core/dist/config/config-loader.d.ts +4 -0
- package/packages/core/dist/config/config-loader.d.ts.map +1 -1
- package/packages/core/dist/config/config-loader.js +5 -0
- package/packages/core/dist/config/config-loader.js.map +1 -1
- package/packages/core/dist/engine/dag-executor.d.ts +4 -0
- package/packages/core/dist/engine/dag-executor.d.ts.map +1 -1
- package/packages/core/dist/engine/dag-executor.js +7 -2
- package/packages/core/dist/engine/dag-executor.js.map +1 -1
- package/packages/core/dist/engine/dag-parser.d.ts.map +1 -1
- package/packages/core/dist/engine/dag-parser.js +8 -0
- package/packages/core/dist/engine/dag-parser.js.map +1 -1
- package/packages/core/dist/engine/expand-workflow.d.ts +8 -0
- package/packages/core/dist/engine/expand-workflow.d.ts.map +1 -0
- package/packages/core/dist/engine/expand-workflow.js +104 -0
- package/packages/core/dist/engine/expand-workflow.js.map +1 -0
- package/packages/core/dist/index.d.ts +1 -0
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js +4 -2
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/providers/default-adapters.d.ts +2 -1
- package/packages/core/dist/providers/default-adapters.d.ts.map +1 -1
- package/packages/core/dist/providers/default-adapters.js +83 -26
- package/packages/core/dist/providers/default-adapters.js.map +1 -1
- package/packages/core/dist/schema/workflow-schema.d.ts +8 -0
- package/packages/core/dist/schema/workflow-schema.d.ts.map +1 -1
- package/packages/core/dist/schema/workflow-schema.js +9 -6
- package/packages/core/dist/schema/workflow-schema.js.map +1 -1
- package/packages/core/dist/types/dag.d.ts +2 -0
- package/packages/core/dist/types/dag.d.ts.map +1 -1
- package/packages/core/dist/types/provider.d.ts +2 -0
- package/packages/core/dist/types/provider.d.ts.map +1 -1
- package/packages/core/dist/types/workflow.d.ts +4 -0
- package/packages/core/dist/types/workflow.d.ts.map +1 -1
- package/packages/web/dist/web/3rdpartylicenses.txt +52 -52
- package/packages/web/dist/web/browser/chunk-3LPWUDNW.js +1 -0
- package/packages/web/dist/web/browser/chunk-4LHJGOIU.js +1 -0
- package/packages/web/dist/web/browser/chunk-FQUOTTEA.js +4 -0
- package/packages/web/dist/web/browser/chunk-FWLQWWZ3.js +1 -0
- package/packages/web/dist/web/browser/chunk-K4VRVZWF.js +1 -0
- package/packages/web/dist/web/browser/chunk-OBMUVQWL.js +1 -0
- package/packages/web/dist/web/browser/chunk-UJHVWNPU.js +1 -0
- package/packages/web/dist/web/browser/chunk-UXRT7NQK.js +1 -0
- package/packages/web/dist/web/browser/chunk-VJ3UNUDS.js +1 -0
- package/packages/web/dist/web/browser/chunk-W7ZKECPT.js +5 -0
- package/packages/web/dist/web/browser/index.html +1 -1
- package/packages/web/dist/web/browser/main-7FONYLE6.js +1 -0
- package/skills/sdlc/_shared/sonar-viettel/quality-gate.md +7 -0
- package/skills/sdlc/discovery/grill/step.md +6 -1
- package/skills/sdlc/implement/build-run/step.md +1 -1
- package/skills/sdlc/implement/tdd/step.md +9 -0
- package/skills/sdlc/pack.yaml +2 -4
- package/skills/sdlc/review/fix/SKILL.md +10 -0
- package/skills/sdlc/review/fix/step.md +33 -0
- package/skills/sdlc/srs/SKILL.md +129 -0
- package/skills/sdlc/test-design/cases/step.md +7 -0
- package/workflows/sdlc/master-sdlc-headless.yaml +18 -62
- package/workflows/sdlc/sdlc-build-headless.yaml +41 -12
- package/workflows/sdlc/sdlc-design.yaml +4 -21
- package/workflows/sdlc/sdlc-review.yaml +9 -1
- package/workflows/sdlc/sdlc-srs.yaml +4 -25
- package/packages/web/dist/web/browser/chunk-2JHYGCCN.js +0 -1
- package/packages/web/dist/web/browser/chunk-BMQT4ZPK.js +0 -1
- package/packages/web/dist/web/browser/chunk-GWHJRWJM.js +0 -1
- package/packages/web/dist/web/browser/chunk-OZ6BRCXC.js +0 -1
- package/packages/web/dist/web/browser/chunk-Q7N6DAKT.js +0 -1
- package/packages/web/dist/web/browser/chunk-SEBU2SK7.js +0 -1
- package/packages/web/dist/web/browser/chunk-SOS4TH5D.js +0 -4
- package/packages/web/dist/web/browser/chunk-WSAVMPNK.js +0 -5
- package/packages/web/dist/web/browser/main-UPZIVGM6.js +0 -1
- package/skills/sdlc/srs/interface/SKILL.md +0 -10
- package/skills/sdlc/srs/interface/step.md +0 -44
- package/skills/sdlc/srs/prereq/SKILL.md +0 -10
- package/skills/sdlc/srs/prereq/step.md +0 -19
- package/skills/sdlc/srs/validate/SKILL.md +0 -10
- package/skills/sdlc/srs/validate/step.md +0 -23
- package/skills/sdlc/srs/write/SKILL.md +0 -10
- package/skills/sdlc/srs/write/step.md +0 -19
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var kv=Object.defineProperty,Pv=Object.defineProperties;var Fv=Object.getOwnPropertyDescriptors;var hf=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,jv=Object.prototype.propertyIsEnumerable;var pf=(e,t,n)=>t in e?kv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})Lv.call(t,n)&&pf(e,n,t[n]);if(hf)for(var n of hf(t))jv.call(t,n)&&pf(e,n,t[n]);return e},U=(e,t)=>Pv(e,Fv(t));var $=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function M(e){return typeof e=="function"}function gf(e){return e&&M(e.schedule)}function mf(e){return e[e.length-1]}function mi(e){return M(mf(e))?e.pop():void 0}function Ut(e){return gf(mf(e))?e.pop():void 0}function vf(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 yf(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 an(e){return this instanceof an?(this.v=e,this):new an(e)}function Df(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(h){return function(g){return Promise.resolve(g).then(h,d)}}function a(h,g){r[h]&&(o[h]=function(C){return new Promise(function(D,I){i.push([h,C,D,I])>1||c(h,C)})},g&&(o[h]=g(o[h])))}function c(h,g){try{u(r[h](g))}catch(C){f(i[0][3],C)}}function u(h){h.value instanceof an?Promise.resolve(h.value.v).then(l,d):f(i[0][2],h)}function l(h){c("next",h)}function d(h){c("throw",h)}function f(h,g){h(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ef(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 yf=="function"?yf(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 yi=e=>e&&typeof e.length=="number"&&typeof e!="function";function vi(e){return M(e?.then)}function Zn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Di=Zn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
-
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
-
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Wr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var se=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(M(r))try{r()}catch(i){t=i instanceof Di?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{If(i)}catch(s){t=t??[],s instanceof Di?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Di(t)}}add(t){var n;if(t&&t!==this)if(this.closed)If(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)&&Wr(n,t)}remove(t){let{_finalizers:n}=this;n&&Wr(n,t),t instanceof e&&t._removeParent(this)}};se.EMPTY=(()=>{let e=new se;return e.closed=!0,e})();var fc=se.EMPTY;function Ei(e){return e instanceof se||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function If(e){M(e)?e():e.unsubscribe()}var Ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Yn={setTimeout(e,t,...n){let{delegate:r}=Yn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Yn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ii(e){Yn.setTimeout(()=>{let{onUnhandledError:t}=Ge;if(t)t(e);else throw e})}function qr(){}var wf=hc("C",void 0,void 0);function Cf(e){return hc("E",void 0,e)}function bf(e){return hc("N",e,void 0)}function hc(e,t,n){return{kind:e,value:t,error:n}}var cn=null;function Qn(e){if(Ge.useDeprecatedSynchronousErrorHandling){let t=!cn;if(t&&(cn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=cn;if(cn=null,n)throw r}}else e()}function Tf(e){Ge.useDeprecatedSynchronousErrorHandling&&cn&&(cn.errorThrown=!0,cn.error=e)}var un=class extends se{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ei(t)&&t.add(this)):this.destination=Vv}static create(t,n,r){return new Kn(t,n,r)}next(t){this.isStopped?gc(bf(t),this):this._next(t)}error(t){this.isStopped?gc(Cf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?gc(wf,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()}}},Uv=Function.prototype.bind;function pc(e,t){return Uv.call(e,t)}var mc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){wi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){wi(r)}else wi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){wi(n)}}},Kn=class extends un{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ge.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&pc(t.next,i),error:t.error&&pc(t.error,i),complete:t.complete&&pc(t.complete,i)}):o=t}this.destination=new mc(o)}};function wi(e){Ge.useDeprecatedSynchronousErrorHandling?Tf(e):Ii(e)}function Bv(e){throw e}function gc(e,t){let{onStoppedNotification:n}=Ge;n&&Yn.setTimeout(()=>n(e,t))}var Vv={closed:!0,next:qr,error:Bv,complete:qr};var Jn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function We(e){return e}function yc(...e){return vc(e)}function vc(e){return e.length===0?We:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=$v(n)?n:new Kn(n,r,o);return Qn(()=>{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=Sf(r),new r((o,i)=>{let s=new Kn({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)}[Jn](){return this}pipe(...n){return vc(n)(this)}toPromise(n){return n=Sf(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 Sf(e){var t;return(t=e??Ge.Promise)!==null&&t!==void 0?t:Promise}function Hv(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function $v(e){return e&&e instanceof un||Hv(e)&&Ei(e)}function Ci(e){return M(e[Jn])}function bi(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function Ti(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 zv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Si=zv();function _i(e){return M(e?.[Si])}function Mi(e){return Df(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield an(n.read());if(o)return yield an(void 0);yield yield an(r)}}finally{n.releaseLock()}})}function Ni(e){return M(e?.getReader)}function re(e){if(e instanceof x)return e;if(e!=null){if(Ci(e))return Gv(e);if(yi(e))return Wv(e);if(vi(e))return qv(e);if(bi(e))return _f(e);if(_i(e))return Zv(e);if(Ni(e))return Yv(e)}throw Ti(e)}function Gv(e){return new x(t=>{let n=e[Jn]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Wv(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function qv(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ii)})}function Zv(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _f(e){return new x(t=>{Qv(e,t).catch(n=>t.error(n))})}function Yv(e){return _f(Mi(e))}function Qv(e,t){var n,r,o,i;return vf(this,void 0,void 0,function*(){try{for(n=Ef(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 _e(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 Kv(e){return M(e?.lift)}function P(e){return t=>{if(Kv(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 F(e,t,n,r,o){return new Dc(e,t,n,r,o)}var Dc=class extends un{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 Ri(e,t=0){return P((n,r)=>{n.subscribe(F(r,o=>_e(r,e,()=>r.next(o),t),()=>_e(r,e,()=>r.complete(),t),o=>_e(r,e,()=>r.error(o),t)))})}function Ai(e,t=0){return P((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Mf(e,t){return re(e).pipe(Ai(t),Ri(t))}function Nf(e,t){return re(e).pipe(Ai(t),Ri(t))}function Rf(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Af(e,t){return new x(n=>{let r;return _e(n,t,()=>{r=e[Si](),_e(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)}),()=>M(r?.return)&&r.return()})}function xi(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{_e(n,t,()=>{let r=e[Symbol.asyncIterator]();_e(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xf(e,t){return xi(Mi(e),t)}function Of(e,t){if(e!=null){if(Ci(e))return Mf(e,t);if(yi(e))return Rf(e,t);if(vi(e))return Nf(e,t);if(bi(e))return xi(e,t);if(_i(e))return Af(e,t);if(Ni(e))return xf(e,t)}throw Ti(e)}function J(e,t){return t?Of(e,t):re(e)}function A(...e){let t=Ut(e);return J(e,t)}var{isArray:Jv}=Array,{getPrototypeOf:Xv,prototype:eD,keys:tD}=Object;function Oi(e){if(e.length===1){let t=e[0];if(Jv(t))return{args:t,keys:null};if(nD(t)){let n=tD(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function nD(e){return e&&typeof e=="object"&&Xv(e)===eD}function V(e,t){return P((n,r)=>{let o=0;n.subscribe(F(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:rD}=Array;function oD(e,t){return rD(t)?e(...t):e(t)}function ki(e){return V(t=>oD(e,t))}function Pi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function iD(...e){let t=mi(e),{args:n,keys:r}=Oi(e),o=new x(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;re(n[l]).subscribe(F(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Pi(r,a):a),i.complete())}))}});return t?o.pipe(ki(t)):o}function Xn(e){return P((t,n)=>{let r=null,o=!1,i;r=t.subscribe(F(n,void 0,void 0,s=>{i=re(e(s,Xn(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function er(e){return P((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}var kf=Zn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Fi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new kf}next(n){Qn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Qn(()=>{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(){Qn(()=>{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?fc:(this.currentObservers=null,i.push(n),new se(()=>{this.currentObservers=null,Wr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new Fi(t,n),e})(),Fi=class extends ue{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:fc}};var he=class extends ue{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 pe=new x(e=>e.complete());function Ec(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function Li(e){return!!e&&(e instanceof x||M(e.lift)&&M(e.subscribe))}var ln=Zn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ic(...e){let t=Ut(e),n=mi(e),{args:r,keys:o}=Oi(e);if(r.length===0)return J([],t);let i=new x(sD(r,t,o?s=>Pi(o,s):We));return n?i.pipe(ki(n)):i}function sD(e,t,n=We){return r=>{Pf(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Pf(t,()=>{let u=J(e[c],t),l=!1;u.subscribe(F(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Pf(e,t,n){e?_e(n,e,t):t()}function Ff(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&t.complete()},h=C=>u<r?g(C):c.push(C),g=C=>{i&&t.next(C),u++;let D=!1;re(n(C,l++)).subscribe(F(t,I=>{o?.(I),i?h(I):t.next(I)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let I=c.shift();s?_e(t,s,()=>g(I)):g(I)}f()}catch(I){t.error(I)}}))};return e.subscribe(F(t,h,()=>{d=!0,f()})),()=>{a?.()}}function ye(e,t,n=1/0){return M(t)?ye((r,o)=>V((i,s)=>t(r,i,o,s))(re(e(r,o))),n):(typeof t=="number"&&(n=t),P((r,o)=>Ff(r,o,e,n)))}function tr(e=1/0){return ye(We,e)}function Lf(){return tr(1)}function nr(...e){return Lf()(J(e,Ut(e)))}function Zr(e){return new x(t=>{re(e()).subscribe(t)})}function Le(e,t){return P((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function dn(e,t){return M(t)?ye(e,t,1):ye(e,1)}function jf(e){return P((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function wt(e){return e<=0?()=>pe:P((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Uf(e=aD){return P((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function aD(){return new ln}function Ct(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Le((o,i)=>e(o,i,r)):We,wt(1),n?jf(t):Uf(()=>new ln))}function ji(e){return e<=0?()=>pe:P((t,n)=>{let r=[];t.subscribe(F(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 wc(...e){let t=Ut(e);return P((n,r)=>{(t?nr(e,n,t):nr(e,n)).subscribe(r)})}function Re(e,t){return P((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(F(r,c=>{o?.unsubscribe();let u=0,l=i++;re(e(c,l)).subscribe(o=F(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Yr(e){return P((t,n)=>{re(e).subscribe(F(n,()=>n.complete(),qr)),!n.closed&&t.subscribe(n)})}function je(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?P((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(F(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}var ve=null,Ui=!1,Cc=1,cD=null,le=Symbol("SIGNAL");function b(e){let t=ve;return ve=e,t}function Bi(){return ve}var pn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function gn(e){if(Ui)throw new Error("");if(ve===null)return;ve.consumerOnSignalRead(e);let t=ve.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ve.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ve.producers,n!==void 0&&n.producer===e)){ve.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ve&&(!r||lD(o,ve)))return;let i=ir(ve),s={producer:e,consumer:ve,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ve.producersTail=s,t!==void 0?t.nextProducer=s:ve.producers=s,i&&$f(e,s)}function Bf(){Cc++}function mn(e){if(!(ir(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Cc)){if(!e.producerMustRecompute(e)&&!Vi(e)){rr(e);return}e.producerRecomputeValue(e),rr(e)}}function bc(e){if(e.consumers===void 0)return;let t=Ui;Ui=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||uD(r)}}finally{Ui=t}}function Tc(){return ve?.consumerAllowSignalWrites!==!1}function uD(e){e.dirty=!0,bc(e),e.consumerMarkedDirty?.(e)}function rr(e){e.dirty=!1,e.lastCleanEpoch=Cc}function yn(e){return e&&Vf(e),b(e)}function Vf(e){e.producersTail=void 0,e.recomputing=!0}function or(e,t){b(t),e&&Hf(e)}function Hf(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(ir(e))do n=Sc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Vi(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(mn(n),r!==n.version))return!0}return!1}function Qr(e){if(ir(e)){let t=e.producers;for(;t!==void 0;)t=Sc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function $f(e,t){let n=e.consumersTail,r=ir(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)$f(o.producer,o)}function Sc(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!ir(t)){let i=t.producers;for(;i!==void 0;)i=Sc(i)}return n}function ir(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Kr(e){cD?.(e)}function lD(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Jr(e,t){return Object.is(e,t)}function Hi(e,t){let n=Object.create(dD);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(mn(n),gn(n),n.value===at)throw n.error;return n.value};return r[le]=n,Kr(n),r}var fn=Symbol("UNSET"),hn=Symbol("COMPUTING"),at=Symbol("ERRORED"),dD=U(y({},pn),{value:fn,dirty:!0,error:null,equal:Jr,kind:"computed",producerMustRecompute(e){return e.value===fn||e.value===hn},producerRecomputeValue(e){if(e.value===hn)throw new Error("");let t=e.value;e.value=hn;let n=yn(e),r,o=!1;try{r=e.computation(),b(null),o=t!==fn&&t!==at&&r!==at&&e.equal(t,r)}catch(i){r=at,e.error=i}finally{or(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function fD(){throw new Error}var zf=fD;function Gf(e){zf(e)}function _c(e){zf=e}var hD=null;function Mc(e,t){let n=Object.create(zi);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Wf(n);return r[le]=n,Kr(n),[r,s=>vn(n,s),s=>$i(n,s)]}function Wf(e){return gn(e),e.value}function vn(e,t){Tc()||Gf(e),e.equal(e.value,t)||(e.value=t,pD(e))}function $i(e,t){Tc()||Gf(e),vn(e,t(e.value))}var zi=U(y({},pn),{equal:Jr,value:void 0,kind:"signal"});function pD(e){e.version++,Bf(),bc(e),hD?.(e)}var Nc;function Gi(){return Nc}function ct(e){let t=Nc;return Nc=e,t}var qf=Symbol("NotFound");function sr(e){return e===qf||e?.name==="\u0275NotFound"}function Rc(e,t,n){let r=Object.create(gD);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(mn(r),gn(r),r.value===at)throw r.error;return r.value};return i[le]=r,Kr(r),i}function Zf(e,t){mn(e),vn(e,t),rr(e)}function Yf(e,t){if(mn(e),e.value===at)throw e.error;$i(e,t),rr(e)}var gD=U(y({},pn),{value:fn,dirty:!0,error:null,equal:Jr,kind:"linkedSignal",producerMustRecompute(e){return e.value===fn||e.value===hn},producerRecomputeValue(e){if(e.value===hn)throw new Error("");let t=e.value;e.value=hn;let n=yn(e),r,o=!1;try{let i=e.source(),s=t!==fn&&t!==at,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,b(null),o=s&&r!==at&&e.equal(t,r)}catch(i){r=at,e.error=i}finally{or(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Qf(e){let t=b(null);try{return e()}finally{b(t)}}var Qi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ht(t,n)),this.code=t}};function vD(e){return`NG0${Math.abs(e)}`}function Ht(e,t){return`${vD(e)}${t?": "+t:""}`}var Ze=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("")}function th(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function oo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(oo).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
|
-
`);return r>=0?n.slice(0,r):n}function Ki(e,t){return e?t?`${e} ${t}`:e:t||""}var DD=L({__forward_ref__:L});function Ji(e){return e.__forward_ref__=Ji,e}function ge(e){return Gc(e)?e():e}function Gc(e){return typeof e=="function"&&e.hasOwnProperty(DD)&&e.__forward_ref__===Ji}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $t(e){return{providers:e.providers||[],imports:e.imports||[]}}function io(e){return ED(e,Xi)}function Wc(e){return io(e)!==null}function ED(e,t){return e.hasOwnProperty(t)&&e[t]||null}function ID(e){let t=e?.[Xi]??null;return t||null}function xc(e){return e&&e.hasOwnProperty(qi)?e[qi]:null}var Xi=L({\u0275prov:L}),qi=L({\u0275inj:L}),E=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=v({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function qc(e){return e&&!!e.\u0275providers}var so=L({\u0275cmp:L}),ao=L({\u0275dir:L}),Zc=L({\u0275pipe:L}),Yc=L({\u0275mod:L}),eo=L({\u0275fac:L}),Cn=L({__NG_ELEMENT_ID__:L}),Kf=L({__NG_ENV_ID__:L});function Qc(e){return es(e,"@NgModule"),e[Yc]||null}function zt(e){return es(e,"@Component"),e[so]||null}function Kc(e){return es(e,"@Directive"),e[ao]||null}function nh(e){return es(e,"@Pipe"),e[Zc]||null}function es(e,t){if(e==null)throw new m(-919,!1)}function bn(e){return typeof e=="string"?e:e==null?"":String(e)}var rh=L({ngErrorCode:L}),wD=L({ngErrorMessage:L}),CD=L({ngTokenPath:L});function Jc(e,t){return oh("",-200,t)}function ts(e,t){throw new m(-201,!1)}function oh(e,t,n){let r=new m(t,e);return r[rh]=t,r[wD]=e,n&&(r[CD]=n),r}function bD(e){return e[rh]}var Oc;function ih(){return Oc}function Ce(e){let t=Oc;return Oc=e,t}function Xc(e,t,n){let r=io(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;ts(e,"")}var TD={},Dn=TD,SD="__NG_DI_FLAG__",kc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=En(n)||0;try{return this.injector.get(t,r&8?null:Dn,r)}catch(o){if(sr(o))return o;throw o}}};function _D(e,t=0){let n=Gi();if(n===void 0)throw new m(-203,!1);if(n===null)return Xc(e,void 0,t);{let r=MD(t),o=n.retrieve(e,r);if(sr(o)){if(r.optional)return null;throw o}return o}}function T(e,t=0){return(ih()||_D)(ge(e),t)}function p(e,t){return T(e,En(t))}function En(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function MD(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Pc(e){let t=[];for(let n=0;n<e.length;n++){let r=ge(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=ND(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(T(o,i))}else t.push(T(r))}return t}function ND(e){return e[SD]}function Bt(e,t){let n=e.hasOwnProperty(eo);return n?e[eo]:null}function sh(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 ah(e){return e.flat(Number.POSITIVE_INFINITY)}function ns(e,t){e.forEach(n=>Array.isArray(n)?ns(n,t):t(n))}function eu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function co(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ch(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 rs(e,t,n){let r=cr(e,t);return r>=0?e[r|1]=n:(r=~r,ch(e,r,t,n)),r}function os(e,t){let n=cr(e,t);if(n>=0)return e[n|1]}function cr(e,t){return RD(e,t,1)}function RD(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 Gt={},be=[],Wt=new E(""),tu=new E("",-1),nu=new E(""),to=class{get(t,n=Dn){if(n===Dn){let o=oh("",-201);throw o.name="\u0275NotFound",o}return n}};function Tn(e){return{\u0275providers:e}}function uh(...e){return{\u0275providers:ru(!0,e),\u0275fromNgModule:!0}}function ru(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ns(t,s=>{let a=s;Zi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&lh(o,i),n}function lh(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ou(o,i=>{t(i,r)})}}function Zi(e,t,n,r){if(e=ge(e),!e)return!1;let o=null,i=xc(e),s=!i&&zt(e);if(!i&&!s){let c=e.ngModule;if(i=xc(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)Zi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;ns(i.imports,l=>{Zi(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&lh(u,t)}if(!a){let u=Bt(o)||(()=>new o);t({provide:o,useFactory:u,deps:be},o),t({provide:nu,useValue:o,multi:!0},o),t({provide:Wt,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ou(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ou(e,t){for(let n of e)qc(n)&&(n=n.\u0275providers),Array.isArray(n)?ou(n,t):t(n)}var AD=L({provide:String,useValue:L});function dh(e){return e!==null&&typeof e=="object"&&AD in e}function xD(e){return!!(e&&e.useExisting)}function OD(e){return!!(e&&e.useFactory)}function In(e){return typeof e=="function"}function fh(e){return!!e.useClass}var uo=new E(""),Wi={},Jf={},Ac;function lo(){return Ac===void 0&&(Ac=new to),Ac}var q=class{},wn=class extends q{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,Lc(t,s=>this.processProvider(s)),this.records.set(tu,ar(void 0,this)),o.has("environment")&&this.records.set(q,ar(void 0,this));let i=this.records.get(uo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nu,be,{self:!0}))}retrieve(t,n){let r=En(n)||0;try{return this.get(t,Dn,r)}catch(o){if(sr(o))return o;throw o}}destroy(){Xr(this),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return Xr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Xr(this);let n=ct(this),r=Ce(void 0),o;try{return t()}finally{ct(n),Ce(r)}}get(t,n=Dn,r){if(Xr(this),t.hasOwnProperty(Kf))return t[Kf](this);let o=En(r),i,s=ct(this),a=Ce(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=jD(t)&&io(t);l&&this.injectableDefInScope(l)?u=ar(Fc(t),Wi):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?lo():this.parent;return n=o&8&&n===Dn?null:n,c.get(t,n)}catch(c){let u=bD(c);throw u===-200||u===-201?new m(u,null):c}finally{Ce(a),ct(s)}}resolveInjectorInitializers(){let t=b(null),n=ct(this),r=Ce(void 0),o;try{let i=this.get(Wt,be,{self:!0});for(let s of i)s()}finally{ct(n),Ce(r),b(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=ge(t);let n=In(t)?t:ge(t&&t.provide),r=PD(t);if(!In(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ar(void 0,Wi,!0),o.factory=()=>Pc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=b(null);try{if(n.value===Jf)throw Jc("");return n.value===Wi&&(n.value=Jf,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&LD(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ge(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 Fc(e){let t=io(e),n=t!==null?t.factory:Bt(e);if(n!==null)return n;if(e instanceof E)throw new m(-204,!1);if(e instanceof Function)return kD(e);throw new m(-204,!1)}function kD(e){if(e.length>0)throw new m(-204,!1);let n=ID(e);return n!==null?()=>n.factory(e):()=>new e}function PD(e){if(dh(e))return ar(void 0,e.useValue);{let t=iu(e);return ar(t,Wi)}}function iu(e,t,n){let r;if(In(e)){let o=ge(e);return Bt(o)||Fc(o)}else if(dh(e))r=()=>ge(e.useValue);else if(OD(e))r=()=>e.useFactory(...Pc(e.deps||[]));else if(xD(e))r=(o,i)=>T(ge(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ge(e&&(e.useClass||e.provide));if(FD(e))r=()=>new o(...Pc(e.deps));else return Bt(o)||Fc(o)}return r}function Xr(e){if(e.destroyed)throw new m(-205,!1)}function ar(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function FD(e){return!!e.deps}function LD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function jD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Lc(e,t){for(let n of e)Array.isArray(n)?Lc(n,t):n&&qc(n)?Lc(n.\u0275providers,t):t(n)}function de(e,t){let n;e instanceof wn?(Xr(e),n=e):n=new kc(e);let r,o=ct(n),i=Ce(void 0);try{return t()}finally{ct(o),Ce(i)}}function hh(){return ih()!==void 0||Gi()!=null}var Ye=0,w=1,S=2,ae=3,Ue=4,Be=5,ur=6,lr=7,X=8,St=9,Qe=10,G=11,dr=12,su=13,Sn=14,Ae=15,qt=16,_n=17,ut=18,_t=19,au=20,bt=21,is=22,fo=23,xe=24,Mn=25,Zt=26,ee=27,ph=1,cu=6,Yt=7,ho=8,Nn=9,Q=10;function Mt(e){return Array.isArray(e)&&typeof e[ph]=="object"}function Ke(e){return Array.isArray(e)&&e[ph]===!0}function uu(e){return(e.flags&4)!==0}function Nt(e){return e.componentOffset>-1}function fr(e){return(e.flags&1)===1}function lt(e){return!!e.template}function hr(e){return(e[S]&512)!==0}function Rn(e){return(e[S]&256)===256}var lu="svg",gh="math";function Ve(e){for(;Array.isArray(e);)e=e[Ye];return e}function du(e,t){return Ve(t[e])}function Je(e,t){return Ve(t[e.index])}function ss(e,t){return e.data[t]}function fu(e,t){return e[t]}function hu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function He(e,t){let n=t[e];return Mt(n)?n:n[Ye]}function mh(e){return(e[S]&4)===4}function as(e){return(e[S]&128)===128}function yh(e){return Ke(e[ae])}function dt(e,t){return t==null?null:e[t]}function pu(e){e[_n]=0}function gu(e){e[S]&1024||(e[S]|=1024,as(e)&&pr(e))}function vh(e,t){for(;e>0;)t=t[Sn],e--;return t}function po(e){return!!(e[S]&9216||e[xe]?.dirty)}function cs(e){e[Qe].changeDetectionScheduler?.notify(8),e[S]&64&&(e[S]|=1024),po(e)&&pr(e)}function pr(e){e[Qe].changeDetectionScheduler?.notify(0);let t=Vt(e);for(;t!==null&&!(t[S]&8192||(t[S]|=8192,!as(t)));)t=Vt(t)}function mu(e,t){if(Rn(e))throw new m(911,!1);e[bt]===null&&(e[bt]=[]),e[bt].push(t)}function Dh(e,t){if(e[bt]===null)return;let n=e[bt].indexOf(t);n!==-1&&e[bt].splice(n,1)}function Vt(e){let t=e[ae];return Ke(t)?t[ae]:t}function yu(e){return e[lr]??=[]}function vu(e){return e.cleanup??=[]}function Eh(e,t,n,r){let o=yu(t);o.push(n),e.firstCreatePass&&vu(e).push(r,o.length-1)}var R={lFrame:Uh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var jc=!1;function Ih(){return R.lFrame.elementDepthCount}function wh(){R.lFrame.elementDepthCount++}function Ch(){R.lFrame.elementDepthCount--}function us(){return R.bindingsEnabled}function bh(){return R.skipHydrationRootTNode!==null}function Th(e){return R.skipHydrationRootTNode===e}function Sh(){R.skipHydrationRootTNode=null}function N(){return R.lFrame.lView}function te(){return R.lFrame.tView}function _h(e){return R.lFrame.contextLView=e,e[X]}function Mh(e){return R.lFrame.contextLView=null,e}function me(){let e=Du();for(;e!==null&&e.type===64;)e=e.parent;return e}function Du(){return R.lFrame.currentTNode}function Nh(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function gr(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function Eu(){return R.lFrame.isParent}function Rh(){R.lFrame.isParent=!1}function Ah(){return R.lFrame.contextLView}function Iu(){return jc}function wu(e){let t=jc;return jc=e,t}function ls(){let e=R.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function xh(){return R.lFrame.bindingIndex}function Oh(e){return R.lFrame.bindingIndex=e}function An(){return R.lFrame.bindingIndex++}function ds(e){let t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kh(){return R.lFrame.inI18n}function Ph(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,fs(t)}function Fh(){return R.lFrame.currentDirectiveIndex}function fs(e){R.lFrame.currentDirectiveIndex=e}function Lh(e){let t=R.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Cu(){return R.lFrame.currentQueryIndex}function hs(e){R.lFrame.currentQueryIndex=e}function UD(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[Be]:null}function bu(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=UD(i),o===null||(i=i[Sn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=jh();return r.currentTNode=t,r.lView=e,!0}function ps(e){let t=jh(),n=e[w];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jh(){let e=R.lFrame,t=e===null?null:e.child;return t===null?Uh(e):t}function Uh(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 Bh(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Tu=Bh;function gs(){let e=Bh();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 Vh(e){return(R.lFrame.contextLView=vh(e,R.lFrame.contextLView))[X]}function ft(){return R.lFrame.selectedIndex}function Qt(e){R.lFrame.selectedIndex=e}function ms(){let e=R.lFrame;return ss(e.tView,e.selectedIndex)}function Hh(){R.lFrame.currentNamespace=lu}function $h(){BD()}function BD(){R.lFrame.currentNamespace=null}function Su(){return R.lFrame.currentNamespace}var zh=!0;function ys(){return zh}function go(e){zh=e}function Uc(e,t=null,n=null,r){let o=_u(e,t,n,r);return o.resolveInjectorInitializers(),o}function _u(e,t=null,n=null,r,o=new Set){let i=[n||be,uh(e)],s;return new wn(i,t||lo(),s||null,o)}var Me=class e{static THROW_IF_NOT_FOUND=Dn;static NULL=new to;static create(t,n){if(Array.isArray(t))return Uc({name:""},n,t,"");{let r=t.name??"";return Uc({name:r},t.parent,t.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>T(tu)});static __NG_ELEMENT_ID__=-1},oe=new E(""),ht=(()=>{class e{static __NG_ELEMENT_ID__=VD;static __NG_ENV_ID__=n=>n}return e})(),Bc=class extends ht{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Rn(this._lView)}onDestroy(t){let n=this._lView;return mu(n,t),()=>Dh(n,t)}};function VD(){return new Bc(N())}var Mu=!1,Gh=new E(""),pt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new he(!1);debugTaskTracker=p(Gh,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(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),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(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=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vc=class extends ue{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,hh()&&(this.destroyRef=p(ht,{optional:!0})??void 0,this.pendingTasks=p(pt,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(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 se&&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)}})}}},De=Vc;function Yi(...e){}function Nu(e){let t,n;function r(){e=Yi;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Wh(e){return queueMicrotask(()=>e()),()=>{e=Yi}}var Ru="isAngularZone",no=Ru+"_ID",HD=0,Y=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new De(!1);onMicrotaskEmpty=new De(!1);onStable=new De(!1);onError=new De(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Mu}=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,GD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ru)===!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,$D,Yi,Yi);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)}},$D={};function Au(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 zD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Nu(()=>{e.callbackScheduled=!1,Hc(e),e.isCheckStableRunning=!0,Au(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Hc(e)}function GD(e){let t=()=>{zD(e)},n=HD++;e._inner=e._inner.fork({name:"angular",properties:{[Ru]:!0,[no]:n,[no+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(WD(c))return r.invokeTask(i,s,a,c);try{return Xf(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),eh(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Xf(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!qD(c)&&t(),eh(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Hc(e),Au(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 Hc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Xf(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function eh(e){e._nesting--,Au(e)}var ro=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new De;onMicrotaskEmpty=new De;onStable=new De;onError=new De;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 WD(e){return qh(e,"__ignore_ng_zone__")}function qD(e){return qh(e,"__scheduler_tick__")}function qh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Oe=new E("",{factory:()=>{let e=p(Y),t=p(q),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(qe),n.handleError(r))})}}}),Zh={provide:Wt,useValue:()=>{let e=p(qe,{optional:!0})},multi:!0};function W(e,t){let[n,r,o]=Mc(e,t?.equal),i=n,s=i[le];return i.set=r,i.update=o,i.asReadonly=vs.bind(i),i}function vs(){let e=this[le];if(e.readonlyFn===void 0){let t=()=>this();t[le]=e,e.readonlyFn=t}return e.readonlyFn}var Ds=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=ZD}return e})();function ZD(){return new Ds(N(),me())}var Tt=class{},mr=new E("",{factory:()=>!0});var Es=new E(""),mo=(()=>{class e{internalPendingTasks=p(pt);scheduler=p(Tt);errorHandler=p(Oe);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=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),xu=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new $c})}return e})(),$c=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}},zc=class{[le];constructor(t){this[le]=t}destroy(){this[le].destroy()}};function Mo(e){return{toString:e}.toString()}function tE(e){return typeof e=="function"}function Ap(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Ns=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Xt=(()=>{let e=()=>xp;return e.ngInherit=!0,e})();function xp(e){return e.type.prototype.ngOnChanges&&(e.setInput=rE),nE}function nE(){let e=kp(this),t=e?.current;if(t){let n=e.previous;if(n===Gt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function rE(e,t,n,r,o){let i=this.declaredInputs[r],s=kp(e)||oE(e,{previous:Gt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ns(u&&u.currentValue,n,c===Gt),Ap(e,t,o,n)}var Op="__ngSimpleChanges__";function kp(e){return e[Op]||null}function oE(e,t){return e[Op]=t}var Yh=[];var j=function(e,t=null,n){for(let r=0;r<Yh.length;r++){let o=Yh[r];o(e,t,n)}},O=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(O||{});function iE(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=xp(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 Pp(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 Ts(e,t,n){Fp(e,t,3,n)}function Ss(e,t,n,r){(e[S]&3)===n&&Fp(e,t,n,r)}function Ou(e,t){let n=e[S];(n&3)===t&&(n&=16383,n+=1,e[S]=n)}function Fp(e,t,n,r){let o=r!==void 0?e[_n]&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[_n]+=65536),(a<i||i==-1)&&(sE(e,n,t,c),e[_n]=(e[_n]&4294901760)+c+2),c++}function Qh(e,t){j(O.LifecycleHookStart,e,t);let n=b(null);try{t.call(e)}finally{b(n),j(O.LifecycleHookEnd,e,t)}}function sE(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[S]>>14<e[_n]>>16&&(e[S]&3)===t&&(e[S]+=16384,Qh(a,i)):Qh(a,i)}var vr=-1,On=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 aE(e){return(e.flags&8)!==0}function cE(e){return(e.flags&16)!==0}function uE(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];lE(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Lp(e){return e===3||e===4||e===6}function lE(e){return e.charCodeAt(0)===64}function Io(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?Kh(e,n,o,null,t[++r]):Kh(e,n,o,null,null))}}return e}function Kh(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 jp(e){return e!==vr}function Rs(e){return e&32767}function dE(e){return e>>16}function As(e,t){let n=dE(e),r=t;for(;n>0;)r=r[Sn],n--;return r}var Gu=!0;function xs(e){let t=Gu;return Gu=e,t}var fE=256,Up=fE-1,Bp=5,hE=0,gt={};function pE(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Cn)&&(r=n[Cn]),r==null&&(r=n[Cn]=hE++);let o=r&Up,i=1<<o;t.data[e+(o>>Bp)]|=i}function Os(e,t){let n=Vp(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,ku(r.data,e),ku(t,null),ku(r.blueprint,null));let o=Tl(e,t),i=e.injectorIndex;if(jp(o)){let s=Rs(o),a=As(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ku(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Tl(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=Wp(o),r===null)return vr;if(n++,o=o[Sn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return vr}function Wu(e,t,n){pE(e,t,n)}function gE(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(Lp(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 Hp(e,t,n){if(n&8||e!==void 0)return e;ts(t,"NodeInjector")}function $p(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[St],i=Ce(void 0);try{return o?o.get(t,r,n&8):Xc(t,r,n&8)}finally{Ce(i)}}return Hp(r,t,n)}function zp(e,t,n,r=0,o){if(e!==null){if(t[S]&2048&&!(r&2)){let s=DE(e,t,n,r,gt);if(s!==gt)return s}let i=Gp(e,t,n,r,gt);if(i!==gt)return i}return $p(t,n,r,o)}function Gp(e,t,n,r,o){let i=yE(n);if(typeof i=="function"){if(!bu(t,e,r))return r&1?Hp(o,n,r):$p(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))ts(n);else return s}finally{Tu()}}else if(typeof i=="number"){let s=null,a=Vp(e,t),c=vr,u=r&1?t[Ae][Be]:null;for((a===-1||r&4)&&(c=a===-1?Tl(e,t):t[a+8],c===vr||!Xh(r,!1)?a=-1:(s=t[w],a=Rs(c),t=As(c,t)));a!==-1;){let l=t[w];if(Jh(i,a,l.data)){let d=mE(a,t,n,s,r,u);if(d!==gt)return d}c=t[a+8],c!==vr&&Xh(r,t[w].data[a+8]===u)&&Jh(i,a,t)?(s=l,a=Rs(c),t=As(c,t)):a=-1}}return o}function mE(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Nt(a)&&Gu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=_s(a,s,n,c,u);return l!==null?wo(t,s,l,a,o):gt}function _s(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let g=s[h];if(h<c&&n===g||h>=c&&g.type===n)return h}if(o){let h=s[c];if(h&<(h)&&h.type===n)return c}return null}function wo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof On){let a=i;if(a.resolving)throw Jc("");let c=xs(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Ce(a.injectImpl):null,f=bu(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&iE(n,s[n],t)}finally{d!==null&&Ce(d),xs(c),a.resolving=!1,Tu()}}return i}function yE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Cn)?e[Cn]:void 0;return typeof t=="number"?t>=0?t&Up:vE:t}function Jh(e,t,n){let r=1<<e;return!!(n[t+(e>>Bp)]&r)}function Xh(e,t){return!(e&2)&&!(e&1&&t)}var xn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zp(this._tNode,this._lView,t,En(r),n)}};function vE(){return new xn(me(),N())}function No(e){return Mo(()=>{let t=e.prototype.constructor,n=t[eo]||qu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[eo]||qu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function qu(e){return Gc(e)?()=>{let t=qu(ge(e));return t&&t()}:Bt(e)}function DE(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[S]&2048&&!hr(s);){let a=Gp(i,s,n,r|2,gt);if(a!==gt)return a;let c=i.parent;if(!c){let u=s[au];if(u){let l=u.get(n,gt,r&-5);if(l!==gt)return l}c=Wp(s),s=s[Sn]}i=c}return o}function Wp(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[Be]:null}function Ro(e){return gE(me(),e)}function EE(){return wr(me(),N())}function wr(e,t){return new yt(Je(e,t))}var yt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=EE}return e})();function IE(e){return e instanceof yt?e.nativeElement:e}function wE(){return this._results[Symbol.iterator]()}var ks=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 ue}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=ah(t);(this._changesDetected=!sh(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]=wE};function qp(e){return(e.flags&128)===128}var Sl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Sl||{}),Zp=new Map,CE=0;function bE(){return CE++}function TE(e){Zp.set(e[_t],e)}function Zu(e){Zp.delete(e[_t])}var ep="__ngContext__";function Dr(e,t){Mt(t)?(e[ep]=t[_t],TE(t)):e[ep]=t}function Yp(e){return Kp(e[dr])}function Qp(e){return Kp(e[Ue])}function Kp(e){for(;e!==null&&!Ke(e);)e=e[Ue];return e}var Yu;function _l(e){Yu=e}function Jp(){if(Yu!==void 0)return Yu;if(typeof document<"u")return document;throw new m(210,!1)}var Zs=new E("",{factory:()=>SE}),SE="ng";var Ys=new E(""),Ao=new E("",{providedIn:"platform",factory:()=>"unknown"});var xo=new E("",{factory:()=>p(oe).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Xp="r";var eg="di";var tg=!1,ng=new E("",{factory:()=>tg});var tp=new WeakMap;function _E(e,t){if(e==null||typeof e!="object")return;let n=tp.get(e);n||(n=new WeakSet,tp.set(e,n)),n.add(t)}var ME=(e,t,n,r)=>{};function NE(e,t,n,r){ME(e,t,n,r)}function Ml(e){return(e.flags&32)===32}var RE=()=>null;function rg(e,t,n=!1){return RE(e,t,n)}function og(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];hs(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function Qu(e,t,n){hs(0);let r=b(null);try{t(e,n)}finally{b(r)}}function Nl(e,t,n){if(uu(t)){let r=b(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{b(r)}}}var tt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(tt||{});var Is;function AE(){if(Is===void 0&&(Is=null,Ze.trustedTypes))try{Is=Ze.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Is}function Qs(e){return AE()?.createHTML(e)||e}var ws;function ig(){if(ws===void 0&&(ws=null,Ze.trustedTypes))try{ws=Ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ws}function np(e){return ig()?.createHTML(e)||e}function rp(e){return ig()?.createScriptURL(e)||e}var Ps=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Qi})`}};function Cr(e){return e instanceof Ps?e.changingThisBreaksApplicationSecurity:e}function Ks(e,t){let n=sg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Qi})`)}return n===t}function sg(e){return e instanceof Ps&&e.getTypeName()||null}function xE(e){let t=new Ju(e);return OE()?new Ku(t):t}var Ku=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Qs(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ju=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=Qs(t),n}};function OE(){try{return!!new window.DOMParser().parseFromString(Qs(""),"text/html")}catch(e){return!1}}var kE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rl(e){return e=String(e),e.match(kE)?e:"unsafe:"+e}function Rt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Oo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var ag=Rt("area,br,col,hr,img,wbr"),cg=Rt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ug=Rt("rp,rt"),PE=Oo(ug,cg),FE=Oo(cg,Rt("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")),LE=Oo(ug,Rt("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")),op=Oo(ag,FE,LE,PE),lg=Rt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jE=Rt("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"),UE=Rt("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"),BE=Oo(lg,jE,UE),VE=Rt("script,style,template"),Xu=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=zE(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=$E(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ip(t).toLowerCase();if(!op.hasOwnProperty(n))return this.sanitizedSomething=!0,!VE.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(!BE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;lg[a]&&(c=Rl(c)),this.buf.push(" ",s,'="',sp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ip(t).toLowerCase();op.hasOwnProperty(n)&&!ag.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(sp(t))}};function HE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $E(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw dg(t);return t}function zE(e){let t=e.firstChild;if(t&&HE(e,t))throw dg(t);return t}function ip(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function dg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var GE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,WE=/([^\#-~ |!])/g;function sp(e){return e.replace(/&/g,"&").replace(GE,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(WE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Cs;function fg(e,t){let n=null;try{Cs=Cs||xE(e);let r=t?String(t):"";n=Cs.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=Cs.getInertBodyElement(r)}while(r!==i);let a=new Xu().sanitizeChildren(ap(n)||n);return Qs(a)}finally{if(n){let r=ap(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ap(e){return"content"in e&&qE(e)?e.content:null}function qE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ZE=/^>|^->|<!--|-->|--!>|<!-$/g,YE=/(<|>)/g,QE="\u200B$1\u200B";function KE(e){return e.replace(ZE,t=>t.replace(YE,QE))}function JE(e,t){return e.createText(t)}function XE(e,t,n){e.setValue(t,n)}function eI(e,t){return e.createComment(KE(t))}function hg(e,t,n){return e.createElement(t,n)}function Fs(e,t,n,r,o){e.insertBefore(t,n,r,o)}function pg(e,t,n){e.appendChild(t,n)}function cp(e,t,n,r,o){r!==null?Fs(e,t,n,r,o):pg(e,t,n)}function gg(e,t,n,r){e.removeChild(null,t,n,r)}function tI(e,t,n){e.setAttribute(t,"style",n)}function nI(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function mg(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&uE(e,t,r),o!==null&&nI(e,t,o),i!==null&&tI(e,t,i)}var ko=(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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(ko||{});function rI(e){let t=xl();return t?np(t.sanitize(ko.HTML,e)||""):Ks(e,"HTML")?np(Cr(e)):fg(Jp(),bn(e))}function yg(e){let t=xl();return t?t.sanitize(ko.URL,e)||"":Ks(e,"URL")?Cr(e):Rl(bn(e))}function vg(e){let t=xl();if(t)return rp(t.sanitize(ko.RESOURCE_URL,e)||"");if(Ks(e,"ResourceURL"))return rp(Cr(e));throw new m(904,!1)}var oI={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function iI(e,t){return oI[e.toLowerCase()]?.[t.toLowerCase()]===!0?vg:yg}function Al(e,t,n){return iI(t,n)(e)}function xl(){let e=N();return e&&e[Qe].sanitizer}function Dg(e){return e instanceof Function?e():e}function sI(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 Eg="ng-template";function aI(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&sI(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Ol(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 Ol(e){return e.type===4&&e.value!==Eg}function cI(e,t,n){let r=e.type===4&&!n?Eg:e.value;return t===r}function uI(e,t,n){let r=4,o=e.attrs,i=o!==null?fI(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Xe(r)&&!Xe(c))return!1;if(s&&Xe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!cI(e,c,n)||c===""&&t.length===1){if(Xe(r))return!1;s=!0}}else if(r&8){if(o===null||!aI(e,o,c,n)){if(Xe(r))return!1;s=!0}}else{let u=t[++a],l=lI(c,o,Ol(e),n);if(l===-1){if(Xe(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Xe(r))return!1;s=!0}}}}return Xe(r)||s}function Xe(e){return(e&1)===0}function lI(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 hI(t,e)}function dI(e,t,n=!1){for(let r=0;r<t.length;r++)if(uI(e,t[r],n))return!0;return!1}function fI(e){for(let t=0;t<e.length;t++){let n=e[t];if(Lp(n))return t}return e.length}function hI(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 up(e,t){return e?":not("+t.trim()+")":t}function pI(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!==""&&!Xe(s)&&(t+=up(i,o),o=""),r=s,i=i||!Xe(r);n++}return o!==""&&(t+=up(i,o)),t}function gI(e){return e.map(pI).join(",")}function mI(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(!Xe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Te={};function kl(e,t,n,r,o,i,s,a,c,u,l){let d=ee+r,f=d+o,h=yI(d,f),g=typeof u=="function"?u():u;return h[w]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function yI(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Te);return n}function vI(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=kl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Pl(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Ye]=o,d[S]=r|4|128|8|64|1024,(u!==null||e&&e[S]&2048)&&(d[S]|=2048),pu(d),d[ae]=d[Sn]=e,d[X]=n,d[Qe]=s||e&&e[Qe],d[G]=a||e&&e[G],d[St]=c||e&&e[St]||null,d[Be]=i,d[_t]=bE(),d[ur]=l,d[au]=u,d[Ae]=t.type==2?e[Ae]:d,d}function DI(e,t,n){let r=Je(t,e),o=vI(n),i=e[Qe].rendererFactory,s=Fl(e,Pl(e,o,null,Ig(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Ig(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function wg(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 Fl(e,t){return e[dr]?e[su][Ue]=t:e[dr]=t,e[su]=t,t}function EI(e=1){Cg(te(),N(),ft()+e,!1)}function Cg(e,t,n,r){if(!r)if((t[S]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ts(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ss(t,i,0,n)}Qt(n)}var Js=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Js||{});function el(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Js.SignalBased)!==0&&(c=t[i][le]),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):Ap(t,c,i,r)}finally{b(o)}}var mt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(mt||{}),II;function Ll(e,t){return II(e,t)}var ek=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var tl=new WeakMap,vo=new WeakSet;function wI(e,t){let n=tl.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),vo.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function CI(e,t){let n=tl.get(e);n?n.includes(t)||n.push(t):tl.set(e,[t])}var kn=new Set,Xs=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Xs||{}),vt=new E(""),lp=new Set;function At(e){lp.has(e)||(lp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var jl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),bg=[0,1,2,3],Tg=(()=>{class e{ngZone=p(Y);scheduler=p(Tt);errorHandler=p(qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(vt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&j(O.AfterRenderHooksStart),this.executing=!0;for(let r of bg)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&&j(O.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Mn]??=[]).push(n),pr(r),r[S]|=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(Xs.AFTER_NEXT_RENDER,n):n()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ls=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?.[Mn];t&&(this.view[Mn]=t.filter(n=>n!==this))}};function Ul(e,t){let n=t?.injector??p(Me);return At("NgAfterNextRender"),TI(e,n,t,!0)}function bI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function TI(e,t,n,r){let o=t.get(jl);o.impl??=t.get(Tg);let i=t.get(vt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(ht):null,a=t.get(Ds,null,{optional:!0}),c=new Ls(o.impl,bI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Sg=new E("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:p(q)})});function _g(e,t,n){let r=e.get(Sg);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function SI(e,t){let n=e.get(Sg);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function _I(e,t){for(let[n,r]of t)_g(e,r.animateFns)}function dp(e,t,n,r){let o=e?.[Zt]?.enter;t!==null&&o&&o.has(n.index)&&_I(r,o)}function yr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ke(o)?c=o:Mt(o)&&(u=!0,o=o[Ye]);let l=Ve(o);e===0&&r!==null?(dp(a,r,i,n),s==null?pg(t,r,l):Fs(t,r,l,s||null,!0)):e===1&&r!==null?(dp(a,r,i,n),Fs(t,r,l,s||null,!0),wI(i,l)):e===2?(a?.[Zt]?.leave?.has(i.index)&&CI(i,l),vo.delete(l),fp(a,i,n,d=>{if(vo.has(l)){vo.delete(l);return}gg(t,l,u,d)})):e===3&&(vo.delete(l),fp(a,i,n,()=>{t.destroyNode(l)})),c!=null&&BI(t,e,n,c,i,r,s)}}function MI(e,t){Mg(e,t),t[Ye]=null,t[Be]=null}function NI(e,t,n,r,o,i){r[Ye]=o,r[Be]=t,ta(e,r,n,1,o,i)}function Mg(e,t){t[Qe].changeDetectionScheduler?.notify(9),ta(e,t,t[G],2,null,null)}function RI(e){let t=e[dr];if(!t)return Pu(e[w],e);for(;t;){let n=null;if(Mt(t))n=t[dr];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[Ue]&&t!==e;)Mt(t)&&Pu(t[w],t),t=t[ae];t===null&&(t=e),Mt(t)&&Pu(t[w],t),n=t&&t[Ue]}t=n}}function Bl(e,t){let n=e[Nn],r=n.indexOf(t);n.splice(r,1)}function ea(e,t){if(Rn(t))return;let n=t[G];n.destroyNode&&ta(e,t,n,3,null,null),RI(t)}function Pu(e,t){if(Rn(t))return;let n=b(null);try{t[S]&=-129,t[S]|=256,t[xe]&&Qr(t[xe]),OI(e,t),xI(e,t),t[w].type===1&&t[G].destroy();let r=t[qt];if(r!==null&&Ke(t[ae])){r!==t[ae]&&Bl(r,t);let o=t[ut];o!==null&&o.detachView(e)}Zu(t)}finally{b(n)}}function fp(e,t,n,r){let o=e?.[Zt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&kn.add(e[_t]),_g(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.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),AI(e,r)}else e&&kn.delete(e[_t]),r(!1)},o)}function AI(e,t){let n=e[Zt]?.running;if(n){n.then(()=>{e[Zt].running=void 0,kn.delete(e[_t]),t(!0)});return}t(!1)}function xI(e,t){let n=e.cleanup,r=t[lr];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[lr]=null);let o=t[bt];if(o!==null){t[bt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[fo];if(i!==null){t[fo]=null;for(let s of i)s.destroy()}}function OI(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 On)){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];j(O.LifecycleHookStart,a,c);try{c.call(a)}finally{j(O.LifecycleHookEnd,a,c)}}else{j(O.LifecycleHookStart,o,i);try{i.call(o)}finally{j(O.LifecycleHookEnd,o,i)}}}}}function kI(e,t,n){return PI(e,t.parent,n)}function PI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ye];if(Nt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===tt.None||o===tt.Emulated)return null}return Je(r,n)}function FI(e,t,n){return jI(e,t,n)}function LI(e,t,n){return e.type&40?Je(e,n):null}var jI=LI,hp;function Vl(e,t,n,r){let o=kI(e,r,t),i=t[G],s=r.parent||t[Be],a=FI(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)cp(i,o,n[c],a,!1);else cp(i,o,n,a,!1);hp!==void 0&&hp(i,r,t,n,o)}function Do(e,t){if(t!==null){let n=t.type;if(n&3)return Je(t,e);if(n&4)return nl(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Do(e,r);{let o=e[t.index];return Ke(o)?nl(-1,o):Ve(o)}}else{if(n&128)return Do(e,t.next);if(n&32)return Ll(t,e)()||Ve(e[t.index]);{let r=Ng(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Vt(e[Ae]);return Do(o,r)}else return Do(e,t.next)}}}return null}function Ng(e,t){if(t!==null){let r=e[Ae][Be],o=t.projection;return r.projection[o]}return null}function nl(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return Do(r,o)}return t[Yt]}function Hl(e,t,n,r,o,i,s){for(;n!=null;){let a=r[St];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Dr(Ve(c),r),n.flags|=2),!Ml(n))if(u&8)Hl(e,t,n.child,r,o,i,!1),yr(t,e,a,o,c,n,i,r);else if(u&32){let l=Ll(n,r),d;for(;d=l();)yr(t,e,a,o,d,n,i,r);yr(t,e,a,o,c,n,i,r)}else u&16?UI(e,t,r,n,o,i):yr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function ta(e,t,n,r,o,i){Hl(n,r,e.firstChild,t,o,i,!1)}function UI(e,t,n,r,o,i){let s=n[Ae],c=s[Be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];yr(t,e,n[St],o,l,r,i,n)}else{let u=c,l=s[ae];qp(r)&&(u.flags|=128),Hl(e,t,u,l,o,i,!0)}}function BI(e,t,n,r,o,i,s){let a=r[Yt],c=Ve(r);a!==c&&yr(t,e,n,i,a,o,s);for(let u=Q;u<r.length;u++){let l=r[u];ta(l[w],l,e,t,i,a)}}function VI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:mt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=mt.Important),e.setStyle(n,r,o,i))}}function Rg(e,t,n,r,o){let i=ft(),s=r&2;try{Qt(-1),s&&t.length>ee&&Cg(e,t,ee,!1);let a=s?O.TemplateUpdateStart:O.TemplateCreateStart;j(a,o,n),n(r,o)}finally{Qt(i);let a=s?O.TemplateUpdateEnd:O.TemplateCreateEnd;j(a,o,n)}}function na(e,t,n){ZI(e,t,n),(n.flags&64)===64&&YI(e,t,n)}function ra(e,t,n=Je){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 HI(e,t,n,r){let i=r.get(ng,tg)||n===tt.ShadowDom||n===tt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new m(905,!1);return $I(s),s}function $I(e){zI(e)}var zI=()=>null;function GI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ag(e,t,n,r,o,i){let s=t[w];if(zl(e,s,t,n,r)){Nt(e)&&qI(t,e.index);return}e.type&3&&(n=GI(n)),WI(e,t,n,r,o,i)}function WI(e,t,n,r,o,i){if(e.type&3){let s=Je(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function qI(e,t){let n=He(t,e);n[S]&16||(n[S]|=64)}function ZI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Nt(n)&&DI(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Os(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=wo(t,e,s,n);if(Dr(c,t),i!==null&&XI(t,s-r,c,a,n,i),lt(a)){let u=He(n.index,t);u[X]=wo(t,e,s,n)}}}function YI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Fh();try{Qt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];fs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&QI(c,u)}}finally{Qt(-1),fs(s)}}function QI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function $l(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];dI(t,i.selectors,!1)&&(r??=[],lt(i)?r.unshift(i):r.push(i))}return r}function KI(e,t,n,r,o,i){let s=Je(e,t);JI(t[G],s,i,e.value,n,r,o)}function JI(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?bn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function XI(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];el(r,n,c,u)}}function xg(e,t,n,r,o){let i=ee+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,gr(e,!0);let c=e.type===2;return c?(mg(t[G],a,e),(Ih()===0||fr(e))&&Dr(a,t),wh()):Dr(a,t),ys()&&(!c||!Ml(e))&&Vl(s,t,a,e),e}function Og(e){let t=e;return Eu()?Rh():(t=t.parent,gr(t,!1)),t}function ew(e,t){let n=e[St];if(!n)return;let r;try{r=n.get(Oe,null)}catch(o){r=null}r?.(t)}function zl(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];el(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];el(l,u,r,o),a=!0}return a}function tw(e,t){let n=He(t,e),r=n[w];nw(r,n);let o=n[Ye];o!==null&&n[ur]===null&&(n[ur]=rg(o,n[St])),j(O.ComponentStart);try{Gl(r,n,n[X])}finally{j(O.ComponentEnd,n[X])}}function nw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Gl(e,t,n){ps(t);try{let r=e.viewQuery;r!==null&&Qu(1,r,n);let o=e.template;o!==null&&Rg(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ut]?.finishViewCreation(e),e.staticContentQueries&&og(e,t),e.staticViewQueries&&Qu(2,e.viewQuery,n);let i=e.components;i!==null&&rw(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[S]&=-5,gs()}}function rw(e,t){for(let n=0;n<t.length;n++)tw(e,t[n])}function oa(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[S]&4096?4096:16,c=Pl(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[qt]=u;let l=e[ut];return l!==null&&(c[ut]=l.createEmbeddedView(i)),Gl(i,c,n),c}finally{b(o)}}function Co(e,t){return!t||t.firstChild===null||qp(e)}function bo(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)),Ke(i)&&kg(i,r);let s=n.type;if(s&8)bo(e,t,n.child,r);else if(s&32){let a=Ll(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ng(t,n);if(Array.isArray(a))r.push(...a);else{let c=Vt(t[Ae]);bo(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function kg(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&bo(r[w],r,o,t)}e[Yt]!==e[Ye]&&t.push(e[Yt])}function Pg(e){if(e[Mn]!==null){for(let t of e[Mn])t.impl.addSequence(t);e[Mn].length=0}}var Fg=[];function ow(e){return e[xe]??iw(e)}function iw(e){let t=Fg.pop()??Object.create(aw);return t.lView=e,t}function sw(e){e.lView[xe]!==e&&(e.lView=null,Fg.push(e))}var aw=U(y({},pn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{pr(e.lView)},consumerOnSignalRead(){this.lView[xe]=this}});function cw(e){let t=e[xe]??Object.create(uw);return t.lView=e,t}var uw=U(y({},pn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Vt(e.lView);for(;t&&!Lg(t[w]);)t=Vt(t);t&&gu(t)},consumerOnSignalRead(){this.lView[xe]=this}});function Lg(e){return e.type!==2}function jg(e){if(e[fo]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[fo])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[S]&8192)}}var lw=100;function Ug(e,t=0){let r=e[Qe].rendererFactory,o=!1;o||r.begin?.();try{dw(e,t)}finally{o||r.end?.()}}function dw(e,t){let n=Iu();try{wu(!0),rl(e,t);let r=0;for(;po(e);){if(r===lw)throw new m(103,!1);r++,rl(e,1)}}finally{wu(n)}}function fw(e,t,n,r){if(Rn(t))return;let o=t[S],i=!1,s=!1;ps(t);let a=!0,c=null,u=null;i||(Lg(e)?(u=ow(t),c=yn(u)):Bi()===null?(a=!1,u=cw(t),c=yn(u)):t[xe]&&(Qr(t[xe]),t[xe]=null));try{pu(t),Oh(e.bindingStartIndex),n!==null&&Rg(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let h=e.preOrderCheckHooks;h!==null&&Ts(t,h,null)}else{let h=e.preOrderHooks;h!==null&&Ss(t,h,0,null),Ou(t,0)}if(s||hw(t),jg(t),Bg(t,0),e.contentQueries!==null&&og(e,t),!i)if(l){let h=e.contentCheckHooks;h!==null&&Ts(t,h)}else{let h=e.contentHooks;h!==null&&Ss(t,h,1),Ou(t,1)}gw(e,t);let d=e.components;d!==null&&Hg(t,d,0);let f=e.viewQuery;if(f!==null&&Qu(2,f,r),!i)if(l){let h=e.viewCheckHooks;h!==null&&Ts(t,h)}else{let h=e.viewHooks;h!==null&&Ss(t,h,2),Ou(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[is]){for(let h of t[is])h();t[is]=null}i||(Pg(t),t[S]&=-73)}catch(l){throw i||pr(t),l}finally{u!==null&&(or(u,c),a&&sw(u)),gs()}}function Bg(e,t){for(let n=Yp(e);n!==null;n=Qp(n))for(let r=Q;r<n.length;r++){let o=n[r];Vg(o,t)}}function hw(e){for(let t=Yp(e);t!==null;t=Qp(t)){if(!(t[S]&2))continue;let n=t[Nn];for(let r=0;r<n.length;r++){let o=n[r];gu(o)}}}function pw(e,t,n){j(O.ComponentStart);let r=He(t,e);try{Vg(r,n)}finally{j(O.ComponentEnd,r[X])}}function Vg(e,t){as(e)&&rl(e,t)}function rl(e,t){let r=e[w],o=e[S],i=e[xe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Vi(i)),s||=!1,i&&(i.dirty=!1),e[S]&=-9217,s)fw(r,e,r.template,e[X]);else if(o&8192){let a=b(null);try{jg(e),Bg(e,1);let c=r.components;c!==null&&Hg(e,c,1),Pg(e)}finally{b(a)}}}function Hg(e,t,n){for(let r=0;r<t.length;r++)pw(e,t[r],n)}function gw(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)Qt(~o);else{let i=o,s=n[++r],a=n[++r];Ph(s,i);let c=t[i];j(O.HostBindingsUpdateStart,c);try{a(2,c)}finally{j(O.HostBindingsUpdateEnd,c)}}}}finally{Qt(-1)}}function Wl(e,t){let n=Iu()?64:1088;for(e[Qe].changeDetectionScheduler?.notify(t);e;){e[S]|=n;let r=Vt(e);if(hr(e)&&!r)return e;e=r}return null}function $g(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function zg(e,t){let n=Q+t;if(n<e.length)return e[n]}function ia(e,t,n,r=!0){let o=t[w];if(mw(o,t,e,n),r){let s=nl(n,e),a=t[G],c=a.parentNode(e[Yt]);c!==null&&NI(o,e[Be],a,t,c,s)}let i=t[ur];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Gg(e,t){let n=To(e,t);return n!==void 0&&ea(n[w],n),n}function To(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[qt];o!==null&&o!==e&&Bl(o,r),t>0&&(e[n-1][Ue]=r[Ue]);let i=co(e,Q+t);MI(r[w],r);let s=i[ut];s!==null&&s.detachView(i[w]),r[ae]=null,r[Ue]=null,r[S]&=-129}return r}function mw(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][Ue]=t),r<i-Q?(t[Ue]=n[o],eu(n,Q+r,t)):(n.push(t),t[Ue]=null),t[ae]=n;let s=t[qt];s!==null&&n!==s&&Wg(s,t);let a=t[ut];a!==null&&a.insertView(e),cs(t),t[S]|=128}function Wg(e,t){let n=e[Nn],r=t[ae];if(Mt(r))e[S]|=2;else{let o=r[ae][Ae];t[Ae]!==o&&(e[S]|=2)}n===null?e[Nn]=[t]:n.push(t)}var Kt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return bo(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 Rn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ae];if(Ke(t)){let n=t[ho],r=n?n.indexOf(this):-1;r>-1&&(To(t,r),co(n,r))}this._attachedToViewContainer=!1}ea(this._lView[w],this._lView)}onDestroy(t){mu(this._lView,t)}markForCheck(){Wl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){cs(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,Ug(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=hr(this._lView),n=this._lView[qt];n!==null&&!t&&Bl(n,this._lView),Mg(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=hr(this._lView),r=this._lView[qt];r!==null&&!n&&Wg(r,this._lView),cs(this._lView)}};var Jt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=yw;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=oa(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Kt(i)}}return e})();function yw(){return sa(me(),N())}function sa(e,t){return e.type&4?new Jt(t,e,wr(e,t)):null}function aa(e,t,n,r,o){let i=e.data[t];if(i===null)i=vw(e,t,n,r,o),kh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Nh();i.injectorIndex=s===null?-1:s.injectorIndex}return gr(i,!0),i}function vw(e,t,n,r,o){let i=Du(),s=Eu(),a=s?i:i&&i.parent,c=e.data[t]=Ew(e,a,n,t,r,o);return Dw(e,c,i,s),c}function Dw(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 Ew(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return bh()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Su(),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}}function Iw(e){let t=e[cu]??[],r=e[ae][G],o=[];for(let i of t)i.data[eg]!==void 0?o.push(i):ww(i,r);e[cu]=o}function ww(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Xp];for(;n<o;){let i=r.nextSibling;gg(t,r,!1),r=i,n++}}}var Cw=()=>null,bw=()=>null;function ol(e,t){return Cw(e,t)}function qg(e,t,n){return bw(e,t,n)}var Zg=class{},ca=class{},il=class{resolveComponentFactory(t){throw new m(917,!1)}},Po=class{static NULL=new il},Pn=class{},br=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Tw()}return e})();function Tw(){let e=N(),t=me(),n=He(t.index,e);return(Mt(n)?n:e)[G]}var Yg=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var Ms={},sl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ms,r);return o!==Ms||n===Ms?o:this.parentInjector.get(t,n,r)}};function pp(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=Ki(o,a);else if(i==2){let c=a,u=t[++s];r=Ki(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function H(e,t=0){let n=N();if(n===null)return T(e,t);let r=me();return zp(r,n,ge(e),t)}function Qg(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}Mw(e,t,n,a,i,c,u)}i!==null&&r!==null&&Sw(n,r,i)}function Sw(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 _w(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Mw(e,t,n,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let h=r[f];c===null&<(h)&&(c=h,_w(e,n,f)),Wu(Os(n,t),e,h.type)}kw(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let h=r[f];h.providersResolver&&h.providersResolver(h)}let u=!1,l=!1,d=wg(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){let h=r[f];if(n.mergedAttrs=Io(n.mergedAttrs,h.hostAttrs),Rw(e,n,t,d,h),Ow(d,h,o),s!==null&&s.has(h)){let[C,D]=s.get(h);n.directiveToIndex.set(h.type,[d,C+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(h))&&n.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(n.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(n.flags|=64);let g=h.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++}Nw(e,n,i)}function Nw(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))gp(0,t,o,r),gp(1,t,o,r),yp(t,r,!1);else{let i=n.get(o);mp(0,t,i,r),mp(1,t,i,r),yp(t,r,!0)}}}function gp(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),Kg(t,i)}}function mp(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),Kg(t,s)}}function Kg(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function yp(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Ol(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 Rw(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Bt(o.type,!0)),s=new On(i,lt(o),H,null);e.blueprint[r]=s,n[r]=s,Aw(e,t,r,wg(e,n,o.hostVars,Te),o)}function Aw(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;xw(s)!=a&&s.push(a),s.push(n,r,i)}}function xw(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Ow(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;lt(t)&&(n[""]=e)}}function kw(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ql(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,l=dt(u,s),d=aa(c,e,n,r,l);return i&&Qg(c,t,d,dt(u,a),o),d.mergedAttrs=Io(d.mergedAttrs,d.attrs),d.attrs!==null&&pp(d,d.attrs,!1),d.mergedAttrs!==null&&pp(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Zl(e,t){Pp(e,t),uu(t)&&e.queries.elementEnd(t)}function Yl(e){return Xg(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Jg(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 Xg(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ql(e,t,n){return e[t]=n}function Pw(e,t){return e[t]}function nt(e,t,n){if(n===Te)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function em(e,t,n,r){let o=nt(e,t,n);return nt(e,t+1,r)||o}function Fu(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&_E(o,i);let s=Nt(e)?He(e.index,t):t;Wl(s,5);let a=t[X],c=vp(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=vp(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function vp(e,t,n,r){let o=b(null);try{return j(O.OutputStart,t,n),n(r)!==!1}catch(i){return ew(e,i),!1}finally{j(O.OutputEnd,t,n),b(o)}}function Fw(e,t,n,r,o,i,s,a){let c=fr(e),u=!1,l=null;if(!r&&c&&(l=jw(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Je(e,n),f=r?r(d):d;NE(n,f,i,a),r||(a.__ngNativeEl__=d);let h=o.listen(f,i,a);if(!Lw(i)){let g=r?C=>r(Ve(C[e.index])):e.index;tm(g,t,n,i,a,h,!1)}}return u}function Lw(e){return e.startsWith("animation")||e.startsWith("transition")}function jw(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[lr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function tm(e,t,n,r,o,i,s){let a=t.firstCreatePass?vu(t):null,c=yu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Dp(e,t,n,r,o,i){let s=t[n],a=t[w],u=a.data[n].outputs[r],d=s[u].subscribe(i);tm(e.index,a,t,o,i,d,!0)}var al=Symbol("BINDING");function nm(e){return e.debugInfo?.className||e.type.name||null}var js=class extends Po{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=zt(t);return new Er(n,this.ngModule)}};function Uw(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Js.SignalBased)!==0};return o&&(i.transform=o),i})}function Bw(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Vw(e,t,n){let r=t instanceof q?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new sl(n,r):n}function Hw(e){let t=e.get(Pn,null);if(t===null)throw new m(407,!1);let n=e.get(Yg,null),r=e.get(Tt,null),o=e.get(vt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function $w(e,t){let n=rm(e);return hg(t,n,n==="svg"?lu:n==="math"?gh:null)}function rm(e){return(e.selectors[0][0]||"div").toLowerCase()}var Er=class extends ca{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Uw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Bw(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=gI(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){j(O.DynamicComponentStart);let a=b(null);try{let c=this.componentDef,u=Vw(c,o||this.ngModule,t),l=Hw(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(nm(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{b(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=zw(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?HI(u,o,a.encapsulation,n):$w(a,u),d=s?.some(Ep)||i?.some(g=>typeof g!="function"&&g.bindings.some(Ep)),f=Pl(null,c,null,512|Ig(a),null,null,t,u,n,null,rg(l,n,!0));f[ee]=l,ps(f);let h=null;try{let g=ql(ee,f,2,"#host",()=>c.directiveRegistry,!0,0);mg(u,l,g),Dr(l,f),na(c,f,g),Nl(c,g,f),Zl(c,g),r!==void 0&&Ww(g,this.ngContentSelectors,r),h=He(g.index,f),f[X]=h[X],Gl(c,f,null)}catch(g){throw h!==null&&Zu(h),Zu(f),g}finally{j(O.DynamicComponentEnd),gs()}return new Us(this.componentType,f,!!d)}};function zw(e,t,n,r){let o=e?["ng-version","21.2.17"]:mI(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[al].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 f of d.bindings){a+=f[al].requiredVars;let h=l+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,f=Kc(d);c.push(f)}return kl(0,null,Gw(i,s),1,a,c,null,null,null,[o],null)}function Gw(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 Ep(e){let t=e[al].kind;return t==="input"||t==="twoWay"}var Us=class extends Zg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ss(n[w],ee),this.location=wr(this._tNode,n),this.instance=He(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new Kt(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=zl(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=He(r.index,o);Wl(s,1)}get injector(){return new xn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ww(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 Dt=(()=>{class e{static __NG_ELEMENT_ID__=qw}return e})();function qw(){let e=me();return om(e,N())}var cl=class e extends Dt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return wr(this._hostTNode,this._hostLView)}get injector(){return new xn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Tl(this._hostTNode,this._hostLView);if(jp(t)){let n=As(t,this._hostLView),r=Rs(t),o=n[w].data[r+8];return new xn(o,n)}else return new xn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ip(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ol(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Co(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!tE(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 Er(zt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let I=(c?d:this.parentInjector).get(q,null);I&&(i=I)}let f=zt(l.componentType??{}),h=ol(this._lContainer,f?.id??null),g=h?.firstChild??null,C=l.create(d,o,g,i,s,a);return this.insertImpl(C.hostView,u,Co(this._hostTNode,h)),C}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(yh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ae],u=new e(c,c[Be],c[ae]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ia(s,o,i,r),t.attachToViewContainerRef(),eu(Lu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ip(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=To(this._lContainer,n);r&&(co(Lu(this._lContainer),n),ea(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=To(this._lContainer,n);return r&&co(Lu(this._lContainer),n)!=null?new Kt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ip(e){return e[ho]}function Lu(e){return e[ho]||(e[ho]=[])}function om(e,t){let n,r=t[e.index];return Ke(r)?n=r:(n=$g(r,t,null,e),t[e.index]=n,Fl(t,n)),Yw(n,t,e,r),new cl(n,e,t)}function Zw(e,t){let n=e[G],r=n.createComment(""),o=Je(t,e),i=n.parentNode(o);return Fs(n,i,r,n.nextSibling(o),!1),r}var Yw=Jw,Qw=()=>!1;function Kw(e,t,n){return Qw(e,t,n)}function Jw(e,t,n,r){if(e[Yt])return;let o;n.type&8?o=Ve(r):o=Zw(t,n),e[Yt]=o}var ul=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ll=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++)Kl(t,n).matches!==null&&this.queries[n].setDirty()}},dl=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=sC(t):this.predicate=t}},fl=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)}},hl=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,Xw(n,i)),this.matchTNodeWithReadOption(t,n,_s(n,t,i,!1,!1))}else r===Jt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,_s(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===yt||o===Dt||o===Jt&&n.type&4)this.addMatch(n.index,-2);else{let i=_s(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 Xw(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 eC(e,t){return e.type&11?wr(e,t):e.type&4?sa(e,t):null}function tC(e,t,n,r){return n===-1?eC(t,e):n===-2?nC(e,t,r):wo(e,e[w],n,t)}function nC(e,t,n){if(n===yt)return wr(t,e);if(n===Jt)return sa(t,e);if(n===Dt)return om(t,e)}function im(e,t,n,r){let o=t[ut].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(tC(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function pl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=im(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=Q;d<l.length;d++){let f=l[d];f[qt]===f[ae]&&pl(f[w],f,u,r)}if(l[Nn]!==null){let d=l[Nn];for(let f=0;f<d.length;f++){let h=d[f];pl(h[w],h,u,r)}}}}}return r}function rC(e,t){return e[ut].queries[t].queryList}function oC(e,t,n){let r=new ks((n&4)===4);return Eh(e,t,r,r.destroy),(t[ut]??=new ll).queries.push(new ul(r))-1}function iC(e,t,n,r){let o=te();if(o.firstCreatePass){let i=me();aC(o,new dl(t,n,r),i.index),cC(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return oC(o,N(),n)}function sC(e){return e.split(",").map(t=>t.trim())}function aC(e,t,n){e.queries===null&&(e.queries=new fl),e.queries.track(new hl(t,n))}function cC(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 Kl(e,t){return e.queries.getByIndex(t)}function uC(e,t){let n=e[w],r=Kl(n,t);return r.crossesNgTemplate?pl(n,e,t,[]):im(n,e,r,t)}var Fn=class{},ua=class{};var Bs=class extends Fn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new js(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Qc(t);this._bootstrapComponents=Dg(i.bootstrap),this._r3Injector=_u(t,n,[{provide:Fn,useValue:this},{provide:Po,useValue:this.componentFactoryResolver},...r],oo(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)}},Vs=class extends ua{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Bs(this.moduleType,t,[])}};var So=class extends Fn{injector;componentFactoryResolver=new js(this);instance=null;constructor(t){super();let n=new wn([...t.providers,{provide:Fn,useValue:this},{provide:Po,useValue:this.componentFactoryResolver}],t.parent||lo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Fo(e,t,n=null){return new So({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var lC=(()=>{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=ru(!1,n.type),o=r.length>0?Fo([r],this._injector,""):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=v({token:e,providedIn:"environment",factory:()=>new e(T(q))})}return e})();function Jl(e){return Mo(()=>{let t=sm(e),n=U(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Sl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(lC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tt.Emulated,styles:e.styles||be,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&At("NgStandalone"),am(n);let r=e.dependencies;return n.directiveDefs=wp(r,dC),n.pipeDefs=wp(r,nh),n.id=pC(n),n})}function dC(e){return zt(e)||Kc(e)}function jn(e){return Mo(()=>({type:e.type,bootstrap:e.bootstrap||be,declarations:e.declarations||be,imports:e.imports||be,exports:e.exports||be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fC(e,t){if(e==null)return Gt;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=Js.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function hC(e){if(e==null)return Gt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function rt(e){return Mo(()=>{let t=sm(e);return am(t),t})}function Xl(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 sm(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Gt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:fC(e.inputs,t),outputs:hC(e.outputs),debugInfo:null}}function am(e){e.features?.forEach(t=>t(e))}function wp(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 pC(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 gC(e){return Object.getPrototypeOf(e.prototype).constructor}function cm(e){let t=gC(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,so)?t[so]:void 0,s=Object.hasOwn(t,ao)?t[ao]:void 0;if(lt(e))o=i??s;else{if(i)throw new m(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=ju(e.inputs),c.declaredInputs=ju(e.declaredInputs),c.outputs=ju(e.outputs);let u=o.hostBindings;u&&EC(e,u);let l=o.viewQuery,d=o.contentQueries;if(l&&vC(e,l),d&&DC(e,d),mC(e,o),th(e.outputs,o.outputs),lt(o)&&o.data.animation){let f=e.data;f.animation=(f.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let u=a[c];u&&u.ngInherit&&u(e),u===cm&&(n=!1)}}t=Object.getPrototypeOf(t)}yC(r)}function mC(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 yC(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=Io(o.hostAttrs,n=Io(n,o.hostAttrs))}}function ju(e){return e===Gt?{}:e===be?[]:e}function vC(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function DC(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function EC(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function um(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Io(e.mergedAttrs,e.attrs);let l=e.tView=kl(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),gr(e,!1);let c=wC(n,t,e,r);ys()&&Vl(n,t,c,e),Dr(c,t);let u=$g(c,t,c,e);t[r+ee]=u,Fl(t,u),Kw(u,e,t)}function IC(e,t,n,r,o,i,s,a,c,u,l){let d=n+ee,f;return t.firstCreatePass?(f=aa(t,d,4,s||null,a||null),us()&&Qg(t,e,f,dt(t.consts,u),$l),Pp(t,f)):f=t.data[d],um(f,e,t,n,r,o,i,c),fr(f)&&na(t,e,f),u!=null&&ra(e,f,l),f}function Hs(e,t,n,r,o,i,s,a,c,u,l){let d=n+ee,f;if(t.firstCreatePass){if(f=aa(t,d,4,s||null,a||null),u!=null){let h=dt(t.consts,u);f.localNames=[];for(let g=0;g<h.length;g+=2)f.localNames.push(h[g],-1)}}else f=t.data[d];return um(f,e,t,n,r,o,i,c),u!=null&&ra(e,f,l),f}function lm(e,t,n,r,o,i,s,a){let c=N(),u=te(),l=dt(u.consts,i);return IC(c,u,e,t,n,r,o,l,void 0,s,a),lm}var wC=CC;function CC(e,t,n,r){return go(!0),t[G].createComment("")}var ed=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function td(e){return typeof e=="function"&&e[le]!==void 0}function nd(e){return td(e)&&typeof e.set=="function"}var rd=new E("");function Tr(e){return!!e&&typeof e.then=="function"}function od(e){return!!e&&typeof e.subscribe=="function"}var dm=new E("");var id=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(dm,{optional:!0})??[];injector=p(Me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=de(this.injector,o);if(Tr(i))n.push(i);else if(od(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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),la=new E("");function fm(){_c(()=>{let e="";throw new m(600,e)})}function hm(e){return e.isBoundToModule}var bC=10;var Un=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Oe);afterRenderManager=p(jl);zonelessEnabled=p(mr);rootEffectScheduler=p(xu);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ue;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(pt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(V(n=>!n))}constructor(){p(vt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(q);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Me.NULL){return this._injector.get(Y).run(()=>{j(O.BootstrapComponentStart);let s=n instanceof ca;if(!this._injector.get(id).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(Po).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=hm(c)?void 0:this._injector.get(Fn),l=r||c.selector,d=c.create(o,[],l,u),f=d.location.nativeElement,h=d.injector.get(rd,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Eo(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),j(O.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){j(O.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Xs.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw j(O.ChangeDetectionEnd),new m(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),j(O.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Pn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<bC;){j(O.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{j(O.ChangeDetectionSyncEnd)}}}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&&!po(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ug(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})=>po(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;Eo(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(la,[]).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),()=>Eo(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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Eo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function da(e,t,n,r){let o=N(),i=An();if(nt(o,i,t)){let s=te(),a=ms();KI(a,o,e,t,n,r)}return da}var gl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Uu(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function TC(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){b(r);let u=t.length-1;for(b(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],f=Uu(s,l,s,d,n);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let h=e.at(a),g=t[u],C=Uu(a,h,u,g,n);if(C!==0){C<0&&e.updateValue(a,g),a--,u--;continue}let D=n(s,l),I=n(a,h),Z=n(s,d);if(Object.is(Z,I)){let we=n(u,g);Object.is(we,D)?(e.swap(s,a),e.updateValue(a,g),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new $s,i??=bp(e,s,a,n),ml(e,o,s,Z))e.updateValue(s,d),s++,a++;else if(i.has(Z))o.set(D,e.detach(s)),a--;else{let we=e.create(s,t[s]);e.attach(s,we),s++,a++}}for(;s<=u;)Cp(e,o,n,s,t[s]),s++}else if(t!=null){b(r);let u=t[Symbol.iterator]();b(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),f=l.value,h=Uu(s,d,s,f,n);if(h!==0)h<0&&e.updateValue(s,f),s++,l=u.next();else{o??=new $s,i??=bp(e,s,a,n);let g=n(s,f);if(ml(e,o,s,g))e.updateValue(s,f),s++,a++,l=u.next();else if(!i.has(g))e.attach(s,e.create(s,f)),s++,a++,l=u.next();else{let C=n(s,d);o.set(C,e.detach(s)),a--}}}for(;!l.done;)Cp(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function ml(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Cp(e,t,n,r,o){if(ml(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function bp(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 $s=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 SC(e,t,n,r,o,i,s,a){At("NgControlFlow");let c=N(),u=te(),l=dt(u.consts,i);return Hs(c,u,e,t,n,r,o,l,256,s,a),sd}function sd(e,t,n,r,o,i,s,a){At("NgControlFlow");let c=N(),u=te(),l=dt(u.consts,i);return Hs(c,u,e,t,n,r,o,l,512,s,a),sd}function _C(e,t){At("NgControlFlow");let n=N(),r=An(),o=n[r]!==Te?n[r]:-1,i=o!==-1?zs(n,ee+o):void 0,s=0;if(nt(n,r,e)){let a=b(null);try{if(i!==void 0&&Gg(i,s),e!==-1){let c=ee+e,u=zs(n,c),l=El(n[w],c),d=qg(u,l,n),f=oa(n,l,t,{dehydratedView:d});ia(u,f,s,Co(l,d))}}finally{b(a)}}else if(i!==void 0){let a=zg(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-Q}};function MC(e,t){return t}var vl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function NC(e,t,n,r,o,i,s,a,c,u,l,d,f){At("NgControlFlow");let h=N(),g=te(),C=c!==void 0,D=N(),I=a?s.bind(D[Ae][X]):s,Z=new vl(C,I);D[ee+e]=Z,Hs(h,g,e+1,t,n,r,o,dt(g.consts,i),256),C&&Hs(h,g,e+2,c,u,l,d,dt(g.consts,f),512)}var Dl=class extends gl{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-Q}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[ur];this.needsIndexUpdate||=t!==this.length,ia(this.lContainer,n,t,Co(this.templateTNode,r)),AC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xC(this.lContainer,t),OC(this.lContainer,t)}create(t,n){let r=ol(this.lContainer,this.templateTNode.tView.ssrId);return oa(this.hostLView,this.templateTNode,new yl(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ea(t[w],t)}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return kC(this.lContainer,t)}};function RC(e){let t=b(null),n=ft();try{let r=N(),o=r[w],i=r[n],s=n+1,a=zs(r,s);if(i.liveCollection===void 0){let u=El(o,s);i.liveCollection=new Dl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(TC(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=An(),l=c.length===0;if(nt(r,u,l)){let d=n+2,f=zs(r,d);if(l){let h=El(o,d),g=qg(f,h,r),C=oa(r,h,void 0,{dehydratedView:g});ia(f,C,0,Co(h,g))}else o.firstUpdatePass&&Iw(f),Gg(f,0)}}}finally{b(t)}}function zs(e,t){return e[t]}function AC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[Zt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[St];SI(i,o),kn.delete(r[_t]),o.detachedLeaveAnimationFns=void 0}}function xC(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n],o=r?r[Zt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function OC(e,t){return To(e,t)}function kC(e,t){return zg(e,t)}function El(e,t){return ss(e,t)}function pm(e,t,n){let r=N(),o=An();if(nt(r,o,t)){let i=te(),s=ms();Ag(s,r,e,t,r[G],n)}return pm}function Il(e,t,n,r,o){zl(t,e,n,o?"class":"style",r)}function Gs(e,t,n,r){let o=N(),i=o[w],s=e+ee,a=i.firstCreatePass?ql(s,o,2,t,$l,us(),n,r):i.data[s];if(Nt(a)){let c=o[Qe].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(nm(u),()=>(Tp(e,t,o,a,r),Gs))}}return Tp(e,t,o,a,r),Gs}function Tp(e,t,n,r,o){if(xg(r,n,e,t,PC),fr(r)){let i=n[w];na(i,n,r),Nl(i,r,n)}o!=null&&ra(n,r)}function ad(){let e=te(),t=me(),n=Og(t);return e.firstCreatePass&&Zl(e,n),Th(n)&&Sh(),Ch(),n.classesWithoutHost!=null&&aE(n)&&Il(e,n,N(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&cE(n)&&Il(e,n,N(),n.stylesWithoutHost,!1),ad}function fa(e,t,n,r){return Gs(e,t,n,r),ad(),fa}var PC=(e,t,n,r,o)=>(go(!0),hg(t[G],r,Su()));function cd(e,t,n){let r=N(),o=r[w],i=e+ee,s=o.firstCreatePass?ql(i,r,8,"ng-container",$l,us(),t,n):o.data[i];if(xg(s,r,e,"ng-container",FC),fr(s)){let a=r[w];na(a,r,s),Nl(a,s,r)}return n!=null&&ra(r,s),cd}function ud(){let e=te(),t=me(),n=Og(t);return e.firstCreatePass&&Zl(e,n),ud}function gm(e,t,n){return cd(e,t,n),ud(),gm}var FC=(e,t,n,r,o)=>(go(!0),eI(t[G],""));function LC(){return N()}var yo=void 0;function jC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var UC=["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"]],yo,[["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"]],yo,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",yo,yo,yo],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",jC],Bu=Object.create(null);function ke(e){let t=BC(e),n=Sp(t);if(n)return n;let r=t.split("-")[0];if(n=Sp(r),n)return n;if(r==="en")return UC;throw new m(701,!1)}function Sp(e){return e in Bu||(Bu[e]=Ze.ng&&Ze.ng.common&&Ze.ng.common.locales&&Ze.ng.common.locales[e]),Bu[e]}var ne=(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})(ne||{});function BC(e){return e.toLowerCase().replace(/_/g,"-")}var Lo="en-US";var VC=Lo;function mm(e){typeof e=="string"&&(VC=e.toLowerCase().replace(/_/g,"-"))}function ha(e,t,n){let r=N(),o=te(),i=me();return ym(o,r,r[G],i,e,t,n),ha}function ym(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Fu(r,t,i),Fw(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 f=l[d],h=l[d+1];c??=Fu(r,t,i),Dp(r,t,f,h,o,c)}if(u&&u.length)for(let d of u)c??=Fu(r,t,i),Dp(r,t,d,o,o,c)}}function HC(e=1){return Vh(e)}function pa(e,t,n,r){return iC(e,t,n,r),pa}function ld(e){let t=N(),n=te(),r=Cu();hs(r+1);let o=Kl(n,r);if(e.dirty&&mh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=uC(t,r);e.reset(i,IE),e.notifyOnChanges()}return!0}return!1}function dd(){return rC(N(),Cu())}function $C(e){let t=Ah();return fu(t,ee+e)}function bs(e,t){return e<<17|t<<2}function Ln(e){return e>>17&32767}function zC(e){return(e&2)==2}function GC(e,t){return e&131071|t<<17}function wl(e){return e|2}function Ir(e){return(e&131068)>>2}function Vu(e,t){return e&-131069|t<<2}function WC(e){return(e&1)===1}function Cl(e){return e|1}function qC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ln(s),c=Ir(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||cr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let f=Ln(e[a+1]);e[r+1]=bs(f,a),f!==0&&(e[f+1]=Vu(e[f+1],r)),e[a+1]=GC(e[a+1],r)}else e[r+1]=bs(a,0),a!==0&&(e[a+1]=Vu(e[a+1],r)),a=r;else e[r+1]=bs(c,0),a===0?a=r:e[c+1]=Vu(e[c+1],r),c=r;u&&(e[r+1]=wl(e[r+1])),_p(e,l,r,!0),_p(e,l,r,!1),ZC(t,l,e,r,i),s=bs(a,c),i?t.classBindings=s:t.styleBindings=s}function ZC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&cr(i,t)>=0&&(n[r+1]=Cl(n[r+1]))}function _p(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ln(o):Ir(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];YC(c,t)&&(a=!0,e[s+1]=r?Cl(u):wl(u)),s=r?Ln(u):Ir(u)}a&&(e[n+1]=r?wl(o):Cl(o))}function YC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?cr(e,t)>=0:!1}var et={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function QC(e){return e.substring(et.key,et.keyEnd)}function KC(e){return JC(e),vm(e,Dm(e,0,et.textEnd))}function vm(e,t){let n=et.textEnd;return n===t?-1:(t=et.keyEnd=XC(e,et.key=t,n),Dm(e,t,n))}function JC(e){et.key=0,et.keyEnd=0,et.value=0,et.valueEnd=0,et.textEnd=e.length}function Dm(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function XC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Em(e,t,n){return wm(e,t,n,!1),Em}function Im(e,t){return wm(e,t,null,!0),Im}function eb(e){nb(cb,tb,e,!0)}function tb(e,t){for(let n=KC(t);n>=0;n=vm(t,n))rs(e,QC(t),!0)}function wm(e,t,n,r){let o=N(),i=te(),s=ds(2);if(i.firstUpdatePass&&bm(i,e,s,r),t!==Te&&nt(o,s,t)){let a=i.data[ft()];Tm(i,a,o,o[G],e,o[s+1]=lb(t,n),r,s)}}function nb(e,t,n,r){let o=te(),i=ds(2);o.firstUpdatePass&&bm(o,null,i,r);let s=N();if(n!==Te&&nt(s,i,n)){let a=o.data[ft()];if(Sm(a,r)&&!Cm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ki(c,n||"")),Il(o,a,s,n,r)}else ub(o,a,s,s[G],s[i+1],s[i+1]=ab(e,t,n),r,i)}}function Cm(e,t){return t>=e.expandoStartIndex}function bm(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ft()],s=Cm(e,n);Sm(i,r)&&t===null&&!s&&(t=!1),t=rb(o,i,t,r),qC(o,i,t,n,s,r)}}function rb(e,t,n,r){let o=Lh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Hu(null,e,t,n,r),n=_o(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Hu(o,e,t,n,r),i===null){let c=ob(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Hu(null,e,t,c[1],r),c=_o(c,t.attrs,r),ib(e,t,r,c))}else i=sb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ob(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ir(r)!==0)return e[Ln(r)]}function ib(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ln(o)]=r}function sb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=_o(r,s,n)}return _o(r,t.attrs,n)}function Hu(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=_o(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function _o(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]),rs(e,s,n?!0:t[++i]))}return e===void 0?null:e}function ab(e,t,n){if(n==null||n==="")return be;let r=[],o=Cr(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,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 cb(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&rs(e,r,n)}function ub(e,t,n,r,o,i,s,a){o===Te&&(o=be);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 f=c<o.length?o[c+1]:void 0,h=u<i.length?i[u+1]:void 0,g=null,C;l===d?(c+=2,u+=2,f!==h&&(g=d,C=h)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,C=h),g!==null&&Tm(e,t,n,r,g,C,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Tm(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=WC(u)?Mp(c,t,n,o,Ir(u),s):void 0;if(!Ws(l)){Ws(i)||zC(u)&&(i=Mp(c,null,n,o,a,s));let d=du(ft(),n);VI(r,s,d,o,i)}}function Mp(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,f=n[o+1];f===Te&&(f=d?be:void 0);let h=d?os(f,r):l===r?f:void 0;if(u&&!Ws(h)&&(h=os(c,r)),Ws(h)&&(a=h,s))return a;let g=e[o+1];o=s?Ln(g):Ir(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=os(c,r))}return a}function Ws(e){return e!==void 0}function lb(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=oo(Cr(e)))),e}function Sm(e,t){return(e.flags&(t?8:16))!==0}function db(e,t=""){let n=N(),r=te(),o=e+ee,i=r.firstCreatePass?aa(r,o,1,t,null):r.data[o],s=fb(r,n,i,t);n[o]=s,ys()&&Vl(r,n,s,i),gr(i,!1)}var fb=(e,t,n,r)=>(go(!0),JE(t[G],r));function hb(e,t,n,r=""){return nt(e,An(),n)?t+bn(n)+r:Te}function pb(e,t,n,r,o,i=""){let s=xh(),a=em(e,s,n,o);return ds(2),a?t+bn(n)+r+bn(o)+i:Te}function _m(e){return fd("",e),_m}function fd(e,t,n){let r=N(),o=hb(r,e,t,n);return o!==Te&&Nm(r,ft(),o),fd}function Mm(e,t,n,r,o){let i=N(),s=pb(i,e,t,n,r,o);return s!==Te&&Nm(i,ft(),s),Mm}function Nm(e,t,n){let r=du(t,e);XE(e[G],r,n)}function Rm(e,t,n){nd(t)&&(t=t());let r=N(),o=An();if(nt(r,o,t)){let i=te(),s=ms();Ag(s,r,e,t,r[G],n)}return Rm}function gb(e,t){let n=nd(e);return n&&e.set(t),n}function Am(e,t){let n=N(),r=te(),o=me();return ym(r,n,n[G],o,e,t),Am}function Np(e,t,n){let r=te();r.firstCreatePass&&xm(t,r.data,r.blueprint,lt(e),n)}function xm(e,t,n,r,o){if(e=ge(e),Array.isArray(e))for(let i=0;i<e.length;i++)xm(e[i],t,n,r,o);else{let i=te(),s=N(),a=me(),c=In(e)?e:ge(e.provide),u=iu(e),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(In(e)||!e.multi){let h=new On(u,o,H,null),g=zu(c,t,o?l:l+f,d);g===-1?(Wu(Os(a,s),i,c),$u(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[g]=h,s[g]=h)}else{let h=zu(c,t,l+f,d),g=zu(c,t,l,l+f),C=h>=0&&n[h],D=g>=0&&n[g];if(o&&!D||!o&&!C){Wu(Os(a,s),i,c);let I=vb(o?yb:mb,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=I),$u(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=Om(n[o?g:h],u,!o&&r);$u(i,e,h>-1?h:g,I)}!o&&r&&D&&n[g].componentProviders++}}}function $u(e,t,n,r){let o=In(t),i=fh(t);if(o||i){let c=(i?ge(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 Om(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function zu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function mb(e,t,n,r,o){return bl(this.multi,[])}function yb(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=wo(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),bl(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],bl(i,s);return s}function bl(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function vb(e,t,n,r,o,i){let s=new On(e,n,H,null);return s.multi=[],s.index=t,s.componentProviders=0,Om(s,o,r&&!n),s}function Db(e,t){return n=>{n.providersResolver=(r,o)=>Np(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Np(r,o?o(t):t,!0))}}function Eb(e,t){let n=ls()+e,r=N();return r[n]===Te?Ql(r,n,t()):Pw(r,n)}function Ib(e,t,n){return wb(N(),ls(),e,t,n)}function km(e,t){let n=e[t];return n===Te?void 0:n}function wb(e,t,n,r,o,i){let s=t+n;return nt(e,s,o)?Ql(e,s+1,i?r.call(i,o):r(o)):km(e,s+1)}function Cb(e,t,n,r,o,i,s){let a=t+n;return em(e,a,o,i)?Ql(e,a+2,s?r.call(s,o,i):r(o,i)):km(e,a+2)}function bb(e,t){let n=te(),r,o=e+ee;n.firstCreatePass?(r=Tb(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=Bt(r.type,!0)),s,a=Ce(H);try{let c=xs(!1),u=i();return xs(c),hu(n,N(),o,u),u}finally{Ce(a)}}function Tb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Sb(e,t,n,r){let o=e+ee,i=N(),s=fu(i,o);return _b(i,o)?Cb(i,ls(),t,s.transform,n,r,s):s.transform(n,r)}function _b(e,t){return e[w].data[t].pure}function Mb(e,t){return sa(e,t)}var qs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},hd=(()=>{class e{compileModuleSync(n){return new Vs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Qc(n),i=Dg(o.declarations).reduce((s,a)=>{let c=zt(a);return c&&s.push(new Er(c)),s},[]);return new qs(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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pm=(()=>{class e{applicationErrorHandler=p(Oe);appRef=p(Un);taskService=p(pt);ngZone=p(Y);zonelessEnabled=p(mr);tracing=p(vt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new se;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(no):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(Es,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Wh:Nu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(no+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.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Fm(){return[{provide:Tt,useExisting:Pm},{provide:Y,useClass:ro},{provide:mr,useValue:!0}]}function Nb(){return typeof $localize<"u"&&$localize.locale||Lo}var jo=new E("",{factory:()=>p(jo,{optional:!0,skipSelf:!0})||Nb()});function K(e){return Qf(e)}function Uo(e,t){return Hi(e,t?.equal)}var Ab=e=>e;function pd(e,t){if(typeof e=="function"){let n=Rc(e,Ab,t?.equal);return Lm(n,t?.debugName)}else{let n=Rc(e.source,e.computation,e.equal);return Lm(n,e.debugName)}}function Lm(e,t){let n=e[le],r=e;return r.set=o=>Zf(n,o),r.update=o=>Yf(n,o),r.asReadonly=vs.bind(e),r}var Vm=Symbol("InputSignalNode#UNSET"),Wb=U(y({},zi),{transformFn:void 0,applyValueToInputSignal(e,t){vn(e,t)}});function Hm(e,t){let n=Object.create(Wb);n.value=e,n.transformFn=t?.transform;function r(){if(gn(n),n.value===Vm){let o=null;throw new m(-950,o)}return n.value}return r[le]=n,r}var ma=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ro(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function jm(e,t){return Hm(e,t)}function qb(e){return Hm(Vm,e)}var $m=(jm.required=qb,jm);var Zb=(()=>{class e{zone=p(Y);changeDetectionScheduler=p(Tt);applicationRef=p(Un);applicationErrorHandler=p(Oe);_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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yb=new E("",{factory:()=>!1});function Qb({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Y(U(y({},zm()),{scheduleInRootZone:t})),[{provide:mr,useValue:!1},{provide:Y,useFactory:e},{provide:Wt,multi:!0,useFactory:()=>{let n=p(Zb,{optional:!0});return()=>n.initialize()}},{provide:Wt,multi:!0,useFactory:()=>{let n=p(Kb);return()=>{n.initialize()}}},{provide:Es,useValue:t??Mu}]}function yU(e){let t=e?.scheduleInRootZone,n=Qb({ngZoneFactory:()=>{let r=zm(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&At("NgZone_CoalesceEvent"),new Y(r)},scheduleInRootZone:t});return Tn([{provide:Yb,useValue:!0},n])}function zm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Kb=(()=>{class e{subscription=new se;initialized=!1;zone=p(Y);pendingTasks=p(pt);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(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var gd=new E(""),Jb=new E("");function Bo(e){return!e.moduleRef}function Xb(e){let t=Bo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{Bo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Oe),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Bo(e)){let i=()=>t.destroy(),s=e.platformInjector.get(gd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(gd);s.add(i),e.moduleRef.onDestroy(()=>{Eo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return tT(r,n,()=>{let i=t.get(pt),s=i.add(),a=t.get(id);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(jo,Lo);if(mm(c||Lo),!t.get(Jb,!0))return Bo(e)?t.get(Un):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Bo(e)){let l=t.get(Un);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return eT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var eT;function tT(e,t,n){try{let r=n();return Tr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ga=null;function nT(e=[],t){return Me.create({name:t,providers:[{provide:uo,useValue:"platform"},{provide:gd,useValue:new Set([()=>ga=null])},...e]})}function rT(e=[]){if(ga)return ga;let t=nT(e);return ga=t,fm(),oT(t),t}function oT(e){let t=e.get(Ys,null);de(e,()=>{t?.forEach(n=>n())})}var iT=1e4;var vU=iT-1e3;var Vo=(()=>{class e{static __NG_ELEMENT_ID__=sT}return e})();function sT(e){return aT(me(),N(),(e&16)===16)}function aT(e,t,n){if(Nt(e)&&!n){let r=He(e.index,t);return new Kt(r,r)}else if(e.type&175){let r=t[Ae];return new Kt(r,t)}return null}var md=class{supports(t){return Yl(t)}create(t){return new yd(t)}},cT=(e,t)=>t,yd=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||cT}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<Um(r,o,i)?n:r,a=Um(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 f=0;f<u;f++){let h=f<i.length?i[f]:i[f]=0,g=h+f;l<=g&&g<u&&(i[f]=h+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=[]),!Yl(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,Jg(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 vd(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 ya),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 ya),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}},vd=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}},Dd=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}},ya=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Dd,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 Um(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 Bm(){return new Ed([new md])}var Ed=(()=>{class e{factories;static \u0275prov=v({token:e,providedIn:"root",factory:Bm});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||Bm())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function Gm(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;j(O.BootstrapApplicationStart);try{let i=o?.injector??rT(r),s=[Fm(),Zh,...n||[]],a=new So({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Xb({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{j(O.BootstrapApplicationEnd)}}function va(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var Wm=null;function xt(){return Wm}function Id(e){Wm??=e}var Ho=class{},Sr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(qm),providedIn:"platform"})}return e})();var qm=(()=>{class e extends Sr{_location;_history;_doc=p(oe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xt().getBaseHref(this._doc)}onPopState(n){let r=xt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=xt().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=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Qm(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Zm(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function en(e){return e&&e[0]!=="?"?`?${e}`:e}var _r=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(lT),providedIn:"root"})}return e})(),uT=new E(""),lT=(()=>{class e extends _r{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(oe).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 Qm(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+en(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+en(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+en(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)(T(Sr),T(uT,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Mr=(()=>{class e{_subject=new ue;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=hT(Zm(Ym(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+en(r))}normalize(n){return e.stripTrailingSlash(fT(this._basePath,Ym(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+en(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+en(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=en;static joinWithSlash=Qm;static stripTrailingSlash=Zm;static \u0275fac=function(r){return new(r||e)(T(_r))};static \u0275prov=v({token:e,factory:()=>dT(),providedIn:"root"})}return e})();function dT(){return new Mr(T(_r))}function fT(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Ym(e){return e.replace(/\/index\.html$/,"")}function hT(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Ee=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ee||{}),B=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(B||{}),Ne=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Ne||{}),kt={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 ty(e){return ke(e)[ne.LocaleId]}function ny(e,t,n){let r=ke(e),o=[r[ne.DayPeriodsFormat],r[ne.DayPeriodsStandalone]],i=$e(o,t);return $e(i,n)}function ry(e,t,n){let r=ke(e),o=[r[ne.DaysFormat],r[ne.DaysStandalone]],i=$e(o,t);return $e(i,n)}function oy(e,t,n){let r=ke(e),o=[r[ne.MonthsFormat],r[ne.MonthsStandalone]],i=$e(o,t);return $e(i,n)}function iy(e,t){let r=ke(e)[ne.Eras];return $e(r,t)}function $o(e,t){let n=ke(e);return $e(n[ne.DateFormat],t)}function zo(e,t){let n=ke(e);return $e(n[ne.TimeFormat],t)}function Go(e,t){let r=ke(e)[ne.DateTimeFormat];return $e(r,t)}function Wo(e,t){let n=ke(e),r=n[ne.NumberSymbols][t];if(typeof r>"u"){if(t===kt.CurrencyDecimal)return n[ne.NumberSymbols][kt.Decimal];if(t===kt.CurrencyGroup)return n[ne.NumberSymbols][kt.Group]}return r}function sy(e){if(!e[ne.ExtraData])throw new m(2303,!1)}function ay(e){let t=ke(e);return sy(t),(t[ne.ExtraData][2]||[]).map(r=>typeof r=="string"?wd(r):[wd(r[0]),wd(r[1])])}function cy(e,t,n){let r=ke(e);sy(r);let o=[r[ne.ExtraData][0],r[ne.ExtraData][1]],i=$e(o,t)||[];return $e(i,n)||[]}function $e(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function wd(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var pT=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Da={},gT=/((?:[^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]*)/,mT=256;function uy(e,t,n,r){let o=ST(e);yT(t),t=Ot(n,t)||t;let s=[],a;for(;t;)if(a=gT.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=dy(r,c),o=TT(o,r));let u="";return s.forEach(l=>{let d=CT(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function yT(e){if(e.length>mT)throw new m(2300,!1)}function ba(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ot(e,t){let n=ty(e);if(Da[n]??={},Da[n][t])return Da[n][t];let r="";switch(t){case"shortDate":r=$o(e,Ne.Short);break;case"mediumDate":r=$o(e,Ne.Medium);break;case"longDate":r=$o(e,Ne.Long);break;case"fullDate":r=$o(e,Ne.Full);break;case"shortTime":r=zo(e,Ne.Short);break;case"mediumTime":r=zo(e,Ne.Medium);break;case"longTime":r=zo(e,Ne.Long);break;case"fullTime":r=zo(e,Ne.Full);break;case"short":let o=Ot(e,"shortTime"),i=Ot(e,"shortDate");r=Ea(Go(e,Ne.Short),[o,i]);break;case"medium":let s=Ot(e,"mediumTime"),a=Ot(e,"mediumDate");r=Ea(Go(e,Ne.Medium),[s,a]);break;case"long":let c=Ot(e,"longTime"),u=Ot(e,"longDate");r=Ea(Go(e,Ne.Long),[c,u]);break;case"full":let l=Ot(e,"fullTime"),d=Ot(e,"fullDate");r=Ea(Go(e,Ne.Full),[l,d]);break}return r&&(Da[n][t]=r),r}function Ea(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function ot(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 vT(e,t){return ot(e,3).substring(0,t)}function ie(e,t,n=0,r=!1,o=!1){return function(i,s){let a=DT(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return vT(a,t);let c=Wo(s,kt.MinusSign);return ot(a,t,c,r,o)}}function DT(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 z(e,t,n=Ee.Format,r=!1){return function(o,i){return ET(o,i,e,t,n,r)}}function ET(e,t,n,r,o,i){switch(n){case 2:return oy(t,o,r)[e.getMonth()];case 1:return ry(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=ay(t),l=cy(t,o,r),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,g]=f,C=s>=h.hours&&a>=h.minutes,D=s<g.hours||s===g.hours&&a<g.minutes;if(h.hours<g.hours){if(C&&D)return!0}else if(C||D)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return ny(t,o,r)[s<12?0:1];case 3:return iy(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ia(e){return function(t,n,r){let o=-1*r,i=Wo(n,kt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ot(s,2,i)+ot(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ot(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ot(s,2,i)+":"+ot(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ot(s,2,i)+":"+ot(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var IT=0,Ca=4;function wT(e){let t=ba(e,IT,1).getDay();return ba(e,0,1+(t<=Ca?Ca:Ca+7)-t)}function ly(e){let t=e.getDay(),n=t===0?-3:Ca-t;return ba(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Cd(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=ly(n),s=wT(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ot(o,e,Wo(r,kt.MinusSign))}}function wa(e,t=!1){return function(n,r){let i=ly(n).getFullYear();return ot(i,e,Wo(r,kt.MinusSign),t)}}var bd={};function CT(e){if(bd[e])return bd[e];let t;switch(e){case"G":case"GG":case"GGG":t=z(3,B.Abbreviated);break;case"GGGG":t=z(3,B.Wide);break;case"GGGGG":t=z(3,B.Narrow);break;case"y":t=ie(0,1,0,!1,!0);break;case"yy":t=ie(0,2,0,!0,!0);break;case"yyy":t=ie(0,3,0,!1,!0);break;case"yyyy":t=ie(0,4,0,!1,!0);break;case"Y":t=wa(1);break;case"YY":t=wa(2,!0);break;case"YYY":t=wa(3);break;case"YYYY":t=wa(4);break;case"M":case"L":t=ie(1,1,1);break;case"MM":case"LL":t=ie(1,2,1);break;case"MMM":t=z(2,B.Abbreviated);break;case"MMMM":t=z(2,B.Wide);break;case"MMMMM":t=z(2,B.Narrow);break;case"LLL":t=z(2,B.Abbreviated,Ee.Standalone);break;case"LLLL":t=z(2,B.Wide,Ee.Standalone);break;case"LLLLL":t=z(2,B.Narrow,Ee.Standalone);break;case"w":t=Cd(1);break;case"ww":t=Cd(2);break;case"W":t=Cd(1,!0);break;case"d":t=ie(2,1);break;case"dd":t=ie(2,2);break;case"c":case"cc":t=ie(7,1);break;case"ccc":t=z(1,B.Abbreviated,Ee.Standalone);break;case"cccc":t=z(1,B.Wide,Ee.Standalone);break;case"ccccc":t=z(1,B.Narrow,Ee.Standalone);break;case"cccccc":t=z(1,B.Short,Ee.Standalone);break;case"E":case"EE":case"EEE":t=z(1,B.Abbreviated);break;case"EEEE":t=z(1,B.Wide);break;case"EEEEE":t=z(1,B.Narrow);break;case"EEEEEE":t=z(1,B.Short);break;case"a":case"aa":case"aaa":t=z(0,B.Abbreviated);break;case"aaaa":t=z(0,B.Wide);break;case"aaaaa":t=z(0,B.Narrow);break;case"b":case"bb":case"bbb":t=z(0,B.Abbreviated,Ee.Standalone,!0);break;case"bbbb":t=z(0,B.Wide,Ee.Standalone,!0);break;case"bbbbb":t=z(0,B.Narrow,Ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=z(0,B.Abbreviated,Ee.Format,!0);break;case"BBBB":t=z(0,B.Wide,Ee.Format,!0);break;case"BBBBB":t=z(0,B.Narrow,Ee.Format,!0);break;case"h":t=ie(3,1,-12);break;case"hh":t=ie(3,2,-12);break;case"H":t=ie(3,1);break;case"HH":t=ie(3,2);break;case"m":t=ie(4,1);break;case"mm":t=ie(4,2);break;case"s":t=ie(5,1);break;case"ss":t=ie(5,2);break;case"S":t=ie(6,1);break;case"SS":t=ie(6,2);break;case"SSS":t=ie(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ia(0);break;case"ZZZZZ":t=Ia(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ia(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ia(2);break;default:return null}return bd[e]=t,t}function dy(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function bT(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function TT(e,t,n){let o=e.getTimezoneOffset(),i=dy(t,o);return bT(e,-1*(i-o))}function ST(e){if(Km(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 ba(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(pT))return _T(r)}let t=new Date(e);if(!Km(t))throw new m(2311,!1);return t}function _T(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 Km(e){return e instanceof Date&&!isNaN(e.valueOf())}var Td=/\s+/,Jm=[],MT=(()=>{class e{_ngEl;_renderer;initialClasses=Jm;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Td):Jm}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Td):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(Td).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)(H(yt),H(br))};static \u0275dir=rt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Ta=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}},fy=(()=>{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 Ta(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),Xm(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);Xm(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(H(Dt),H(Jt),H(Ed))};static \u0275dir=rt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Xm(e,t){e.context.$implicit=t.item}var NT=(()=>{class e{_viewContainer;_context=new Sa;_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){ey(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ey(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)(H(Dt),H(Jt))};static \u0275dir=rt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Sa=class{$implicit=null;ngIf=null};function ey(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var RT=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=p(Me);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._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.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)(H(Dt))};static \u0275dir=rt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Xt]})}return e})();function AT(e,t){return new m(2100,!1)}var xT="mediumDate",hy=new E(""),py=new E(""),OT=(()=>{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??xT,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return uy(n,s,i||this.locale,a)}catch(s){throw AT(e,s.message)}}static \u0275fac=function(r){return new(r||e)(H(jo,16),H(hy,24),H(py,24))};static \u0275pipe=Xl({name:"date",type:e,pure:!0})}return e})();var gy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=jn({type:e});static \u0275inj=$t({})}return e})();function qo(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 Bn=class{};var my="browser";var Zo=class{_doc;constructor(t){this._doc=t}manager},_a=(()=>{class e extends Zo{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)(T(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Ra=new E(""),Nd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof _a));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof _a);i&&this._plugins.push(i)}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)(T(Ra),T(Y))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Sd="ng-app-id";function yy(e){for(let t of e)t.remove()}function vy(e,t){let n=t.createElement("style");return n.textContent=e,n}function PT(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Sd}="${t}"],link[${Sd}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Sd),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 Md(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Rd=(()=>{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,PT(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,vy);r?.forEach(o=>this.addUsage(o,this.external,Md))}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&&(yy(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])yy(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,vy(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Md(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)(T(oe),T(Zs),T(xo,8),T(Ao))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),_d={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"},Ad=/%COMP%/g;var Ey="%COMP%",FT=`_nghost-${Ey}`,LT=`_ngcontent-${Ey}`,jT=!0,UT=new E("",{factory:()=>jT});function BT(e){return LT.replace(Ad,e)}function VT(e){return FT.replace(Ad,e)}function Iy(e,t){return t.map(n=>n.replace(Ad,e))}var xd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Yo(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Na?o.applyToHost(n):o instanceof Qo&&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.tracingService;switch(r.encapsulation){case tt.Emulated:i=new Na(c,u,r,this.appId,l,s,a,d);break;case tt.ShadowDom:return new Ma(c,n,r,s,a,this.nonce,d,u);case tt.ExperimentalIsolatedShadowDom:return new Ma(c,n,r,s,a,this.nonce,d);default:i=new Qo(c,u,r,l,s,a,d);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)(T(Nd),T(Rd),T(Zs),T(UT),T(oe),T(Y),T(xo),T(vt,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Yo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(_d[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Dy(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Dy(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=_d[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=_d[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(mt.DashCase|mt.Important)?t.style.setProperty(n,r,o&mt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&mt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=xt().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 Dy(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ma=class extends Yo{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Iy(r.id,u);for(let d of u){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}let l=r.getExternalStyles?.();if(l)for(let d of l){let f=Md(d,o);s&&f.setAttribute("nonce",s),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&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Qo=class extends Yo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Iy(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&kn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Na=class extends Qo{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=BT(u),this.hostAttr=VT(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Aa=class e extends Ho{supportsDOMEvents=!0;static makeCurrent(){Id(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=HT();return n==null?null:$T(n)}resetBaseElement(){Ko=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return qo(document.cookie,t)}},Ko=null;function HT(){return Ko=Ko||document.head.querySelector("base"),Ko?Ko.getAttribute("href"):null}function $T(e){return new URL(e,document.baseURI).pathname}var zT=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),wy=["alt","control","meta","shift"],GT={"\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"},WT={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Cy=(()=>{class e extends Zo{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(()=>xt().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."),wy.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=GT[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"),wy.forEach(s=>{if(s!==o){let a=WT[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)(T(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function qT(e,t,n){return $(this,null,function*(){let r=y({rootComponent:e},ZT(t,n));return Gm(r)})}function ZT(e,t){return{platformRef:t?.platformRef,appProviders:[...XT,...e?.providers??[]],platformProviders:JT}}function YT(){Aa.makeCurrent()}function QT(){return new qe}function KT(){return _l(document),document}var JT=[{provide:Ao,useValue:my},{provide:Ys,useValue:YT,multi:!0},{provide:oe,useFactory:KT}];var XT=[{provide:uo,useValue:"root"},{provide:qe,useFactory:QT},{provide:Ra,useClass:_a,multi:!0},{provide:Ra,useClass:Cy,multi:!0},xd,Rd,Nd,{provide:Pn,useExisting:xd},{provide:Bn,useClass:zT},[]];var tn=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 Oa=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()}},ka=class{encodeKey(t){return by(t)}encodeValue(t){return by(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function eS(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 tS=/%(\d[a-f0-9])/gi,nS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function by(e){return encodeURIComponent(e).replace(tS,(t,n)=>nS[n]??t)}function xa(e){return`${e}`}var Pt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new ka,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=eS(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(xa):[xa(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(xa(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(xa(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)}};function rS(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ty(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Sy(e){return typeof Blob<"u"&&e instanceof Blob}function _y(e){return typeof FormData<"u"&&e instanceof FormData}function oS(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var My="Content-Type",Ny="Accept",Ry="text/plain",Ay="application/json",iS=`${Ay}, ${Ry}, */*`,Nr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(rS(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!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new tn,this.context??=new Oa,!this.params)this.params=new Pt,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"||Ty(this.body)||Sy(this.body)||_y(this.body)||oS(this.body)?this.body:this.body instanceof Pt?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||_y(this.body)?null:Sy(this.body)?this.body.type||null:Ty(this.body)?null:typeof this.body=="string"?Ry:this.body instanceof Pt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ay: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,f=t.integrity||this.integrity,h=t.referrerPolicy||this.referrerPolicy,g=t.transferCache??this.transferCache,C=t.timeout??this.timeout,D=t.body!==void 0?t.body:this.body,I=t.withCredentials??this.withCredentials,Z=t.reportProgress??this.reportProgress,we=t.headers||this.headers,ce=t.params||this.params,zr=t.context??this.context;return t.setHeaders!==void 0&&(we=Object.keys(t.setHeaders).reduce((Gr,sn)=>Gr.set(sn,t.setHeaders[sn]),we)),t.setParams&&(ce=Object.keys(t.setParams).reduce((Gr,sn)=>Gr.set(sn,t.setParams[sn]),ce)),new e(n,r,D,{params:ce,headers:we,context:zr,reportProgress:Z,responseType:o,withCredentials:I,transferCache:g,keepalive:i,cache:a,priority:s,timeout:C,mode:c,redirect:u,credentials:l,referrer:d,integrity:f,referrerPolicy:h})}},Vn=(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})(Vn||{}),Ar=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new tn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},Pa=class e extends Ar{constructor(t={}){super(t)}type=Vn.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})}},Jo=class e extends Ar{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Vn.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,responseType:t.responseType??this.responseType})}},Rr=class extends Ar{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}},sS=200,aS=204;var cS=new E("");var uS=/^\)\]\}',?\n/;var kd=(()=>{class e{xhrFactory;tracingService=p(vt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return A(null).pipe(Re(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,I)=>s.setRequestHeader(D,I.join(","))),n.headers.has(Ny)||s.setRequestHeader(Ny,iS),!n.headers.has(My)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(My,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",I=new tn(s.getAllResponseHeaders()),Z=s.responseURL||n.url;return c=new Pa({headers:I,status:s.status,statusText:D,url:Z}),c},l=this.maybePropagateTrace(()=>{let{headers:D,status:I,statusText:Z,url:we}=u(),ce=null;I!==aS&&(ce=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=ce?sS:0);let zr=I>=200&&I<300;if(n.responseType==="json"&&typeof ce=="string"){let Gr=ce;ce=ce.replace(uS,"");try{ce=ce!==""?JSON.parse(ce):null}catch(sn){ce=Gr,zr&&(zr=!1,ce={error:sn,text:ce})}}zr?(i.next(new Jo({body:ce,headers:D,status:I,statusText:Z,url:we||void 0})),i.complete()):i.error(new Rr({error:ce,headers:D,status:I,statusText:Z,url:we||void 0}))}),d=this.maybePropagateTrace(D=>{let{url:I}=u(),Z=new Rr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(Z)}),f=d;n.timeout&&(f=this.maybePropagateTrace(D=>{let{url:I}=u(),Z=new Rr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(Z)}));let h=!1,g=this.maybePropagateTrace(D=>{h||(i.next(u()),h=!0);let I={type:Vn.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(I.total=D.total),n.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),C=this.maybePropagateTrace(D=>{let I={type:Vn.UploadProgress,loaded:D.loaded};D.lengthComputable&&(I.total=D.total),i.next(I)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",C)),s.send(a),i.next({type:Vn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",f),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",C)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Bn))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lS(e,t){return t(e)}function dS(e,t,n){return(r,o)=>de(n,()=>t(r,i=>e(i,o)))}var xy=new E("",{factory:()=>[]}),Oy=new E(""),ky=new E("",{factory:()=>!0});var Pd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(kd),o},providedIn:"root"})}return e})();var Fa=(()=>{class e{backend;injector;chain=null;pendingTasks=p(mo);contributeToStability=p(ky);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(xy),...this.injector.get(Oy,[])]));this.chain=r.reduceRight((o,i)=>dS(o,i,this.injector),lS)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(er(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(Pd),T(q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(Fa),o},providedIn:"root"})}return e})();function Od(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,referrerPolicy:e.referrerPolicy}}var La=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Nr)i=n;else{let c;o.headers instanceof tn?c=o.headers:c=new tn(o.headers);let u;o.params&&(o.params instanceof Pt?u=o.params:u=new Pt({fromObject:o.params})),i=new Nr(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,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=A(i).pipe(dn(c=>this.handler.handle(c)));if(n instanceof Nr||o.observe==="events")return s;let a=s.pipe(Le(c=>c instanceof Jo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(V(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(V(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 Pt().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,Od(o,r))}post(n,r,o={}){return this.request("POST",n,Od(o,r))}put(n,r,o={}){return this.request("PUT",n,Od(o,r))}static \u0275fac=function(r){return new(r||e)(T(Fd))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fS=new E("",{factory:()=>!0}),hS="XSRF-TOKEN",pS=new E("",{factory:()=>hS}),gS="X-XSRF-TOKEN",mS=new E("",{factory:()=>gS}),yS=(()=>{class e{cookieName=p(pS);doc=p(oe);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=qo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Py=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(yS),o},providedIn:"root"})}return e})();function vS(e,t){if(!p(fS)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=p(Sr).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=p(Py).getToken(),r=p(mS);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function DS(...e){let t=[La,Fa,{provide:Fd,useExisting:Fa},{provide:Pd,useFactory:()=>p(cS,{optional:!0})??p(kd)},{provide:xy,useValue:vS,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return Tn(t)}var Fy=(()=>{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)(T(oe))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _="primary",hi=Symbol("RouteTitle"),Vd=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 $n(e){return new Vd(e)}function Ld(e,t,n){for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(o[0]===":")n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function $y(e,t,n){let r=n.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return Ld(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||n.pathMatch==="full"&&t.hasChildren()&&n.path!=="**")return null;let a={};return!Ld(i,e.slice(0,i.length),a)||!Ld(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function $a(e){return new Promise((t,n)=>{e.pipe(Ct()).subscribe({next:r=>t(r),error:r=>n(r)})})}function IS(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!It(e[n],t[n]))return!1;return!0}function It(e,t){let n=e?Hd(e):void 0,r=t?Hd(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],!zy(e[o],t[o]))return!1;return!0}function Hd(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function zy(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 wS(e){return e.length>0?e[e.length-1]:null}function Wn(e){return Li(e)?e:Tr(e)?J(Promise.resolve(e)):A(e)}function Gy(e){return Li(e)?$a(e):Promise.resolve(e)}var CS={exact:qy,subset:Zy},Wy={exact:bS,subset:TS,ignored:()=>!0},nf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},oi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function rf(e,t,n){let r=e instanceof Se?e:t.parseUrl(e);return Uo(()=>$d(t.lastSuccessfulNavigation()?.finalUrl??new Se,r,y(y({},oi),n)))}function $d(e,t,n){return CS[n.paths](e.root,t.root,n.matrixParams)&&Wy[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function bS(e,t){return It(e,t)}function qy(e,t,n){if(!Hn(e.segments,t.segments)||!Ba(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!qy(e.children[r],t.children[r],n))return!1;return!0}function TS(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>zy(e[n],t[n]))}function Zy(e,t,n){return Yy(e,t,t.segments,n)}function Yy(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!Hn(o,n)||t.hasChildren()||!Ba(o,n,r))}else if(e.segments.length===n.length){if(!Hn(e.segments,n)||!Ba(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Zy(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!Hn(e.segments,o)||!Ba(e.segments,o,r)||!e.children[_]?!1:Yy(e.children[_],t,i,r)}}function Ba(e,t,n){return t.every((r,o)=>Wy[n](e[o].parameters,r.parameters))}var Se=class{root;queryParams;fragment;_queryParamMap;constructor(t=new k([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=$n(this.queryParams),this._queryParamMap}toString(){return MS.serialize(this)}},k=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 Va(this)}},nn=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=$n(this.parameters),this._parameterMap}toString(){return Ky(this)}};function SS(e,t){return Hn(e,t)&&e.every((n,r)=>It(n.parameters,t[r].parameters))}function Hn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function _S(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===_&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==_&&(n=n.concat(t(o,r)))}),n}var Br=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new rn,providedIn:"root"})}return e})(),rn=class{parse(t){let n=new Gd(t);return new Se(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Xo(t.root,!0)}`,r=AS(t.queryParams),o=typeof t.fragment=="string"?`#${NS(t.fragment)}`:"";return`${n}${r}${o}`}},MS=new rn;function Va(e){return e.segments.map(t=>Ky(t)).join("/")}function Xo(e,t){if(!e.hasChildren())return Va(e);if(t){let n=e.children[_]?Xo(e.children[_],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==_&&r.push(`${o}:${Xo(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=_S(e,(r,o)=>o===_?[Xo(e.children[_],!1)]:[`${o}:${Xo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[_]!=null?`${Va(e)}/${n[0]}`:`${Va(e)}/(${n.join("//")})`}}function Qy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ja(e){return Qy(e).replace(/%3B/gi,";")}function NS(e){return encodeURI(e)}function zd(e){return Qy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ha(e){return decodeURIComponent(e)}function Ly(e){return Ha(e.replace(/\+/g,"%20"))}function Ky(e){return`${zd(e.path)}${RS(e.parameters)}`}function RS(e){return Object.entries(e).map(([t,n])=>`;${zd(t)}=${zd(n)}`).join("")}function AS(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${ja(n)}=${ja(o)}`).join("&"):`${ja(n)}=${ja(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var xS=/^[^\/()?;#]+/;function jd(e){let t=e.match(xS);return t?t[0]:""}var OS=/^[^\/()?;=#]+/;function kS(e){let t=e.match(OS);return t?t[0]:""}var PS=/^[^=?&#]+/;function FS(e){let t=e.match(PS);return t?t[0]:""}var LS=/^[^&#]+/;function jS(e){let t=e.match(LS);return t?t[0]:""}var Gd=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new k([],{}):new k([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new m(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,t));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,t)),(n.length>0||Object.keys(r).length>0)&&(o[_]=new k(n,r)),o}parseSegment(){let t=jd(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new nn(Ha(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=kS(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=jd(this.remaining);o&&(r=o,this.capture(r))}t[Ha(n)]=Ha(r)}parseQueryParam(t){let n=FS(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=jS(this.remaining);s&&(r=s,this.capture(r))}let o=Ly(n),i=Ly(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,n){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=jd(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new m(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=_);let a=this.parseChildren(n+1);r[s??_]=Object.keys(a).length===1&&a[_]?a[_]:new k([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new m(4011,!1)}};function Jy(e){return e.segments.length>0?new k([],{[_]:e}):e}function Xy(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Xy(o);if(r===_&&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 k(e.segments,t);return US(n)}function US(e){if(e.numberOfChildren===1&&e.children[_]){let t=e.children[_];return new k(e.segments.concat(t.segments),t.children)}return e}function on(e){return e instanceof Se}function ev(e,t,n=null,r=null,o=new rn){let i=tv(e);return nv(i,t,n,r,o)}function tv(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 k(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Jy(r);return t??o}function nv(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return Ud(i,i,i,n,r,o);let s=BS(t);if(s.toRoot())return Ud(i,i,new k([],{}),n,r,o);let a=VS(s,i,e),c=a.processChildren?ti(a.segmentGroup,a.index,s.commands):ov(a.segmentGroup,a.index,s.commands);return Ud(i,a.segmentGroup,c,n,r,o)}function za(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function ii(e){return typeof e=="object"&&e!=null&&e.outlets}function jy(e,t,n){e||="\u0275";let r=new Se;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function Ud(e,t,n,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>jy(u,d,i)):jy(u,l,i);let a;e===t?a=n:a=rv(e,t,n);let c=Jy(Xy(a));return new Se(c,s,o)}function rv(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=rv(i,t,n)}),new k(e.segments,r)}var Ga=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&za(r[0]))throw new m(4003,!1);let o=r.find(ii);if(o&&o!==wS(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function BS(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ga(!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 Ga(n,t,r)}var Or=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function VS(e,t,n){if(e.isAbsolute)return new Or(t,!0,0);if(!n)return new Or(t,!1,NaN);if(n.parent===null)return new Or(n,!0,0);let r=za(e.commands[0])?0:1,o=n.segments.length-1+r;return HS(n,o,e.numberOfDoubleDots)}function HS(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 Or(r,!1,o-i)}function $S(e){return ii(e[0])?e[0].outlets:{[_]:e}}function ov(e,t,n){if(e??=new k([],{}),e.segments.length===0&&e.hasChildren())return ti(e,t,n);let r=zS(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new k(e.segments.slice(0,r.pathIndex),{});return i.children[_]=new k(e.segments.slice(r.pathIndex),e.children),ti(i,0,o)}else return r.match&&o.length===0?new k(e.segments,{}):r.match&&!e.hasChildren()?Wd(e,t,n):r.match?ti(e,0,o):Wd(e,t,n)}function ti(e,t,n){if(n.length===0)return new k(e.segments,{});{let r=$S(n),o={};if(Object.keys(r).some(i=>i!==_)&&e.children[_]&&e.numberOfChildren===1&&e.children[_].segments.length===0){let i=ti(e.children[_],t,n);return new k(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=ov(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new k(e.segments,o)}}function zS(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(ii(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(!By(c,u,s))return i;r+=2}else{if(!By(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Wd(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(ii(i)){let c=GS(i.outlets);return new k(r,c)}if(o===0&&za(n[0])){let c=e.segments[t];r.push(new nn(c.path,Uy(n[0]))),o++;continue}let s=ii(i)?i.outlets[_]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&za(a)?(r.push(new nn(s,Uy(a))),o+=2):(r.push(new nn(s,{})),o++)}return new k(r,{})}function GS(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Wd(new k([],{}),0,r))}),t}function Uy(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function By(e,t,n){return e==n.path&&It(t,n.parameters)}var ni="imperative",fe=(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})(fe||{}),Fe=class{id;url;constructor(t,n){this.id=t,this.url=n}},zn=class extends Fe{type=fe.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}')`}},st=class extends Fe{urlAfterRedirects;type=fe.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Ie=(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})(Ie||{}),si=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(si||{}),ze=class extends Fe{reason;code;type=fe.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function iv(e){return e instanceof ze&&(e.code===Ie.Redirect||e.code===Ie.SupersededByNewNavigation)}var Lt=class extends Fe{reason;code;type=fe.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},Gn=class extends Fe{error;target;type=fe.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})`}},ai=class extends Fe{urlAfterRedirects;state;type=fe.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})`}},Wa=class extends Fe{urlAfterRedirects;state;type=fe.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})`}},qa=class extends Fe{urlAfterRedirects;state;shouldActivate;type=fe.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})`}},Za=class extends Fe{urlAfterRedirects;state;type=fe.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})`}},Ya=class extends Fe{urlAfterRedirects;state;type=fe.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})`}},Qa=class{route;type=fe.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ka=class{route;type=fe.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ja=class{snapshot;type=fe.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xa=class{snapshot;type=fe.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ec=class{snapshot;type=fe.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},tc=class{snapshot;type=fe.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Pr=class{},ci=class{},Fr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function WS(e){return!(e instanceof Pr)&&!(e instanceof Fr)&&!(e instanceof ci)}var nc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new Vr(this.rootInjector)}},Vr=(()=>{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 nc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(T(q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rc=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=qd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=qd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Zd(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Zd(t,this._root).map(n=>n.value)}};function qd(e,t){if(e===t.value)return t;for(let n of t.children){let r=qd(e,n);if(r)return r}return null}function Zd(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Zd(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 ui=class extends rc{snapshot;constructor(t,n){super(t),this.snapshot=n,sf(this,t)}toString(){return this.snapshot.toString()}};function sv(e,t){let n=qS(e,t),r=new he([new nn("",{})]),o=new he({}),i=new he({}),s=new he({}),a=new he(""),c=new jt(r,o,s,a,i,_,e,n.root);return c.snapshot=n.root,new ui(new Pe(c,[]),n)}function qS(e,t){let n={},r={},o={},s=new Lr([],n,o,"",r,_,e,null,{},t);return new li("",new Pe(s,[]))}var jt=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(V(u=>u[hi]))??A(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(V(t=>$n(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(t=>$n(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function of(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&&cv(o)&&(r.resolve[hi]=o.title),r}var Lr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[hi]}constructor(t,n,r,o,i,s,a,c,u,l){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,this._environmentInjector=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=$n(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=$n(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},li=class extends rc{url;constructor(t,n){super(n),this.url=t,sf(this,n)}toString(){return av(this._root)}};function sf(e,t){t.value._routerState=e,t.children.forEach(n=>sf(e,n))}function av(e){let t=e.children.length>0?` { ${e.children.map(av).join(", ")} } `:"";return`${e.value}${t}`}function Bd(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,It(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),It(t.params,n.params)||e.paramsSubject.next(n.params),IS(t.url,n.url)||e.urlSubject.next(n.url),It(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Yd(e,t){let n=It(e.params,t.params)&&SS(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Yd(e.parent,t.parent))}function cv(e){return typeof e.title=="string"||e.title===null}var uv=new E(""),af=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=_;activateEvents=new De;deactivateEvents=new De;attachEvents=new De;detachEvents=new De;routerOutletData=$m();parentContexts=p(Vr);location=p(Dt);changeDetector=p(Vo);inputBinder=p(ac,{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 Qd(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=rt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Xt]})}return e})(),Qd=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===jt?this.route:t===Vr?this.childContexts:t===uv?this.outletData:this.parent.get(t,n)}},ac=new E("");var cf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Jl({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&fa(0,"router-outlet")},dependencies:[af],encapsulation:2})}return e})();function uf(e){let t=e.children&&e.children.map(uf),n=t?U(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==_&&(n.component=cf),n}function ZS(e,t,n){let r=di(e,t._root,n?n._root:void 0);return new ui(r,t)}function di(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=YS(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=>di(e,a)),s}}let r=QS(t.value),o=t.children.map(i=>di(e,i));return new Pe(r,o)}}function YS(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return di(e,r,o);return di(e,r)})}function QS(e){return new jt(new he(e.url),new he(e.params),new he(e.queryParams),new he(e.fragment),new he(e.data),e.outlet,e.component,e)}var jr=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},lv="ngNavigationCancelingError";function oc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=on(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=dv(!1,Ie.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function dv(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[lv]=!0,n.cancellationCode=t,n}function KS(e){return fv(e)&&on(e.url)}function fv(e){return!!e&&e[lv]}var Kd=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),Bd(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 tc(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Xa(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Bd(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),Bd(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)}},ic=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},kr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function JS(e,t,n){let r=e._root,o=t?t._root:null;return ei(r,o,n,[r.value])}function XS(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Hr(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Wc(e)?e:t.get(e):r}function ei(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=xr(t);return e.children.forEach(s=>{e_(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ri(a,n.getContext(s),o)),o}function e_(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=t_(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ic(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ei(e,t,a?a.children:null,r,o):ei(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new kr(a.outlet.component,s))}else s&&ri(t,a,o),o.canActivateChecks.push(new ic(r)),i.component?ei(e,null,a?a.children:null,r,o):ei(e,null,n,r,o);return o}function t_(e,t,n){if(typeof n=="function")return de(t._environmentInjector,()=>n(e,t));switch(n){case"pathParamsChange":return!Hn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Hn(e.url,t.url)||!It(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yd(e,t)||!It(e.queryParams,t.queryParams);default:return!Yd(e,t)}}function ri(e,t,n){let r=xr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?ri(s,t.children.getContext(i),n):ri(s,null,n):ri(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new kr(t.outlet.component,o)):n.canDeactivateChecks.push(new kr(null,o)):n.canDeactivateChecks.push(new kr(null,o))}function pi(e){return typeof e=="function"}function n_(e){return typeof e=="boolean"}function r_(e){return e&&pi(e.canLoad)}function o_(e){return e&&pi(e.canActivate)}function i_(e){return e&&pi(e.canActivateChild)}function s_(e){return e&&pi(e.canDeactivate)}function a_(e){return e&&pi(e.canMatch)}function hv(e){return e instanceof ln||e?.name==="EmptyError"}var Ua=Symbol("INITIAL_VALUE");function Ur(){return Re(e=>Ic(e.map(t=>t.pipe(wt(1),wc(Ua)))).pipe(V(t=>{for(let n of t)if(n!==!0){if(n===Ua)return Ua;if(n===!1||c_(n))return n}return!0}),Le(t=>t!==Ua),wt(1)))}function c_(e){return on(e)||e instanceof jr}function pv(e){return e.aborted?A(void 0).pipe(wt(1)):new x(t=>{let n=()=>{t.next(),t.complete()};return e.addEventListener("abort",n),()=>e.removeEventListener("abort",n)})}function gv(e){return Yr(pv(e))}function u_(e){return ye(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?A(U(y({},t),{guardsResult:!0})):l_(i,n,r).pipe(ye(s=>s&&n_(s)?d_(n,o,e):A(s)),V(s=>U(y({},t),{guardsResult:s})))})}function l_(e,t,n){return J(e).pipe(ye(r=>m_(r.component,r.route,n,t)),Ct(r=>r!==!0,!0))}function d_(e,t,n){return J(t).pipe(dn(r=>nr(h_(r.route.parent,n),f_(r.route,n),g_(e,r.path),p_(e,r.route))),Ct(r=>r!==!0,!0))}function f_(e,t){return e!==null&&t&&t(new ec(e)),A(!0)}function h_(e,t){return e!==null&&t&&t(new Ja(e)),A(!0)}function p_(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return A(!0);let r=n.map(o=>Zr(()=>{let i=t._environmentInjector,s=Hr(o,i),a=o_(s)?s.canActivate(t,e):de(i,()=>s(t,e));return Wn(a).pipe(Ct())}));return A(r).pipe(Ur())}function g_(e,t){let n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(i=>XS(i)).filter(i=>i!==null).map(i=>Zr(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=Hr(a,c),l=i_(u)?u.canActivateChild(n,e):de(c,()=>u(n,e));return Wn(l).pipe(Ct())});return A(s).pipe(Ur())}));return A(o).pipe(Ur())}function m_(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let i=o.map(s=>{let a=t._environmentInjector,c=Hr(s,a),u=s_(c)?c.canDeactivate(e,t,n,r):de(a,()=>c(e,t,n,r));return Wn(u).pipe(Ct())});return A(i).pipe(Ur())}function y_(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return A(!0);let s=i.map(a=>{let c=Hr(a,e),u=r_(c)?c.canLoad(t,n):de(e,()=>c(t,n)),l=Wn(u);return o?l.pipe(gv(o)):l});return A(s).pipe(Ur(),mv(r))}function mv(e){return yc(je(t=>{if(typeof t!="boolean")throw oc(e,t)}),V(t=>t===!0))}function v_(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return A(!0);let a=s.map(c=>{let u=Hr(c,e),l=a_(u)?u.canMatch(t,n,o):de(e,()=>u(t,n,o));return Wn(l).pipe(gv(i))});return A(a).pipe(Ur(),mv(r))}var Ft=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}},fi=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function D_(e){throw new m(4e3,!1)}function E_(e){throw dv(!1,Ie.GuardRejected)}var Jd=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){return $(this,null,function*(){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[_])throw D_(`${t.redirectTo}`);o=o.children[_]}})}applyRedirectCommands(t,n,r,o,i){return $(this,null,function*(){let s=yield I_(n,o,i);if(s instanceof Se)throw new fi(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new fi(a);return a})}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Se(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 k(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 I_(e,t,n){if(typeof e=="string")return Promise.resolve(e);let r=e;return $a(Wn(de(n,()=>r(t))))}function w_(e,t){return e.providers&&!e._injector&&(e._injector=Fo(e.providers,t,`Route: ${e.path}`)),e._injector??t}function it(e){return e.outlet||_}function C_(e,t){let n=e.filter(r=>it(r)===t);return n.push(...e.filter(r=>it(r)!==t)),n}var Xd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yv(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function b_(e,t,n,r,o,i,s){let a=vv(e,t,n);if(!a.matched)return A(a);let c=yv(i(a));return r=w_(t,r),v_(r,t,n,o,c,s).pipe(V(u=>u===!0?a:y({},Xd)))}function vv(e,t,n){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Xd):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||$y)(n,e,t);if(!o)return y({},Xd);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 Vy(e,t,n,r,o){return n.length>0&&__(e,n,r,o)?{segmentGroup:new k(t,S_(r,new k(n,e.children))),slicedSegments:[]}:n.length===0&&M_(e,n,r)?{segmentGroup:new k(e.segments,T_(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new k(e.segments,e.children),slicedSegments:n}}function T_(e,t,n,r){let o={};for(let i of n)if(cc(e,t,i)&&!r[it(i)]){let s=new k([],{});o[it(i)]=s}return y(y({},r),o)}function S_(e,t){let n={};n[_]=t;for(let r of e)if(r.path===""&&it(r)!==_){let o=new k([],{});n[it(r)]=o}return n}function __(e,t,n,r){return n.some(o=>!cc(e,t,o)||!(it(o)!==_)?!1:!(r!==void 0&&it(o)===r))}function M_(e,t,n){return n.some(r=>cc(e,t,r))}function cc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function N_(e,t,n){return t.length===0&&!e.children[n]}var ef=class{};function R_(e,t,n,r,o,i,s="emptyOnly",a){return $(this,null,function*(){return new tf(e,t,n,r,o,s,i,a).recognize()})}var A_=31,tf=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Jd(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){return $(this,null,function*(){let t=Vy(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=yield this.match(t),o=new Pe(r,n),i=new li("",o),s=ev(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){return $(this,null,function*(){let n=new Lr([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),_,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,t,_,n),rootSnapshot:n}}catch(r){if(r instanceof fi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ft?this.noMatchError(r):r}})}processSegmentGroup(t,n,r,o,i){return $(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,i);let s=yield this.processSegment(t,n,r,r.segments,o,!0,i);return s instanceof Pe?[s]:[]})}processChildren(t,n,r,o){return $(this,null,function*(){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=C_(n,c),d=yield this.processSegmentGroup(t,l,u,c,o);s.push(...d)}let a=Dv(s);return x_(a),a})}processSegment(t,n,r,o,i,s,a){return $(this,null,function*(){for(let c of n)try{return yield this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a)}catch(u){if(u instanceof Ft||hv(u))continue;throw u}if(N_(r,o,i))return new ef;throw new Ft(r)})}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return $(this,null,function*(){if(it(r)!==s&&(s===_||!cc(o,i,r)))throw new Ft(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c);throw new Ft(o)})}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){return $(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=vv(n,o,i);if(!c)throw new Ft(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>A_&&(this.allowRedirects=!1));let h=this.createSnapshot(t,o,i,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=yield this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,yv(h),t),C=yield this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(t,r,n,C.concat(f),s,!1,a)})}createSnapshot(t,n,r,o,i){let s=new Lr(r,o,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,k_(n),it(n),n.component??n._loadedComponent??null,n,P_(n),t),a=of(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(t,n,r,o,i,s){return $(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=we=>this.createSnapshot(t,r,we.consumedSegments,we.parameters,s),c=yield $a(b_(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(n.children={}),!c?.matched)throw new Ft(n);t=r._injector??t;let{routes:u}=yield this.getChildConfig(t,r,o),l=r._loadedInjector??t,{parameters:d,consumedSegments:f,remainingSegments:h}=c,g=this.createSnapshot(t,r,f,d,s),{segmentGroup:C,slicedSegments:D}=Vy(n,f,h,u,i);if(D.length===0&&C.hasChildren()){let we=yield this.processChildren(l,u,C,g);return new Pe(g,we)}if(u.length===0&&D.length===0)return new Pe(g,[]);let I=it(r)===i,Z=yield this.processSegment(l,u,C,D,I?_:i,!0,g);return new Pe(g,Z instanceof Pe?[Z]:[])})}getChildConfig(t,n,r){return $(this,null,function*(){if(n.children)return{routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let i=n._loadedNgModuleFactory;return i&&!n._loadedInjector&&(n._loadedInjector=i.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield $a(y_(t,n,r,this.urlSerializer,this.abortSignal))){let i=yield this.configLoader.loadChildren(t,n);return n._loadedRoutes=i.routes,n._loadedInjector=i.injector,n._loadedNgModuleFactory=i.factory,i}throw E_(n)}return{routes:[],injector:t}})}};function x_(e){e.sort((t,n)=>t.value.outlet===_?-1:n.value.outlet===_?1:t.value.outlet.localeCompare(n.value.outlet))}function O_(e){let t=e.value.routeConfig;return t&&t.path===""}function Dv(e){let t=[],n=new Set;for(let r of e){if(!O_(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=Dv(r.children);t.push(new Pe(r.value,o))}return t.filter(r=>!n.has(r))}function k_(e){return e.data||{}}function P_(e){return e.resolve||{}}function F_(e,t,n,r,o,i,s){return ye(a=>$(null,null,function*(){let{state:c,tree:u}=yield R_(e,t,n,r,a.extractedUrl,o,i,s);return U(y({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function L_(e){return ye(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return A(t);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of Ev(a))i.add(c);let s=0;return J(i).pipe(dn(a=>o.has(a)?j_(a,n,e):(a.data=of(a,a.parent,e).resolve,A(void 0))),je(()=>s++),ji(1),ye(a=>s===i.size?A(t):pe))})}function Ev(e){let t=e.children.map(n=>Ev(n)).flat();return[e,...t]}function j_(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!cv(r)&&(o[hi]=r.title),Zr(()=>(e.data=of(e,e.parent,n).resolve,U_(o,e,t).pipe(V(i=>(e._resolvedData=i,e.data=y(y({},e.data),i),null)))))}function U_(e,t,n){let r=Hd(e);if(r.length===0)return A({});let o={};return J(r).pipe(ye(i=>B_(e[i],t,n).pipe(Ct(),je(s=>{if(s instanceof jr)throw oc(new rn,s);o[i]=s}))),ji(1),V(()=>o),Xn(i=>hv(i)?pe:Ec(i)))}function B_(e,t,n){let r=t._environmentInjector,o=Hr(e,r),i=o.resolve?o.resolve(t,n):de(r,()=>o(t,n));return Wn(i)}function Hy(e){return Re(t=>{let n=e(t);return n?J(n).pipe(V(()=>t)):A(t)})}var lf=(()=>{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===_);return r}getResolvedTitleForRoute(n){return n.data[hi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(Iv),providedIn:"root"})}return e})(),Iv=(()=>{class e extends lf{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)(T(Fy))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$r=new E("",{factory:()=>({})}),gi=new E(""),wv=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(hd);loadComponent(n,r){return $(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=$(this,null,function*(){try{let i=yield Gy(de(n,()=>r.loadComponent())),s=yield Tv(bv(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,o),o})}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=$(this,null,function*(){try{let i=yield Cv(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cv(e,t,n,r){return $(this,null,function*(){let o=yield Gy(de(n,()=>e.loadChildren())),i=yield Tv(bv(o)),s;i instanceof ua||Array.isArray(i)?s=i:s=yield t.compileModuleAsync(i),r&&r(e);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(n).injector,l=s,c=a.get(gi,[],{optional:!0,self:!0}).flat()),{routes:c.map(uf),injector:a,factory:l}})}function V_(e){return e&&typeof e=="object"&&"default"in e}function bv(e){return V_(e)?e.default:e}function Tv(e){return $(this,null,function*(){return e})}var uc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(H_),providedIn:"root"})}return e})(),H_=(()=>{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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sv=new E("");var $_=()=>{},_v=new E(""),Mv=(()=>{class e{currentNavigation=W(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=W(null);events=new ue;transitionAbortWithErrorSubject=new ue;configLoader=p(wv);environmentInjector=p(q);destroyRef=p(ht);urlSerializer=p(Br);rootContexts=p(Vr);location=p(Mr);inputBindingEnabled=p(ac,{optional:!0})!==null;titleStrategy=p(lf);options=p($r,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(uc);createViewTransition=p(Sv,{optional:!0});navigationErrorHandler=p(_v,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>A(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Qa(o)),r=o=>this.events.next(new Ka(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;K(()=>{this.transitions?.next(U(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(n){return this.transitions=new he(null),this.transitions.pipe(Le(r=>r!==null),Re(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return A(r).pipe(Re(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Ie.SupersededByNewNavigation),pe;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?U(y({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new Lt(a.id,this.urlSerializer.serialize(a.rawUrl),"",si.IgnoredSameUrlNavigation)),a.resolve(!1),pe;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return A(a).pipe(Re(d=>(this.events.next(new zn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?pe:Promise.resolve(d))),F_(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),je(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=d.urlAfterRedirects,f)),this.events.next(new ci)}),Re(d=>J(r.routesRecognizeHandler.deferredHandle??A(void 0)).pipe(V(()=>d))),je(()=>{let d=new ai(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:f,source:h,restoredState:g,extras:C}=a,D=new zn(d,this.urlSerializer.serialize(f),h,g);this.events.next(D);let I=sv(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=U(y({},a),{targetSnapshot:I,urlAfterRedirects:f,extras:U(y({},C),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(Z=>(Z.finalUrl=f,Z)),A(r)}else return this.events.next(new Lt(a.id,this.urlSerializer.serialize(a.extractedUrl),"",si.IgnoredByUrlHandlingStrategy)),a.resolve(!1),pe}),V(a=>{let c=new Wa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=U(y({},a),{guards:JS(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),u_(a=>this.events.next(a)),Re(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw oc(this.urlSerializer,a.guardsResult);let c=new qa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return pe;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",Ie.GuardRejected),pe;if(a.guards.canActivateChecks.length===0)return A(a);let u=new Za(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return pe;let l=!1;return A(a).pipe(L_(this.paramsInheritanceStrategy),je({next:()=>{l=!0;let d=new Ya(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",Ie.NoDataFromResolver)}}))}),Hy(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let f=l._environmentInjector;d.push(this.configLoader.loadComponent(f,l.routeConfig).then(h=>{l.component=h}))}for(let f of l.children)d.push(...c(f));return d},u=c(a.targetSnapshot.root);return u.length===0?A(a):J(Promise.all(u).then(()=>a))}),Hy(()=>this.afterPreactivation()),Re(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?J(u).pipe(V(()=>r)):A(r)}),wt(1),Re(a=>{let c=ZS(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=U(y({},a),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new Pr);let u=r.beforeActivateHandler.deferredHandle;return u?J(u.then(()=>a)):A(a)}),je(a=>{new Kd(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=$_,c)),this.lastSuccessfulNavigation.set(K(this.currentNavigation)),this.events.next(new st(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Yr(pv(i.signal).pipe(Le(()=>!o&&!r.targetRouterState),je(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",Ie.Aborted)}))),je({complete:()=>{o=!0}}),Yr(this.transitionAbortWithErrorSubject.pipe(je(a=>{throw a}))),er(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",Ie.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Xn(a=>{if(o=!0,this.destroyed)return r.resolve(!1),pe;if(fv(a))this.events.next(new ze(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),KS(a)?this.events.next(new Fr(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Gn(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=de(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof jr){let{message:l,cancellationCode:d}=oc(this.urlSerializer,u);this.events.next(new ze(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new Fr(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return pe}))}))}cancelNavigationTransition(n,r,o){let i=new ze(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=K(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=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function z_(e){return e!==ni}var Nv=new E("");var Rv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(G_),providedIn:"root"})}return e})(),sc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}shouldDestroyInjector(t){return!0}},G_=(()=>{class e extends sc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=No(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lc=(()=>{class e{urlSerializer=p(Br);options=p($r,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Mr);urlHandlingStrategy=p(uc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Se;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 Se?this.urlSerializer.serialize(s):s}routerUrlState(n){return n?.targetBrowserUrl===void 0||n?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(n.finalUrl)}}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=sv(null,p(q));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(W_),providedIn:"root"})}return e})(),W_=(()=>{class e extends lc{currentPageId=0;lastSuccessfulId=-1;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",{replaceUrl:!0})})})}handleRouterEvent(n,r){n instanceof zn?this.updateStateMemento():n instanceof Lt?this.commitTransition(r):n instanceof ai?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Pr?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof ze&&!iv(n)?this.restoreHistory(r):n instanceof Gn?this.restoreHistory(r,!0):n instanceof st&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(n)||s){let c=this.browserPageId,u=y(y({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(n,"",u)}else{let c=y(y({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(n,"",c)}}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())}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r,o){return this.canceledNavigationResolution==="computed"?y({navigationId:n,\u0275routerPageId:r},this.routerUrlState(o)):y({navigationId:n},this.routerUrlState(o))}static \u0275fac=(()=>{let n;return function(o){return(n||(n=No(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function df(e,t){e.events.pipe(Le(n=>n instanceof st||n instanceof ze||n instanceof Gn||n instanceof Lt),V(n=>n instanceof st||n instanceof Lt?0:(n instanceof ze?n.code===Ie.Redirect||n.code===Ie.SupersededByNewNavigation:!1)?2:1),Le(n=>n!==2),wt(1)).subscribe(()=>{t()})}var qn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(ed);stateManager=p(lc);options=p($r,{optional:!0})||{};pendingTasks=p(pt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Mv);urlSerializer=p(Br);location=p(Mr);urlHandlingStrategy=p(uc);injector=p(q);_events=new ue;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(Rv);injectorCleanup=p(Nv,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(gi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(ac,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new se;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=K(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof ze&&r.code!==Ie.Redirect&&r.code!==Ie.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof st)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Fr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||z_(o.source)},s);this.scheduleNavigation(a,ni,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}WS(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),ni,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o,i)=>{this.navigateToSyncWithBrowser(n,o,r,i)})}navigateToSyncWithBrowser(n,r,o,i){let s=o?.navigationId?o:null,a=o?.\u0275routerUrl??n;if(o?.\u0275routerUrl&&(i=U(y({},i),{browserUrl:n})),o){let u=y({},o);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(i.state=u)}let c=this.parseUrl(a);this.scheduleNavigation(c,r,s,i).catch(u=>{this.disposed||this.injector.get(Oe)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return K(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(uf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),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 f=o?o.snapshot:this.routerState.snapshot.root;d=tv(f)}catch(f){(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return nv(d,n,l,u??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=on(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ni,null,r)}navigate(n,r={skipLocationChange:!1}){return q_(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch(r){return this.console.warn(Ht(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},nf):r===!1?o=y({},oi):o=y(y({},oi),r),on(n))return $d(this.currentUrlTree,n,o);let i=this.parseUrl(n);return $d(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,f)=>{a=d,c=f});let l=this.pendingTasks.add();return df(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(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function q_(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var Y_=(()=>{class e{router=p(qn);stateManager=p(lc);fragment=W("");queryParams=W({});path=W("");serializer=p(Br);constructor(){this.updateState(),this.router.events?.subscribe(n=>{n instanceof st&&this.updateState()})}updateState(){let{fragment:n,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(n),this.queryParams.set(o),this.path.set(this.serializer.serialize(new Se(r)))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dc=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=p(new ma("href"),{optional:!0});reactiveHref=pd(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return K(this.reactiveHref)}set href(n){this.reactiveHref.set(n)}set target(n){this._target.set(n)}get target(){return K(this._target)}_target=W(void 0);set queryParams(n){this._queryParams.set(n)}get queryParams(){return K(this._queryParams)}_queryParams=W(void 0,{equal:()=>!1});set fragment(n){this._fragment.set(n)}get fragment(){return K(this._fragment)}_fragment=W(void 0);set queryParamsHandling(n){this._queryParamsHandling.set(n)}get queryParamsHandling(){return K(this._queryParamsHandling)}_queryParamsHandling=W(void 0);set state(n){this._state.set(n)}get state(){return K(this._state)}_state=W(void 0,{equal:()=>!1});set info(n){this._info.set(n)}get info(){return K(this._info)}_info=W(void 0,{equal:()=>!1});set relativeTo(n){this._relativeTo.set(n)}get relativeTo(){return K(this._relativeTo)}_relativeTo=W(void 0);set preserveFragment(n){this._preserveFragment.set(n)}get preserveFragment(){return K(this._preserveFragment)}_preserveFragment=W(!1);set skipLocationChange(n){this._skipLocationChange.set(n)}get skipLocationChange(){return K(this._skipLocationChange)}_skipLocationChange=W(!1);set replaceUrl(n){this._replaceUrl.set(n)}get replaceUrl(){return K(this._replaceUrl)}_replaceUrl=W(!1);isAnchorElement;onChanges=new ue;applicationErrorHandler=p(Oe);options=p($r,{optional:!0});reactiveRouterState=p(Y_);constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.onChanges.next(this)}routerLinkInput=W(null);set routerLink(n){n==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(on(n)?this.routerLinkInput.set(n):this.routerLinkInput.set(Array.isArray(n)?n:[n]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}_urlTree=Uo(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let n=o=>o==="preserve"||o==="merge";(n(this._queryParamsHandling())||n(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:on(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(n,r)=>this.computeHref(n)===this.computeHref(r)});get urlTree(){return K(this._urlTree)}computeHref(n){return n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n))??"":null}static \u0275fac=function(r){return new(r||e)(H(qn),H(jt),Ro("tabindex"),H(br),H(yt),H(_r))};static \u0275dir=rt({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&ha("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&da("href",o.reactiveHref(),Al)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",va],skipLocationChange:[2,"skipLocationChange","skipLocationChange",va],replaceUrl:[2,"replaceUrl","replaceUrl",va],routerLink:"routerLink"},features:[Xt]})}return e})(),Q_=(()=>{class e{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new De;link=p(dc,{optional:!0});constructor(n,r,o,i){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=n.events.subscribe(s=>{s instanceof st&&this.update()})}ngAfterContentInit(){A(this.links.changes,A(null)).pipe(tr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=J(n).pipe(tr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=K_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?y({},nf):y({},oi);return o=>{let i=o.urlTree;return i?K(rf(i,n,r)):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static \u0275fac=function(r){return new(r||e)(H(qn),H(yt),H(br),H(Vo))};static \u0275dir=rt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&pa(i,dc,5),r&2){let s;ld(s=dd())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Xt]})}return e})();function K_(e){let t=e;return!!(t.paths||t.matrixParams||t.queryParams||t.fragment)}var J_=new E("");function X_(e,...t){return Tn([{provide:gi,multi:!0,useValue:e},[],{provide:jt,useFactory:eM},{provide:la,multi:!0,useFactory:tM},t.map(n=>n.\u0275providers)])}function eM(){return p(qn).routerState.root}function tM(){let e=p(Me);return t=>{let n=e.get(Un);if(t!==n.components[0])return;let r=e.get(qn),o=e.get(nM);e.get(rM)===1&&r.initialNavigation(),e.get(oM,null,{optional:!0})?.setUpPreloading(),e.get(J_,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var nM=new E("",{factory:()=>new ue}),rM=new E("",{factory:()=>1});var oM=new E("");function Av(e,t){if(t){let n=e.find(r=>r.id===t);if(n)return n}return e.find(n=>n.isRoot)??e[0]??null}var ff="vsaf.project";function iM(){try{return localStorage.getItem(ff)}catch(e){return null}}function xv(e){try{e===null?localStorage.removeItem(ff):localStorage.setItem(ff,e)}catch(t){}}var Ov=class e{http=p(La);projects=W([]);selectedId=W(iM());loaded=W(!1);get currentId(){return this.selectedId()}get selectedProject(){let t=this.selectedId();return this.projects().find(n=>n.id===t)??null}load(){this.http.get("/api/projects").subscribe({next:t=>{let n=t?.projects??[];this.projects.set(n);let r=Av(n,this.selectedId());this.selectedId.set(r?.id??null),xv(r?.id??null),this.loaded.set(!0)},error:()=>{this.projects.set([]),this.selectedId.set(null),this.loaded.set(!0)}})}select(t){this.selectedId.set(t),xv(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};export{y as a,U as b,x as c,ue as d,J as e,A as f,V as g,iD as h,Xn as i,er as j,m as k,Ji as l,v as m,$t as n,E as o,p,_h as q,Mh as r,Hh as s,$h as t,ht as u,De as v,Y as w,W as x,Xt as y,No as z,yt as A,rI as B,EI as C,Ul as D,br as E,H as F,Jl as G,jn as H,rt as I,cm as J,lm as K,Tr as L,Un as M,da as N,SC as O,_C as P,MC as Q,NC as R,RC as S,pm as T,Gs as U,ad as V,fa as W,cd as X,ud as Y,gm as Z,LC as _,ha as $,HC as aa,$C as ba,Em as ca,Im as da,eb as ea,db as fa,_m as ga,fd as ha,Mm as ia,Rm as ja,gb as ka,Am as la,Db as ma,Eb as na,Ib as oa,bb as pa,Sb as qa,Mb as ra,K as sa,Uo as ta,yU as ua,Vo as va,va as wa,xt as xa,MT as ya,fy as za,NT as Aa,RT as Ba,OT as Ca,gy as Da,qT as Ea,La as Fa,DS as Ga,jt as Ha,af as Ia,qn as Ja,dc as Ka,Q_ as La,X_ as Ma,Ov as Na};
|