@ngocsangairvds/vsaf 5.1.6 → 5.1.8
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 +4 -1
- package/packages/cli/dist/adapters/antigravity.d.ts.map +1 -1
- package/packages/cli/dist/adapters/antigravity.js +9 -30
- package/packages/cli/dist/adapters/antigravity.js.map +1 -1
- package/packages/cli/dist/adapters/claude.d.ts.map +1 -1
- package/packages/cli/dist/adapters/claude.js +8 -10
- package/packages/cli/dist/adapters/claude.js.map +1 -1
- package/packages/cli/dist/adapters/codex.d.ts.map +1 -1
- package/packages/cli/dist/adapters/codex.js +6 -9
- package/packages/cli/dist/adapters/codex.js.map +1 -1
- package/packages/cli/dist/adapters/cursor.d.ts.map +1 -1
- package/packages/cli/dist/adapters/cursor.js +22 -24
- package/packages/cli/dist/adapters/cursor.js.map +1 -1
- package/packages/cli/dist/commands/init.d.ts.map +1 -1
- package/packages/cli/dist/commands/init.js +7 -19
- package/packages/cli/dist/commands/init.js.map +1 -1
- package/packages/cli/dist/commands/install.d.ts +3 -6
- package/packages/cli/dist/commands/install.d.ts.map +1 -1
- package/packages/cli/dist/commands/install.js +6 -9
- package/packages/cli/dist/commands/install.js.map +1 -1
- package/packages/cli/dist/commands/skill.d.ts.map +1 -1
- package/packages/cli/dist/commands/skill.js +35 -14
- package/packages/cli/dist/commands/skill.js.map +1 -1
- package/packages/cli/dist/index.js +2 -2
- package/packages/cli/dist/index.js.map +1 -1
- package/packages/cli/dist/install/orchestrator.d.ts +0 -8
- package/packages/cli/dist/install/orchestrator.d.ts.map +1 -1
- package/packages/cli/dist/install/orchestrator.js +3 -54
- package/packages/cli/dist/install/orchestrator.js.map +1 -1
- package/packages/cli/dist/server/routes/runs.d.ts.map +1 -1
- package/packages/cli/dist/server/routes/runs.js +81 -3
- package/packages/cli/dist/server/routes/runs.js.map +1 -1
- package/packages/cli/dist/server/routes/workflows.d.ts.map +1 -1
- package/packages/cli/dist/server/routes/workflows.js +76 -17
- package/packages/cli/dist/server/routes/workflows.js.map +1 -1
- package/packages/cli/dist/server/services/execution-manager.d.ts +11 -1
- package/packages/cli/dist/server/services/execution-manager.d.ts.map +1 -1
- package/packages/cli/dist/server/services/execution-manager.js +88 -17
- package/packages/cli/dist/server/services/execution-manager.js.map +1 -1
- package/packages/cli/dist/server/static.d.ts.map +1 -1
- package/packages/cli/dist/server/static.js +4 -1
- package/packages/cli/dist/server/static.js.map +1 -1
- package/packages/cli/dist/server/workflow-path.d.ts +3 -0
- package/packages/cli/dist/server/workflow-path.d.ts.map +1 -0
- package/packages/cli/dist/server/workflow-path.js +25 -0
- package/packages/cli/dist/server/workflow-path.js.map +1 -0
- package/packages/core/dist/isolation/workspace-manager.js +1 -1
- package/packages/core/dist/isolation/workspace-manager.js.map +1 -1
- package/packages/core/dist/store/recovery.d.ts.map +1 -1
- package/packages/core/dist/store/recovery.js +12 -1
- package/packages/core/dist/store/recovery.js.map +1 -1
- package/packages/core/dist/store/run-store.d.ts +3 -0
- package/packages/core/dist/store/run-store.d.ts.map +1 -1
- package/packages/core/dist/store/run-store.js +33 -0
- package/packages/core/dist/store/run-store.js.map +1 -1
- package/packages/core/dist/store/types.d.ts +2 -2
- package/packages/core/dist/store/types.d.ts.map +1 -1
- package/packages/core/dist/store/types.js.map +1 -1
- package/packages/core/dist/store/wal.js +1 -1
- package/packages/core/dist/store/wal.js.map +1 -1
- package/packages/web/dist/web/3rdpartylicenses.txt +26 -26
- package/packages/web/dist/web/browser/chunk-4YPNNQ2T.js +4 -0
- package/packages/web/dist/web/browser/chunk-E227ZHPJ.js +1 -0
- package/packages/web/dist/web/browser/chunk-JFBK3MNW.js +1 -0
- package/packages/web/dist/web/browser/chunk-L2VOQBBI.js +1 -0
- package/packages/web/dist/web/browser/chunk-OJJM5VOH.js +1 -0
- package/packages/web/dist/web/browser/chunk-U2H3QYAG.js +5 -0
- package/packages/web/dist/web/browser/chunk-VA7KFQOR.js +1 -0
- package/packages/web/dist/web/browser/chunk-WV3C6DNH.js +1 -0
- package/packages/web/dist/web/browser/index.html +2 -2
- package/packages/web/dist/web/browser/main-THGFWXYL.js +1 -0
- package/packages/web/dist/web/browser/{styles-JBPZVY54.css → styles-PWTTI45T.css} +1 -1
- package/scripts/win-vm-prereqs.ps1 +40 -0
- package/skills/vds-skill/runtime/.claude/phase7-CLOSURE.md +100 -0
- package/skills/vds-skill/runtime/AGENTS.md +250 -0
- package/packages/web/dist/web/browser/chunk-IPMFXW6N.js +0 -1
- package/packages/web/dist/web/browser/chunk-IX2QWMX2.js +0 -1
- package/packages/web/dist/web/browser/chunk-QMAH5NZC.js +0 -1
- package/packages/web/dist/web/browser/chunk-RGFLNLPM.js +0 -1
- package/packages/web/dist/web/browser/chunk-RKWDHBN3.js +0 -5
- package/packages/web/dist/web/browser/chunk-XGYEZIV4.js +0 -1
- package/packages/web/dist/web/browser/main-IIUZVPMI.js +0 -1
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var Xm=Object.defineProperty,ey=Object.defineProperties;var ty=Object.getOwnPropertyDescriptors;var sd=Object.getOwnPropertySymbols;var ny=Object.prototype.hasOwnProperty,ry=Object.prototype.propertyIsEnumerable;var ad=(e,t,n)=>t in e?Xm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})ny.call(t,n)&&ad(e,n,t[n]);if(sd)for(var n of sd(t))ry.call(t,n)&&ad(e,n,t[n]);return e},j=(e,t)=>ey(e,ty(t));var H=(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())});var ge=null,ti=!1,ka=1,oy=null,ie=Symbol("SIGNAL");function w(e){let t=ge;return ge=e,t}function ni(){return ge}var Xt={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 en(e){if(ti)throw new Error("");if(ge===null)return;ge.consumerOnSignalRead(e);let t=ge.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ge.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ge.producers,n!==void 0&&n.producer===e)){ge.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ge&&(!r||sy(o,ge)))return;let i=Bn(ge),s={producer:e,consumer:ge,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ge.producersTail=s,t!==void 0?t.nextProducer=s:ge.producers=s,i&&dd(e,s)}function cd(){ka++}function tn(e){if(!(Bn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ka)){if(!e.producerMustRecompute(e)&&!ri(e)){jn(e);return}e.producerRecomputeValue(e),jn(e)}}function Pa(e){if(e.consumers===void 0)return;let t=ti;ti=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||iy(r)}}finally{ti=t}}function Fa(){return ge?.consumerAllowSignalWrites!==!1}function iy(e){e.dirty=!0,Pa(e),e.consumerMarkedDirty?.(e)}function jn(e){e.dirty=!1,e.lastCleanEpoch=ka}function nn(e){return e&&ud(e),w(e)}function ud(e){e.producersTail=void 0,e.recomputing=!0}function Un(e,t){w(t),e&&ld(e)}function ld(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Bn(e))do n=La(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function ri(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(tn(n),r!==n.version))return!0}return!1}function xr(e){if(Bn(e)){let t=e.producers;for(;t!==void 0;)t=La(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function dd(e,t){let n=e.consumersTail,r=Bn(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)dd(o.producer,o)}function La(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,!Bn(t)){let i=t.producers;for(;i!==void 0;)i=La(i)}return n}function Bn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Or(e){oy?.(e)}function sy(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 kr(e,t){return Object.is(e,t)}function oi(e,t){let n=Object.create(ay);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(tn(n),en(n),n.value===nt)throw n.error;return n.value};return r[ie]=n,Or(n),r}var Kt=Symbol("UNSET"),Jt=Symbol("COMPUTING"),nt=Symbol("ERRORED"),ay=j(y({},Xt),{value:Kt,dirty:!0,error:null,equal:kr,kind:"computed",producerMustRecompute(e){return e.value===Kt||e.value===Jt},producerRecomputeValue(e){if(e.value===Jt)throw new Error("");let t=e.value;e.value=Jt;let n=nn(e),r,o=!1;try{r=e.computation(),w(null),o=t!==Kt&&t!==nt&&r!==nt&&e.equal(t,r)}catch(i){r=nt,e.error=i}finally{Un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function cy(){throw new Error}var fd=cy;function hd(e){fd(e)}function ja(e){fd=e}var uy=null;function Ua(e,t){let n=Object.create(si);n.value=e,t!==void 0&&(n.equal=t);let r=()=>pd(n);return r[ie]=n,Or(n),[r,s=>rn(n,s),s=>ii(n,s)]}function pd(e){return en(e),e.value}function rn(e,t){Fa()||hd(e),e.equal(e.value,t)||(e.value=t,ly(e))}function ii(e,t){Fa()||hd(e),rn(e,t(e.value))}var si=j(y({},Xt),{equal:kr,value:void 0,kind:"signal"});function ly(e){e.version++,cd(),Pa(e),uy?.(e)}function _(e){return typeof e=="function"}function Vn(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 ai=Vn(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 Pr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var re=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(_(r))try{r()}catch(i){t=i instanceof ai?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gd(i)}catch(s){t=t??[],s instanceof ai?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ai(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gd(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)&&Pr(n,t)}remove(t){let{_finalizers:n}=this;n&&Pr(n,t),t instanceof e&&t._removeParent(this)}};re.EMPTY=(()=>{let e=new re;return e.closed=!0,e})();var Ba=re.EMPTY;function ci(e){return e instanceof re||e&&"closed"in e&&_(e.remove)&&_(e.add)&&_(e.unsubscribe)}function gd(e){_(e)?e():e.unsubscribe()}var ze={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Hn={setTimeout(e,t,...n){let{delegate:r}=Hn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Hn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ui(e){Hn.setTimeout(()=>{let{onUnhandledError:t}=ze;if(t)t(e);else throw e})}function Fr(){}var md=Va("C",void 0,void 0);function yd(e){return Va("E",void 0,e)}function vd(e){return Va("N",e,void 0)}function Va(e,t,n){return{kind:e,value:t,error:n}}var on=null;function $n(e){if(ze.useDeprecatedSynchronousErrorHandling){let t=!on;if(t&&(on={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=on;if(on=null,n)throw r}}else e()}function Dd(e){ze.useDeprecatedSynchronousErrorHandling&&on&&(on.errorThrown=!0,on.error=e)}var sn=class extends re{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ci(t)&&t.add(this)):this.destination=hy}static create(t,n,r){return new zn(t,n,r)}next(t){this.isStopped?$a(vd(t),this):this._next(t)}error(t){this.isStopped?$a(yd(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$a(md,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()}}},dy=Function.prototype.bind;function Ha(e,t){return dy.call(e,t)}var za=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){li(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){li(r)}else li(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){li(n)}}},zn=class extends sn{constructor(t,n,r){super();let o;if(_(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ze.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ha(t.next,i),error:t.error&&Ha(t.error,i),complete:t.complete&&Ha(t.complete,i)}):o=t}this.destination=new za(o)}};function li(e){ze.useDeprecatedSynchronousErrorHandling?Dd(e):ui(e)}function fy(e){throw e}function $a(e,t){let{onStoppedNotification:n}=ze;n&&Hn.setTimeout(()=>n(e,t))}var hy={closed:!0,next:Fr,error:fy,complete:Fr};var Gn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ge(e){return e}function Ga(...e){return Wa(e)}function Wa(e){return e.length===0?Ge:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var A=(()=>{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=gy(n)?n:new zn(n,r,o);return $n(()=>{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=Ed(r),new r((o,i)=>{let s=new zn({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)}[Gn](){return this}pipe(...n){return Wa(n)(this)}toPromise(n){return n=Ed(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 Ed(e){var t;return(t=e??ze.Promise)!==null&&t!==void 0?t:Promise}function py(e){return e&&_(e.next)&&_(e.error)&&_(e.complete)}function gy(e){return e&&e instanceof sn||py(e)&&ci(e)}function my(e){return _(e?.lift)}function P(e){return t=>{if(my(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 qa(e,t,n,r,o)}var qa=class extends sn{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))}}};var Id=Vn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends A{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new di(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Id}next(n){$n(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){$n(()=>{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(){$n(()=>{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?Ba:(this.currentObservers=null,i.push(n),new re(()=>{this.currentObservers=null,Pr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new A;return n.source=this,n}}return e.create=(t,n)=>new di(t,n),e})(),di=class extends le{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:Ba}};var de=class extends le{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 fe=new A(e=>e.complete());function wd(e){return e&&_(e.schedule)}function Cd(e){return e[e.length-1]}function fi(e){return _(Cd(e))?e.pop():void 0}function Rt(e){return wd(Cd(e))?e.pop():void 0}function Td(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 bd(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 Sd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(b){return new Promise(function(v,I){i.push([f,b,v,I])>1||c(f,b)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(b){h(i[0][3],b)}}function u(f){f.value instanceof an?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function _d(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 bd=="function"?bd(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 hi=e=>e&&typeof e.length=="number"&&typeof e!="function";function pi(e){return _(e?.then)}function gi(e){return _(e[Gn])}function mi(e){return Symbol.asyncIterator&&_(e?.[Symbol.asyncIterator])}function yi(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 yy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var vi=yy();function Di(e){return _(e?.[vi])}function Ei(e){return Sd(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 Ii(e){return _(e?.getReader)}function X(e){if(e instanceof A)return e;if(e!=null){if(gi(e))return vy(e);if(hi(e))return Dy(e);if(pi(e))return Ey(e);if(mi(e))return Md(e);if(Di(e))return Iy(e);if(Ii(e))return wy(e)}throw yi(e)}function vy(e){return new A(t=>{let n=e[Gn]();if(_(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Dy(e){return new A(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Ey(e){return new A(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ui)})}function Iy(e){return new A(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Md(e){return new A(t=>{Cy(e,t).catch(n=>t.error(n))})}function wy(e){return Md(Ei(e))}function Cy(e,t){var n,r,o,i;return Td(this,void 0,void 0,function*(){try{for(n=_d(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 Ce(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 wi(e,t=0){return P((n,r)=>{n.subscribe(F(r,o=>Ce(r,e,()=>r.next(o),t),()=>Ce(r,e,()=>r.complete(),t),o=>Ce(r,e,()=>r.error(o),t)))})}function Ci(e,t=0){return P((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Nd(e,t){return X(e).pipe(Ci(t),wi(t))}function Rd(e,t){return X(e).pipe(Ci(t),wi(t))}function Ad(e,t){return new A(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function xd(e,t){return new A(n=>{let r;return Ce(n,t,()=>{r=e[vi](),Ce(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)}),()=>_(r?.return)&&r.return()})}function bi(e,t){if(!e)throw new Error("Iterable cannot be null");return new A(n=>{Ce(n,t,()=>{let r=e[Symbol.asyncIterator]();Ce(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Od(e,t){return bi(Ei(e),t)}function kd(e,t){if(e!=null){if(gi(e))return Nd(e,t);if(hi(e))return Ad(e,t);if(pi(e))return Rd(e,t);if(mi(e))return bi(e,t);if(Di(e))return xd(e,t);if(Ii(e))return Od(e,t)}throw yi(e)}function ee(e,t){return t?kd(e,t):X(e)}function N(...e){let t=Rt(e);return ee(e,t)}function Za(e,t){let n=_(e)?e:()=>e,r=o=>o.error(n());return new A(t?o=>t.schedule(r,0,o):r)}function Ti(e){return!!e&&(e instanceof A||_(e.lift)&&_(e.subscribe))}var cn=Vn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});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:by}=Array;function Ty(e,t){return by(t)?e(...t):e(t)}function Si(e){return V(t=>Ty(e,t))}var{isArray:Sy}=Array,{getPrototypeOf:_y,prototype:My,keys:Ny}=Object;function _i(e){if(e.length===1){let t=e[0];if(Sy(t))return{args:t,keys:null};if(Ry(t)){let n=Ny(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Ry(e){return e&&typeof e=="object"&&_y(e)===My}function Mi(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ya(...e){let t=Rt(e),n=fi(e),{args:r,keys:o}=_i(e);if(r.length===0)return ee([],t);let i=new A(Ay(r,t,o?s=>Mi(o,s):Ge));return n?i.pipe(Si(n)):i}function Ay(e,t,n=Ge){return r=>{Pd(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Pd(t,()=>{let u=ee(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 Pd(e,t,n){e?Ce(n,e,t):t()}function Fd(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=b=>u<r?g(b):c.push(b),g=b=>{i&&t.next(b),u++;let v=!1;X(n(b,l++)).subscribe(F(t,I=>{o?.(I),i?f(I):t.next(I)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let I=c.shift();s?Ce(t,s,()=>g(I)):g(I)}h()}catch(I){t.error(I)}}))};return e.subscribe(F(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Ee(e,t,n=1/0){return _(t)?Ee((r,o)=>V((i,s)=>t(r,i,o,s))(X(e(r,o))),n):(typeof t=="number"&&(n=t),P((r,o)=>Fd(r,o,e,n)))}function Ld(e=1/0){return Ee(Ge,e)}function jd(){return Ld(1)}function Wn(...e){return jd()(ee(e,Rt(e)))}function Lr(e){return new A(t=>{X(e()).subscribe(t)})}function xy(...e){let t=fi(e),{args:n,keys:r}=_i(e),o=new A(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;X(n[l]).subscribe(F(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Mi(r,a):a),i.complete())}))}});return t?o.pipe(Si(t)):o}function We(e,t){return P((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function jr(e){return P((t,n)=>{let r=null,o=!1,i;r=t.subscribe(F(n,void 0,void 0,s=>{i=X(e(s,jr(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function qn(e,t){return _(t)?Ee(e,t,1):Ee(e,1)}function Ud(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 ft(e){return e<=0?()=>fe:P((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Bd(e=Oy){return P((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Oy(){return new cn}function Ur(e){return P((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ht(e,t){let n=arguments.length>=2;return r=>r.pipe(e?We((o,i)=>e(o,i,r)):Ge,ft(1),n?Ud(t):Bd(()=>new cn))}function Ni(e){return e<=0?()=>fe: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 Qa(...e){let t=Rt(e);return P((n,r)=>{(t?Wn(e,n,t):Wn(e,n)).subscribe(r)})}function Se(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++;X(e(c,l)).subscribe(o=F(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Br(e){return P((t,n)=>{X(e).subscribe(F(n,()=>n.complete(),Fr)),!n.closed&&t.subscribe(n)})}function Fe(e,t,n){let r=_(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)}))}):Ge}var Ka;function Ri(){return Ka}function rt(e){let t=Ka;return Ka=e,t}var Vd=Symbol("NotFound");function Zn(e){return e===Vd||e?.name==="\u0275NotFound"}function Ja(e,t,n){let r=Object.create(ky);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(tn(r),en(r),r.value===nt)throw r.error;return r.value};return i[ie]=r,Or(r),i}function Hd(e,t){tn(e),rn(e,t),jn(e)}function $d(e,t){if(tn(e),e.value===nt)throw e.error;ii(e,t),jn(e)}var ky=j(y({},Xt),{value:Kt,dirty:!0,error:null,equal:kr,kind:"linkedSignal",producerMustRecompute(e){return e.value===Kt||e.value===Jt},producerRecomputeValue(e){if(e.value===Jt)throw new Error("");let t=e.value;e.value=Jt;let n=nn(e),r,o=!1;try{let i=e.source(),s=t!==Kt&&t!==nt,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,w(null),o=s&&r!==nt&&e.equal(t,r)}catch(i){r=nt,e.error=i}finally{Un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zd(e){let t=w(null);try{return e()}finally{w(t)}}var Pi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(kt(t,n)),this.code=t}};function Ly(e){return`NG0${Math.abs(e)}`}function kt(e,t){return`${Ly(e)}${t?": "+t:""}`}var gt=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("")}function Yd(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Wr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Wr).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 hc(e,t){return e?t?`${e} ${t}`:e:t||""}var jy=L({__forward_ref__:L});function Fi(e){return e.__forward_ref__=Fi,e}function he(e){return pc(e)?e():e}function pc(e){return typeof e=="function"&&e.hasOwnProperty(jy)&&e.__forward_ref__===Fi}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pt(e){return{providers:e.providers||[],imports:e.imports||[]}}function qr(e){return Uy(e,Li)}function gc(e){return qr(e)!==null}function Uy(e,t){return e.hasOwnProperty(t)&&e[t]||null}function By(e){let t=e?.[Li]??null;return t||null}function ec(e){return e&&e.hasOwnProperty(xi)?e[xi]:null}var Li=L({\u0275prov:L}),xi=L({\u0275inj:L}),D=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=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function mc(e){return e&&!!e.\u0275providers}var Zr=L({\u0275cmp:L}),Yr=L({\u0275dir:L}),yc=L({\u0275pipe:L}),vc=L({\u0275mod:L}),Hr=L({\u0275fac:L}),hn=L({__NG_ELEMENT_ID__:L}),Gd=L({__NG_ENV_ID__:L});function Dc(e){return ji(e,"@NgModule"),e[vc]||null}function Ft(e){return ji(e,"@Component"),e[Zr]||null}function Ec(e){return ji(e,"@Directive"),e[Yr]||null}function Qd(e){return ji(e,"@Pipe"),e[yc]||null}function ji(e,t){if(e==null)throw new m(-919,!1)}function mt(e){return typeof e=="string"?e:e==null?"":String(e)}var Kd=L({ngErrorCode:L}),Vy=L({ngErrorMessage:L}),Hy=L({ngTokenPath:L});function Ic(e,t){return Jd("",-200,t)}function Ui(e,t){throw new m(-201,!1)}function Jd(e,t,n){let r=new m(t,e);return r[Kd]=t,r[Vy]=e,n&&(r[Hy]=n),r}function $y(e){return e[Kd]}var tc;function Xd(){return tc}function Ie(e){let t=tc;return tc=e,t}function wc(e,t,n){let r=qr(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;Ui(e,"")}var zy={},un=zy,Gy="__NG_DI_FLAG__",nc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ln(n)||0;try{return this.injector.get(t,r&8?null:un,r)}catch(o){if(Zn(o))return o;throw o}}};function Wy(e,t=0){let n=Ri();if(n===void 0)throw new m(-203,!1);if(n===null)return wc(e,void 0,t);{let r=qy(t),o=n.retrieve(e,r);if(Zn(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(Xd()||Wy)(he(e),t)}function p(e,t){return C(e,ln(t))}function ln(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function qy(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function rc(e){let t=[];for(let n=0;n<e.length;n++){let r=he(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=Zy(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function Zy(e){return e[Gy]}function At(e,t){let n=e.hasOwnProperty(Hr);return n?e[Hr]:null}function Bi(e,t){e.forEach(n=>Array.isArray(n)?Bi(n,t):t(n))}function Cc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Qr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ef(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 tf(e,t,n){let r=Qn(e,t);return r>=0?e[r|1]=n:(r=~r,ef(e,r,t,n)),r}function Vi(e,t){let n=Qn(e,t);if(n>=0)return e[n|1]}function Qn(e,t){return Yy(e,t,1)}function Yy(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 Lt={},_e=[],jt=new D(""),bc=new D("",-1),Tc=new D(""),$r=class{get(t,n=un){if(n===un){let o=Jd("",-201);throw o.name="\u0275NotFound",o}return n}};function pn(e){return{\u0275providers:e}}function nf(...e){return{\u0275providers:Sc(!0,e),\u0275fromNgModule:!0}}function Sc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Bi(t,s=>{let a=s;Oi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&rf(o,i),n}function rf(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];_c(o,i=>{t(i,r)})}}function Oi(e,t,n,r){if(e=he(e),!e)return!1;let o=null,i=ec(e),s=!i&&Ft(e);if(!i&&!s){let c=e.ngModule;if(i=ec(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)Oi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Bi(i.imports,l=>{Oi(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&rf(u,t)}if(!a){let u=At(o)||(()=>new o);t({provide:o,useFactory:u,deps:_e},o),t({provide:Tc,useValue:o,multi:!0},o),t({provide:jt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;_c(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function _c(e,t){for(let n of e)mc(n)&&(n=n.\u0275providers),Array.isArray(n)?_c(n,t):t(n)}var Qy=L({provide:String,useValue:L});function of(e){return e!==null&&typeof e=="object"&&Qy in e}function Ky(e){return!!(e&&e.useExisting)}function Jy(e){return!!(e&&e.useFactory)}function dn(e){return typeof e=="function"}function sf(e){return!!e.useClass}var Kr=new D(""),Ai={},Wd={},Xa;function Jr(){return Xa===void 0&&(Xa=new $r),Xa}var z=class{},fn=class extends z{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,ic(t,s=>this.processProvider(s)),this.records.set(bc,Yn(void 0,this)),o.has("environment")&&this.records.set(z,Yn(void 0,this));let i=this.records.get(Kr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Tc,_e,{self:!0}))}retrieve(t,n){let r=ln(n)||0;try{return this.get(t,un,r)}catch(o){if(Zn(o))return o;throw o}}destroy(){Vr(this),this._destroyed=!0;let t=w(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(),w(t)}}onDestroy(t){return Vr(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Vr(this);let n=rt(this),r=Ie(void 0),o;try{return t()}finally{rt(n),Ie(r)}}get(t,n=un,r){if(Vr(this),t.hasOwnProperty(Gd))return t[Gd](this);let o=ln(r),i,s=rt(this),a=Ie(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=rv(t)&&qr(t);l&&this.injectableDefInScope(l)?u=Yn(oc(t),Ai):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Jr():this.parent;return n=o&8&&n===un?null:n,c.get(t,n)}catch(c){let u=$y(c);throw u===-200||u===-201?new m(u,null):c}finally{Ie(a),rt(s)}}resolveInjectorInitializers(){let t=w(null),n=rt(this),r=Ie(void 0),o;try{let i=this.get(jt,_e,{self:!0});for(let s of i)s()}finally{rt(n),Ie(r),w(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=he(t);let n=dn(t)?t:he(t&&t.provide),r=ev(t);if(!dn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Yn(void 0,Ai,!0),o.factory=()=>rc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=w(null);try{if(n.value===Wd)throw Ic("");return n.value===Ai&&(n.value=Wd,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&nv(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{w(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=he(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 oc(e){let t=qr(e),n=t!==null?t.factory:At(e);if(n!==null)return n;if(e instanceof D)throw new m(-204,!1);if(e instanceof Function)return Xy(e);throw new m(-204,!1)}function Xy(e){if(e.length>0)throw new m(-204,!1);let n=By(e);return n!==null?()=>n.factory(e):()=>new e}function ev(e){if(of(e))return Yn(void 0,e.useValue);{let t=Mc(e);return Yn(t,Ai)}}function Mc(e,t,n){let r;if(dn(e)){let o=he(e);return At(o)||oc(o)}else if(of(e))r=()=>he(e.useValue);else if(Jy(e))r=()=>e.useFactory(...rc(e.deps||[]));else if(Ky(e))r=(o,i)=>C(he(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=he(e&&(e.useClass||e.provide));if(tv(e))r=()=>new o(...rc(e.deps));else return At(o)||oc(o)}return r}function Vr(e){if(e.destroyed)throw new m(-205,!1)}function Yn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function tv(e){return!!e.deps}function nv(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function rv(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ic(e,t){for(let n of e)Array.isArray(n)?ic(n,t):n&&mc(n)?ic(n.\u0275providers,t):t(n)}function ae(e,t){let n;e instanceof fn?(Vr(e),n=e):n=new nc(e);let r,o=rt(n),i=Ie(void 0);try{return t()}finally{rt(o),Ie(i)}}function af(){return Xd()!==void 0||Ri()!=null}var qe=0,T=1,M=2,se=3,je=4,Ue=5,Kn=6,Jn=7,Z=8,yt=9,Ze=10,G=11,Xn=12,Nc=13,gn=14,Me=15,mn=16,yn=17,vn=18,vt=19,Rc=20,pt=21,Hi=22,Xr=23,Ne=24,$i=25,Ut=26,ce=27,cf=1,Ac=6,Bt=7,eo=8,to=9,Y=10;function Dt(e){return Array.isArray(e)&&typeof e[cf]=="object"}function Ye(e){return Array.isArray(e)&&e[cf]===!0}function xc(e){return(e.flags&4)!==0}function Et(e){return e.componentOffset>-1}function zi(e){return(e.flags&1)===1}function it(e){return!!e.template}function er(e){return(e[M]&512)!==0}function Dn(e){return(e[M]&256)===256}var uf="svg",lf="math";function Be(e){for(;Array.isArray(e);)e=e[qe];return e}function Oc(e,t){return Be(t[e])}function Qe(e,t){return Be(t[e.index])}function Gi(e,t){return e.data[t]}function df(e,t){return e[t]}function kc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ve(e,t){let n=t[e];return Dt(n)?n:n[qe]}function Wi(e){return(e[M]&128)===128}function ff(e){return Ye(e[se])}function Vt(e,t){return t==null?null:e[t]}function Pc(e){e[yn]=0}function Fc(e){e[M]&1024||(e[M]|=1024,Wi(e)&&ro(e))}function hf(e,t){for(;e>0;)t=t[gn],e--;return t}function no(e){return!!(e[M]&9216||e[Ne]?.dirty)}function qi(e){e[Ze].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),no(e)&&ro(e)}function ro(e){e[Ze].changeDetectionScheduler?.notify(0);let t=xt(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Wi(t)));)t=xt(t)}function Lc(e,t){if(Dn(e))throw new m(911,!1);e[pt]===null&&(e[pt]=[]),e[pt].push(t)}function pf(e,t){if(e[pt]===null)return;let n=e[pt].indexOf(t);n!==-1&&e[pt].splice(n,1)}function xt(e){let t=e[se];return Ye(t)?t[se]:t}function gf(e){return e[Jn]??=[]}function mf(e){return e.cleanup??=[]}var R={lFrame:kf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var sc=!1;function yf(){return R.lFrame.elementDepthCount}function vf(){R.lFrame.elementDepthCount++}function Df(){R.lFrame.elementDepthCount--}function Ef(){return R.bindingsEnabled}function If(){return R.skipHydrationRootTNode!==null}function wf(e){return R.skipHydrationRootTNode===e}function Cf(){R.skipHydrationRootTNode=null}function x(){return R.lFrame.lView}function me(){return R.lFrame.tView}function bf(e){return R.lFrame.contextLView=e,e[Z]}function Tf(e){return R.lFrame.contextLView=null,e}function Re(){let e=jc();for(;e!==null&&e.type===64;)e=e.parent;return e}function jc(){return R.lFrame.currentTNode}function Sf(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function tr(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function Uc(){return R.lFrame.isParent}function _f(){R.lFrame.isParent=!1}function Bc(){return sc}function Vc(e){let t=sc;return sc=e,t}function Hc(){let e=R.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $c(){return R.lFrame.bindingIndex}function Mf(e){return R.lFrame.bindingIndex=e}function En(){return R.lFrame.bindingIndex++}function Zi(e){let t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Nf(){return R.lFrame.inI18n}function Rf(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yi(t)}function Af(){return R.lFrame.currentDirectiveIndex}function Yi(e){R.lFrame.currentDirectiveIndex=e}function xf(e){let t=R.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function zc(e){R.lFrame.currentQueryIndex=e}function ov(e){let t=e[T];return t.type===2?t.declTNode:t.type===1?e[Ue]:null}function Gc(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=ov(i),o===null||(i=i[gn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=Of();return r.currentTNode=t,r.lView=e,!0}function Qi(e){let t=Of(),n=e[T];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Of(){let e=R.lFrame,t=e===null?null:e.child;return t===null?kf(e):t}function kf(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 Pf(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Wc=Pf;function Ki(){let e=Pf();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 Ff(e){return(R.lFrame.contextLView=hf(e,R.lFrame.contextLView))[Z]}function st(){return R.lFrame.selectedIndex}function Ht(e){R.lFrame.selectedIndex=e}function Ji(){let e=R.lFrame;return Gi(e.tView,e.selectedIndex)}function qc(){return R.lFrame.currentNamespace}var Lf=!0;function Xi(){return Lf}function es(e){Lf=e}function ac(e,t=null,n=null,r){let o=Zc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Zc(e,t=null,n=null,r,o=new Set){let i=[n||_e,nf(e)],s;return new fn(i,t||Jr(),s||null,o)}var Le=class e{static THROW_IF_NOT_FOUND=un;static NULL=new $r;static create(t,n){if(Array.isArray(t))return ac({name:""},n,t,"");{let r=t.name??"";return ac({name:r},t.parent,t.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>C(bc)});static __NG_ELEMENT_ID__=-1},te=new D(""),It=(()=>{class e{static __NG_ELEMENT_ID__=iv;static __NG_ENV_ID__=n=>n}return e})(),cc=class extends It{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Dn(this._lView)}onDestroy(t){let n=this._lView;return Lc(n,t),()=>pf(n,t)}};function iv(){return new cc(x())}var Yc=!1,jf=new D(""),at=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new de(!1);debugTaskTracker=p(jf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new A(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=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),uc=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,af()&&(this.destroyRef=p(It,{optional:!0})??void 0,this.pendingTasks=p(at,{optional:!0})??void 0)}emit(t){let n=w(null);try{super.next(t)}finally{w(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 re&&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)}})}}},we=uc;function ki(...e){}function Qc(e){let t,n;function r(){e=ki;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 Uf(e){return queueMicrotask(()=>e()),()=>{e=ki}}var Kc="isAngularZone",zr=Kc+"_ID",sv=0,q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new we(!1);onMicrotaskEmpty=new we(!1);onStable=new we(!1);onError=new we(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Yc}=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,uv(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Kc)===!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,av,ki,ki);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)}},av={};function Jc(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 cv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Qc(()=>{e.callbackScheduled=!1,lc(e),e.isCheckStableRunning=!0,Jc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),lc(e)}function uv(e){let t=()=>{cv(e)},n=sv++;e._inner=e._inner.fork({name:"angular",properties:{[Kc]:!0,[zr]:n,[zr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(lv(c))return r.invokeTask(i,s,a,c);try{return qd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Zd(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return qd(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!dv(c)&&t(),Zd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,lc(e),Jc(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 lc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function qd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zd(e){e._nesting--,Jc(e)}var Gr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new we;onMicrotaskEmpty=new we;onStable=new we;onError=new we;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 lv(e){return Bf(e,"__ignore_ng_zone__")}function dv(e){return Bf(e,"__scheduler_tick__")}function Bf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ot=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ae=new D("",{factory:()=>{let e=p(q),t=p(z),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ot),n.handleError(r))})}}}),Vf={provide:jt,useValue:()=>{let e=p(ot,{optional:!0})},multi:!0};function Q(e,t){let[n,r,o]=Ua(e,t?.equal),i=n,s=i[ie];return i.set=r,i.update=o,i.asReadonly=ts.bind(i),i}function ts(){let e=this[ie];if(e.readonlyFn===void 0){let t=()=>this();t[ie]=e,e.readonlyFn=t}return e.readonlyFn}var Ot=class{},nr=new D("",{factory:()=>!0});var ns=new D(""),oo=(()=>{class e{internalPendingTasks=p(at);scheduler=p(Ot);errorHandler=p(Ae);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=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xc=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new dc})}return e})(),dc=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}},fc=class{[ie];constructor(t){this[ie]=t}destroy(){this[ie].destroy()}};function mo(e){return{toString:e}.toString()}function Iv(e){return typeof e=="function"}function Eh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var cs=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},cr=(()=>{let e=()=>Ih;return e.ngInherit=!0,e})();function Ih(e){return e.type.prototype.ngOnChanges&&(e.setInput=Cv),wv}function wv(){let e=Ch(this),t=e?.current;if(t){let n=e.previous;if(n===Lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Cv(e,t,n,r,o){let i=this.declaredInputs[r],s=Ch(e)||bv(e,{previous:Lt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new cs(u&&u.currentValue,n,c===Lt),Eh(e,t,o,n)}var wh="__ngSimpleChanges__";function Ch(e){return e[wh]||null}function bv(e,t){return e[wh]=t}var Hf=[];var U=function(e,t=null,n){for(let r=0;r<Hf.length;r++){let o=Hf[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 Tv(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ih(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 Sv(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 is(e,t,n){bh(e,t,3,n)}function ss(e,t,n,r){(e[M]&3)===n&&bh(e,t,n,r)}function eu(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function bh(e,t,n,r){let o=r!==void 0?e[yn]&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[yn]+=65536),(a<i||i==-1)&&(_v(e,n,t,c),e[yn]=(e[yn]&4294901760)+c+2),c++}function $f(e,t){U(O.LifecycleHookStart,e,t);let n=w(null);try{t.call(e)}finally{w(n),U(O.LifecycleHookEnd,e,t)}}function _v(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[yn]>>16&&(e[M]&3)===t&&(e[M]+=16384,$f(a,i)):$f(a,i)}var or=-1,wn=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 Mv(e){return(e.flags&8)!==0}function Nv(e){return(e.flags&16)!==0}function Rv(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];Av(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Th(e){return e===3||e===4||e===6}function Av(e){return e.charCodeAt(0)===64}function uo(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?zf(e,n,o,null,t[++r]):zf(e,n,o,null,null))}}return e}function zf(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 Sh(e){return e!==or}function us(e){return e&32767}function xv(e){return e>>16}function ls(e,t){let n=xv(e),r=t;for(;n>0;)r=r[gn],n--;return r}var fu=!0;function ds(e){let t=fu;return fu=e,t}var Ov=256,_h=Ov-1,Mh=5,kv=0,ct={};function Pv(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(hn)&&(r=n[hn]),r==null&&(r=n[hn]=kv++);let o=r&_h,i=1<<o;t.data[e+(o>>Mh)]|=i}function fs(e,t){let n=Nh(e,t);if(n!==-1)return n;let r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,tu(r.data,e),tu(t,null),tu(r.blueprint,null));let o=Pu(e,t),i=e.injectorIndex;if(Sh(o)){let s=us(o),a=ls(o,t),c=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function tu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nh(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Pu(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=kh(o),r===null)return or;if(n++,o=o[gn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return or}function hu(e,t,n){Pv(e,t,n)}function Fv(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(Th(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 Rh(e,t,n){if(n&8||e!==void 0)return e;Ui(t,"NodeInjector")}function Ah(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[yt],i=Ie(void 0);try{return o?o.get(t,r,n&8):wc(t,r,n&8)}finally{Ie(i)}}return Rh(r,t,n)}function xh(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=Vv(e,t,n,r,ct);if(s!==ct)return s}let i=Oh(e,t,n,r,ct);if(i!==ct)return i}return Ah(t,n,r,o)}function Oh(e,t,n,r,o){let i=Uv(n);if(typeof i=="function"){if(!Gc(t,e,r))return r&1?Rh(o,n,r):Ah(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ui(n);else return s}finally{Wc()}}else if(typeof i=="number"){let s=null,a=Nh(e,t),c=or,u=r&1?t[Me][Ue]:null;for((a===-1||r&4)&&(c=a===-1?Pu(e,t):t[a+8],c===or||!Wf(r,!1)?a=-1:(s=t[T],a=us(c),t=ls(c,t)));a!==-1;){let l=t[T];if(Gf(i,a,l.data)){let d=Lv(a,t,n,s,r,u);if(d!==ct)return d}c=t[a+8],c!==or&&Wf(r,t[T].data[a+8]===u)&&Gf(i,a,t)?(s=l,a=us(c),t=ls(c,t)):a=-1}}return o}function Lv(e,t,n,r,o,i){let s=t[T],a=s.data[e+8],c=r==null?Et(a)&&fu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=jv(a,s,n,c,u);return l!==null?hs(t,s,l,a,o):ct}function jv(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&it(f)&&f.type===n)return c}return null}function hs(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof wn){let a=i;if(a.resolving)throw Ic("");let c=ds(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Ie(a.injectImpl):null,h=Gc(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Tv(n,s[n],t)}finally{d!==null&&Ie(d),ds(c),a.resolving=!1,Wc()}}return i}function Uv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(hn)?e[hn]:void 0;return typeof t=="number"?t>=0?t&_h:Bv:t}function Gf(e,t,n){let r=1<<e;return!!(n[t+(e>>Mh)]&r)}function Wf(e,t){return!(e&2)&&!(e&1&&t)}var In=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return xh(this._tNode,this._lView,t,ln(r),n)}};function Bv(){return new In(Re(),x())}function yo(e){return mo(()=>{let t=e.prototype.constructor,n=t[Hr]||pu(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Hr]||pu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function pu(e){return pc(e)?()=>{let t=pu(he(e));return t&&t()}:At(e)}function Vv(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!er(s);){let a=Oh(i,s,n,r|2,ct);if(a!==ct)return a;let c=i.parent;if(!c){let u=s[Rc];if(u){let l=u.get(n,ct,r&-5);if(l!==ct)return l}c=kh(s),s=s[gn]}i=c}return o}function kh(e){let t=e[T],n=t.type;return n===2?t.declTNode:n===1?e[Ue]:null}function vo(e){return Fv(Re(),e)}function Hv(){return Fu(Re(),x())}function Fu(e,t){return new ur(Qe(e,t))}var ur=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Hv}return e})();function Ph(e){return(e.flags&128)===128}var Lu=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Lu||{}),Fh=new Map,$v=0;function zv(){return $v++}function Gv(e){Fh.set(e[vt],e)}function gu(e){Fh.delete(e[vt])}var qf="__ngContext__";function ir(e,t){Dt(t)?(e[qf]=t[vt],Gv(t)):e[qf]=t}function Lh(e){return Uh(e[Xn])}function jh(e){return Uh(e[je])}function Uh(e){for(;e!==null&&!Ye(e);)e=e[je];return e}var Wv;function ju(e){Wv=e}var Ss=new D("",{factory:()=>qv}),qv="ng";var _s=new D(""),Do=new D("",{providedIn:"platform",factory:()=>"unknown"});var Eo=new D("",{factory:()=>p(te).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Bh="r";var Vh="di";var Hh=!1,$h=new D("",{factory:()=>Hh});var Zf=new WeakMap;function Zv(e,t){if(e==null||typeof e!="object")return;let n=Zf.get(e);n||(n=new WeakSet,Zf.set(e,n)),n.add(t)}var Yv=(e,t,n,r)=>{};function Qv(e,t,n,r){Yv(e,t,n,r)}function Uu(e){return(e.flags&32)===32}var Kv=()=>null;function zh(e,t,n=!1){return Kv(e,t,n)}function Gh(e,t){let n=e.contentQueries;if(n!==null){let r=w(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];zc(i),a.contentQueries(2,t[s],s)}}}finally{w(r)}}}function mu(e,t,n){zc(0);let r=w(null);try{t(e,n)}finally{w(r)}}function Wh(e,t,n){if(xc(t)){let r=w(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{w(r)}}}var Je=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Je||{});var rs;function Jv(){if(rs===void 0&&(rs=null,gt.trustedTypes))try{rs=gt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return rs}function Yf(e){return Jv()?.createScriptURL(e)||e}var ps=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Pi})`}};function Ms(e){return e instanceof ps?e.changingThisBreaksApplicationSecurity:e}function Bu(e,t){let n=qh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Pi})`)}return n===t}function qh(e){return e instanceof ps&&e.getTypeName()||null}var Xv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Zh(e){return e=String(e),e.match(Xv)?e:"unsafe:"+e}function eD(e,t){return e.createText(t)}function tD(e,t,n){e.setValue(t,n)}function Yh(e,t,n){return e.createElement(t,n)}function gs(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qh(e,t,n){e.appendChild(t,n)}function Qf(e,t,n,r,o){r!==null?gs(e,t,n,r,o):Qh(e,t,n)}function Kh(e,t,n,r){e.removeChild(null,t,n,r)}function nD(e,t,n){e.setAttribute(t,"style",n)}function rD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Jh(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Rv(e,t,r),o!==null&&rD(e,t,o),i!==null&&nD(e,t,i)}var Ns=(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})(Ns||{});function Xh(e){let t=tp();return t?t.sanitize(Ns.URL,e)||"":Bu(e,"URL")?Ms(e):Zh(mt(e))}function ep(e){let t=tp();if(t)return Yf(t.sanitize(Ns.RESOURCE_URL,e)||"");if(Bu(e,"ResourceURL"))return Yf(Ms(e));throw new m(904,!1)}var oD={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function iD(e,t){return oD[e.toLowerCase()]?.[t.toLowerCase()]===!0?ep:Xh}function Vu(e,t,n){return iD(t,n)(e)}function tp(){let e=x();return e&&e[Ze].sanitizer}function np(e){return e instanceof Function?e():e}function sD(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 rp="ng-template";function aD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&sD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Hu(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 Hu(e){return e.type===4&&e.value!==rp}function cD(e,t,n){let r=e.type===4&&!n?rp:e.value;return t===r}function uD(e,t,n){let r=4,o=e.attrs,i=o!==null?fD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ke(r)&&!Ke(c))return!1;if(s&&Ke(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!cD(e,c,n)||c===""&&t.length===1){if(Ke(r))return!1;s=!0}}else if(r&8){if(o===null||!aD(e,o,c,n)){if(Ke(r))return!1;s=!0}}else{let u=t[++a],l=lD(c,o,Hu(e),n);if(l===-1){if(Ke(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ke(r))return!1;s=!0}}}}return Ke(r)||s}function Ke(e){return(e&1)===0}function lD(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 hD(t,e)}function dD(e,t,n=!1){for(let r=0;r<t.length;r++)if(uD(e,t[r],n))return!0;return!1}function fD(e){for(let t=0;t<e.length;t++){let n=e[t];if(Th(n))return t}return e.length}function hD(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 Kf(e,t){return e?":not("+t.trim()+")":t}function pD(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!==""&&!Ke(s)&&(t+=Kf(i,o),o=""),r=s,i=i||!Ke(r);n++}return o!==""&&(t+=Kf(i,o)),t}function gD(e){return e.map(pD).join(",")}function mD(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(!Ke(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var be={};function $u(e,t,n,r,o,i,s,a,c,u,l){let d=ce+r,h=d+o,f=yD(d,h),g=typeof u=="function"?u():u;return f[T]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function yD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:be);return n}function vD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=$u(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function zu(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[qe]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),Pc(d),d[se]=d[gn]=e,d[Z]=n,d[Ze]=s||e&&e[Ze],d[G]=a||e&&e[G],d[yt]=c||e&&e[yt]||null,d[Ue]=i,d[vt]=zv(),d[Kn]=l,d[Rc]=u,d[Me]=t.type==2?e[Me]:d,d}function DD(e,t,n){let r=Qe(t,e),o=vD(n),i=e[Ze].rendererFactory,s=Gu(e,zu(e,o,null,op(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function op(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function ip(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 Gu(e,t){return e[Xn]?e[Nc][je]=t:e[Xn]=t,e[Nc]=t,t}function ED(e=1){sp(me(),x(),st()+e,!1)}function sp(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&is(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ss(t,i,0,n)}Ht(n)}var Rs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Rs||{});function yu(e,t,n,r){let o=w(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Rs.SignalBased)!==0&&(c=t[i][ie]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Eh(t,c,i,r)}finally{w(o)}}var ut=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ut||{}),ID;function Wu(e,t){return ID(e,t)}var B0=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var vu=new WeakMap,so=new WeakSet;function wD(e,t){let n=vu.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),so.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 CD(e,t){let n=vu.get(e);n?n.includes(t)||n.push(t):vu.set(e,[t])}var Cn=new Set,qu=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(qu||{}),$t=new D(""),Jf=new Set;function zt(e){Jf.has(e)||(Jf.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var ap=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})();var cp=new D("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:p(z)})});function up(e,t,n){let r=e.get(cp);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 bD(e,t){let n=e.get(cp);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function TD(e,t){for(let[n,r]of t)up(e,r.animateFns)}function Xf(e,t,n,r){let o=e?.[Ut]?.enter;t!==null&&o&&o.has(n.index)&&TD(r,o)}function rr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ye(o)?c=o:Dt(o)&&(u=!0,o=o[qe]);let l=Be(o);e===0&&r!==null?(Xf(a,r,i,n),s==null?Qh(t,r,l):gs(t,r,l,s||null,!0)):e===1&&r!==null?(Xf(a,r,i,n),gs(t,r,l,s||null,!0),wD(i,l)):e===2?(a?.[Ut]?.leave?.has(i.index)&&CD(i,l),so.delete(l),eh(a,i,n,d=>{if(so.has(l)){so.delete(l);return}Kh(t,l,u,d)})):e===3&&(so.delete(l),eh(a,i,n,()=>{t.destroyNode(l)})),c!=null&&jD(t,e,n,c,i,r,s)}}function SD(e,t){lp(e,t),t[qe]=null,t[Ue]=null}function _D(e,t,n,r,o,i){r[qe]=o,r[Ue]=t,xs(e,r,n,1,o,i)}function lp(e,t){t[Ze].changeDetectionScheduler?.notify(9),xs(e,t,t[G],2,null,null)}function MD(e){let t=e[Xn];if(!t)return nu(e[T],e);for(;t;){let n=null;if(Dt(t))n=t[Xn];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[je]&&t!==e;)Dt(t)&&nu(t[T],t),t=t[se];t===null&&(t=e),Dt(t)&&nu(t[T],t),n=t&&t[je]}t=n}}function Zu(e,t){let n=e[to],r=n.indexOf(t);n.splice(r,1)}function As(e,t){if(Dn(t))return;let n=t[G];n.destroyNode&&xs(e,t,n,3,null,null),MD(t)}function nu(e,t){if(Dn(t))return;let n=w(null);try{t[M]&=-129,t[M]|=256,t[Ne]&&xr(t[Ne]),AD(e,t),RD(e,t),t[T].type===1&&t[G].destroy();let r=t[mn];if(r!==null&&Ye(t[se])){r!==t[se]&&Zu(r,t);let o=t[vn];o!==null&&o.detachView(e)}gu(t)}finally{w(n)}}function eh(e,t,n,r){let o=e?.[Ut];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Cn.add(e[vt]),up(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),ND(e,r)}else e&&Cn.delete(e[vt]),r(!1)},o)}function ND(e,t){let n=e[Ut]?.running;if(n){n.then(()=>{e[Ut].running=void 0,Cn.delete(e[vt]),t(!0)});return}t(!1)}function RD(e,t){let n=e.cleanup,r=t[Jn];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[Jn]=null);let o=t[pt];if(o!==null){t[pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Xr];if(i!==null){t[Xr]=null;for(let s of i)s.destroy()}}function AD(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 wn)){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];U(O.LifecycleHookStart,a,c);try{c.call(a)}finally{U(O.LifecycleHookEnd,a,c)}}else{U(O.LifecycleHookStart,o,i);try{i.call(o)}finally{U(O.LifecycleHookEnd,o,i)}}}}}function xD(e,t,n){return OD(e,t.parent,n)}function OD(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[qe];if(Et(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Je.None||o===Je.Emulated)return null}return Qe(r,n)}function kD(e,t,n){return FD(e,t,n)}function PD(e,t,n){return e.type&40?Qe(e,n):null}var FD=PD,th;function Yu(e,t,n,r){let o=xD(e,r,t),i=t[G],s=r.parent||t[Ue],a=kD(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Qf(i,o,n[c],a,!1);else Qf(i,o,n,a,!1);th!==void 0&&th(i,r,t,n,o)}function ao(e,t){if(t!==null){let n=t.type;if(n&3)return Qe(t,e);if(n&4)return Du(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return ao(e,r);{let o=e[t.index];return Ye(o)?Du(-1,o):Be(o)}}else{if(n&128)return ao(e,t.next);if(n&32)return Wu(t,e)()||Be(e[t.index]);{let r=dp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=xt(e[Me]);return ao(o,r)}else return ao(e,t.next)}}}return null}function dp(e,t){if(t!==null){let r=e[Me][Ue],o=t.projection;return r.projection[o]}return null}function Du(e,t){let n=Y+e+1;if(n<t.length){let r=t[n],o=r[T].firstChild;if(o!==null)return ao(r,o)}return t[Bt]}function Qu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[yt];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&ir(Be(c),r),n.flags|=2),!Uu(n))if(u&8)Qu(e,t,n.child,r,o,i,!1),rr(t,e,a,o,c,n,i,r);else if(u&32){let l=Wu(n,r),d;for(;d=l();)rr(t,e,a,o,d,n,i,r);rr(t,e,a,o,c,n,i,r)}else u&16?LD(e,t,r,n,o,i):rr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function xs(e,t,n,r,o,i){Qu(n,r,e.firstChild,t,o,i,!1)}function LD(e,t,n,r,o,i){let s=n[Me],c=s[Ue].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];rr(t,e,n[yt],o,l,r,i,n)}else{let u=c,l=s[se];Ph(r)&&(u.flags|=128),Qu(e,t,u,l,o,i,!0)}}function jD(e,t,n,r,o,i,s){let a=r[Bt],c=Be(r);a!==c&&rr(t,e,n,i,a,o,s);for(let u=Y;u<r.length;u++){let l=r[u];xs(l[T],l,e,t,i,a)}}function UD(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ut.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ut.Important),e.setStyle(n,r,o,i))}}function fp(e,t,n,r,o){let i=st(),s=r&2;try{Ht(-1),s&&t.length>ce&&sp(e,t,ce,!1);let a=s?O.TemplateUpdateStart:O.TemplateCreateStart;U(a,o,n),n(r,o)}finally{Ht(i);let a=s?O.TemplateUpdateEnd:O.TemplateCreateEnd;U(a,o,n)}}function hp(e,t,n){WD(e,t,n),(n.flags&64)===64&&qD(e,t,n)}function pp(e,t,n=Qe){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 BD(e,t,n,r){let i=r.get($h,Hh)||n===Je.ShadowDom||n===Je.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new m(905,!1);return VD(s),s}function VD(e){HD(e)}var HD=()=>null;function $D(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function gp(e,t,n,r,o,i){let s=t[T];if(Ku(e,s,t,n,r)){Et(e)&&GD(t,e.index);return}e.type&3&&(n=$D(n)),zD(e,t,n,r,o,i)}function zD(e,t,n,r,o,i){if(e.type&3){let s=Qe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function GD(e,t){let n=Ve(t,e);n[M]&16||(n[M]|=64)}function WD(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Et(n)&&DD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||fs(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=hs(t,e,s,n);if(ir(c,t),i!==null&&JD(t,s-r,c,a,n,i),it(a)){let u=Ve(n.index,t);u[Z]=hs(t,e,s,n)}}}function qD(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Af();try{Ht(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Yi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ZD(c,u)}}finally{Ht(-1),Yi(s)}}function ZD(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function YD(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];dD(t,i.selectors,!1)&&(r??=[],it(i)?r.unshift(i):r.push(i))}return r}function QD(e,t,n,r,o,i){let s=Qe(e,t);KD(t[G],s,i,e.value,n,r,o)}function KD(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?mt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function JD(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];yu(r,n,c,u)}}function XD(e,t,n,r,o){let i=ce+n,s=t[T],a=o(s,t,e,r,n);t[i]=a,tr(e,!0);let c=e.type===2;return c?(Jh(t[G],a,e),(yf()===0||zi(e))&&ir(a,t),vf()):ir(a,t),Xi()&&(!c||!Uu(e))&&Yu(s,t,a,e),e}function eE(e){let t=e;return Uc()?_f():(t=t.parent,tr(t,!1)),t}function tE(e,t){let n=e[yt];if(!n)return;let r;try{r=n.get(Ae,null)}catch(o){r=null}r?.(t)}function Ku(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];yu(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];yu(l,u,r,o),a=!0}return a}function nE(e,t){let n=Ve(t,e),r=n[T];rE(r,n);let o=n[qe];o!==null&&n[Kn]===null&&(n[Kn]=zh(o,n[yt])),U(O.ComponentStart);try{Ju(r,n,n[Z])}finally{U(O.ComponentEnd,n[Z])}}function rE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ju(e,t,n){Qi(t);try{let r=e.viewQuery;r!==null&&mu(1,r,n);let o=e.template;o!==null&&fp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[vn]?.finishViewCreation(e),e.staticContentQueries&&Gh(e,t),e.staticViewQueries&&mu(2,e.viewQuery,n);let i=e.components;i!==null&&oE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,Ki()}}function oE(e,t){for(let n=0;n<t.length;n++)nE(e,t[n])}function Xu(e,t,n,r){let o=w(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=zu(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[mn]=u;let l=e[vn];return l!==null&&(c[vn]=l.createEmbeddedView(i)),Ju(i,c,n),c}finally{w(o)}}function lo(e,t){return!t||t.firstChild===null||Ph(e)}function fo(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(Be(i)),Ye(i)&&mp(i,r);let s=n.type;if(s&8)fo(e,t,n.child,r);else if(s&32){let a=Wu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=dp(t,n);if(Array.isArray(a))r.push(...a);else{let c=xt(t[Me]);fo(c[T],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function mp(e,t){for(let n=Y;n<e.length;n++){let r=e[n],o=r[T].firstChild;o!==null&&fo(r[T],r,o,t)}e[Bt]!==e[qe]&&t.push(e[Bt])}function yp(e){if(e[$i]!==null){for(let t of e[$i])t.impl.addSequence(t);e[$i].length=0}}var vp=[];function iE(e){return e[Ne]??sE(e)}function sE(e){let t=vp.pop()??Object.create(cE);return t.lView=e,t}function aE(e){e.lView[Ne]!==e&&(e.lView=null,vp.push(e))}var cE=j(y({},Xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ro(e.lView)},consumerOnSignalRead(){this.lView[Ne]=this}});function uE(e){let t=e[Ne]??Object.create(lE);return t.lView=e,t}var lE=j(y({},Xt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=xt(e.lView);for(;t&&!Dp(t[T]);)t=xt(t);t&&Fc(t)},consumerOnSignalRead(){this.lView[Ne]=this}});function Dp(e){return e.type!==2}function Ep(e){if(e[Xr]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Xr])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var dE=100;function Ip(e,t=0){let r=e[Ze].rendererFactory,o=!1;o||r.begin?.();try{fE(e,t)}finally{o||r.end?.()}}function fE(e,t){let n=Bc();try{Vc(!0),Eu(e,t);let r=0;for(;no(e);){if(r===dE)throw new m(103,!1);r++,Eu(e,1)}}finally{Vc(n)}}function hE(e,t,n,r){if(Dn(t))return;let o=t[M],i=!1,s=!1;Qi(t);let a=!0,c=null,u=null;i||(Dp(e)?(u=iE(t),c=nn(u)):ni()===null?(a=!1,u=uE(t),c=nn(u)):t[Ne]&&(xr(t[Ne]),t[Ne]=null));try{Pc(t),Mf(e.bindingStartIndex),n!==null&&fp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&is(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ss(t,f,0,null),eu(t,0)}if(s||pE(t),Ep(t),wp(t,0),e.contentQueries!==null&&Gh(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&is(t,f)}else{let f=e.contentHooks;f!==null&&ss(t,f,1),eu(t,1)}mE(e,t);let d=e.components;d!==null&&bp(t,d,0);let h=e.viewQuery;if(h!==null&&mu(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&is(t,f)}else{let f=e.viewHooks;f!==null&&ss(t,f,2),eu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hi]){for(let f of t[Hi])f();t[Hi]=null}i||(yp(t),t[M]&=-73)}catch(l){throw i||ro(t),l}finally{u!==null&&(Un(u,c),a&&aE(u)),Ki()}}function wp(e,t){for(let n=Lh(e);n!==null;n=jh(n))for(let r=Y;r<n.length;r++){let o=n[r];Cp(o,t)}}function pE(e){for(let t=Lh(e);t!==null;t=jh(t)){if(!(t[M]&2))continue;let n=t[to];for(let r=0;r<n.length;r++){let o=n[r];Fc(o)}}}function gE(e,t,n){U(O.ComponentStart);let r=Ve(t,e);try{Cp(r,n)}finally{U(O.ComponentEnd,r[Z])}}function Cp(e,t){Wi(e)&&Eu(e,t)}function Eu(e,t){let r=e[T],o=e[M],i=e[Ne],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ri(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)hE(r,e,r.template,e[Z]);else if(o&8192){let a=w(null);try{Ep(e),wp(e,1);let c=r.components;c!==null&&bp(e,c,1),yp(e)}finally{w(a)}}}function bp(e,t,n){for(let r=0;r<t.length;r++)gE(e,t[r],n)}function mE(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Ht(~o);else{let i=o,s=n[++r],a=n[++r];Rf(s,i);let c=t[i];U(O.HostBindingsUpdateStart,c);try{a(2,c)}finally{U(O.HostBindingsUpdateEnd,c)}}}}finally{Ht(-1)}}function el(e,t){let n=Bc()?64:1088;for(e[Ze].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=xt(e);if(er(e)&&!r)return e;e=r}return null}function Tp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Sp(e,t){let n=Y+t;if(n<e.length)return e[n]}function Os(e,t,n,r=!0){let o=t[T];if(yE(o,t,e,n),r){let s=Du(n,e),a=t[G],c=a.parentNode(e[Bt]);c!==null&&_D(o,e[Ue],a,t,c,s)}let i=t[Kn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function _p(e,t){let n=ho(e,t);return n!==void 0&&As(n[T],n),n}function ho(e,t){if(e.length<=Y)return;let n=Y+t,r=e[n];if(r){let o=r[mn];o!==null&&o!==e&&Zu(o,r),t>0&&(e[n-1][je]=r[je]);let i=Qr(e,Y+t);SD(r[T],r);let s=i[vn];s!==null&&s.detachView(i[T]),r[se]=null,r[je]=null,r[M]&=-129}return r}function yE(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][je]=t),r<i-Y?(t[je]=n[o],Cc(n,Y+r,t)):(n.push(t),t[je]=null),t[se]=n;let s=t[mn];s!==null&&n!==s&&Mp(s,t);let a=t[vn];a!==null&&a.insertView(e),qi(t),t[M]|=128}function Mp(e,t){let n=e[to],r=t[se];if(Dt(r))e[M]|=2;else{let o=r[se][Me];t[Me]!==o&&(e[M]|=2)}n===null?e[to]=[t]:n.push(t)}var bn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[T];return fo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Z]}set context(t){this._lView[Z]=t}get destroyed(){return Dn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[se];if(Ye(t)){let n=t[eo],r=n?n.indexOf(this):-1;r>-1&&(ho(t,r),Qr(n,r))}this._attachedToViewContainer=!1}As(this._lView[T],this._lView)}onDestroy(t){Lc(this._lView,t)}markForCheck(){el(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){qi(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Ip(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=er(this._lView),n=this._lView[mn];n!==null&&!t&&Zu(n,this._lView),lp(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=er(this._lView),r=this._lView[mn];r!==null&&!n&&Mp(r,this._lView),qi(this._lView)}};function tl(e,t,n,r,o){let i=e.data[t];if(i===null)i=vE(e,t,n,r,o),Nf()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Sf();i.injectorIndex=s===null?-1:s.injectorIndex}return tr(i,!0),i}function vE(e,t,n,r,o){let i=jc(),s=Uc(),a=s?i:i&&i.parent,c=e.data[t]=EE(e,a,n,t,r,o);return DE(e,c,i,s),c}function DE(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 EE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return If()&&(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:qc(),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 IE(e){let t=e[Ac]??[],r=e[se][G],o=[];for(let i of t)i.data[Vh]!==void 0?o.push(i):wE(i,r);e[Ac]=o}function wE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Bh];for(;n<o;){let i=r.nextSibling;Kh(t,r,!1),r=i,n++}}}var CE=()=>null,bE=()=>null;function Iu(e,t){return CE(e,t)}function Np(e,t,n){return bE(e,t,n)}var Rp=class{},ks=class{},wu=class{resolveComponentFactory(t){throw new m(917,!1)}},Io=class{static NULL=new wu},Tn=class{},wo=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>TE()}return e})();function TE(){let e=x(),t=Re(),n=Ve(t.index,e);return(Dt(n)?n:e)[G]}var Ap=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var as={},Cu=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,as,r);return o!==as||n===as?o:this.parentInjector.get(t,n,r)}};function nh(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=hc(o,a);else if(i==2){let c=a,u=t[++s];r=hc(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function pe(e,t=0){let n=x();if(n===null)return C(e,t);let r=Re();return xh(r,n,he(e),t)}function SE(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}NE(e,t,n,a,i,c,u)}i!==null&&r!==null&&_E(n,r,i)}function _E(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 ME(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function NE(e,t,n,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let f=r[h];c===null&&it(f)&&(c=f,ME(e,n,h)),hu(fs(n,t),e,f.type)}PE(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=ip(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=uo(n.mergedAttrs,f.hostAttrs),AE(e,n,t,d,f),kE(d,f,o),s!==null&&s.has(f)){let[b,v]=s.get(f);n.directiveToIndex.set(f.type,[d,b+n.directiveStart,v+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}RE(e,n,i)}function RE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))rh(0,t,o,r),rh(1,t,o,r),ih(t,r,!1);else{let i=n.get(o);oh(0,t,i,r),oh(1,t,i,r),ih(t,r,!0)}}}function rh(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),xp(t,i)}}function oh(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),xp(t,s)}}function xp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function ih(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Hu(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 AE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=At(o.type,!0)),s=new wn(i,it(o),pe,null);e.blueprint[r]=s,n[r]=s,xE(e,t,r,ip(e,n,o.hostVars,be),o)}function xE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;OE(s)!=a&&s.push(a),s.push(n,r,i)}}function OE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function kE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;it(t)&&(n[""]=e)}}function PE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Op(e,t,n,r,o,i,s,a){let c=t[T],u=c.consts,l=Vt(u,s),d=tl(c,e,n,r,l);return i&&SE(c,t,d,Vt(u,a),o),d.mergedAttrs=uo(d.mergedAttrs,d.attrs),d.attrs!==null&&nh(d,d.attrs,!1),d.mergedAttrs!==null&&nh(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function kp(e,t){Sv(e,t),xc(t)&&e.queries.elementEnd(t)}function Pp(e,t,n){return e[t]=n}function Xe(e,t,n){if(n===be)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function nl(e,t,n,r){let o=Xe(e,t,n);return Xe(e,t+1,r)||o}function FE(e,t,n,r,o){let i=nl(e,t,n,r);return Xe(e,t+2,o)||i}function ru(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Zv(o,i);let s=Et(e)?Ve(e.index,t):t;el(s,5);let a=t[Z],c=sh(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=sh(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function sh(e,t,n,r){let o=w(null);try{return U(O.OutputStart,t,n),n(r)!==!1}catch(i){return tE(e,i),!1}finally{U(O.OutputEnd,t,n),w(o)}}function LE(e,t,n,r,o,i,s,a){let c=zi(e),u=!1,l=null;if(!r&&c&&(l=UE(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Qe(e,n),h=r?r(d):d;Qv(n,h,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(h,i,a);if(!jE(i)){let g=r?b=>r(Be(b[e.index])):e.index;Fp(g,t,n,i,a,f,!1)}}return u}function jE(e){return e.startsWith("animation")||e.startsWith("transition")}function UE(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[Jn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Fp(e,t,n,r,o,i,s){let a=t.firstCreatePass?mf(t):null,c=gf(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function ah(e,t,n,r,o,i){let s=t[n],a=t[T],u=a.data[n].outputs[r],d=s[u].subscribe(i);Fp(e.index,a,t,o,i,d,!0)}var bu=Symbol("BINDING");function Lp(e){return e.debugInfo?.className||e.type.name||null}var ms=class extends Io{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ft(t);return new sr(n,this.ngModule)}};function BE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Rs.SignalBased)!==0};return o&&(i.transform=o),i})}function VE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function HE(e,t,n){let r=t instanceof z?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Cu(n,r):n}function $E(e){let t=e.get(Tn,null);if(t===null)throw new m(407,!1);let n=e.get(Ap,null),r=e.get(Ot,null),o=e.get($t,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function zE(e,t){let n=jp(e);return Yh(t,n,n==="svg"?uf:n==="math"?lf:null)}function jp(e){return(e.selectors[0][0]||"div").toLowerCase()}var sr=class extends ks{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=BE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=VE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=gD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){U(O.DynamicComponentStart);let a=w(null);try{let c=this.componentDef,u=HE(c,o||this.ngModule,t),l=$E(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Lp(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{w(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=GE(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?BD(u,o,a.encapsulation,n):zE(a,u),d=s?.some(ch)||i?.some(g=>typeof g!="function"&&g.bindings.some(ch)),h=zu(null,c,null,512|op(a),null,null,t,u,n,null,zh(l,n,!0));h[ce]=l,Qi(h);let f=null;try{let g=Op(ce,h,2,"#host",()=>c.directiveRegistry,!0,0);Jh(u,l,g),ir(l,h),hp(c,h,g),Wh(c,g,h),kp(c,g),r!==void 0&&qE(g,this.ngContentSelectors,r),f=Ve(g.index,h),h[Z]=f[Z],Ju(c,h,null)}catch(g){throw f!==null&&gu(f),gu(h),g}finally{U(O.DynamicComponentEnd),Ki()}return new ys(this.componentType,h,!!d)}};function GE(e,t,n,r){let o=e?["ng-version","21.2.17"]:mD(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[bu].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let h of d.bindings){a+=h[bu].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=Ec(d);c.push(h)}return $u(0,null,WE(i,s),1,a,c,null,null,null,[o],null)}function WE(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 ch(e){let t=e[bu].kind;return t==="input"||t==="twoWay"}var ys=class extends Rp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Gi(n[T],ce),this.location=Fu(this._tNode,n),this.instance=Ve(this._tNode.index,n)[Z],this.hostView=this.changeDetectorRef=new bn(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=Ku(r,o[T],o,t,n);this.previousInputValues.set(t,n);let s=Ve(r.index,o);el(s,1)}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function qE(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 Co=(()=>{class e{static __NG_ELEMENT_ID__=ZE}return e})();function ZE(){let e=Re();return YE(e,x())}var Tu=class e extends Co{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Fu(this._hostTNode,this._hostLView)}get injector(){return new In(this._hostTNode,this._hostLView)}get parentInjector(){let t=Pu(this._hostTNode,this._hostLView);if(Sh(t)){let n=ls(t,this._hostLView),r=us(t),o=n[T].data[r+8];return new In(o,n)}else return new In(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=uh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Iu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,lo(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Iv(t),u;if(c)u=n;else{let v=n||{};u=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let l=c?t:new sr(Ft(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let I=(c?d:this.parentInjector).get(z,null);I&&(i=I)}let h=Ft(l.componentType??{}),f=Iu(this._lContainer,h?.id??null),g=f?.firstChild??null,b=l.create(d,o,g,i,s,a);return this.insertImpl(b.hostView,u,lo(this._hostTNode,f)),b}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ff(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[se],u=new e(c,c[Ue],c[se]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Os(s,o,i,r),t.attachToViewContainerRef(),Cc(ou(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=uh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ho(this._lContainer,n);r&&(Qr(ou(this._lContainer),n),As(r[T],r))}detach(t){let n=this._adjustIndex(t,-1),r=ho(this._lContainer,n);return r&&Qr(ou(this._lContainer),n)!=null?new bn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function uh(e){return e[eo]}function ou(e){return e[eo]||(e[eo]=[])}function YE(e,t){let n,r=t[e.index];return Ye(r)?n=r:(n=Tp(r,t,null,e),t[e.index]=n,Gu(t,n)),KE(n,t,e,r),new Tu(n,e,t)}function QE(e,t){let n=e[G],r=n.createComment(""),o=Qe(t,e),i=n.parentNode(o);return gs(n,i,r,n.nextSibling(o),!1),r}var KE=eI,JE=()=>!1;function XE(e,t,n){return JE(e,t,n)}function eI(e,t,n,r){if(e[Bt])return;let o;n.type&8?o=Be(r):o=QE(t,n),e[Bt]=o}var Sn=class{},Ps=class{};var vs=class extends Sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ms(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Dc(t);this._bootstrapComponents=np(i.bootstrap),this._r3Injector=Zc(t,n,[{provide:Sn,useValue:this},{provide:Io,useValue:this.componentFactoryResolver},...r],Wr(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)}},Ds=class extends Ps{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new vs(this.moduleType,t,[])}};var po=class extends Sn{injector;componentFactoryResolver=new ms(this);instance=null;constructor(t){super();let n=new fn([...t.providers,{provide:Sn,useValue:this},{provide:Io,useValue:this.componentFactoryResolver}],t.parent||Jr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function bo(e,t,n=null){return new po({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var tI=(()=>{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=Sc(!1,n.type),o=r.length>0?bo([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=E({token:e,providedIn:"environment",factory:()=>new e(C(z))})}return e})();function rl(e){return mo(()=>{let t=Up(e),n=j(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Lu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(tI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Je.Emulated,styles:e.styles||_e,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&zt("NgStandalone"),Bp(n);let r=e.dependencies;return n.directiveDefs=lh(r,nI),n.pipeDefs=lh(r,Qd),n.id=iI(n),n})}function nI(e){return Ft(e)||Ec(e)}function Mn(e){return mo(()=>({type:e.type,bootstrap:e.bootstrap||_e,declarations:e.declarations||_e,imports:e.imports||_e,exports:e.exports||_e,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rI(e,t){if(e==null)return Lt;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=Rs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function oI(e){if(e==null)return Lt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Nn(e){return mo(()=>{let t=Up(e);return Bp(t),t})}function ol(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 Up(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||Lt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||_e,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:rI(e.inputs,t),outputs:oI(e.outputs),debugInfo:null}}function Bp(e){e.features?.forEach(t=>t(e))}function lh(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 iI(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 sI(e){return Object.getPrototypeOf(e.prototype).constructor}function Vp(e){let t=sI(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,Zr)?t[Zr]:void 0,s=Object.hasOwn(t,Yr)?t[Yr]:void 0;if(it(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=iu(e.inputs),c.declaredInputs=iu(e.declaredInputs),c.outputs=iu(e.outputs);let u=o.hostBindings;u&&dI(e,u);let l=o.viewQuery,d=o.contentQueries;if(l&&uI(e,l),d&&lI(e,d),aI(e,o),Yd(e.outputs,o.outputs),it(o)&&o.data.animation){let h=e.data;h.animation=(h.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===Vp&&(n=!1)}}t=Object.getPrototypeOf(t)}cI(r)}function aI(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 cI(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=uo(o.hostAttrs,n=uo(n,o.hostAttrs))}}function iu(e){return e===Lt?{}:e===_e?[]:e}function uI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function lI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function dI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function fI(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=uo(e.mergedAttrs,e.attrs);let l=e.tView=$u(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),tr(e,!1);let c=hI(n,t,e,r);Xi()&&Yu(n,t,c,e),ir(c,t);let u=Tp(c,t,c,e);t[r+ce]=u,Gu(t,u),XE(u,e,t)}function Es(e,t,n,r,o,i,s,a,c,u,l){let d=n+ce,h;if(t.firstCreatePass){if(h=tl(t,d,4,s||null,a||null),u!=null){let f=Vt(t.consts,u);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return fI(h,e,t,n,r,o,i,c),u!=null&&pp(e,h,l),h}var hI=pI;function pI(e,t,n,r){return es(!0),t[G].createComment("")}var il=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sl(e){return typeof e=="function"&&e[ie]!==void 0}function al(e){return sl(e)&&typeof e.set=="function"}var cl=new D("");function lr(e){return!!e&&typeof e.then=="function"}function ul(e){return!!e&&typeof e.subscribe=="function"}var Hp=new D("");var ll=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Hp,{optional:!0})??[];injector=p(Le);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ae(this.injector,o);if(lr(i))n.push(i);else if(ul(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fs=new D("");function $p(){ja(()=>{let e="";throw new m(600,e)})}function zp(e){return e.isBoundToModule}var gI=10;var Rn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Ae);afterRenderManager=p(ap);zonelessEnabled=p(nr);rootEffectScheduler=p(Xc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new le;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(at);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(V(n=>!n))}constructor(){p($t,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(z);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Le.NULL){return this._injector.get(q).run(()=>{U(O.BootstrapComponentStart);let s=n instanceof ks;if(!this._injector.get(ll).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(Io).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=zp(c)?void 0:this._injector.get(Sn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(cl,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),co(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),U(O.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){U(O.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(qu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw U(O.ChangeDetectionEnd),new m(101,!1);let n=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(n),this.afterTick.next(),U(O.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Tn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<gI;){U(O.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{U(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&&!no(o))continue;let i=r&&!this.zonelessEnabled?0:1;Ip(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})=>no(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;co(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(Fs,[]).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),()=>co(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function co(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ls(e,t,n,r){let o=x(),i=En();if(Xe(o,i,t)){let s=me(),a=Ji();QD(a,o,e,t,n,r)}return Ls}var Su=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 su(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function mI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){w(r);let u=t.length-1;for(w(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],h=su(s,l,s,d,n);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),g=t[u],b=su(a,f,u,g,n);if(b!==0){b<0&&e.updateValue(a,g),a--,u--;continue}let v=n(s,l),I=n(a,f),W=n(s,d);if(Object.is(W,I)){let De=n(u,g);Object.is(De,v)?(e.swap(s,a),e.updateValue(a,g),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Is,i??=fh(e,s,a,n),_u(e,o,s,W))e.updateValue(s,d),s++,a++;else if(i.has(W))o.set(v,e.detach(s)),a--;else{let De=e.create(s,t[s]);e.attach(s,De),s++,a++}}for(;s<=u;)dh(e,o,n,s,t[s]),s++}else if(t!=null){w(r);let u=t[Symbol.iterator]();w(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),h=l.value,f=su(s,d,s,h,n);if(f!==0)f<0&&e.updateValue(s,h),s++,l=u.next();else{o??=new Is,i??=fh(e,s,a,n);let g=n(s,h);if(_u(e,o,s,g))e.updateValue(s,h),s++,a++,l=u.next();else if(!i.has(g))e.attach(s,e.create(s,h)),s++,a++,l=u.next();else{let b=n(s,d);o.set(b,e.detach(s)),a--}}}for(;!l.done;)dh(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 _u(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function dh(e,t,n,r,o){if(_u(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function fh(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 Is=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 yI(e,t,n,r,o,i,s,a){zt("NgControlFlow");let c=x(),u=me(),l=Vt(u.consts,i);return Es(c,u,e,t,n,r,o,l,256,s,a),dl}function dl(e,t,n,r,o,i,s,a){zt("NgControlFlow");let c=x(),u=me(),l=Vt(u.consts,i);return Es(c,u,e,t,n,r,o,l,512,s,a),dl}function vI(e,t){zt("NgControlFlow");let n=x(),r=En(),o=n[r]!==be?n[r]:-1,i=o!==-1?ws(n,ce+o):void 0,s=0;if(Xe(n,r,e)){let a=w(null);try{if(i!==void 0&&_p(i,s),e!==-1){let c=ce+e,u=ws(n,c),l=Au(n[T],c),d=Np(u,l,n),h=Xu(n,l,t,{dehydratedView:d});Os(u,h,s,lo(l,d))}}finally{w(a)}}else if(i!==void 0){let a=Sp(i,s);a!==void 0&&(a[Z]=t)}}var Mu=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};var Nu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function DI(e,t,n,r,o,i,s,a,c,u,l,d,h){zt("NgControlFlow");let f=x(),g=me(),b=c!==void 0,v=x(),I=a?s.bind(v[Me][Z]):s,W=new Nu(b,I);v[ce+e]=W,Es(f,g,e+1,t,n,r,o,Vt(g.consts,i),256),b&&Es(f,g,e+2,c,u,l,d,Vt(g.consts,h),512)}var Ru=class extends Su{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-Y}at(t){return this.getLView(t)[Z].$implicit}attach(t,n){let r=n[Kn];this.needsIndexUpdate||=t!==this.length,Os(this.lContainer,n,t,lo(this.templateTNode,r)),II(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,wI(this.lContainer,t),CI(this.lContainer,t)}create(t,n){let r=Iu(this.lContainer,this.templateTNode.tView.ssrId);return Xu(this.hostLView,this.templateTNode,new Mu(this.lContainer,n,t),{dehydratedView:r})}destroy(t){As(t[T],t)}updateValue(t,n){this.getLView(t)[Z].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Z].$index=t}getLView(t){return bI(this.lContainer,t)}};function EI(e){let t=w(null),n=st();try{let r=x(),o=r[T],i=r[n],s=n+1,a=ws(r,s);if(i.liveCollection===void 0){let u=Au(o,s);i.liveCollection=new Ru(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(mI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=En(),l=c.length===0;if(Xe(r,u,l)){let d=n+2,h=ws(r,d);if(l){let f=Au(o,d),g=Np(h,f,r),b=Xu(r,f,void 0,{dehydratedView:g});Os(h,b,0,lo(f,g))}else o.firstUpdatePass&&IE(h),_p(h,0)}}}finally{w(t)}}function ws(e,t){return e[t]}function II(e,t){if(e.length<=Y)return;let n=Y+t,r=e[n],o=r?r[Ut]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[yt];bD(i,o),Cn.delete(r[vt]),o.detachedLeaveAnimationFns=void 0}}function wI(e,t){if(e.length<=Y)return;let n=Y+t,r=e[n],o=r?r[Ut]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function CI(e,t){return ho(e,t)}function bI(e,t){return Sp(e,t)}function Au(e,t){return Gi(e,t)}function Gp(e,t,n){let r=x(),o=En();if(Xe(r,o,t)){let i=me(),s=Ji();gp(s,r,e,t,r[G],n)}return Gp}function hh(e,t,n,r,o){Ku(t,e,n,o?"class":"style",r)}function Cs(e,t,n,r){let o=x(),i=o[T],s=e+ce,a=i.firstCreatePass?Op(s,o,2,t,YD,Ef(),n,r):i.data[s];if(Et(a)){let c=o[Ze].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Lp(u),()=>(ph(e,t,o,a,r),Cs))}}return ph(e,t,o,a,r),Cs}function ph(e,t,n,r,o){if(XD(r,n,e,t,TI),zi(r)){let i=n[T];hp(i,n,r),Wh(i,r,n)}o!=null&&pp(n,r)}function fl(){let e=me(),t=Re(),n=eE(t);return e.firstCreatePass&&kp(e,n),wf(n)&&Cf(),Df(),n.classesWithoutHost!=null&&Mv(n)&&hh(e,n,x(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Nv(n)&&hh(e,n,x(),n.stylesWithoutHost,!1),fl}function js(e,t,n,r){return Cs(e,t,n,r),fl(),js}var TI=(e,t,n,r,o)=>(es(!0),Yh(t[G],r,qc()));function SI(){return x()}var io=void 0;function _I(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var MI=["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"]],io,[["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"]],io,[["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}",io,io,io],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",_I],au=Object.create(null);function xe(e){let t=NI(e),n=gh(t);if(n)return n;let r=t.split("-")[0];if(n=gh(r),n)return n;if(r==="en")return MI;throw new m(701,!1)}function gh(e){return e in au||(au[e]=gt.ng&>.ng.common&>.ng.common.locales&>.ng.common.locales[e]),au[e]}var K=(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})(K||{});function NI(e){return e.toLowerCase().replace(/_/g,"-")}var To="en-US";var RI=To;function Wp(e){typeof e=="string"&&(RI=e.toLowerCase().replace(/_/g,"-"))}function Us(e,t,n){let r=x(),o=me(),i=Re();return qp(o,r,r[G],i,e,t,n),Us}function qp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ru(r,t,i),LE(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];c??=ru(r,t,i),ah(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=ru(r,t,i),ah(r,t,d,o,o,c)}}function AI(e=1){return Ff(e)}function os(e,t){return e<<17|t<<2}function _n(e){return e>>17&32767}function xI(e){return(e&2)==2}function OI(e,t){return e&131071|t<<17}function xu(e){return e|2}function ar(e){return(e&131068)>>2}function cu(e,t){return e&-131069|t<<2}function kI(e){return(e&1)===1}function Ou(e){return e|1}function PI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=_n(s),c=ar(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Qn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=_n(e[a+1]);e[r+1]=os(h,a),h!==0&&(e[h+1]=cu(e[h+1],r)),e[a+1]=OI(e[a+1],r)}else e[r+1]=os(a,0),a!==0&&(e[a+1]=cu(e[a+1],r)),a=r;else e[r+1]=os(c,0),a===0?a=r:e[c+1]=cu(e[c+1],r),c=r;u&&(e[r+1]=xu(e[r+1])),mh(e,l,r,!0),mh(e,l,r,!1),FI(t,l,e,r,i),s=os(a,c),i?t.classBindings=s:t.styleBindings=s}function FI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Qn(i,t)>=0&&(n[r+1]=Ou(n[r+1]))}function mh(e,t,n,r){let o=e[n+1],i=t===null,s=r?_n(o):ar(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];LI(c,t)&&(a=!0,e[s+1]=r?Ou(u):xu(u)),s=r?_n(u):ar(u)}a&&(e[n+1]=r?xu(o):Ou(o))}function LI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Qn(e,t)>=0:!1}function Zp(e,t){return jI(e,t,null,!0),Zp}function jI(e,t,n,r){let o=x(),i=me(),s=Zi(2);if(i.firstUpdatePass&&BI(i,e,s,r),t!==be&&Xe(o,s,t)){let a=i.data[st()];GI(i,a,o,o[G],e,o[s+1]=WI(t,n),r,s)}}function UI(e,t){return t>=e.expandoStartIndex}function BI(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[st()],s=UI(e,n);qI(i,r)&&t===null&&!s&&(t=!1),t=VI(o,i,t,r),PI(o,i,t,n,s,r)}}function VI(e,t,n,r){let o=xf(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=uu(null,e,t,n,r),n=go(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=uu(o,e,t,n,r),i===null){let c=HI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=uu(null,e,t,c[1],r),c=go(c,t.attrs,r),$I(e,t,r,c))}else i=zI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function HI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(ar(r)!==0)return e[_n(r)]}function $I(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[_n(o)]=r}function zI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=go(r,s,n)}return go(r,t.attrs,n)}function uu(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=go(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function go(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]),tf(e,s,n?!0:t[++i]))}return e===void 0?null:e}function GI(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=kI(u)?yh(c,t,n,o,ar(u),s):void 0;if(!bs(l)){bs(i)||xI(u)&&(i=yh(c,null,n,o,a,s));let d=Oc(st(),n);UD(r,s,d,o,i)}}function yh(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===be&&(h=d?_e:void 0);let f=d?Vi(h,r):l===r?h:void 0;if(u&&!bs(f)&&(f=Vi(c,r)),bs(f)&&(a=f,s))return a;let g=e[o+1];o=s?_n(g):ar(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Vi(c,r))}return a}function bs(e){return e!==void 0}function WI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Wr(Ms(e)))),e}function qI(e,t){return(e.flags&(t?8:16))!==0}function ZI(e,t=""){let n=x(),r=me(),o=e+ce,i=r.firstCreatePass?tl(r,o,1,t,null):r.data[o],s=YI(r,n,i,t);n[o]=s,Xi()&&Yu(r,n,s,i),tr(i,!1)}var YI=(e,t,n,r)=>(es(!0),eD(t[G],r));function QI(e,t,n,r=""){return Xe(e,En(),n)?t+mt(n)+r:be}function KI(e,t,n,r,o,i=""){let s=$c(),a=nl(e,s,n,o);return Zi(2),a?t+mt(n)+r+mt(o)+i:be}function JI(e,t,n,r,o,i,s,a=""){let c=$c(),u=FE(e,c,n,o,s);return Zi(3),u?t+mt(n)+r+mt(o)+i+mt(s)+a:be}function Yp(e){return hl("",e),Yp}function hl(e,t,n){let r=x(),o=QI(r,e,t,n);return o!==be&&pl(r,st(),o),hl}function Qp(e,t,n,r,o){let i=x(),s=KI(i,e,t,n,r,o);return s!==be&&pl(i,st(),s),Qp}function Kp(e,t,n,r,o,i,s){let a=x(),c=JI(a,e,t,n,r,o,i,s);return c!==be&&pl(a,st(),c),Kp}function pl(e,t,n){let r=Oc(t,e);tD(e[G],r,n)}function Jp(e,t,n){al(t)&&(t=t());let r=x(),o=En();if(Xe(r,o,t)){let i=me(),s=Ji();gp(s,r,e,t,r[G],n)}return Jp}function XI(e,t){let n=al(e);return n&&e.set(t),n}function Xp(e,t){let n=x(),r=me(),o=Re();return qp(r,n,n[G],o,e,t),Xp}function vh(e,t,n){let r=me();r.firstCreatePass&&eg(t,r.data,r.blueprint,it(e),n)}function eg(e,t,n,r,o){if(e=he(e),Array.isArray(e))for(let i=0;i<e.length;i++)eg(e[i],t,n,r,o);else{let i=me(),s=x(),a=Re(),c=dn(e)?e:he(e.provide),u=Mc(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(dn(e)||!e.multi){let f=new wn(u,o,pe,null),g=du(c,t,o?l:l+h,d);g===-1?(hu(fs(a,s),i,c),lu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=du(c,t,l+h,d),g=du(c,t,l,l+h),b=f>=0&&n[f],v=g>=0&&n[g];if(o&&!v||!o&&!b){hu(fs(a,s),i,c);let I=nw(o?tw:ew,n.length,o,r,u,e);!o&&v&&(n[g].providerFactory=I),lu(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=tg(n[o?g:f],u,!o&&r);lu(i,e,f>-1?f:g,I)}!o&&r&&v&&n[g].componentProviders++}}}function lu(e,t,n,r){let o=dn(t),i=sf(t);if(o||i){let c=(i?he(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 tg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function du(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ew(e,t,n,r,o){return ku(this.multi,[])}function tw(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=hs(r,r[T],this.providerFactory.index,o);s=c.slice(0,a),ku(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],ku(i,s);return s}function ku(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function nw(e,t,n,r,o,i){let s=new wn(e,n,pe,null);return s.multi=[],s.index=t,s.componentProviders=0,tg(s,o,r&&!n),s}function rw(e,t){return n=>{n.providersResolver=(r,o)=>vh(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>vh(r,o?o(t):t,!0))}}function ow(e,t,n){return iw(x(),Hc(),e,t,n)}function ng(e,t){let n=e[t];return n===be?void 0:n}function iw(e,t,n,r,o,i){let s=t+n;return Xe(e,s,o)?Pp(e,s+1,i?r.call(i,o):r(o)):ng(e,s+1)}function sw(e,t,n,r,o,i,s){let a=t+n;return nl(e,a,o,i)?Pp(e,a+2,s?r.call(s,o,i):r(o,i)):ng(e,a+2)}function aw(e,t){let n=me(),r,o=e+ce;n.firstCreatePass?(r=cw(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=At(r.type,!0)),s,a=Ie(pe);try{let c=ds(!1),u=i();return ds(c),kc(n,x(),o,u),u}finally{Ie(a)}}function cw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function uw(e,t,n,r){let o=e+ce,i=x(),s=df(i,o);return lw(i,o)?sw(i,Hc(),t,s.transform,n,r,s):s.transform(n,r)}function lw(e,t){return e[T].data[t].pure}var Ts=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},gl=(()=>{class e{compileModuleSync(n){return new Ds(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Dc(n),i=np(o.declarations).reduce((s,a)=>{let c=Ft(a);return c&&s.push(new sr(c)),s},[]);return new Ts(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rg=(()=>{class e{applicationErrorHandler=p(Ae);appRef=p(Rn);taskService=p(at);ngZone=p(q);zonelessEnabled=p(nr);tracing=p($t,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new re;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(zr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(ns,{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?Uf:Qc;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(zr+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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function og(){return[{provide:Ot,useExisting:rg},{provide:q,useClass:Gr},{provide:nr,useValue:!0}]}function dw(){return typeof $localize<"u"&&$localize.locale||To}var So=new D("",{factory:()=>p(So,{optional:!0,skipSelf:!0})||dw()});function J(e){return zd(e)}function Bs(e,t){return oi(e,t?.equal)}var hw=e=>e;function ml(e,t){if(typeof e=="function"){let n=Ja(e,hw,t?.equal);return ig(n,t?.debugName)}else{let n=Ja(e.source,e.computation,e.equal);return ig(n,e.debugName)}}function ig(e,t){let n=e[ie],r=e;return r.set=o=>Hd(n,o),r.update=o=>$d(n,o),r.asReadonly=ts.bind(e),r}var cg=Symbol("InputSignalNode#UNSET"),xw=j(y({},si),{transformFn:void 0,applyValueToInputSignal(e,t){rn(e,t)}});function ug(e,t){let n=Object.create(xw);n.value=e,n.transformFn=t?.transform;function r(){if(en(n),n.value===cg){let o=null;throw new m(-950,o)}return n.value}return r[ie]=n,r}var Hs=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>vo(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function sg(e,t){return ug(e,t)}function Ow(e){return ug(cg,e)}var lg=(sg.required=Ow,sg);var kw=(()=>{class e{zone=p(q);changeDetectionScheduler=p(Ot);applicationRef=p(Rn);applicationErrorHandler=p(Ae);_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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pw=new D("",{factory:()=>!1});function Fw({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new q(j(y({},dg()),{scheduleInRootZone:t})),[{provide:nr,useValue:!1},{provide:q,useFactory:e},{provide:jt,multi:!0,useFactory:()=>{let n=p(kw,{optional:!0});return()=>n.initialize()}},{provide:jt,multi:!0,useFactory:()=>{let n=p(Lw);return()=>{n.initialize()}}},{provide:ns,useValue:t??Yc}]}function w1(e){let t=e?.scheduleInRootZone,n=Fw({ngZoneFactory:()=>{let r=dg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&zt("NgZone_CoalesceEvent"),new q(r)},scheduleInRootZone:t});return pn([{provide:Pw,useValue:!0},n])}function dg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Lw=(()=>{class e{subscription=new re;initialized=!1;zone=p(q);pendingTasks=p(at);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yl=new D(""),jw=new D("");function _o(e){return!e.moduleRef}function Uw(e){let t=_o(e)?e.r3Injector:e.moduleRef.injector,n=t.get(q);return n.run(()=>{_o(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ae),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),_o(e)){let i=()=>t.destroy(),s=e.platformInjector.get(yl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(yl);s.add(i),e.moduleRef.onDestroy(()=>{co(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Vw(r,n,()=>{let i=t.get(at),s=i.add(),a=t.get(ll);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(So,To);if(Wp(c||To),!t.get(jw,!0))return _o(e)?t.get(Rn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(_o(e)){let l=t.get(Rn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Bw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Bw;function Vw(e,t,n){try{let r=n();return lr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Vs=null;function Hw(e=[],t){return Le.create({name:t,providers:[{provide:Kr,useValue:"platform"},{provide:yl,useValue:new Set([()=>Vs=null])},...e]})}function $w(e=[]){if(Vs)return Vs;let t=Hw(e);return Vs=t,$p(),zw(t),t}function zw(e){let t=e.get(_s,null);ae(e,()=>{t?.forEach(n=>n())})}var Gw=1e4;var C1=Gw-1e3;var $s=(()=>{class e{static __NG_ELEMENT_ID__=Ww}return e})();function Ww(e){return qw(Re(),x(),(e&16)===16)}function qw(e,t,n){if(Et(e)&&!n){let r=Ve(e.index,t);return new bn(r,r)}else if(e.type&175){let r=t[Me];return new bn(r,t)}return null}function fg(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;U(O.BootstrapApplicationStart);try{let i=o?.injector??$w(r),s=[og(),Vf,...n||[]],a=new po({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Uw({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{U(O.BootstrapApplicationEnd)}}function zs(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var hg=null;function Ct(){return hg}function vl(e){hg??=e}var Mo=class{},dr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(pg),providedIn:"platform"})}return e})();var pg=(()=>{class e extends dr{_location;_history;_doc=p(te);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ct().getBaseHref(this._doc)}onPopState(n){let r=Ct().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ct().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=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function yg(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function gg(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Gt(e){return e&&e[0]!=="?"?`?${e}`:e}var fr=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(Yw),providedIn:"root"})}return e})(),Zw=new D(""),Yw=(()=>{class e extends fr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(te).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 yg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Gt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Gt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Gt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(C(dr),C(Zw,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hr=(()=>{class e{_subject=new le;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Jw(gg(mg(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+Gt(r))}normalize(n){return e.stripTrailingSlash(Kw(this._basePath,mg(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+Gt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Gt(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=Gt;static joinWithSlash=yg;static stripTrailingSlash=gg;static \u0275fac=function(r){return new(r||e)(C(fr))};static \u0275prov=E({token:e,factory:()=>Qw(),providedIn:"root"})}return e})();function Qw(){return new hr(C(fr))}function Kw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function mg(e){return e.replace(/\/index\.html$/,"")}function Jw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ye=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ye||{}),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||{}),Te=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Te||{}),Tt={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 Eg(e){return xe(e)[K.LocaleId]}function Ig(e,t,n){let r=xe(e),o=[r[K.DayPeriodsFormat],r[K.DayPeriodsStandalone]],i=He(o,t);return He(i,n)}function wg(e,t,n){let r=xe(e),o=[r[K.DaysFormat],r[K.DaysStandalone]],i=He(o,t);return He(i,n)}function Cg(e,t,n){let r=xe(e),o=[r[K.MonthsFormat],r[K.MonthsStandalone]],i=He(o,t);return He(i,n)}function bg(e,t){let r=xe(e)[K.Eras];return He(r,t)}function No(e,t){let n=xe(e);return He(n[K.DateFormat],t)}function Ro(e,t){let n=xe(e);return He(n[K.TimeFormat],t)}function Ao(e,t){let r=xe(e)[K.DateTimeFormat];return He(r,t)}function xo(e,t){let n=xe(e),r=n[K.NumberSymbols][t];if(typeof r>"u"){if(t===Tt.CurrencyDecimal)return n[K.NumberSymbols][Tt.Decimal];if(t===Tt.CurrencyGroup)return n[K.NumberSymbols][Tt.Group]}return r}function Tg(e){if(!e[K.ExtraData])throw new m(2303,!1)}function Sg(e){let t=xe(e);return Tg(t),(t[K.ExtraData][2]||[]).map(r=>typeof r=="string"?Dl(r):[Dl(r[0]),Dl(r[1])])}function _g(e,t,n){let r=xe(e);Tg(r);let o=[r[K.ExtraData][0],r[K.ExtraData][1]],i=He(o,t)||[];return He(i,n)||[]}function He(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function Dl(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var Xw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Gs={},eC=/((?:[^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]*)/,tC=256;function Mg(e,t,n,r){let o=dC(e);nC(t),t=bt(n,t)||t;let s=[],a;for(;t;)if(a=eC.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=Rg(r,c),o=lC(o,r));let u="";return s.forEach(l=>{let d=cC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function nC(e){if(e.length>tC)throw new m(2300,!1)}function Qs(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function bt(e,t){let n=Eg(e);if(Gs[n]??={},Gs[n][t])return Gs[n][t];let r="";switch(t){case"shortDate":r=No(e,Te.Short);break;case"mediumDate":r=No(e,Te.Medium);break;case"longDate":r=No(e,Te.Long);break;case"fullDate":r=No(e,Te.Full);break;case"shortTime":r=Ro(e,Te.Short);break;case"mediumTime":r=Ro(e,Te.Medium);break;case"longTime":r=Ro(e,Te.Long);break;case"fullTime":r=Ro(e,Te.Full);break;case"short":let o=bt(e,"shortTime"),i=bt(e,"shortDate");r=Ws(Ao(e,Te.Short),[o,i]);break;case"medium":let s=bt(e,"mediumTime"),a=bt(e,"mediumDate");r=Ws(Ao(e,Te.Medium),[s,a]);break;case"long":let c=bt(e,"longTime"),u=bt(e,"longDate");r=Ws(Ao(e,Te.Long),[c,u]);break;case"full":let l=bt(e,"fullTime"),d=bt(e,"fullDate");r=Ws(Ao(e,Te.Full),[l,d]);break}return r&&(Gs[n][t]=r),r}function Ws(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function et(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 rC(e,t){return et(e,3).substring(0,t)}function ne(e,t,n=0,r=!1,o=!1){return function(i,s){let a=oC(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return rC(a,t);let c=xo(s,Tt.MinusSign);return et(a,t,c,r,o)}}function oC(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 $(e,t,n=ye.Format,r=!1){return function(o,i){return iC(o,i,e,t,n,r)}}function iC(e,t,n,r,o,i){switch(n){case 2:return Cg(t,o,r)[e.getMonth()];case 1:return wg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Sg(t),l=_g(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,b=s>=f.hours&&a>=f.minutes,v=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(b&&v)return!0}else if(b||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Ig(t,o,r)[s<12?0:1];case 3:return bg(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function qs(e){return function(t,n,r){let o=-1*r,i=xo(n,Tt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+et(s,2,i)+et(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+et(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+et(s,2,i)+":"+et(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+et(s,2,i)+":"+et(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var sC=0,Ys=4;function aC(e){let t=Qs(e,sC,1).getDay();return Qs(e,0,1+(t<=Ys?Ys:Ys+7)-t)}function Ng(e){let t=e.getDay(),n=t===0?-3:Ys-t;return Qs(e.getFullYear(),e.getMonth(),e.getDate()+n)}function El(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=Ng(n),s=aC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return et(o,e,xo(r,Tt.MinusSign))}}function Zs(e,t=!1){return function(n,r){let i=Ng(n).getFullYear();return et(i,e,xo(r,Tt.MinusSign),t)}}var Il={};function cC(e){if(Il[e])return Il[e];let t;switch(e){case"G":case"GG":case"GGG":t=$(3,B.Abbreviated);break;case"GGGG":t=$(3,B.Wide);break;case"GGGGG":t=$(3,B.Narrow);break;case"y":t=ne(0,1,0,!1,!0);break;case"yy":t=ne(0,2,0,!0,!0);break;case"yyy":t=ne(0,3,0,!1,!0);break;case"yyyy":t=ne(0,4,0,!1,!0);break;case"Y":t=Zs(1);break;case"YY":t=Zs(2,!0);break;case"YYY":t=Zs(3);break;case"YYYY":t=Zs(4);break;case"M":case"L":t=ne(1,1,1);break;case"MM":case"LL":t=ne(1,2,1);break;case"MMM":t=$(2,B.Abbreviated);break;case"MMMM":t=$(2,B.Wide);break;case"MMMMM":t=$(2,B.Narrow);break;case"LLL":t=$(2,B.Abbreviated,ye.Standalone);break;case"LLLL":t=$(2,B.Wide,ye.Standalone);break;case"LLLLL":t=$(2,B.Narrow,ye.Standalone);break;case"w":t=El(1);break;case"ww":t=El(2);break;case"W":t=El(1,!0);break;case"d":t=ne(2,1);break;case"dd":t=ne(2,2);break;case"c":case"cc":t=ne(7,1);break;case"ccc":t=$(1,B.Abbreviated,ye.Standalone);break;case"cccc":t=$(1,B.Wide,ye.Standalone);break;case"ccccc":t=$(1,B.Narrow,ye.Standalone);break;case"cccccc":t=$(1,B.Short,ye.Standalone);break;case"E":case"EE":case"EEE":t=$(1,B.Abbreviated);break;case"EEEE":t=$(1,B.Wide);break;case"EEEEE":t=$(1,B.Narrow);break;case"EEEEEE":t=$(1,B.Short);break;case"a":case"aa":case"aaa":t=$(0,B.Abbreviated);break;case"aaaa":t=$(0,B.Wide);break;case"aaaaa":t=$(0,B.Narrow);break;case"b":case"bb":case"bbb":t=$(0,B.Abbreviated,ye.Standalone,!0);break;case"bbbb":t=$(0,B.Wide,ye.Standalone,!0);break;case"bbbbb":t=$(0,B.Narrow,ye.Standalone,!0);break;case"B":case"BB":case"BBB":t=$(0,B.Abbreviated,ye.Format,!0);break;case"BBBB":t=$(0,B.Wide,ye.Format,!0);break;case"BBBBB":t=$(0,B.Narrow,ye.Format,!0);break;case"h":t=ne(3,1,-12);break;case"hh":t=ne(3,2,-12);break;case"H":t=ne(3,1);break;case"HH":t=ne(3,2);break;case"m":t=ne(4,1);break;case"mm":t=ne(4,2);break;case"s":t=ne(5,1);break;case"ss":t=ne(5,2);break;case"S":t=ne(6,1);break;case"SS":t=ne(6,2);break;case"SSS":t=ne(6,3);break;case"Z":case"ZZ":case"ZZZ":t=qs(0);break;case"ZZZZZ":t=qs(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=qs(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=qs(2);break;default:return null}return Il[e]=t,t}function Rg(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function uC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function lC(e,t,n){let o=e.getTimezoneOffset(),i=Rg(t,o);return uC(e,-1*(i-o))}function dC(e){if(vg(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 Qs(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Xw))return fC(r)}let t=new Date(e);if(!vg(t))throw new m(2311,!1);return t}function fC(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 vg(e){return e instanceof Date&&!isNaN(e.valueOf())}var wl=/\s+/,Dg=[],hC=(()=>{class e{_ngEl;_renderer;initialClasses=Dg;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(wl):Dg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(wl):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(wl).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)(pe(ur),pe(wo))};static \u0275dir=Nn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();function pC(e,t){return new m(2100,!1)}var gC="mediumDate",Ag=new D(""),xg=new D(""),mC=(()=>{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??gC,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Mg(n,s,i||this.locale,a)}catch(s){throw pC(e,s.message)}}static \u0275fac=function(r){return new(r||e)(pe(So,16),pe(Ag,24),pe(xg,24))};static \u0275pipe=ol({name:"date",type:e,pure:!0})}return e})();var Og=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mn({type:e});static \u0275inj=Pt({})}return e})();function Oo(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 An=class{};var kg="browser";var ko=class{_doc;constructor(t){this._doc=t}manager},Ks=(()=>{class e extends ko{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(te))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),ea=new D(""),Sl=(()=>{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 Ks));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Ks);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)(C(ea),C(q))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Cl="ng-app-id";function Pg(e){for(let t of e)t.remove()}function Fg(e,t){let n=t.createElement("style");return n.textContent=e,n}function DC(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Cl}="${t}"],link[${Cl}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Cl),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 Tl(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var _l=(()=>{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,DC(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Fg);r?.forEach(o=>this.addUsage(o,this.external,Tl))}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&&(Pg(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Pg(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Fg(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Tl(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(te),C(Ss),C(Eo,8),C(Do))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),bl={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"},Ml=/%COMP%/g;var jg="%COMP%",EC=`_nghost-${jg}`,IC=`_ngcontent-${jg}`,wC=!0,CC=new D("",{factory:()=>wC});function bC(e){return IC.replace(Ml,e)}function TC(e){return EC.replace(Ml,e)}function Ug(e,t){return t.map(n=>n.replace(Ml,e))}var Nl=(()=>{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 Po(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Xs?o.applyToHost(n):o instanceof Fo&&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 Je.Emulated:i=new Xs(c,u,r,this.appId,l,s,a,d);break;case Je.ShadowDom:return new Js(c,n,r,s,a,this.nonce,d,u);case Je.ExperimentalIsolatedShadowDom:return new Js(c,n,r,s,a,this.nonce,d);default:i=new Fo(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)(C(Sl),C(_l),C(Ss),C(CC),C(te),C(q),C(Eo),C($t,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Po=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(bl[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Lg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Lg(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=bl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=bl[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&(ut.DashCase|ut.Important)?t.style.setProperty(n,r,o&ut.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ut.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=Ct().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 Lg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Js=class extends Po{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=Ug(r.id,u);for(let d of u){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let l=r.getExternalStyles?.();if(l)for(let d of l){let h=Tl(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}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)}},Fo=class extends Po{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?Ug(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Cn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Xs=class extends Fo{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=bC(u),this.hostAttr=TC(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 ta=class e extends Mo{supportsDOMEvents=!0;static makeCurrent(){vl(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=SC();return n==null?null:_C(n)}resetBaseElement(){Lo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Oo(document.cookie,t)}},Lo=null;function SC(){return Lo=Lo||document.head.querySelector("base"),Lo?Lo.getAttribute("href"):null}function _C(e){return new URL(e,document.baseURI).pathname}var MC=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Bg=["alt","control","meta","shift"],NC={"\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"},RC={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Vg=(()=>{class e extends ko{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(()=>Ct().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."),Bg.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=NC[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"),Bg.forEach(s=>{if(s!==o){let a=RC[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(C(te))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function AC(e,t,n){return H(this,null,function*(){let r=y({rootComponent:e},xC(t,n));return fg(r)})}function xC(e,t){return{platformRef:t?.platformRef,appProviders:[...LC,...e?.providers??[]],platformProviders:FC}}function OC(){ta.makeCurrent()}function kC(){return new ot}function PC(){return ju(document),document}var FC=[{provide:Do,useValue:kg},{provide:_s,useValue:OC,multi:!0},{provide:te,useFactory:PC}];var LC=[{provide:Kr,useValue:"root"},{provide:ot,useFactory:kC},{provide:ea,useClass:Ks,multi:!0},{provide:ea,useClass:Vg,multi:!0},Nl,_l,Sl,{provide:Tn,useExisting:Nl},{provide:An,useClass:MC},[]];var Wt=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 ra=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()}},oa=class{encodeKey(t){return Hg(t)}encodeValue(t){return Hg(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function jC(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 UC=/%(\d[a-f0-9])/gi,BC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Hg(e){return encodeURIComponent(e).replace(UC,(t,n)=>BC[n]??t)}function na(e){return`${e}`}var St=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new oa,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=jC(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(na):[na(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(na(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(na(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 VC(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function $g(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function zg(e){return typeof Blob<"u"&&e instanceof Blob}function Gg(e){return typeof FormData<"u"&&e instanceof FormData}function HC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Wg="Content-Type",qg="Accept",Zg="text/plain",Yg="application/json",$C=`${Yg}, ${Zg}, */*`,pr=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(VC(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 Wt,this.context??=new ra,!this.params)this.params=new St,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"||$g(this.body)||zg(this.body)||Gg(this.body)||HC(this.body)?this.body:this.body instanceof St?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||Gg(this.body)?null:zg(this.body)?this.body.type||null:$g(this.body)?null:typeof this.body=="string"?Zg:this.body instanceof St?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Yg:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer??this.referrer,h=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,g=t.transferCache??this.transferCache,b=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,I=t.withCredentials??this.withCredentials,W=t.reportProgress??this.reportProgress,De=t.headers||this.headers,oe=t.params||this.params,Rr=t.context??this.context;return t.setHeaders!==void 0&&(De=Object.keys(t.setHeaders).reduce((Ar,Qt)=>Ar.set(Qt,t.setHeaders[Qt]),De)),t.setParams&&(oe=Object.keys(t.setParams).reduce((Ar,Qt)=>Ar.set(Qt,t.setParams[Qt]),oe)),new e(n,r,v,{params:oe,headers:De,context:Rr,reportProgress:W,responseType:o,withCredentials:I,transferCache:g,keepalive:i,cache:a,priority:s,timeout:b,mode:c,redirect:u,credentials:l,referrer:d,integrity:h,referrerPolicy:f})}},xn=(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})(xn||{}),mr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Wt,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}},ia=class e extends mr{constructor(t={}){super(t)}type=xn.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 mr{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=xn.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})}},gr=class extends mr{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}},zC=200,GC=204;var WC=new D("");var qC=/^\)\]\}',?\n/;var Al=(()=>{class e{xhrFactory;tracingService=p($t,{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 N(null).pipe(Se(()=>new A(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,I)=>s.setRequestHeader(v,I.join(","))),n.headers.has(qg)||s.setRequestHeader(qg,$C),!n.headers.has(Wg)){let v=n.detectContentTypeHeader();v!==null&&s.setRequestHeader(Wg,v)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let v=n.responseType.toLowerCase();s.responseType=v!=="json"?v:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let v=s.statusText||"OK",I=new Wt(s.getAllResponseHeaders()),W=s.responseURL||n.url;return c=new ia({headers:I,status:s.status,statusText:v,url:W}),c},l=this.maybePropagateTrace(()=>{let{headers:v,status:I,statusText:W,url:De}=u(),oe=null;I!==GC&&(oe=typeof s.response>"u"?s.responseText:s.response),I===0&&(I=oe?zC:0);let Rr=I>=200&&I<300;if(n.responseType==="json"&&typeof oe=="string"){let Ar=oe;oe=oe.replace(qC,"");try{oe=oe!==""?JSON.parse(oe):null}catch(Qt){oe=Ar,Rr&&(Rr=!1,oe={error:Qt,text:oe})}}Rr?(i.next(new jo({body:oe,headers:v,status:I,statusText:W,url:De||void 0})),i.complete()):i.error(new gr({error:oe,headers:v,status:I,statusText:W,url:De||void 0}))}),d=this.maybePropagateTrace(v=>{let{url:I}=u(),W=new gr({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:I||void 0});i.error(W)}),h=d;n.timeout&&(h=this.maybePropagateTrace(v=>{let{url:I}=u(),W=new gr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:I||void 0});i.error(W)}));let f=!1,g=this.maybePropagateTrace(v=>{f||(i.next(u()),f=!0);let I={type:xn.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),n.responseType==="text"&&s.responseText&&(I.partialText=s.responseText),i.next(I)}),b=this.maybePropagateTrace(v=>{let I={type:xn.UploadProgress,loaded:v.loaded};v.lengthComputable&&(I.total=v.total),i.next(I)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",b)),s.send(a),i.next({type:xn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",b)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(An))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZC(e,t){return t(e)}function YC(e,t,n){return(r,o)=>ae(n,()=>t(r,i=>e(i,o)))}var Qg=new D("",{factory:()=>[]}),Kg=new D(""),Jg=new D("",{factory:()=>!0});var xl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(Al),o},providedIn:"root"})}return e})();var sa=(()=>{class e{backend;injector;chain=null;pendingTasks=p(oo);contributeToStability=p(Jg);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Qg),...this.injector.get(Kg,[])]));this.chain=r.reduceRight((o,i)=>YC(o,i,this.injector),ZC)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Ur(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(xl),C(z))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ol=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(sa),o},providedIn:"root"})}return e})();function Rl(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 Xg=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof pr)i=n;else{let c;o.headers instanceof Wt?c=o.headers:c=new Wt(o.headers);let u;o.params&&(o.params instanceof St?u=o.params:u=new St({fromObject:o.params})),i=new pr(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=N(i).pipe(qn(c=>this.handler.handle(c)));if(n instanceof pr||o.observe==="events")return s;let a=s.pipe(We(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 St().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,Rl(o,r))}post(n,r,o={}){return this.request("POST",n,Rl(o,r))}put(n,r,o={}){return this.request("PUT",n,Rl(o,r))}static \u0275fac=function(r){return new(r||e)(C(Ol))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var QC=new D("",{factory:()=>!0}),KC="XSRF-TOKEN",JC=new D("",{factory:()=>KC}),XC="X-XSRF-TOKEN",eb=new D("",{factory:()=>XC}),tb=(()=>{class e{cookieName=p(JC);doc=p(te);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Oo(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),em=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(tb),o},providedIn:"root"})}return e})();function nb(e,t){if(!p(QC)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=p(dr).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(em).getToken(),r=p(eb);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function rb(...e){let t=[Xg,sa,{provide:Ol,useExisting:sa},{provide:xl,useFactory:()=>p(WC,{optional:!0})??p(Al)},{provide:Qg,useValue:nb,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return pn(t)}var tm=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(C(te))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var S="primary",Jo=Symbol("RouteTitle"),jl=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 kn(e){return new jl(e)}function kl(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 um(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 kl(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!kl(i,e.slice(0,i.length),a)||!kl(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function fa(e){return new Promise((t,n)=>{e.pipe(ht()).subscribe({next:r=>t(r),error:r=>n(r)})})}function ib(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!lt(e[n],t[n]))return!1;return!0}function lt(e,t){let n=e?Ul(e):void 0,r=t?Ul(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],!lm(e[o],t[o]))return!1;return!0}function Ul(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function lm(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 sb(e){return e.length>0?e[e.length-1]:null}function Ln(e){return Ti(e)?e:lr(e)?ee(Promise.resolve(e)):N(e)}function dm(e){return Ti(e)?fa(e):Promise.resolve(e)}var ab={exact:pm,subset:gm},fm={exact:cb,subset:ub,ignored:()=>!0},hm={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function nm(e,t,n){return ab[n.paths](e.root,t.root,n.matrixParams)&&fm[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function cb(e,t){return lt(e,t)}function pm(e,t,n){if(!On(e.segments,t.segments)||!ua(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!pm(e.children[r],t.children[r],n))return!1;return!0}function ub(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>lm(e[n],t[n]))}function gm(e,t,n){return mm(e,t,t.segments,n)}function mm(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!On(o,n)||t.hasChildren()||!ua(o,n,r))}else if(e.segments.length===n.length){if(!On(e.segments,n)||!ua(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!gm(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!On(e.segments,o)||!ua(e.segments,o,r)||!e.children[S]?!1:mm(e.children[S],t,i,r)}}function ua(e,t,n){return t.every((r,o)=>fm[n](e[o].parameters,r.parameters))}var ke=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??=kn(this.queryParams),this._queryParamMap}toString(){return fb.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 la(this)}},qt=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=kn(this.parameters),this._parameterMap}toString(){return vm(this)}};function lb(e,t){return On(e,t)&&e.every((n,r)=>lt(n.parameters,t[r].parameters))}function On(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function db(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===S&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==S&&(n=n.concat(t(o,r)))}),n}var Tr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new Zt,providedIn:"root"})}return e})(),Zt=class{parse(t){let n=new Hl(t);return new ke(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Uo(t.root,!0)}`,r=gb(t.queryParams),o=typeof t.fragment=="string"?`#${hb(t.fragment)}`:"";return`${n}${r}${o}`}},fb=new Zt;function la(e){return e.segments.map(t=>vm(t)).join("/")}function Uo(e,t){if(!e.hasChildren())return la(e);if(t){let n=e.children[S]?Uo(e.children[S],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==S&&r.push(`${o}:${Uo(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=db(e,(r,o)=>o===S?[Uo(e.children[S],!1)]:[`${o}:${Uo(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[S]!=null?`${la(e)}/${n[0]}`:`${la(e)}/(${n.join("//")})`}}function ym(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function aa(e){return ym(e).replace(/%3B/gi,";")}function hb(e){return encodeURI(e)}function Vl(e){return ym(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function da(e){return decodeURIComponent(e)}function rm(e){return da(e.replace(/\+/g,"%20"))}function vm(e){return`${Vl(e.path)}${pb(e.parameters)}`}function pb(e){return Object.entries(e).map(([t,n])=>`;${Vl(t)}=${Vl(n)}`).join("")}function gb(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${aa(n)}=${aa(o)}`).join("&"):`${aa(n)}=${aa(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var mb=/^[^\/()?;#]+/;function Pl(e){let t=e.match(mb);return t?t[0]:""}var yb=/^[^\/()?;=#]+/;function vb(e){let t=e.match(yb);return t?t[0]:""}var Db=/^[^=?&#]+/;function Eb(e){let t=e.match(Db);return t?t[0]:""}var Ib=/^[^&#]+/;function wb(e){let t=e.match(Ib);return t?t[0]:""}var Hl=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[S]=new k(n,r)),o}parseSegment(){let t=Pl(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new qt(da(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=vb(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Pl(this.remaining);o&&(r=o,this.capture(r))}t[da(n)]=da(r)}parseQueryParam(t){let n=Eb(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=wb(this.remaining);s&&(r=s,this.capture(r))}let o=rm(n),i=rm(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=Pl(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=S);let a=this.parseChildren(n+1);r[s??S]=Object.keys(a).length===1&&a[S]?a[S]: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 Dm(e){return e.segments.length>0?new k([],{[S]:e}):e}function Em(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Em(o);if(r===S&&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 Cb(n)}function Cb(e){if(e.numberOfChildren===1&&e.children[S]){let t=e.children[S];return new k(e.segments.concat(t.segments),t.children)}return e}function Yt(e){return e instanceof ke}function Im(e,t,n=null,r=null,o=new Zt){let i=wm(e);return Cm(i,t,n,r,o)}function wm(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=Dm(r);return t??o}function Cm(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return Fl(i,i,i,n,r,o);let s=bb(t);if(s.toRoot())return Fl(i,i,new k([],{}),n,r,o);let a=Tb(s,i,e),c=a.processChildren?Vo(a.segmentGroup,a.index,s.commands):Tm(a.segmentGroup,a.index,s.commands);return Fl(i,a.segmentGroup,c,n,r,o)}function ha(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function zo(e){return typeof e=="object"&&e!=null&&e.outlets}function om(e,t,n){e||="\u0275";let r=new ke;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function Fl(e,t,n,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>om(u,d,i)):om(u,l,i);let a;e===t?a=n:a=bm(e,t,n);let c=Dm(Em(a));return new ke(c,s,o)}function bm(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=bm(i,t,n)}),new k(e.segments,r)}var pa=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ha(r[0]))throw new m(4003,!1);let o=r.find(zo);if(o&&o!==sb(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function bb(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new pa(!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 pa(n,t,r)}var vr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Tb(e,t,n){if(e.isAbsolute)return new vr(t,!0,0);if(!n)return new vr(t,!1,NaN);if(n.parent===null)return new vr(n,!0,0);let r=ha(e.commands[0])?0:1,o=n.segments.length-1+r;return Sb(n,o,e.numberOfDoubleDots)}function Sb(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 vr(r,!1,o-i)}function _b(e){return zo(e[0])?e[0].outlets:{[S]:e}}function Tm(e,t,n){if(e??=new k([],{}),e.segments.length===0&&e.hasChildren())return Vo(e,t,n);let r=Mb(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[S]=new k(e.segments.slice(r.pathIndex),e.children),Vo(i,0,o)}else return r.match&&o.length===0?new k(e.segments,{}):r.match&&!e.hasChildren()?$l(e,t,n):r.match?Vo(e,0,o):$l(e,t,n)}function Vo(e,t,n){if(n.length===0)return new k(e.segments,{});{let r=_b(n),o={};if(Object.keys(r).some(i=>i!==S)&&e.children[S]&&e.numberOfChildren===1&&e.children[S].segments.length===0){let i=Vo(e.children[S],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]=Tm(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 Mb(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(zo(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(!sm(c,u,s))return i;r+=2}else{if(!sm(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function $l(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(zo(i)){let c=Nb(i.outlets);return new k(r,c)}if(o===0&&ha(n[0])){let c=e.segments[t];r.push(new qt(c.path,im(n[0]))),o++;continue}let s=zo(i)?i.outlets[S]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&ha(a)?(r.push(new qt(s,im(a))),o+=2):(r.push(new qt(s,{})),o++)}return new k(r,{})}function Nb(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=$l(new k([],{}),0,r))}),t}function im(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function sm(e,t,n){return e==n.path&<(t,n.parameters)}var Ho="imperative",ue=(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})(ue||{}),Pe=class{id;url;constructor(t,n){this.id=t,this.url=n}},Pn=class extends Pe{type=ue.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}')`}},dt=class extends Pe{urlAfterRedirects;type=ue.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ve=(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})(ve||{}),Go=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Go||{}),$e=class extends Pe{reason;code;type=ue.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 Sm(e){return e instanceof $e&&(e.code===ve.Redirect||e.code===ve.SupersededByNewNavigation)}var Mt=class extends Pe{reason;code;type=ue.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},Fn=class extends Pe{error;target;type=ue.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})`}},Wo=class extends Pe{urlAfterRedirects;state;type=ue.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})`}},ga=class extends Pe{urlAfterRedirects;state;type=ue.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})`}},ma=class extends Pe{urlAfterRedirects;state;shouldActivate;type=ue.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})`}},ya=class extends Pe{urlAfterRedirects;state;type=ue.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})`}},va=class extends Pe{urlAfterRedirects;state;type=ue.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})`}},Da=class{route;type=ue.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ea=class{route;type=ue.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ia=class{snapshot;type=ue.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},wa=class{snapshot;type=ue.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ca=class{snapshot;type=ue.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ba=class{snapshot;type=ue.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Er=class{},qo=class{},Ir=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Rb(e){return!(e instanceof Er)&&!(e instanceof Ir)&&!(e instanceof qo)}var Ta=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 Sr(this.rootInjector)}},Sr=(()=>{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 Ta(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(C(z))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sa=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=zl(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=zl(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Gl(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Gl(t,this._root).map(n=>n.value)}};function zl(e,t){if(e===t.value)return t;for(let n of t.children){let r=zl(e,n);if(r)return r}return null}function Gl(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Gl(e,n);if(r.length)return r.unshift(t),r}return[]}var Oe=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function yr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Zo=class extends Sa{snapshot;constructor(t,n){super(t),this.snapshot=n,ed(this,t)}toString(){return this.snapshot.toString()}};function _m(e,t){let n=Ab(e,t),r=new de([new qt("",{})]),o=new de({}),i=new de({}),s=new de({}),a=new de(""),c=new Nt(r,o,s,a,i,S,e,n.root);return c.snapshot=n.root,new Zo(new Oe(c,[]),n)}function Ab(e,t){let n={},r={},o={},s=new wr([],n,o,"",r,S,e,null,{},t);return new Yo("",new Oe(s,[]))}var Nt=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[Jo]))??N(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=>kn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(t=>kn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xl(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&&Nm(o)&&(r.resolve[Jo]=o.title),r}var wr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Jo]}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??=kn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=kn(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}')`}},Yo=class extends Sa{url;constructor(t,n){super(n),this.url=t,ed(this,n)}toString(){return Mm(this._root)}};function ed(e,t){t.value._routerState=e,t.children.forEach(n=>ed(e,n))}function Mm(e){let t=e.children.length>0?` { ${e.children.map(Mm).join(", ")} } `:"";return`${e.value}${t}`}function Ll(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,lt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),lt(t.params,n.params)||e.paramsSubject.next(n.params),ib(t.url,n.url)||e.urlSubject.next(n.url),lt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wl(e,t){let n=lt(e.params,t.params)&&lb(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Wl(e.parent,t.parent))}function Nm(e){return typeof e.title=="string"||e.title===null}var Rm=new D(""),td=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=S;activateEvents=new we;deactivateEvents=new we;attachEvents=new we;detachEvents=new we;routerOutletData=lg();parentContexts=p(Sr);location=p(Co);changeDetector=p($s);inputBinder=p(Ra,{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 ql(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=Nn({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[cr]})}return e})(),ql=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===Nt?this.route:t===Sr?this.childContexts:t===Rm?this.outletData:this.parent.get(t,n)}},Ra=new D("");var nd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=rl({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&js(0,"router-outlet")},dependencies:[td],encapsulation:2})}return e})();function rd(e){let t=e.children&&e.children.map(rd),n=t?j(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==S&&(n.component=nd),n}function xb(e,t,n){let r=Qo(e,t._root,n?n._root:void 0);return new Zo(r,t)}function Qo(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=Ob(e,t,n);return new Oe(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=>Qo(e,a)),s}}let r=kb(t.value),o=t.children.map(i=>Qo(e,i));return new Oe(r,o)}}function Ob(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Qo(e,r,o);return Qo(e,r)})}function kb(e){return new Nt(new de(e.url),new de(e.params),new de(e.queryParams),new de(e.fragment),new de(e.data),e.outlet,e.component,e)}var Cr=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Am="ngNavigationCancelingError";function _a(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Yt(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=xm(!1,ve.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function xm(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Am]=!0,n.cancellationCode=t,n}function Pb(e){return Om(e)&&Yt(e.url)}function Om(e){return!!e&&e[Am]}var Zl=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),Ll(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=yr(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=yr(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=yr(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=yr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new ba(i.value.snapshot))}),t.children.length&&this.forwardEvent(new wa(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Ll(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),Ll(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)}},Ma=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Dr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Fb(e,t,n){let r=e._root,o=t?t._root:null;return Bo(r,o,n,[r.value])}function Lb(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function _r(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!gc(e)?e:t.get(e):r}function Bo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=yr(t);return e.children.forEach(s=>{jb(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>$o(a,n.getContext(s),o)),o}function jb(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=Ub(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ma(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Bo(e,t,a?a.children:null,r,o):Bo(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Dr(a.outlet.component,s))}else s&&$o(t,a,o),o.canActivateChecks.push(new Ma(r)),i.component?Bo(e,null,a?a.children:null,r,o):Bo(e,null,n,r,o);return o}function Ub(e,t,n){if(typeof n=="function")return ae(t._environmentInjector,()=>n(e,t));switch(n){case"pathParamsChange":return!On(e.url,t.url);case"pathParamsOrQueryParamsChange":return!On(e.url,t.url)||!lt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wl(e,t)||!lt(e.queryParams,t.queryParams);default:return!Wl(e,t)}}function $o(e,t,n){let r=yr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?$o(s,t.children.getContext(i),n):$o(s,null,n):$o(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Dr(t.outlet.component,o)):n.canDeactivateChecks.push(new Dr(null,o)):n.canDeactivateChecks.push(new Dr(null,o))}function Xo(e){return typeof e=="function"}function Bb(e){return typeof e=="boolean"}function Vb(e){return e&&Xo(e.canLoad)}function Hb(e){return e&&Xo(e.canActivate)}function $b(e){return e&&Xo(e.canActivateChild)}function zb(e){return e&&Xo(e.canDeactivate)}function Gb(e){return e&&Xo(e.canMatch)}function km(e){return e instanceof cn||e?.name==="EmptyError"}var ca=Symbol("INITIAL_VALUE");function br(){return Se(e=>Ya(e.map(t=>t.pipe(ft(1),Qa(ca)))).pipe(V(t=>{for(let n of t)if(n!==!0){if(n===ca)return ca;if(n===!1||Wb(n))return n}return!0}),We(t=>t!==ca),ft(1)))}function Wb(e){return Yt(e)||e instanceof Cr}function Pm(e){return e.aborted?N(void 0).pipe(ft(1)):new A(t=>{let n=()=>{t.next(),t.complete()};return e.addEventListener("abort",n),()=>e.removeEventListener("abort",n)})}function Fm(e){return Br(Pm(e))}function qb(e){return Ee(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?N(j(y({},t),{guardsResult:!0})):Zb(i,n,r).pipe(Ee(s=>s&&Bb(s)?Yb(n,o,e):N(s)),V(s=>j(y({},t),{guardsResult:s})))})}function Zb(e,t,n){return ee(e).pipe(Ee(r=>eT(r.component,r.route,n,t)),ht(r=>r!==!0,!0))}function Yb(e,t,n){return ee(t).pipe(qn(r=>Wn(Kb(r.route.parent,n),Qb(r.route,n),Xb(e,r.path),Jb(e,r.route))),ht(r=>r!==!0,!0))}function Qb(e,t){return e!==null&&t&&t(new Ca(e)),N(!0)}function Kb(e,t){return e!==null&&t&&t(new Ia(e)),N(!0)}function Jb(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return N(!0);let r=n.map(o=>Lr(()=>{let i=t._environmentInjector,s=_r(o,i),a=Hb(s)?s.canActivate(t,e):ae(i,()=>s(t,e));return Ln(a).pipe(ht())}));return N(r).pipe(br())}function Xb(e,t){let n=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(i=>Lb(i)).filter(i=>i!==null).map(i=>Lr(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=_r(a,c),l=$b(u)?u.canActivateChild(n,e):ae(c,()=>u(n,e));return Ln(l).pipe(ht())});return N(s).pipe(br())}));return N(o).pipe(br())}function eT(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return N(!0);let i=o.map(s=>{let a=t._environmentInjector,c=_r(s,a),u=zb(c)?c.canDeactivate(e,t,n,r):ae(a,()=>c(e,t,n,r));return Ln(u).pipe(ht())});return N(i).pipe(br())}function tT(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return N(!0);let s=i.map(a=>{let c=_r(a,e),u=Vb(c)?c.canLoad(t,n):ae(e,()=>c(t,n)),l=Ln(u);return o?l.pipe(Fm(o)):l});return N(s).pipe(br(),Lm(r))}function Lm(e){return Ga(Fe(t=>{if(typeof t!="boolean")throw _a(e,t)}),V(t=>t===!0))}function nT(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return N(!0);let a=s.map(c=>{let u=_r(c,e),l=Gb(u)?u.canMatch(t,n,o):ae(e,()=>u(t,n,o));return Ln(l).pipe(Fm(i))});return N(a).pipe(br(),Lm(r))}var _t=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}},Ko=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function rT(e){throw new m(4e3,!1)}function oT(e){throw xm(!1,ve.GuardRejected)}var Yl=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){return H(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[S])throw rT(`${t.redirectTo}`);o=o.children[S]}})}applyRedirectCommands(t,n,r,o,i){return H(this,null,function*(){let s=yield iT(n,o,i);if(s instanceof ke)throw new Ko(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new Ko(a);return a})}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new ke(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 iT(e,t,n){if(typeof e=="string")return Promise.resolve(e);let r=e;return fa(Ln(ae(n,()=>r(t))))}function sT(e,t){return e.providers&&!e._injector&&(e._injector=bo(e.providers,t,`Route: ${e.path}`)),e._injector??t}function tt(e){return e.outlet||S}function aT(e,t){let n=e.filter(r=>tt(r)===t);return n.push(...e.filter(r=>tt(r)!==t)),n}var Ql={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jm(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 cT(e,t,n,r,o,i,s){let a=Um(e,t,n);if(!a.matched)return N(a);let c=jm(i(a));return r=sT(t,r),nT(r,t,n,o,c,s).pipe(V(u=>u===!0?a:y({},Ql)))}function Um(e,t,n){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Ql):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||um)(n,e,t);if(!o)return y({},Ql);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 am(e,t,n,r,o){return n.length>0&&dT(e,n,r,o)?{segmentGroup:new k(t,lT(r,new k(n,e.children))),slicedSegments:[]}:n.length===0&&fT(e,n,r)?{segmentGroup:new k(e.segments,uT(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new k(e.segments,e.children),slicedSegments:n}}function uT(e,t,n,r){let o={};for(let i of n)if(Aa(e,t,i)&&!r[tt(i)]){let s=new k([],{});o[tt(i)]=s}return y(y({},r),o)}function lT(e,t){let n={};n[S]=t;for(let r of e)if(r.path===""&&tt(r)!==S){let o=new k([],{});n[tt(r)]=o}return n}function dT(e,t,n,r){return n.some(o=>!Aa(e,t,o)||!(tt(o)!==S)?!1:!(r!==void 0&&tt(o)===r))}function fT(e,t,n){return n.some(r=>Aa(e,t,r))}function Aa(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function hT(e,t,n){return t.length===0&&!e.children[n]}var Kl=class{};function pT(e,t,n,r,o,i,s="emptyOnly",a){return H(this,null,function*(){return new Jl(e,t,n,r,o,s,i,a).recognize()})}var gT=31,Jl=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 Yl(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){return H(this,null,function*(){let t=am(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=yield this.match(t),o=new Oe(r,n),i=new Yo("",o),s=Im(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 H(this,null,function*(){let n=new wr([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),S,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,t,S,n),rootSnapshot:n}}catch(r){if(r instanceof Ko)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof _t?this.noMatchError(r):r}})}processSegmentGroup(t,n,r,o,i){return H(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 Oe?[s]:[]})}processChildren(t,n,r,o){return H(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=aT(n,c),d=yield this.processSegmentGroup(t,l,u,c,o);s.push(...d)}let a=Bm(s);return mT(a),a})}processSegment(t,n,r,o,i,s,a){return H(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 _t||km(u))continue;throw u}if(hT(r,o,i))return new Kl;throw new _t(r)})}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return H(this,null,function*(){if(tt(r)!==s&&(s===S||!Aa(o,i,r)))throw new _t(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 _t(o)})}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){return H(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Um(n,o,i);if(!c)throw new _t(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>gT&&(this.allowRedirects=!1));let f=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,jm(f),t),b=yield this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(t,r,n,b.concat(h),s,!1,a)})}createSnapshot(t,n,r,o,i){let s=new wr(r,o,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,vT(n),tt(n),n.component??n._loadedComponent??null,n,DT(n),t),a=Xl(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 H(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=De=>this.createSnapshot(t,r,De.consumedSegments,De.parameters,s),c=yield fa(cT(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(n.children={}),!c?.matched)throw new _t(n);t=r._injector??t;let{routes:u}=yield this.getChildConfig(t,r,o),l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=this.createSnapshot(t,r,h,d,s),{segmentGroup:b,slicedSegments:v}=am(n,h,f,u,i);if(v.length===0&&b.hasChildren()){let De=yield this.processChildren(l,u,b,g);return new Oe(g,De)}if(u.length===0&&v.length===0)return new Oe(g,[]);let I=tt(r)===i,W=yield this.processSegment(l,u,b,v,I?S:i,!0,g);return new Oe(g,W instanceof Oe?[W]:[])})}getChildConfig(t,n,r){return H(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 fa(tT(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 oT(n)}return{routes:[],injector:t}})}};function mT(e){e.sort((t,n)=>t.value.outlet===S?-1:n.value.outlet===S?1:t.value.outlet.localeCompare(n.value.outlet))}function yT(e){let t=e.value.routeConfig;return t&&t.path===""}function Bm(e){let t=[],n=new Set;for(let r of e){if(!yT(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=Bm(r.children);t.push(new Oe(r.value,o))}return t.filter(r=>!n.has(r))}function vT(e){return e.data||{}}function DT(e){return e.resolve||{}}function ET(e,t,n,r,o,i,s){return Ee(a=>H(null,null,function*(){let{state:c,tree:u}=yield pT(e,t,n,r,a.extractedUrl,o,i,s);return j(y({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function IT(e){return Ee(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return N(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 Vm(a))i.add(c);let s=0;return ee(i).pipe(qn(a=>o.has(a)?wT(a,n,e):(a.data=Xl(a,a.parent,e).resolve,N(void 0))),Fe(()=>s++),Ni(1),Ee(a=>s===i.size?N(t):fe))})}function Vm(e){let t=e.children.map(n=>Vm(n)).flat();return[e,...t]}function wT(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!Nm(r)&&(o[Jo]=r.title),Lr(()=>(e.data=Xl(e,e.parent,n).resolve,CT(o,e,t).pipe(V(i=>(e._resolvedData=i,e.data=y(y({},e.data),i),null)))))}function CT(e,t,n){let r=Ul(e);if(r.length===0)return N({});let o={};return ee(r).pipe(Ee(i=>bT(e[i],t,n).pipe(ht(),Fe(s=>{if(s instanceof Cr)throw _a(new Zt,s);o[i]=s}))),Ni(1),V(()=>o),jr(i=>km(i)?fe:Za(i)))}function bT(e,t,n){let r=t._environmentInjector,o=_r(e,r),i=o.resolve?o.resolve(t,n):ae(r,()=>o(t,n));return Ln(i)}function cm(e){return Se(t=>{let n=e(t);return n?ee(n).pipe(V(()=>t)):N(t)})}var od=(()=>{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===S);return r}getResolvedTitleForRoute(n){return n.data[Jo]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(Hm),providedIn:"root"})}return e})(),Hm=(()=>{class e extends od{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(tm))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mr=new D("",{factory:()=>({})}),ei=new D(""),$m=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(gl);loadComponent(n,r){return H(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=H(this,null,function*(){try{let i=yield dm(ae(n,()=>r.loadComponent())),s=yield Wm(Gm(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=H(this,null,function*(){try{let i=yield zm(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zm(e,t,n,r){return H(this,null,function*(){let o=yield dm(ae(n,()=>e.loadChildren())),i=yield Wm(Gm(o)),s;i instanceof Ps||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(ei,[],{optional:!0,self:!0}).flat()),{routes:c.map(rd),injector:a,factory:l}})}function TT(e){return e&&typeof e=="object"&&"default"in e}function Gm(e){return TT(e)?e.default:e}function Wm(e){return H(this,null,function*(){return e})}var xa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(ST),providedIn:"root"})}return e})(),ST=(()=>{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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qm=new D("");var _T=()=>{},Zm=new D(""),Ym=(()=>{class e{currentNavigation=Q(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Q(null);events=new le;transitionAbortWithErrorSubject=new le;configLoader=p($m);environmentInjector=p(z);destroyRef=p(It);urlSerializer=p(Tr);rootContexts=p(Sr);location=p(hr);inputBindingEnabled=p(Ra,{optional:!0})!==null;titleStrategy=p(od);options=p(Mr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(xa);createViewTransition=p(qm,{optional:!0});navigationErrorHandler=p(Zm,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>N(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Da(o)),r=o=>this.events.next(new Ea(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;J(()=>{this.transitions?.next(j(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 de(null),this.transitions.pipe(We(r=>r!==null),Se(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return N(r).pipe(Se(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",ve.SupersededByNewNavigation),fe;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?j(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 Mt(a.id,this.urlSerializer.serialize(a.rawUrl),"",Go.IgnoredSameUrlNavigation)),a.resolve(!1),fe;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return N(a).pipe(Se(d=>(this.events.next(new Pn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?fe:Promise.resolve(d))),ET(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),Fe(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new qo)}),Se(d=>ee(r.routesRecognizeHandler.deferredHandle??N(void 0)).pipe(V(()=>d))),Fe(()=>{let d=new Wo(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:h,source:f,restoredState:g,extras:b}=a,v=new Pn(d,this.urlSerializer.serialize(h),f,g);this.events.next(v);let I=_m(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=j(y({},a),{targetSnapshot:I,urlAfterRedirects:h,extras:j(y({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(W=>(W.finalUrl=h,W)),N(r)}else return this.events.next(new Mt(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Go.IgnoredByUrlHandlingStrategy)),a.resolve(!1),fe}),V(a=>{let c=new ga(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=j(y({},a),{guards:Fb(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),qb(a=>this.events.next(a)),Se(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw _a(this.urlSerializer,a.guardsResult);let c=new ma(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return fe;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",ve.GuardRejected),fe;if(a.guards.canActivateChecks.length===0)return N(a);let u=new ya(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return fe;let l=!1;return N(a).pipe(IT(this.paramsInheritanceStrategy),Fe({next:()=>{l=!0;let d=new va(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",ve.NoDataFromResolver)}}))}),cm(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let h=l._environmentInjector;d.push(this.configLoader.loadComponent(h,l.routeConfig).then(f=>{l.component=f}))}for(let h of l.children)d.push(...c(h));return d},u=c(a.targetSnapshot.root);return u.length===0?N(a):ee(Promise.all(u).then(()=>a))}),cm(()=>this.afterPreactivation()),Se(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?ee(u).pipe(V(()=>r)):N(r)}),ft(1),Se(a=>{let c=xb(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=j(y({},a),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new Er);let u=r.beforeActivateHandler.deferredHandle;return u?ee(u.then(()=>a)):N(a)}),Fe(a=>{new Zl(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=_T,c)),this.lastSuccessfulNavigation.set(J(this.currentNavigation)),this.events.next(new dt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Br(Pm(i.signal).pipe(We(()=>!o&&!r.targetRouterState),Fe(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",ve.Aborted)}))),Fe({complete:()=>{o=!0}}),Br(this.transitionAbortWithErrorSubject.pipe(Fe(a=>{throw a}))),Ur(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",ve.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),jr(a=>{if(o=!0,this.destroyed)return r.resolve(!1),fe;if(Om(a))this.events.next(new $e(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),Pb(a)?this.events.next(new Ir(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Fn(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=ae(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof Cr){let{message:l,cancellationCode:d}=_a(this.urlSerializer,u);this.events.next(new $e(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new Ir(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return fe}))}))}cancelNavigationTransition(n,r,o){let i=new $e(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=J(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function MT(e){return e!==Ho}var Qm=new D("");var Km=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>p(NT),providedIn:"root"})}return e})(),Na=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}},NT=(()=>{class e extends Na{static \u0275fac=(()=>{let n;return function(o){return(n||(n=yo(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Oa=(()=>{class e{urlSerializer=p(Tr);options=p(Mr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(hr);urlHandlingStrategy=p(xa);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ke;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 ke?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=_m(null,p(z));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=E({token:e,factory:()=>p(RT),providedIn:"root"})}return e})(),RT=(()=>{class e extends Oa{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 Pn?this.updateStateMemento():n instanceof Mt?this.commitTransition(r):n instanceof Wo?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Er?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof $e&&!Sm(n)?this.restoreHistory(r):n instanceof Fn?this.restoreHistory(r,!0):n instanceof dt&&(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=yo(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function id(e,t){e.events.pipe(We(n=>n instanceof dt||n instanceof $e||n instanceof Fn||n instanceof Mt),V(n=>n instanceof dt||n instanceof Mt?0:(n instanceof $e?n.code===ve.Redirect||n.code===ve.SupersededByNewNavigation:!1)?2:1),We(n=>n!==2),ft(1)).subscribe(()=>{t()})}var Nr=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(il);stateManager=p(Oa);options=p(Mr,{optional:!0})||{};pendingTasks=p(at);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Ym);urlSerializer=p(Tr);location=p(hr);urlHandlingStrategy=p(xa);injector=p(z);_events=new le;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(Km);injectorCleanup=p(Qm,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(ei,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Ra,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new re;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=J(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof $e&&r.code!==ve.Redirect&&r.code!==ve.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof dt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Ir){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"||MT(o.source)},s);this.scheduleNavigation(a,Ho,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Rb(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),Ho,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=j(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(Ae)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return J(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rd),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 h=o?o.snapshot:this.routerState.snapshot.root;d=wm(h)}catch(h){(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return Cm(d,n,l,u??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Yt(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Ho,null,r)}navigate(n,r={skipLocationChange:!1}){return AT(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(kt(4018,!1)),this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},hm):r===!1?o=y({},Bl):o=y(y({},Bl),r),Yt(n))return nm(this.currentUrlTree,n,o);let i=this.parseUrl(n);return nm(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return id(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=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function AT(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var kT=(()=>{class e{router=p(Nr);stateManager=p(Oa);fragment=Q("");queryParams=Q({});path=Q("");serializer=p(Tr);constructor(){this.updateState(),this.router.events?.subscribe(n=>{n instanceof dt&&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 ke(r)))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jm=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=p(new Hs("href"),{optional:!0});reactiveHref=ml(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return J(this.reactiveHref)}set href(n){this.reactiveHref.set(n)}set target(n){this._target.set(n)}get target(){return J(this._target)}_target=Q(void 0);set queryParams(n){this._queryParams.set(n)}get queryParams(){return J(this._queryParams)}_queryParams=Q(void 0,{equal:()=>!1});set fragment(n){this._fragment.set(n)}get fragment(){return J(this._fragment)}_fragment=Q(void 0);set queryParamsHandling(n){this._queryParamsHandling.set(n)}get queryParamsHandling(){return J(this._queryParamsHandling)}_queryParamsHandling=Q(void 0);set state(n){this._state.set(n)}get state(){return J(this._state)}_state=Q(void 0,{equal:()=>!1});set info(n){this._info.set(n)}get info(){return J(this._info)}_info=Q(void 0,{equal:()=>!1});set relativeTo(n){this._relativeTo.set(n)}get relativeTo(){return J(this._relativeTo)}_relativeTo=Q(void 0);set preserveFragment(n){this._preserveFragment.set(n)}get preserveFragment(){return J(this._preserveFragment)}_preserveFragment=Q(!1);set skipLocationChange(n){this._skipLocationChange.set(n)}get skipLocationChange(){return J(this._skipLocationChange)}_skipLocationChange=Q(!1);set replaceUrl(n){this._replaceUrl.set(n)}get replaceUrl(){return J(this._replaceUrl)}_replaceUrl=Q(!1);isAnchorElement;onChanges=new le;applicationErrorHandler=p(Ae);options=p(Mr,{optional:!0});reactiveRouterState=p(kT);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=Q(null);set routerLink(n){n==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Yt(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=Bs(()=>{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:Yt(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 J(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)(pe(Nr),pe(Nt),vo("tabindex"),pe(wo),pe(ur),pe(fr))};static \u0275dir=Nn({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&Us("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Ls("href",o.reactiveHref(),Vu)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",zs],skipLocationChange:[2,"skipLocationChange","skipLocationChange",zs],replaceUrl:[2,"replaceUrl","replaceUrl",zs],routerLink:"routerLink"},features:[cr]})}return e})();var PT=new D("");function FT(e,...t){return pn([{provide:ei,multi:!0,useValue:e},[],{provide:Nt,useFactory:LT},{provide:Fs,multi:!0,useFactory:jT},t.map(n=>n.\u0275providers)])}function LT(){return p(Nr).routerState.root}function jT(){let e=p(Le);return t=>{let n=e.get(Rn);if(t!==n.components[0])return;let r=e.get(Nr),o=e.get(UT);e.get(BT)===1&&r.initialNavigation(),e.get(VT,null,{optional:!0})?.setUpPreloading(),e.get(PT,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var UT=new D("",{factory:()=>new le}),BT=new D("",{factory:()=>1});var VT=new D("");export{y as a,j as b,A as c,le as d,ee as e,V as f,xy as g,Fi as h,E as i,Pt as j,D as k,p as l,bf as m,Tf as n,we as o,q as p,Q as q,cr as r,yo as s,ur as t,ED as u,wo as v,pe as w,rl as x,Mn as y,Nn as z,Vp as A,lr as B,yI as C,vI as D,DI as E,EI as F,Gp as G,Cs as H,fl as I,js as J,SI as K,Us as L,AI as M,Zp as N,ZI as O,Yp as P,hl as Q,Qp as R,Kp as S,Jp as T,XI as U,Xp as V,rw as W,ow as X,aw as Y,uw as Z,J as _,Bs as $,w1 as aa,$s as ba,zs as ca,Ct as da,hC as ea,mC as fa,Og as ga,AC as ha,Xg as ia,rb as ja,Nt as ka,td as la,Nr as ma,Jm as na,FT as oa};
|