@skill-map/cli 0.45.1 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/tutorial/sm-master/SKILL.md +29 -29
- package/dist/cli/tutorial/sm-master/references/fixture-templates.md +18 -13
- package/dist/cli/tutorial/sm-master/references/tour-authoring.md +35 -40
- package/dist/cli/tutorial/sm-master/references/tour-plugins.md +32 -32
- package/dist/cli/tutorial/sm-master/references/tour-settings.md +156 -75
- package/dist/cli/tutorial/sm-tutorial/SKILL.md +3 -3
- package/dist/cli.js +606 -301
- package/dist/conformance/index.js +4 -1
- package/dist/index.js +44 -17
- package/dist/kernel/index.d.ts +64 -9
- package/dist/kernel/index.js +44 -17
- package/dist/migrations/001_initial.sql +7 -0
- package/dist/ui/chunk-22CKFAEU.js +1 -0
- package/dist/ui/{chunk-I5AX4U2N.js → chunk-3YSNJXGB.js} +1 -1
- package/dist/ui/{chunk-MS6B7344.js → chunk-6AP364TB.js} +7 -7
- package/dist/ui/{chunk-VGPYYAVI.js → chunk-EPBUSS3I.js} +1 -1
- package/dist/ui/{chunk-IYM26L3O.js → chunk-ERUALZOV.js} +1 -1
- package/dist/ui/{chunk-5AD5ZV4I.js → chunk-EYBKZOMF.js} +1 -1
- package/dist/ui/{chunk-2RAE3FAN.js → chunk-F4RIBZ4P.js} +1 -1
- package/dist/ui/chunk-HAWX5WNM.js +4 -0
- package/dist/ui/{chunk-QDUSFOBE.js → chunk-K365TVPA.js} +1 -1
- package/dist/ui/{chunk-ZIGUUDUX.js → chunk-L3JYFPSZ.js} +2 -2
- package/dist/ui/chunk-N3RUQDAR.js +1 -0
- package/dist/ui/{chunk-A7PRWMQD.js → chunk-P4E74ZOS.js} +1 -1
- package/dist/ui/{chunk-X227ITGS.js → chunk-RT7E4S5B.js} +1 -1
- package/dist/ui/{chunk-QNTAOR2L.js → chunk-RXQYLVSJ.js} +1 -1
- package/dist/ui/{chunk-MFLFIA7C.js → chunk-S32E6ZCZ.js} +1 -1
- package/dist/ui/{chunk-T3IVIRRJ.js → chunk-SF4FUT4U.js} +1 -1
- package/dist/ui/chunk-VNA3TMIO.js +1 -0
- package/dist/ui/{chunk-F7I6KMHX.js → chunk-VW2A6WZ3.js} +1 -1
- package/dist/ui/chunk-ZZJ7XWDX.js +1 -0
- package/dist/ui/index.html +1 -1
- package/dist/ui/main-NF5GO3JR.js +4 -0
- package/migrations/001_initial.sql +7 -0
- package/package.json +2 -2
- package/dist/cli.js.map +0 -1
- package/dist/conformance/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/kernel/index.js.map +0 -1
- package/dist/ui/chunk-27WQPOXP.js +0 -1
- package/dist/ui/chunk-555ST76V.js +0 -1
- package/dist/ui/chunk-PZQHB7GS.js +0 -4
- package/dist/ui/main-KMSUFJ6Y.js +0 -3
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{a as W,b as q}from"./chunk-WCABR6TI.js";function E(e){return typeof e=="function"}function rn(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 Ur=rn(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 zn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var te=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(E(r))try{r()}catch(i){t=i instanceof Ur?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vu(i)}catch(s){t=t??[],s instanceof Ur?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ur(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vu(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)&&zn(n,t)}remove(t){let{_finalizers:n}=this;n&&zn(n,t),t instanceof e&&t._removeParent(this)}};te.EMPTY=(()=>{let e=new te;return e.closed=!0,e})();var ss=te.EMPTY;function Gr(e){return e instanceof te||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function Vu(e){E(e)?e():e.unsubscribe()}function Vg(e){return E(e?.lift)}function N(e){return t=>{if(Vg(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")}}var Ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var on={setTimeout(e,t,...n){let{delegate:r}=on;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=on;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zr(e){on.setTimeout(()=>{let{onUnhandledError:t}=Ie;if(t)t(e);else throw e})}function Wn(){}var Hu=as("C",void 0,void 0);function $u(e){return as("E",void 0,e)}function Uu(e){return as("N",e,void 0)}function as(e,t,n){return{kind:e,value:t,error:n}}var wt=null;function sn(e){if(Ie.useDeprecatedSynchronousErrorHandling){let t=!wt;if(t&&(wt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=wt;if(wt=null,n)throw r}}else e()}function Gu(e){Ie.useDeprecatedSynchronousErrorHandling&&wt&&(wt.errorThrown=!0,wt.error=e)}var bt=class extends te{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Gr(t)&&t.add(this)):this.destination=Ug}static create(t,n,r){return new Ce(t,n,r)}next(t){this.isStopped?us(Uu(t),this):this._next(t)}error(t){this.isStopped?us($u(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?us(Hu,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()}}},Hg=Function.prototype.bind;function cs(e,t){return Hg.call(e,t)}var ls=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Wr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Wr(r)}else Wr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Wr(n)}}},Ce=class extends bt{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ie.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&cs(t.next,i),error:t.error&&cs(t.error,i),complete:t.complete&&cs(t.complete,i)}):o=t}this.destination=new ls(o)}};function Wr(e){Ie.useDeprecatedSynchronousErrorHandling?Gu(e):zr(e)}function $g(e){throw e}function us(e,t){let{onStoppedNotification:n}=Ie;n&&on.setTimeout(()=>n(e,t))}var Ug={closed:!0,next:Wn,error:$g,complete:Wn};function x(e,t,n,r,o){return new ds(e,t,n,r,o)}var ds=class extends bt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function fs(e,t){return N((n,r)=>{let o=0;n.subscribe(x(r,i=>e.call(t,i,o++)&&r.next(i)))})}function we(e){return e}function Gg(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(x(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}var an=typeof Symbol=="function"&&Symbol.observable||"@@observable";function zg(...e){return ps(e)}function ps(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=qg(n)?n:new Ce(n,r,o);return sn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=zu(r),new r((o,i)=>{let s=new Ce({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)}[an](){return this}pipe(...n){return ps(n)(this)}toPromise(n){return n=zu(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 zu(e){var t;return(t=e??Ie.Promise)!==null&&t!==void 0?t:Promise}function Wg(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function qg(e){return e&&e instanceof bt||Wg(e)&&Gr(e)}var Wu=rn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new qr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Wu}next(n){sn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){sn(()=>{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(){sn(()=>{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?ss:(this.currentObservers=null,i.push(n),new te(()=>{this.currentObservers=null,zn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new qr(t,n),e})(),qr=class extends ce{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:ss}};var qn=class extends ce{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 Zn=new M(e=>e.complete());function qu(e){return e&&E(e.schedule)}function Zu(e){return e[e.length-1]}function Zr(e){return E(Zu(e))?e.pop():void 0}function rt(e){return qu(Zu(e))?e.pop():void 0}function v_(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function Qu(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 Yu(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 _t(e){return this instanceof _t?(this.v=e,this):new _t(e)}function Ku(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(D){return new Promise(function(b,T){i.push([f,D,b,T])>1||c(f,D)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(D){p(i[0][3],D)}}function u(f){f.value instanceof _t?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ju(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 Yu=="function"?Yu(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 cn=e=>e&&typeof e.length=="number"&&typeof e!="function";function Yr(e){return E(e?.then)}function Qr(e){return E(e[an])}function Kr(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function Jr(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 Zg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xr=Zg();function eo(e){return E(e?.[Xr])}function to(e){return Ku(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield _t(n.read());if(o)return yield _t(void 0);yield yield _t(r)}}finally{n.releaseLock()}})}function no(e){return E(e?.getReader)}function P(e){if(e instanceof M)return e;if(e!=null){if(Qr(e))return Yg(e);if(cn(e))return Qg(e);if(Yr(e))return Kg(e);if(Kr(e))return Xu(e);if(eo(e))return Jg(e);if(no(e))return Xg(e)}throw Jr(e)}function Yg(e){return new M(t=>{let n=e[an]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Qg(e){return new M(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Kg(e){return new M(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zr)})}function Jg(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xu(e){return new M(t=>{em(e,t).catch(n=>t.error(n))})}function Xg(e){return Xu(to(e))}function em(e,t){var n,r,o,i;return Qu(this,void 0,void 0,function*(){try{for(n=Ju(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 se(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 ro(e,t=0){return N((n,r)=>{n.subscribe(x(r,o=>se(r,e,()=>r.next(o),t),()=>se(r,e,()=>r.complete(),t),o=>se(r,e,()=>r.error(o),t)))})}function oo(e,t=0){return N((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function el(e,t){return P(e).pipe(oo(t),ro(t))}function tl(e,t){return P(e).pipe(oo(t),ro(t))}function nl(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function rl(e,t){return new M(n=>{let r;return se(n,t,()=>{r=e[Xr](),se(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)}),()=>E(r?.return)&&r.return()})}function io(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{se(n,t,()=>{let r=e[Symbol.asyncIterator]();se(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ol(e,t){return io(to(e),t)}function il(e,t){if(e!=null){if(Qr(e))return el(e,t);if(cn(e))return nl(e,t);if(Yr(e))return tl(e,t);if(Kr(e))return io(e,t);if(eo(e))return rl(e,t);if(no(e))return ol(e,t)}throw Jr(e)}function ot(e,t){return t?il(e,t):P(e)}function tm(...e){let t=rt(e);return ot(e,t)}function nm(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function rm(e){return!!e&&(e instanceof M||E(e.lift)&&E(e.subscribe))}var Tt=rn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function om(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ce({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Tt)}});e.subscribe(i)})}function St(e,t){return N((n,r)=>{let o=0;n.subscribe(x(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:im}=Array;function sm(e,t){return im(t)?e(...t):e(t)}function un(e){return St(t=>sm(e,t))}var{isArray:am}=Array,{getPrototypeOf:cm,prototype:um,keys:lm}=Object;function so(e){if(e.length===1){let t=e[0];if(am(t))return{args:t,keys:null};if(dm(t)){let n=lm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function dm(e){return e&&typeof e=="object"&&cm(e)===um}function ao(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function fm(...e){let t=rt(e),n=Zr(e),{args:r,keys:o}=so(e);if(r.length===0)return ot([],t);let i=new M(pm(r,t,o?s=>ao(o,s):we));return n?i.pipe(un(n)):i}function pm(e,t,n=we){return r=>{sl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)sl(t,()=>{let u=ot(e[c],t),l=!1;u.subscribe(x(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function sl(e,t,n){e?se(n,e,t):t()}function al(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=D=>u<r?h(D):c.push(D),h=D=>{i&&t.next(D),u++;let b=!1;P(n(D,l++)).subscribe(x(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{b=!0},void 0,()=>{if(b)try{for(u--;c.length&&u<r;){let T=c.shift();s?se(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(x(t,f,()=>{d=!0,p()})),()=>{a?.()}}function $e(e,t,n=1/0){return E(t)?$e((r,o)=>St((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),N((r,o)=>al(r,o,e,n)))}function hs(e=1/0){return $e(we,e)}function cl(){return hs(1)}function co(...e){return cl()(ot(e,rt(e)))}function hm(e){return new M(t=>{P(e()).subscribe(t)})}function gm(...e){let t=Zr(e),{args:n,keys:r}=so(e),o=new M(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;P(n[l]).subscribe(x(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ao(r,a):a),i.complete())}))}});return t?o.pipe(un(t)):o}var mm=["addListener","removeListener"],ym=["addEventListener","removeEventListener"],Dm=["on","off"];function gs(e,t,n,r){if(E(n)&&(r=n,n=void 0),r)return gs(e,t,n).pipe(un(r));let[o,i]=Im(e)?ym.map(s=>a=>e[s](t,a,n)):vm(e)?mm.map(ul(e,t)):Em(e)?Dm.map(ul(e,t)):[];if(!o&&cn(e))return $e(s=>gs(s,t,n))(P(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ul(e,t){return n=>r=>e[n](t,r)}function vm(e){return E(e.addListener)&&E(e.removeListener)}function Em(e){return E(e.on)&&E(e.off)}function Im(e){return E(e.addEventListener)&&E(e.removeEventListener)}function ll(e){return N((t,n)=>{let r=null,o=!1,i;r=t.subscribe(x(n,void 0,void 0,s=>{i=P(e(s,ll(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Cm(e,t){return E(t)?$e(e,t,1):$e(e,1)}function dl(e){return N((t,n)=>{let r=!1;t.subscribe(x(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ms(e){return e<=0?()=>Zn:N((t,n)=>{let r=0;t.subscribe(x(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function fl(e=wm){return N((t,n)=>{let r=!1;t.subscribe(x(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function wm(){return new Tt}function bm(e){return N((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function _m(e,t){let n=arguments.length>=2;return r=>r.pipe(e?fs((o,i)=>e(o,i,r)):we,ms(1),n?dl(t):fl(()=>new Tt))}function Tm(e){return e<=0?()=>Zn:N((t,n)=>{let r=[];t.subscribe(x(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 Sm(e={}){let{connector:t=()=>new ce,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let D=s;f(),D?.unsubscribe()};return N((D,b)=>{u++,!d&&!l&&p();let T=c=c??t();b.add(()=>{u--,u===0&&!d&&!l&&(a=ys(h,o))}),T.subscribe(b),!s&&u>0&&(s=new Ce({next:H=>T.next(H),error:H=>{d=!0,p(),a=ys(f,n,H),T.error(H)},complete:()=>{l=!0,p(),a=ys(f,r),T.complete()}}),P(D).subscribe(s))})(i)}}function ys(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ce({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Mm(...e){let t=rt(e);return N((n,r)=>{(t?co(e,n,t):co(e,n)).subscribe(r)})}function Nm(e,t){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(x(r,c=>{o?.unsubscribe();let u=0,l=i++;P(e(c,l)).subscribe(o=x(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Am(e){return N((t,n)=>{P(e).subscribe(x(n,()=>n.complete(),Wn)),!n.closed&&t.subscribe(n)})}var X=null,uo=!1,Ds=1,xm=null,j=Symbol("SIGNAL");function v(e){let t=X;return X=e,t}function lo(){return X}var it={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 Ue(e){if(uo)throw new Error("");if(X===null)return;X.consumerOnSignalRead(e);let t=X.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=X.recomputing;if(r&&(n=t!==void 0?t.nextProducer:X.producers,n!==void 0&&n.producer===e)){X.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===X&&(!r||Om(o,X)))return;let i=fn(X),s={producer:e,consumer:X,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};X.producersTail=s,t!==void 0?t.nextProducer=s:X.producers=s,i&&ml(e,s)}function pl(){Ds++}function At(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ds)){if(!e.producerMustRecompute(e)&&!dn(e)){ln(e);return}e.producerRecomputeValue(e),ln(e)}}function vs(e){if(e.consumers===void 0)return;let t=uo;uo=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Rm(r)}}finally{uo=t}}function Es(){return X?.consumerAllowSignalWrites!==!1}function Rm(e){e.dirty=!0,vs(e),e.consumerMarkedDirty?.(e)}function ln(e){e.dirty=!1,e.lastCleanEpoch=Ds}function Ge(e){return e&&hl(e),v(e)}function hl(e){e.producersTail=void 0,e.recomputing=!0}function st(e,t){v(t),e&&gl(e)}function gl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(fn(e))do n=Is(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function dn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(At(n),r!==n.version))return!0}return!1}function at(e){if(fn(e)){let t=e.producers;for(;t!==void 0;)t=Is(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ml(e,t){let n=e.consumersTail,r=fn(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)ml(o.producer,o)}function Is(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,!fn(t)){let i=t.producers;for(;i!==void 0;)i=Is(i)}return n}function fn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Yn(e){xm?.(e)}function Om(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 Qn(e,t){return Object.is(e,t)}function Kn(e,t){let n=Object.create(Fm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(At(n),Ue(n),n.value===Ae)throw n.error;return n.value};return r[j]=n,Yn(n),r}var Mt=Symbol("UNSET"),Nt=Symbol("COMPUTING"),Ae=Symbol("ERRORED"),Fm=q(W({},it),{value:Mt,dirty:!0,error:null,equal:Qn,kind:"computed",producerMustRecompute(e){return e.value===Mt||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("");let t=e.value;e.value=Nt;let n=Ge(e),r,o=!1;try{r=e.computation(),v(null),o=t!==Mt&&t!==Ae&&r!==Ae&&e.equal(t,r)}catch(i){r=Ae,e.error=i}finally{st(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function km(){throw new Error}var yl=km;function Dl(e){yl(e)}function Cs(e){yl=e}var Lm=null;function ws(e,t){let n=Object.create(Jn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>vl(n);return r[j]=n,Yn(n),[r,s=>ct(n,s),s=>fo(n,s)]}function vl(e){return Ue(e),e.value}function ct(e,t){Es()||Dl(e),e.equal(e.value,t)||(e.value=t,Pm(e))}function fo(e,t){Es()||Dl(e),ct(e,t(e.value))}var Jn=q(W({},it),{equal:Qn,value:void 0,kind:"signal"});function Pm(e){e.version++,pl(),vs(e),Lm?.(e)}var bs=q(W({},it),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function _s(e){if(e.dirty=!1,e.version>0&&!dn(e))return;e.version++;let t=Ge(e);try{e.cleanup(),e.fn()}finally{st(e,t)}}var Ts;function po(){return Ts}function xe(e){let t=Ts;return Ts=e,t}var El=Symbol("NotFound");function pn(e){return e===El||e?.name==="\u0275NotFound"}function Ss(e,t,n){let r=Object.create(jm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(At(r),Ue(r),r.value===Ae)throw r.error;return r.value};return i[j]=r,Yn(r),i}function Il(e,t){At(e),ct(e,t),ln(e)}function Cl(e,t){if(At(e),e.value===Ae)throw e.error;fo(e,t),ln(e)}var jm=q(W({},it),{value:Mt,dirty:!0,error:null,equal:Qn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Mt||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("");let t=e.value;e.value=Nt;let n=Ge(e),r,o=!1;try{let i=e.source(),s=t!==Mt&&t!==Ae,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,v(null),o=s&&r!==Ae&&e.equal(t,r)}catch(i){r=Ae,e.error=i}finally{st(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function wl(e){let t=v(null);try{return e()}finally{v(t)}}var er=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},Bm=new er("21.2.9");var Eo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",C=class extends Error{code;constructor(t,n){super(Lt(t,n)),this.code=t}};function Vm(e){return`NG0${Math.abs(e)}`}function Lt(e,t){return`${Vm(e)}${t?": "+t:""}`}var gn=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function Ml(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function sr(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(sr).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 Io(e,t){return e?t?`${e} ${t}`:e:t||""}var Hm=R({__forward_ref__:R});function Co(e){return e.__forward_ref__=Co,e}function Z(e){return Vs(e)?e():e}function Vs(e){return typeof e=="function"&&e.hasOwnProperty(Hm)&&e.__forward_ref__===Co}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wo(e){return{providers:e.providers||[],imports:e.imports||[]}}function ar(e){return Um(e,bo)}function $m(e){return ar(e)!==null}function Um(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Gm(e){let t=e?.[bo]??null;return t||null}function Ns(e){return e&&e.hasOwnProperty(go)?e[go]:null}var bo=R({\u0275prov:R}),go=R({\u0275inj:R}),_=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=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Hs(e){return e&&!!e.\u0275providers}var $s=R({\u0275cmp:R}),Us=R({\u0275dir:R}),Gs=R({\u0275pipe:R}),zs=R({\u0275mod:R}),tr=R({\u0275fac:R}),Pt=R({__NG_ELEMENT_ID__:R}),bl=R({__NG_ENV_ID__:R});function Ws(e){return _o(e,"@NgModule"),e[zs]||null}function Oe(e){return _o(e,"@Component"),e[$s]||null}function cr(e){return _o(e,"@Directive"),e[Us]||null}function qs(e){return _o(e,"@Pipe"),e[Gs]||null}function _o(e,t){if(e==null)throw new C(-919,!1)}function Fe(e){return typeof e=="string"?e:e==null?"":String(e)}var Nl=R({ngErrorCode:R}),zm=R({ngErrorMessage:R}),Wm=R({ngTokenPath:R});function Zs(e,t){return Al("",-200,t)}function To(e,t){throw new C(-201,!1)}function Al(e,t,n){let r=new C(t,e);return r[Nl]=t,r[zm]=e,n&&(r[Wm]=n),r}function qm(e){return e[Nl]}var As;function xl(){return As}function ue(e){let t=As;return As=e,t}function Ys(e,t,n){let r=ar(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;To(e,"")}var Zm={},xt=Zm,Ym="__NG_DI_FLAG__",xs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Rt(n)||0;try{return this.injector.get(t,r&8?null:xt,r)}catch(o){if(pn(o))return o;throw o}}};function Qm(e,t=0){let n=po();if(n===void 0)throw new C(-203,!1);if(n===null)return Ys(e,void 0,t);{let r=Km(t),o=n.retrieve(e,r);if(pn(o)){if(r.optional)return null;throw o}return o}}function Q(e,t=0){return(xl()||Qm)(Z(e),t)}function m(e,t){return Q(e,Rt(t))}function Rt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Km(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Rs(e){let t=[];for(let n=0;n<e.length;n++){let r=Z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Jm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Q(o,i))}else t.push(Q(r))}return t}function Jm(e){return e[Ym]}function Ot(e,t){let n=e.hasOwnProperty(tr);return n?e[tr]:null}function Rl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Ol(e){return e.flat(Number.POSITIVE_INFINITY)}function So(e,t){e.forEach(n=>Array.isArray(n)?So(n,t):t(n))}function Qs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ur(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function kl(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 lr(e,t,n){let r=mn(e,t);return r>=0?e[r|1]=n:(r=~r,kl(e,r,t,n)),r}function Mo(e,t){let n=mn(e,t);if(n>=0)return e[n|1]}function mn(e,t){return Xm(e,t,1)}function Xm(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 be={},ee=[],yn=new _(""),Ks=new _("",-1),Js=new _(""),nr=class{get(t,n=xt){if(n===xt){let o=Al("",-201);throw o.name="\u0275NotFound",o}return n}};function dr(e){return{\u0275providers:e}}function Ll(e){return dr([{provide:yn,multi:!0,useValue:e}])}function Pl(...e){return{\u0275providers:No(!0,e),\u0275fromNgModule:!0}}function No(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return So(t,s=>{let a=s;mo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&jl(o,i),n}function jl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Xs(o,i=>{t(i,r)})}}function mo(e,t,n,r){if(e=Z(e),!e)return!1;let o=null,i=Ns(e),s=!i&&Oe(e);if(!i&&!s){let c=e.ngModule;if(i=Ns(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)mo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;So(i.imports,l=>{mo(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&jl(u,t)}if(!a){let u=Ot(o)||(()=>new o);t({provide:o,useFactory:u,deps:ee},o),t({provide:Js,useValue:o,multi:!0},o),t({provide:yn,useValue:()=>Q(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Xs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Xs(e,t){for(let n of e)Hs(n)&&(n=n.\u0275providers),Array.isArray(n)?Xs(n,t):t(n)}var ey=R({provide:String,useValue:R});function Bl(e){return e!==null&&typeof e=="object"&&ey in e}function ty(e){return!!(e&&e.useExisting)}function ny(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function Vl(e){return!!e.useClass}var ea=new _(""),ho={},_l={},Ms;function fr(){return Ms===void 0&&(Ms=new nr),Ms}var le=class{},kt=class extends le{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,Fs(t,s=>this.processProvider(s)),this.records.set(Ks,hn(void 0,this)),o.has("environment")&&this.records.set(le,hn(void 0,this));let i=this.records.get(ea);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Js,ee,{self:!0}))}retrieve(t,n){let r=Rt(n)||0;try{return this.get(t,xt,r)}catch(o){if(pn(o))return o;throw o}}destroy(){Xn(this),this._destroyed=!0;let t=v(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(),v(t)}}onDestroy(t){return Xn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Xn(this);let n=xe(this),r=ue(void 0),o;try{return t()}finally{xe(n),ue(r)}}get(t,n=xt,r){if(Xn(this),t.hasOwnProperty(bl))return t[bl](this);let o=Rt(r),i,s=xe(this),a=ue(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=ay(t)&&ar(t);l&&this.injectableDefInScope(l)?u=hn(Os(t),ho):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?fr():this.parent;return n=o&8&&n===xt?null:n,c.get(t,n)}catch(c){let u=qm(c);throw u===-200||u===-201?new C(u,null):c}finally{ue(a),xe(s)}}resolveInjectorInitializers(){let t=v(null),n=xe(this),r=ue(void 0),o;try{let i=this.get(yn,ee,{self:!0});for(let s of i)s()}finally{xe(n),ue(r),v(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=Z(t);let n=Ft(t)?t:Z(t&&t.provide),r=oy(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=hn(void 0,ho,!0),o.factory=()=>Rs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=v(null);try{if(n.value===_l)throw Zs("");return n.value===ho&&(n.value=_l,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&sy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Z(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 Os(e){let t=ar(e),n=t!==null?t.factory:Ot(e);if(n!==null)return n;if(e instanceof _)throw new C(-204,!1);if(e instanceof Function)return ry(e);throw new C(-204,!1)}function ry(e){if(e.length>0)throw new C(-204,!1);let n=Gm(e);return n!==null?()=>n.factory(e):()=>new e}function oy(e){if(Bl(e))return hn(void 0,e.useValue);{let t=ta(e);return hn(t,ho)}}function ta(e,t,n){let r;if(Ft(e)){let o=Z(e);return Ot(o)||Os(o)}else if(Bl(e))r=()=>Z(e.useValue);else if(ny(e))r=()=>e.useFactory(...Rs(e.deps||[]));else if(ty(e))r=(o,i)=>Q(Z(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Z(e&&(e.useClass||e.provide));if(iy(e))r=()=>new o(...Rs(e.deps));else return Ot(o)||Os(o)}return r}function Xn(e){if(e.destroyed)throw new C(-205,!1)}function hn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function iy(e){return!!e.deps}function sy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ay(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Fs(e,t){for(let n of e)Array.isArray(n)?Fs(n,t):n&&Hs(n)?Fs(n.\u0275providers,t):t(n)}function Ao(e,t){let n;e instanceof kt?(Xn(e),n=e):n=new xs(e);let r,o=xe(n),i=ue(void 0);try{return t()}finally{xe(o),ue(i)}}function na(){return xl()!==void 0||po()!=null}function cy(e){if(!na())throw new C(-203,!1)}var _e=0,y=1,I=2,G=3,me=4,re=5,jt=6,Dn=7,$=8,z=9,Te=10,O=11,vn=12,ra=13,Bt=14,oe=15,dt=16,Vt=17,ke=18,Le=19,oa=20,We=21,xo=22,ut=23,de=24,Ht=25,Pe=26,k=27,Hl=1,ft=6,pt=7,pr=8,$t=9,B=10;function Ze(e){return Array.isArray(e)&&typeof e[Hl]=="object"}function Se(e){return Array.isArray(e)&&e[Hl]===!0}function ia(e){return(e.flags&4)!==0}function Ye(e){return e.componentOffset>-1}function En(e){return(e.flags&1)===1}function Me(e){return!!e.template}function In(e){return(e[I]&512)!==0}function ht(e){return(e[I]&256)===256}var sa="svg",$l="math";function ye(e){for(;Array.isArray(e);)e=e[_e];return e}function aa(e,t){return ye(t[e])}function fe(e,t){return ye(t[e.index])}function Cn(e,t){return e.data[t]}function ca(e,t){return e[t]}function Ro(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function De(e,t){let n=t[e];return Ze(n)?n:n[_e]}function Ul(e){return(e[I]&4)===4}function Oo(e){return(e[I]&128)===128}function Gl(e){return Se(e[G])}function pe(e,t){return t==null?null:e[t]}function ua(e){e[Vt]=0}function la(e){e[I]&1024||(e[I]|=1024,Oo(e)&&Ut(e))}function zl(e,t){for(;e>0;)t=t[Bt],e--;return t}function hr(e){return!!(e[I]&9216||e[de]?.dirty)}function Fo(e){e[Te].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),hr(e)&&Ut(e)}function Ut(e){e[Te].changeDetectionScheduler?.notify(0);let t=lt(e);for(;t!==null&&!(t[I]&8192||(t[I]|=8192,!Oo(t)));)t=lt(t)}function ko(e,t){if(ht(e))throw new C(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function da(e,t){if(e[We]===null)return;let n=e[We].indexOf(t);n!==-1&&e[We].splice(n,1)}function lt(e){let t=e[G];return Se(t)?t[G]:t}function fa(e){return e[Dn]??=[]}function pa(e){return e.cleanup??=[]}function Wl(e,t,n,r){let o=fa(t);o.push(n),e.firstCreatePass&&pa(e).push(r,o.length-1)}var w={lFrame:od(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ks=!1;function ql(){return w.lFrame.elementDepthCount}function Zl(){w.lFrame.elementDepthCount++}function ha(){w.lFrame.elementDepthCount--}function Lo(){return w.bindingsEnabled}function ga(){return w.skipHydrationRootTNode!==null}function ma(e){return w.skipHydrationRootTNode===e}function ya(){w.skipHydrationRootTNode=null}function g(){return w.lFrame.lView}function L(){return w.lFrame.tView}function Yl(e){return w.lFrame.contextLView=e,e[$]}function Ql(e){return w.lFrame.contextLView=null,e}function V(){let e=Da();for(;e!==null&&e.type===64;)e=e.parent;return e}function Da(){return w.lFrame.currentTNode}function Kl(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Gt(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function va(){return w.lFrame.isParent}function Ea(){w.lFrame.isParent=!1}function Ia(){return w.lFrame.contextLView}function Ca(){return ks}function rr(e){let t=ks;return ks=e,t}function Qe(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function wa(){return w.lFrame.bindingIndex}function Jl(e){return w.lFrame.bindingIndex=e}function Ke(){return w.lFrame.bindingIndex++}function gr(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Xl(){return w.lFrame.inI18n}function ed(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Po(t)}function td(){return w.lFrame.currentDirectiveIndex}function Po(e){w.lFrame.currentDirectiveIndex=e}function nd(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function jo(){return w.lFrame.currentQueryIndex}function mr(e){w.lFrame.currentQueryIndex=e}function uy(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[re]:null}function ba(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=uy(i),o===null||(i=i[Bt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=rd();return r.currentTNode=t,r.lView=e,!0}function Bo(e){let t=rd(),n=e[y];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function rd(){let e=w.lFrame,t=e===null?null:e.child;return t===null?od(e):t}function od(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 id(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _a=id;function Vo(){let e=id();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 sd(e){return(w.lFrame.contextLView=zl(e,w.lFrame.contextLView))[$]}function ve(){return w.lFrame.selectedIndex}function gt(e){w.lFrame.selectedIndex=e}function wn(){let e=w.lFrame;return Cn(e.tView,e.selectedIndex)}function ad(){w.lFrame.currentNamespace=sa}function cd(){ly()}function ly(){w.lFrame.currentNamespace=null}function ud(){return w.lFrame.currentNamespace}var ld=!0;function Ho(){return ld}function yr(e){ld=e}function Ls(e,t=null,n=null,r){let o=Ta(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ta(e,t=null,n=null,r,o=new Set){let i=[n||ee,Pl(e)],s;return new kt(i,t||fr(),s||null,o)}var ne=class e{static THROW_IF_NOT_FOUND=xt;static NULL=new nr;static create(t,n){if(Array.isArray(t))return Ls({name:""},n,t,"");{let r=t.name??"";return Ls({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>Q(Ks)});static __NG_ELEMENT_ID__=-1},je=new _(""),Ee=(()=>{class e{static __NG_ELEMENT_ID__=dy;static __NG_ENV_ID__=n=>n}return e})(),yo=class extends Ee{_lView;constructor(t){super(),this._lView=t}get destroyed(){return ht(this._lView)}onDestroy(t){let n=this._lView;return ko(n,t),()=>da(n,t)}};function dy(){return new yo(g())}var dd=!1,fd=new _(""),zt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new qn(!1);debugTaskTracker=m(fd,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new M(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=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ps=class extends ce{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,na()&&(this.destroyRef=m(Ee,{optional:!0})??void 0,this.pendingTasks=m(zt,{optional:!0})??void 0)}emit(t){let n=v(null);try{super.next(t)}finally{v(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 te&&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)}})}}},ze=Ps;function Do(...e){}function Sa(e){let t,n;function r(){e=Do;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function pd(e){return queueMicrotask(()=>e()),()=>{e=Do}}var Ma="isAngularZone",or=Ma+"_ID",fy=0,ge=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ze(!1);onMicrotaskEmpty=new ze(!1);onStable=new ze(!1);onError=new ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=dd}=t;if(typeof Zone>"u")throw new C(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,gy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ma)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,py,Do,Do);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)}},py={};function Na(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 hy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Sa(()=>{e.callbackScheduled=!1,js(e),e.isCheckStableRunning=!0,Na(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),js(e)}function gy(e){let t=()=>{hy(e)},n=fy++;e._inner=e._inner.fork({name:"angular",properties:{[Ma]:!0,[or]:n,[or+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(my(c))return r.invokeTask(i,s,a,c);try{return Tl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Sl(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Tl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!yy(c)&&t(),Sl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,js(e),Na(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 js(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Tl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sl(e){e._nesting--,Na(e)}var ir=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ze;onMicrotaskEmpty=new ze;onStable=new ze;onError=new ze;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 my(e){return hd(e,"__ignore_ng_zone__")}function yy(e){return hd(e,"__scheduler_tick__")}function hd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Je=new _("",{factory:()=>{let e=m(ge),t=m(le),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(qe),n.handleError(r))})}}}),gd={provide:yn,useValue:()=>{let e=m(qe,{optional:!0})},multi:!0},Dy=new _("",{factory:()=>{let e=m(je).defaultView;if(!e)return;let t=m(Je),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),m(Ee).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function vy(){return dr([Ll(()=>{m(Dy)})])}function $o(e,t){let[n,r,o]=ws(e,t?.equal),i=n,s=i[j];return i.set=r,i.update=o,i.asReadonly=Dr.bind(i),i}function Dr(){let e=this[j];if(e.readonlyFn===void 0){let t=()=>this();t[j]=e,e.readonlyFn=t}return e.readonlyFn}var bn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Ey}return e})();function Ey(){return new bn(g(),V())}var Re=class{},vr=new _("",{factory:()=>!0});var Aa=new _(""),Uo=(()=>{class e{internalPendingTasks=m(zt);scheduler=m(Re);errorHandler=m(Je);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=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Go=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new Bs})}return e})(),Bs=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}},vo=class{[j];constructor(t){this[j]=t}destroy(){this[j].destroy()}};function md(e,t){let n=t?.injector??m(ne),r=t?.manualCleanup!==!0?n.get(Ee):null,o,i=n.get(bn,null,{optional:!0}),s=n.get(Re);return i!==null?(o=wy(i.view,s,e),r instanceof yo&&r._lView===i.view&&(r=null)):o=by(e,n.get(Go),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new vo(o)}var yd=q(W({},bs),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=rr(!1);try{_s(this)}finally{rr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],v(e)}}}),Iy=q(W({},yd),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(at(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Cy=q(W({},yd),{consumerMarkedDirty(){this.view[I]|=8192,Ut(this.view),this.notifier.notify(13)},destroy(){if(at(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[ut]?.delete(this)}});function wy(e,t,n){let r=Object.create(Cy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Dd(r,n),e[ut]??=new Set,e[ut].add(r),r.consumerMarkedDirty(r),r}function by(e,t,n){let r=Object.create(Iy);return r.fn=Dd(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Dd(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Or(e){return{toString:e}.toString()}function xy(e){return typeof e=="function"}function pf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ri=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Ln=(()=>{let e=()=>hf;return e.ngInherit=!0,e})();function hf(e){return e.type.prototype.ngOnChanges&&(e.setInput=Oy),Ry}function Ry(){let e=mf(this),t=e?.current;if(t){let n=e.previous;if(n===be)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Oy(e,t,n,r,o){let i=this.declaredInputs[r],s=mf(e)||Fy(e,{previous:be,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ri(u&&u.currentValue,n,c===be),pf(e,t,o,n)}var gf="__ngSimpleChanges__";function mf(e){return e[gf]||null}function Fy(e,t){return e[gf]=t}var vd=[];var A=function(e,t=null,n){for(let r=0;r<vd.length;r++){let o=vd[r];o(e,t,n)}},S=(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})(S||{});function ky(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hf(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 yf(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 Yo(e,t,n){Df(e,t,3,n)}function Qo(e,t,n,r){(e[I]&3)===n&&Df(e,t,n,r)}function xa(e,t){let n=e[I];(n&3)===t&&(n&=16383,n+=1,e[I]=n)}function Df(e,t,n,r){let o=r!==void 0?e[Vt]&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[Vt]+=65536),(a<i||i==-1)&&(Ly(e,n,t,c),e[Vt]=(e[Vt]&4294901760)+c+2),c++}function Ed(e,t){A(S.LifecycleHookStart,e,t);let n=v(null);try{t.call(e)}finally{v(n),A(S.LifecycleHookEnd,e,t)}}function Ly(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[I]>>14<e[Vt]>>16&&(e[I]&3)===t&&(e[I]+=16384,Ed(a,i)):Ed(a,i)}var Tn=-1,Yt=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 Py(e){return(e.flags&8)!==0}function jy(e){return(e.flags&16)!==0}function By(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];Vy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function vf(e){return e===3||e===4||e===6}function Vy(e){return e.charCodeAt(0)===64}function Mn(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?Id(e,n,o,null,t[++r]):Id(e,n,o,null,null))}}return e}function Id(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 Ef(e){return e!==Tn}function oi(e){return e&32767}function Hy(e){return e>>16}function ii(e,t){let n=Hy(e),r=t;for(;n>0;)r=r[Bt],n--;return r}var Ua=!0;function Cd(e){let t=Ua;return Ua=e,t}var $y=256,If=$y-1,Cf=5,Uy=0,Be={};function Gy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Pt)&&(r=n[Pt]),r==null&&(r=n[Pt]=Uy++);let o=r&If,i=1<<o;t.data[e+(o>>Cf)]|=i}function si(e,t){let n=wf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Ra(r.data,e),Ra(t,null),Ra(r.blueprint,null));let o=_c(e,t),i=e.injectorIndex;if(Ef(o)){let s=oi(o),a=ii(o,t),c=a[y].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ra(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function _c(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=Nf(o),r===null)return Tn;if(n++,o=o[Bt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Tn}function Ga(e,t,n){Gy(e,t,n)}function zy(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(vf(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 bf(e,t,n){if(n&8||e!==void 0)return e;To(t,"NodeInjector")}function _f(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[z],i=ue(void 0);try{return o?o.get(t,r,n&8):Ys(t,r,n&8)}finally{ue(i)}}return bf(r,t,n)}function Tf(e,t,n,r=0,o){if(e!==null){if(t[I]&2048&&!(r&2)){let s=Yy(e,t,n,r,Be);if(s!==Be)return s}let i=Sf(e,t,n,r,Be);if(i!==Be)return i}return _f(t,n,r,o)}function Sf(e,t,n,r,o){let i=qy(n);if(typeof i=="function"){if(!ba(t,e,r))return r&1?bf(o,n,r):_f(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))To(n);else return s}finally{_a()}}else if(typeof i=="number"){let s=null,a=wf(e,t),c=Tn,u=r&1?t[oe][re]:null;for((a===-1||r&4)&&(c=a===-1?_c(e,t):t[a+8],c===Tn||!bd(r,!1)?a=-1:(s=t[y],a=oi(c),t=ii(c,t)));a!==-1;){let l=t[y];if(wd(i,a,l.data)){let d=Wy(a,t,n,s,r,u);if(d!==Be)return d}c=t[a+8],c!==Tn&&bd(r,t[y].data[a+8]===u)&&wd(i,a,t)?(s=l,a=oi(c),t=ii(c,t)):a=-1}}return o}function Wy(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?Ye(a)&&Ua:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Ko(a,s,n,c,u);return l!==null?wr(t,s,l,a,o):Be}function Ko(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,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Me(f)&&f.type===n)return c}return null}function wr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Yt){let a=i;if(a.resolving)throw Zs("");let c=Cd(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?ue(a.injectImpl):null,p=ba(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&ky(n,s[n],t)}finally{d!==null&&ue(d),Cd(c),a.resolving=!1,_a()}}return i}function qy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Pt)?e[Pt]:void 0;return typeof t=="number"?t>=0?t&If:Zy:t}function wd(e,t,n){let r=1<<e;return!!(n[t+(e>>Cf)]&r)}function bd(e,t){return!(e&2)&&!(e&1&&t)}var qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Tf(this._tNode,this._lView,t,Rt(r),n)}};function Zy(){return new qt(V(),g())}function Mf(e){return Or(()=>{let t=e.prototype.constructor,n=t[tr]||za(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[tr]||za(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function za(e){return Vs(e)?()=>{let t=za(Z(e));return t&&t()}:Ot(e)}function Yy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[I]&2048&&!In(s);){let a=Sf(i,s,n,r|2,Be);if(a!==Be)return a;let c=i.parent;if(!c){let u=s[oa];if(u){let l=u.get(n,Be,r&-5);if(l!==Be)return l}c=Nf(s),s=s[Bt]}i=c}return o}function Nf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[re]:null}function Tc(e){return zy(V(),e)}function Qy(){return Pn(V(),g())}function Pn(e,t){return new Ve(fe(e,t))}var Ve=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Qy}return e})();function Af(e){return e instanceof Ve?e.nativeElement:e}function Ky(){return this._results[Symbol.iterator]()}var ai=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ce}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Ol(t);(this._changesDetected=!Rl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Ky};function xf(e){return(e.flags&128)===128}var Sc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Sc||{}),Rf=new Map,Jy=0;function Xy(){return Jy++}function eD(e){Rf.set(e[Le],e)}function Wa(e){Rf.delete(e[Le])}var _d="__ngContext__";function Nn(e,t){Ze(t)?(e[_d]=t[Le],eD(t)):e[_d]=t}function Of(e){return kf(e[vn])}function Ff(e){return kf(e[me])}function kf(e){for(;e!==null&&!Se(e);)e=e[me];return e}var qa;function tD(e){qa=e}function Lf(){if(qa!==void 0)return qa;if(typeof document<"u")return document;throw new C(210,!1)}var nD=new _("",{factory:()=>rD}),rD="ng";var Pf=new _(""),oD=new _("",{providedIn:"platform",factory:()=>"unknown"});var iD=new _("",{factory:()=>m(je).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ci={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},wi=new _("",{factory:()=>Ci});var jf="r";var Mc="di",Nc="s";var Bf=!1,Vf=new _("",{factory:()=>Bf});var Hf=new _("");var sD=(e,t,n,r)=>{};function aD(e,t,n,r){sD(e,t,n,r)}var $f=new _("");function bi(e){return(e.flags&32)===32}var cD=()=>null;function Uf(e,t,n=!1){return cD(e,t,n)}function Ac(e){return e.get(Hf,!1,{optional:!0})}function Gf(e,t){let n=e.contentQueries;if(n!==null){let r=v(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];mr(i),a.contentQueries(2,t[s],s)}}}finally{v(r)}}}function Za(e,t,n){mr(0);let r=v(null);try{t(e,n)}finally{v(r)}}function xc(e,t,n){if(ia(t)){let r=v(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{v(r)}}}var Qt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Qt||{});var zo;function uD(){if(zo===void 0&&(zo=null,gn.trustedTypes))try{zo=gn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zo}function _i(e){return uD()?.createHTML(e)||e}var Wo;function zf(){if(Wo===void 0&&(Wo=null,gn.trustedTypes))try{Wo=gn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wo}function Td(e){return zf()?.createHTML(e)||e}function Sd(e){return zf()?.createScriptURL(e)||e}var Xe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Eo})`}},Ya=class extends Xe{getTypeName(){return"HTML"}},Qa=class extends Xe{getTypeName(){return"Style"}},Ka=class extends Xe{getTypeName(){return"Script"}},Ja=class extends Xe{getTypeName(){return"URL"}},Xa=class extends Xe{getTypeName(){return"ResourceURL"}};function et(e){return e instanceof Xe?e.changingThisBreaksApplicationSecurity:e}function Ti(e,t){let n=Wf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Eo})`)}return n===t}function Wf(e){return e instanceof Xe&&e.getTypeName()||null}function lD(e){return new Ya(e)}function dD(e){return new Qa(e)}function fD(e){return new Ka(e)}function pD(e){return new Ja(e)}function hD(e){return new Xa(e)}function gD(e){let t=new tc(e);return mD()?new ec(t):t}var ec=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(_i(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},tc=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=_i(t),n}};function mD(){try{return!!new window.DOMParser().parseFromString(_i(""),"text/html")}catch{return!1}}var yD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rc(e){return e=String(e),e.match(yD)?e:"unsafe:"+e}function tt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var qf=tt("area,br,col,hr,img,wbr"),Zf=tt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Yf=tt("rp,rt"),DD=Fr(Yf,Zf),vD=Fr(Zf,tt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ED=Fr(Yf,tt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Md=Fr(qf,vD,ED,DD),Qf=tt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ID=tt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),CD=tt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),wD=Fr(Qf,ID,CD),bD=tt("script,style,template");var nc=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=SD(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=TD(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Nd(t).toLowerCase();if(!Md.hasOwnProperty(n))return this.sanitizedSomething=!0,!bD.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!wD.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Qf[a]&&(c=Rc(c)),this.buf.push(" ",s,'="',Ad(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Nd(t).toLowerCase();Md.hasOwnProperty(n)&&!qf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ad(t))}};function _D(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function TD(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Kf(t);return t}function SD(e){let t=e.firstChild;if(t&&_D(e,t))throw Kf(t);return t}function Nd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Kf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var MD=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ND=/([^\#-~ |!])/g;function Ad(e){return e.replace(/&/g,"&").replace(MD,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ND,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var qo;function Jf(e,t){let n=null;try{qo=qo||gD(e);let r=t?String(t):"";n=qo.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=qo.getInertBodyElement(r)}while(r!==i);let a=new nc().sanitizeChildren(xd(n)||n);return _i(a)}finally{if(n){let r=xd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function xd(e){return"content"in e&&AD(e)?e.content:null}function AD(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xD=/^>|^->|<!--|-->|--!>|<!-$/g,RD=/(<|>)/g,OD="\u200B$1\u200B";function FD(e){return e.replace(xD,t=>t.replace(RD,OD))}function kD(e,t){return e.createText(t)}function LD(e,t,n){e.setValue(t,n)}function PD(e,t){return e.createComment(FD(t))}function Xf(e,t,n){return e.createElement(t,n)}function ci(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ep(e,t,n){e.appendChild(t,n)}function Rd(e,t,n,r,o){r!==null?ci(e,t,n,r,o):ep(e,t,n)}function tp(e,t,n,r){e.removeChild(null,t,n,r)}function jD(e,t,n){e.setAttribute(t,"style",n)}function BD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function np(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&By(e,t,r),o!==null&&BD(e,t,o),i!==null&&jD(e,t,i)}var kr=(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})(kr||{});function VD(e){let t=Oc();return t?Td(t.sanitize(kr.HTML,e)||""):Ti(e,"HTML")?Td(et(e)):Jf(Lf(),Fe(e))}function rp(e){let t=Oc();return t?t.sanitize(kr.URL,e)||"":Ti(e,"URL")?et(e):Rc(Fe(e))}function op(e){let t=Oc();if(t)return Sd(t.sanitize(kr.RESOURCE_URL,e)||"");if(Ti(e,"ResourceURL"))return Sd(et(e));throw new C(904,!1)}var HD={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function $D(e,t){return HD[e]?.[t]===!0?op:rp}function UD(e,t,n){return $D(t,n)(e)}function Oc(){let e=g();return e&&e[Te].sanitizer}function GD(e){return e.ownerDocument}function ip(e){return e instanceof Function?e():e}function zD(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 sp="ng-template";function WD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&zD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Fc(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 Fc(e){return e.type===4&&e.value!==sp}function qD(e,t,n){let r=e.type===4&&!n?sp:e.value;return t===r}function ZD(e,t,n){let r=4,o=e.attrs,i=o!==null?KD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ne(r)&&!Ne(c))return!1;if(s&&Ne(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!qD(e,c,n)||c===""&&t.length===1){if(Ne(r))return!1;s=!0}}else if(r&8){if(o===null||!WD(e,o,c,n)){if(Ne(r))return!1;s=!0}}else{let u=t[++a],l=YD(c,o,Fc(e),n);if(l===-1){if(Ne(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ne(r))return!1;s=!0}}}}return Ne(r)||s}function Ne(e){return(e&1)===0}function YD(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 JD(t,e)}function ap(e,t,n=!1){for(let r=0;r<t.length;r++)if(ZD(e,t[r],n))return!0;return!1}function QD(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function KD(e){for(let t=0;t<e.length;t++){let n=e[t];if(vf(n))return t}return e.length}function JD(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 XD(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Od(e,t){return e?":not("+t.trim()+")":t}function ev(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!==""&&!Ne(s)&&(t+=Od(i,o),o=""),r=s,i=i||!Ne(r);n++}return o!==""&&(t+=Od(i,o)),t}function tv(e){return e.map(ev).join(",")}function nv(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(!Ne(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var K={};function kc(e,t,n,r,o,i,s,a,c,u,l){let d=k+r,p=d+o,f=rv(d,p),h=typeof u=="function"?u():u;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:h,incompleteFirstPass:!1,ssrId:l}}function rv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:K);return n}function ov(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=kc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Lc(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[_e]=o,d[I]=r|4|128|8|64|1024,(u!==null||e&&e[I]&2048)&&(d[I]|=2048),ua(d),d[G]=d[Bt]=e,d[$]=n,d[Te]=s||e&&e[Te],d[O]=a||e&&e[O],d[z]=c||e&&e[z]||null,d[re]=i,d[Le]=Xy(),d[jt]=l,d[oa]=u,d[oe]=t.type==2?e[oe]:d,d}function iv(e,t,n){let r=fe(t,e),o=ov(n),i=e[Te].rendererFactory,s=Pc(e,Lc(e,o,null,cp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function cp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function up(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 Pc(e,t){return e[vn]?e[ra][me]=t:e[vn]=t,e[ra]=t,t}function sv(e=1){lp(L(),g(),ve()+e,!1)}function lp(e,t,n,r){if(!r)if((t[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Yo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Qo(t,i,0,n)}gt(n)}var Si=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Si||{});function rc(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Si.SignalBased)!==0&&(c=t[i][j]),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):pf(t,c,i,r)}finally{v(o)}}var An=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(An||{}),av;function jc(e,t){return av(e,t)}var dp=new _("",{factory:()=>!1});var cv=!1,Lr=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function fp(e){return e[z].get(dp,cv)}function uv(e,t,n){let r=xn.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else xn.set(e,{classList:t,cleanupFns:n})}function Bc(e){let t=xn.get(e);if(t){for(let n of t.cleanupFns)n();xn.delete(e)}Zt.delete(e)}var xn=new WeakMap,Zt=new WeakMap,br=new WeakMap,Er=new WeakSet;function Fd(e,t){let n=br.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o===t);r>-1&&n.splice(r,1)}n?.length===0&&br.delete(e)}function lv(e,t){let n=br.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),Er.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 pp(e,t){let n=br.get(e);n?n.includes(t)||n.push(t):br.set(e,[t])}function kd(e){let t=e[Pe]??={};return t.enter??=new Map}function Mi(e){let t=e[Pe]??={};return t.leave??=new Map}function hp(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function dv(e,t){if(!Lr)return;let n=xn.get(e);if(n&&n.classList.length>0&&fv(e,n.classList))for(let r of n.classList)t.removeClass(e,r);Bc(e)}function fv(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function _r(e){return e.composedPath?e.composedPath()[0]:e.target}function Vc(e,t){let n=Zt.get(t);return n===void 0?!0:t===_r(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName==="all"||e.propertyName===n.propertyName))}function gp(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function Ld(e,t){if(e)for(let n of e)n();for(let n of t)n()}function Pd(e,t){let n=Mi(e).get(t.index);n&&(n.resolvers=void 0)}function ui(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Wt(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function pv(e){let t=Wt(e,"transition-property"),n=Wt(e,"transition-duration"),r=Wt(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=ui(r[i])+ui(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function hv(e){let t=Wt(e,"animation-name"),n=Wt(e,"animation-delay"),r=Wt(e,"animation-duration"),o=Wt(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=ui(n[s])+ui(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=t[s],i.duration=a)}return i}function mp(e,t){return e!==void 0&&e.duration>t.duration}function yp(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function gv(e,t){let n=getComputedStyle(e),r=hv(n),o=pv(n),i=r.duration>o.duration?r:o;mp(t.get(e),i)||yp(i)&&t.set(e,i)}function Dp(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?gv(e,t):mv(e,t,r)}function mv(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let u,l;o.animationName?l=o.animationName:u=o.transitionProperty,a>=r.duration&&(r={animationName:l,propertyName:u,duration:a})}mp(t.get(e),r)||yp(r)&&t.set(e,r)}var Rn=new Set,Ni=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ni||{}),tn=new _(""),jd=new Set;function he(e){jd.has(e)||(jd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ai=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Hc=[0,1,2,3],$c=(()=>{class e{ngZone=m(ge);scheduler=m(Re);errorHandler=m(qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(tn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(S.AfterRenderHooksStart),this.executing=!0;for(let r of Hc)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&A(S.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Ht]??=[]).push(n),Ut(r),r[I]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ni.AFTER_NEXT_RENDER,n):n()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Tr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Ht];t&&(this.view[Ht]=t.filter(n=>n!==this))}};function vp(e,t){let n=t?.injector??m(ne);return he("NgAfterNextRender"),Dv(e,n,t,!0)}function yv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Dv(e,t,n,r){let o=t.get(Ai);o.impl??=t.get($c);let i=t.get(tn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ee):null,a=t.get(bn,null,{optional:!0}),c=new Tr(o.impl,yv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var xi=new _("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:m(le)})});function Ep(e,t,n){let r=e.get(xi);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 vv(e,t){let n=e.get(xi);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Ev(e){let t=e.get(xi);t.isScheduled||(vp(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function Ip(e){let t=e.get(xi);t.scheduler=Ev,t.scheduler(e)}function Cp(e,t){for(let[n,r]of t)Ep(e,r.animateFns)}function Bd(e,t,n,r){let o=e?.[Pe]?.enter;t!==null&&o&&o.has(n.index)&&Cp(r,o)}function _n(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Se(o)?c=o:Ze(o)&&(u=!0,o=o[_e]);let l=ye(o);e===0&&r!==null?(Bd(a,r,i,n),s==null?ep(t,r,l):ci(t,r,l,s||null,!0)):e===1&&r!==null?(Bd(a,r,i,n),ci(t,r,l,s||null,!0),lv(i,l)):e===2?(a?.[Pe]?.leave?.has(i.index)&&pp(i,l),Er.delete(l),Vd(a,i,n,d=>{if(Er.has(l)){Er.delete(l);return}tp(t,l,u,d)})):e===3&&(Er.delete(l),Vd(a,i,n,()=>{t.destroyNode(l)})),c!=null&&xv(t,e,n,c,i,r,s)}}function Iv(e,t){wp(e,t),t[_e]=null,t[re]=null}function Cv(e,t,n,r,o,i){r[_e]=o,r[re]=t,Oi(e,r,n,1,o,i)}function wp(e,t){t[Te].changeDetectionScheduler?.notify(9),Oi(e,t,t[O],2,null,null)}function wv(e){let t=e[vn];if(!t)return Oa(e[y],e);for(;t;){let n=null;if(Ze(t))n=t[vn];else{let r=t[B];r&&(n=r)}if(!n){for(;t&&!t[me]&&t!==e;)Ze(t)&&Oa(t[y],t),t=t[G];t===null&&(t=e),Ze(t)&&Oa(t[y],t),n=t&&t[me]}t=n}}function Uc(e,t){let n=e[$t],r=n.indexOf(t);n.splice(r,1)}function Ri(e,t){if(ht(t))return;let n=t[O];n.destroyNode&&Oi(e,t,n,3,null,null),wv(t)}function Oa(e,t){if(ht(t))return;let n=v(null);try{t[I]&=-129,t[I]|=256,t[de]&&at(t[de]),Tv(e,t),_v(e,t),t[y].type===1&&t[O].destroy();let r=t[dt];if(r!==null&&Se(t[G])){r!==t[G]&&Uc(r,t);let o=t[ke];o!==null&&o.detachView(e)}Wa(t)}finally{v(n)}}function Vd(e,t,n,r){let o=e?.[Pe];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Rn.add(e[Le]),Ep(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),bv(e,r)}else e&&Rn.delete(e[Le]),r(!1)},o)}function bv(e,t){let n=e[Pe]?.running;if(n){n.then(()=>{e[Pe].running=void 0,Rn.delete(e[Le]),t(!0)});return}t(!1)}function _v(e,t){let n=e.cleanup,r=t[Dn];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[Dn]=null);let o=t[We];if(o!==null){t[We]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ut];if(i!==null){t[ut]=null;for(let s of i)s.destroy()}}function Tv(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 Yt)){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];A(S.LifecycleHookStart,a,c);try{c.call(a)}finally{A(S.LifecycleHookEnd,a,c)}}else{A(S.LifecycleHookStart,o,i);try{i.call(o)}finally{A(S.LifecycleHookEnd,o,i)}}}}}function bp(e,t,n){return Sv(e,t.parent,n)}function Sv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[_e];if(Ye(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Qt.None||o===Qt.Emulated)return null}return fe(r,n)}function _p(e,t,n){return Nv(e,t,n)}function Mv(e,t,n){return e.type&40?fe(e,n):null}var Nv=Mv,Hd;function Gc(e,t,n,r){let o=bp(e,r,t),i=t[O],s=r.parent||t[re],a=_p(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Rd(i,o,n[c],a,!1);else Rd(i,o,n,a,!1);Hd!==void 0&&Hd(i,r,t,n,o)}function Ir(e,t){if(t!==null){let n=t.type;if(n&3)return fe(t,e);if(n&4)return oc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ir(e,r);{let o=e[t.index];return Se(o)?oc(-1,o):ye(o)}}else{if(n&128)return Ir(e,t.next);if(n&32)return jc(t,e)()||ye(e[t.index]);{let r=Tp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=lt(e[oe]);return Ir(o,r)}else return Ir(e,t.next)}}}return null}function Tp(e,t){if(t!==null){let r=e[oe][re],o=t.projection;return r.projection[o]}return null}function oc(e,t){let n=B+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Ir(r,o)}return t[pt]}function zc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[z];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Nn(ye(c),r),n.flags|=2),!bi(n))if(u&8)zc(e,t,n.child,r,o,i,!1),_n(t,e,a,o,c,n,i,r);else if(u&32){let l=jc(n,r),d;for(;d=l();)_n(t,e,a,o,d,n,i,r);_n(t,e,a,o,c,n,i,r)}else u&16?Sp(e,t,r,n,o,i):_n(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Oi(e,t,n,r,o,i){zc(n,r,e.firstChild,t,o,i,!1)}function Av(e,t,n){let r=t[O],o=bp(e,n,t),i=n.parent||t[re],s=_p(i,n,t);Sp(r,0,t,n,o,s)}function Sp(e,t,n,r,o,i){let s=n[oe],c=s[re].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];_n(t,e,n[z],o,l,r,i,n)}else{let u=c,l=s[G];xf(r)&&(u.flags|=128),zc(e,t,u,l,o,i,!0)}}function xv(e,t,n,r,o,i,s){let a=r[pt],c=ye(r);a!==c&&_n(t,e,n,i,a,o,s);for(let u=B;u<r.length;u++){let l=r[u];Oi(l[y],l,e,t,i,a)}}function Rv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:An.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=An.Important),e.setStyle(n,r,o,i))}}function Mp(e,t,n,r,o){let i=ve(),s=r&2;try{gt(-1),s&&t.length>k&&lp(e,t,k,!1);let a=s?S.TemplateUpdateStart:S.TemplateCreateStart;A(a,o,n),n(r,o)}finally{gt(i);let a=s?S.TemplateUpdateEnd:S.TemplateCreateEnd;A(a,o,n)}}function Fi(e,t,n){jv(e,t,n),(n.flags&64)===64&&Bv(e,t,n)}function jn(e,t,n=fe){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 Ov(e,t,n,r){let i=r.get(Vf,Bf)||n===Qt.ShadowDom||n===Qt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return Fv(s),s}function Fv(e){kv(e)}var kv=()=>null;function Lv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Np(e,t,n,r,o,i){let s=t[y];if(Zc(e,s,t,n,r)){Ye(e)&&Pv(t,e.index);return}e.type&3&&(n=Lv(n)),Ap(e,t,n,r,o,i)}function Ap(e,t,n,r,o,i){if(e.type&3){let s=fe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Pv(e,t){let n=De(t,e);n[I]&16||(n[I]|=64)}function jv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ye(n)&&iv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||si(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=wr(t,e,s,n);if(Nn(c,t),i!==null&&Uv(t,s-r,c,a,n,i),Me(a)){let u=De(n.index,t);u[$]=wr(t,e,s,n)}}}function Bv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=td();try{gt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Po(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Vv(c,u)}}finally{gt(-1),Po(s)}}function Vv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Wc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];ap(t,i.selectors,!1)&&(r??=[],Me(i)?r.unshift(i):r.push(i))}return r}function Hv(e,t,n,r,o,i){let s=fe(e,t);$v(t[O],s,i,e.value,n,r,o)}function $v(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Fe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Uv(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];rc(r,n,c,u)}}function ki(e,t,n,r,o){let i=k+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,Gt(e,!0);let c=e.type===2;return c?(np(t[O],a,e),(ql()===0||En(e))&&Nn(a,t),Zl()):Nn(a,t),Ho()&&(!c||!bi(e))&&Gc(s,t,a,e),e}function Li(e){let t=e;return va()?Ea():(t=t.parent,Gt(t,!1)),t}function qc(e,t){let n=e[z];if(!n)return;let r;try{r=n.get(Je,null)}catch{r=null}r?.(t)}function Zc(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];rc(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];rc(l,u,r,o),a=!0}return a}function Gv(e,t){let n=De(t,e),r=n[y];zv(r,n);let o=n[_e];o!==null&&n[jt]===null&&(n[jt]=Uf(o,n[z])),A(S.ComponentStart);try{Yc(r,n,n[$])}finally{A(S.ComponentEnd,n[$])}}function zv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Yc(e,t,n){Bo(t);try{let r=e.viewQuery;r!==null&&Za(1,r,n);let o=e.template;o!==null&&Mp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&Gf(e,t),e.staticViewQueries&&Za(2,e.viewQuery,n);let i=e.components;i!==null&&Wv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[I]&=-5,Vo()}}function Wv(e,t){for(let n=0;n<t.length;n++)Gv(e,t[n])}function Bn(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[I]&4096?4096:16,c=Lc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[dt]=u;let l=e[ke];return l!==null&&(c[ke]=l.createEmbeddedView(i)),Yc(i,c,n),c}finally{v(o)}}function Kt(e,t){return!t||t.firstChild===null||xf(e)}function Sr(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(ye(i)),Se(i)&&xp(i,r);let s=n.type;if(s&8)Sr(e,t,n.child,r);else if(s&32){let a=jc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Tp(t,n);if(Array.isArray(a))r.push(...a);else{let c=lt(t[oe]);Sr(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function xp(e,t){for(let n=B;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&Sr(r[y],r,o,t)}e[pt]!==e[_e]&&t.push(e[pt])}function Rp(e){if(e[Ht]!==null){for(let t of e[Ht])t.impl.addSequence(t);e[Ht].length=0}}var Op=[];function qv(e){return e[de]??Zv(e)}function Zv(e){let t=Op.pop()??Object.create(Qv);return t.lView=e,t}function Yv(e){e.lView[de]!==e&&(e.lView=null,Op.push(e))}var Qv=q(W({},it),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ut(e.lView)},consumerOnSignalRead(){this.lView[de]=this}});function Kv(e){let t=e[de]??Object.create(Jv);return t.lView=e,t}var Jv=q(W({},it),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=lt(e.lView);for(;t&&!Fp(t[y]);)t=lt(t);t&&la(t)},consumerOnSignalRead(){this.lView[de]=this}});function Fp(e){return e.type!==2}function kp(e){if(e[ut]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ut])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[I]&8192)}}var Xv=100;function Lp(e,t=0){let r=e[Te].rendererFactory,o=!1;o||r.begin?.();try{eE(e,t)}finally{o||r.end?.()}}function eE(e,t){let n=Ca();try{rr(!0),ic(e,t);let r=0;for(;hr(e);){if(r===Xv)throw new C(103,!1);r++,ic(e,1)}}finally{rr(n)}}function tE(e,t,n,r){if(ht(t))return;let o=t[I],i=!1,s=!1;Bo(t);let a=!0,c=null,u=null;i||(Fp(e)?(u=qv(t),c=Ge(u)):lo()===null?(a=!1,u=Kv(t),c=Ge(u)):t[de]&&(at(t[de]),t[de]=null));try{ua(t),Jl(e.bindingStartIndex),n!==null&&Mp(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Yo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Qo(t,f,0,null),xa(t,0)}if(s||nE(t),kp(t),Pp(t,0),e.contentQueries!==null&&Gf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Yo(t,f)}else{let f=e.contentHooks;f!==null&&Qo(t,f,1),xa(t,1)}oE(e,t);let d=e.components;d!==null&&Bp(t,d,0);let p=e.viewQuery;if(p!==null&&Za(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Yo(t,f)}else{let f=e.viewHooks;f!==null&&Qo(t,f,2),xa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[xo]){for(let f of t[xo])f();t[xo]=null}i||(Rp(t),t[I]&=-73)}catch(l){throw i||Ut(t),l}finally{u!==null&&(st(u,c),a&&Yv(u)),Vo()}}function Pp(e,t){for(let n=Of(e);n!==null;n=Ff(n))for(let r=B;r<n.length;r++){let o=n[r];jp(o,t)}}function nE(e){for(let t=Of(e);t!==null;t=Ff(t)){if(!(t[I]&2))continue;let n=t[$t];for(let r=0;r<n.length;r++){let o=n[r];la(o)}}}function rE(e,t,n){A(S.ComponentStart);let r=De(t,e);try{jp(r,n)}finally{A(S.ComponentEnd,r[$])}}function jp(e,t){Oo(e)&&ic(e,t)}function ic(e,t){let r=e[y],o=e[I],i=e[de],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&dn(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)tE(r,e,r.template,e[$]);else if(o&8192){let a=v(null);try{kp(e),Pp(e,1);let c=r.components;c!==null&&Bp(e,c,1),Rp(e)}finally{v(a)}}}function Bp(e,t,n){for(let r=0;r<t.length;r++)rE(e,t[r],n)}function oE(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)gt(~o);else{let i=o,s=n[++r],a=n[++r];ed(s,i);let c=t[i];A(S.HostBindingsUpdateStart,c);try{a(2,c)}finally{A(S.HostBindingsUpdateEnd,c)}}}}finally{gt(-1)}}function Pi(e,t){let n=Ca()?64:1088;for(e[Te].changeDetectionScheduler?.notify(t);e;){e[I]|=n;let r=lt(e);if(In(e)&&!r)return e;e=r}return null}function Vp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Hp(e,t){let n=B+t;if(n<e.length)return e[n]}function Vn(e,t,n,r=!0){let o=t[y];if(iE(o,t,e,n),r){let s=oc(n,e),a=t[O],c=a.parentNode(e[pt]);c!==null&&Cv(o,e[re],a,t,c,s)}let i=t[jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Qc(e,t){let n=Mr(e,t);return n!==void 0&&Ri(n[y],n),n}function Mr(e,t){if(e.length<=B)return;let n=B+t,r=e[n];if(r){let o=r[dt];o!==null&&o!==e&&Uc(o,r),t>0&&(e[n-1][me]=r[me]);let i=ur(e,B+t);Iv(r[y],r);let s=i[ke];s!==null&&s.detachView(i[y]),r[G]=null,r[me]=null,r[I]&=-129}return r}function iE(e,t,n,r){let o=B+r,i=n.length;r>0&&(n[o-1][me]=t),r<i-B?(t[me]=n[o],Qs(n,B+r,t)):(n.push(t),t[me]=null),t[G]=n;let s=t[dt];s!==null&&n!==s&&$p(s,t);let a=t[ke];a!==null&&a.insertView(e),Fo(t),t[I]|=128}function $p(e,t){let n=e[$t],r=t[G];if(Ze(r))e[I]|=2;else{let o=r[G][oe];t[oe]!==o&&(e[I]|=2)}n===null?e[$t]=[t]:n.push(t)}var yt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return Sr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return ht(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Se(t)){let n=t[pr],r=n?n.indexOf(this):-1;r>-1&&(Mr(t,r),ur(n,r))}this._attachedToViewContainer=!1}Ri(this._lView[y],this._lView)}onDestroy(t){ko(this._lView,t)}markForCheck(){Pi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){Fo(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Lp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=In(this._lView),n=this._lView[dt];n!==null&&!t&&Uc(n,this._lView),wp(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=In(this._lView),r=this._lView[dt];r!==null&&!n&&$p(r,this._lView),Fo(this._lView)}};var Dt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=sE;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Bn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new yt(i)}}return e})();function sE(){return ji(V(),g())}function ji(e,t){return e.type&4?new Dt(t,e,Pn(e,t)):null}function nn(e,t,n,r,o){let i=e.data[t];if(i===null)i=aE(e,t,n,r,o),Xl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Kl();i.injectorIndex=s===null?-1:s.injectorIndex}return Gt(i,!0),i}function aE(e,t,n,r,o){let i=Da(),s=va(),a=s?i:i&&i.parent,c=e.data[t]=uE(e,a,n,t,r,o);return cE(e,c,i,s),c}function cE(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 uE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ga()&&(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,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 lE(e){let t=e[ft]??[],r=e[G][O],o=[];for(let i of t)i.data[Mc]!==void 0?o.push(i):dE(i,r);e[ft]=o}function dE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[jf];for(;n<o;){let i=r.nextSibling;tp(t,r,!1),r=i,n++}}}var fE=()=>null,pE=()=>null;function li(e,t){return fE(e,t)}function Up(e,t,n){return pE(e,t,n)}var Gp=class{},Bi=class{},sc=class{resolveComponentFactory(t){throw new C(917,!1)}},Pr=class{static NULL=new sc},Nr=class{},Hn=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>hE()}return e})();function hE(){let e=g(),t=V(),n=De(t.index,e);return(Ze(n)?n:e)[O]}var zp=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();var Jo={},Sn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Jo,r);return o!==Jo||n===Jo?o:this.parentInjector.get(t,n,r)}};function di(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=Io(o,a);else if(i==2){let c=a,u=t[++s];r=Io(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function J(e,t=0){let n=g();if(n===null)return Q(e,t);let r=V();return Tf(r,n,Z(e),t)}function Wp(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}yE(e,t,n,a,i,c,u)}i!==null&&r!==null&&gE(n,r,i)}function gE(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 C(-301,!1);r.push(t[o],i)}}function mE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function yE(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Me(f)&&(c=f,mE(e,n,p)),Ga(si(n,t),e,f.type)}wE(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=up(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Mn(n.mergedAttrs,f.hostAttrs),vE(e,n,t,d,f),CE(d,f,o),s!==null&&s.has(f)){let[D,b]=s.get(f);n.directiveToIndex.set(f.type,[d,D+n.directiveStart,b+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 h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}DE(e,n,i)}function DE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))$d(0,t,o,r),$d(1,t,o,r),Gd(t,r,!1);else{let i=n.get(o);Ud(0,t,i,r),Ud(1,t,i,r),Gd(t,r,!0)}}}function $d(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),qp(t,i)}}function Ud(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),qp(t,s)}}function qp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Gd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Fc(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 vE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ot(o.type,!0)),s=new Yt(i,Me(o),J,null);e.blueprint[r]=s,n[r]=s,EE(e,t,r,up(e,n,o.hostVars,K),o)}function EE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;IE(s)!=a&&s.push(a),s.push(n,r,i)}}function IE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function CE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Me(t)&&(n[""]=e)}}function wE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Kc(e,t,n,r,o,i,s,a){let c=t[y],u=c.consts,l=pe(u,s),d=nn(c,e,n,r,l);return i&&Wp(c,t,d,pe(u,a),o),d.mergedAttrs=Mn(d.mergedAttrs,d.attrs),d.attrs!==null&&di(d,d.attrs,!1),d.mergedAttrs!==null&&di(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Jc(e,t){yf(e,t),ia(t)&&e.queries.elementEnd(t)}function Zp(e,t,n,r,o,i){let s=t.consts,a=pe(s,o),c=nn(t,e,n,r,a);if(c.mergedAttrs=Mn(c.mergedAttrs,c.attrs),i!=null){let u=pe(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&di(c,c.attrs,!1),c.mergedAttrs!==null&&di(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Xc(e){return Vi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Yp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Vi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Et(e,t,n){return e[t]=n}function Hi(e,t){return e[t]}function ie(e,t,n){if(n===K)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function On(e,t,n,r){let o=ie(e,t,n);return ie(e,t+1,r)||o}function eu(e,t,n,r,o){let i=On(e,t,n,r);return ie(e,t+2,o)||i}function $i(e,t,n,r,o,i){let s=On(e,t,n,r);return On(e,t+2,o,i)||s}function Xo(e,t,n){return function r(o){let i=Ye(e)?De(e.index,t):t;Pi(i,5);let s=t[$],a=zd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=zd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function zd(e,t,n,r){let o=v(null);try{return A(S.OutputStart,t,n),n(r)!==!1}catch(i){return qc(e,i),!1}finally{A(S.OutputEnd,t,n),v(o)}}function Qp(e,t,n,r,o,i,s,a){let c=En(e),u=!1,l=null;if(!r&&c&&(l=_E(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=fe(e,n),p=r?r(d):d;aD(n,p,i,a);let f=o.listen(p,i,a);if(!bE(i)){let h=r?D=>r(ye(D[e.index])):e.index;Kp(h,t,n,i,a,f,!1)}}return u}function bE(e){return e.startsWith("animation")||e.startsWith("transition")}function _E(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[Dn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Kp(e,t,n,r,o,i,s){let a=t.firstCreatePass?pa(t):null,c=fa(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Wd(e,t,n,r,o,i){let s=t[n],a=t[y],u=a.data[n].outputs[r],d=s[u].subscribe(i);Kp(e.index,a,t,o,i,d,!0)}var ac=Symbol("BINDING");function Jp(e){return e.debugInfo?.className||e.type.name||null}var fi=class extends Pr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Oe(t);return new Jt(n,this.ngModule)}};function TE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Si.SignalBased)!==0};return o&&(i.transform=o),i})}function SE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function ME(e,t,n){let r=t instanceof le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Sn(n,r):n}function NE(e){let t=e.get(Nr,null);if(t===null)throw new C(407,!1);let n=e.get(zp,null),r=e.get(Re,null),o=e.get(tn,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function AE(e,t){let n=Xp(e);return Xf(t,n,n==="svg"?sa:n==="math"?$l:null)}function Xp(e){return(e.selectors[0][0]||"div").toLowerCase()}var Jt=class extends Bi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=TE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=SE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=tv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(S.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,u=ME(c,o||this.ngModule,t),l=NE(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Jp(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{v(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=xE(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?Ov(u,o,a.encapsulation,n):AE(a,u),d=s?.some(qd)||i?.some(h=>typeof h!="function"&&h.bindings.some(qd)),p=Lc(null,c,null,512|cp(a),null,null,t,u,n,null,Uf(l,n,!0));p[k]=l,Bo(p);let f=null;try{let h=Kc(k,p,2,"#host",()=>c.directiveRegistry,!0,0);np(u,l,h),Nn(l,p),Fi(c,p,h),xc(c,h,p),Jc(c,h),r!==void 0&&OE(h,this.ngContentSelectors,r),f=De(h.index,p),p[$]=f[$],Yc(c,p,null)}catch(h){throw f!==null&&Wa(f),Wa(p),h}finally{A(S.DynamicComponentEnd),Vo()}return new pi(this.componentType,p,!!d)}};function xE(e,t,n,r){let o=e?["ng-version","21.2.9"]:nv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[ac].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 p of d.bindings){a+=p[ac].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=cr(d);c.push(p)}return kc(0,null,RE(i,s),1,a,c,null,null,null,[o],null)}function RE(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 qd(e){let t=e[ac].kind;return t==="input"||t==="twoWay"}var pi=class extends Gp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Cn(n[y],k),this.location=Pn(this._tNode,n),this.instance=De(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new yt(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=Zc(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=De(r.index,o);Pi(s,1)}get injector(){return new qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function OE(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 nt=(()=>{class e{static __NG_ELEMENT_ID__=FE}return e})();function FE(){let e=V();return eh(e,g())}var cc=class e extends nt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Pn(this._hostTNode,this._hostLView)}get injector(){return new qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=_c(this._hostTNode,this._hostLView);if(Ef(t)){let n=ii(t,this._hostLView),r=oi(t),o=n[y].data[r+8];return new qt(o,n)}else return new qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Zd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-B}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=li(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Kt(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!xy(t),u;if(c)u=n;else{let b=n||{};u=b.index,r=b.injector,o=b.projectableNodes,i=b.environmentInjector||b.ngModuleRef,s=b.directives,a=b.bindings}let l=c?t:new Jt(Oe(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let T=(c?d:this.parentInjector).get(le,null);T&&(i=T)}let p=Oe(l.componentType??{}),f=li(this._lContainer,p?.id??null),h=f?.firstChild??null,D=l.create(d,o,h,i,s,a);return this.insertImpl(D.hostView,u,Kt(this._hostTNode,f)),D}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Gl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],u=new e(c,c[re],c[G]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Vn(s,o,i,r),t.attachToViewContainerRef(),Qs(Fa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Zd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);r&&(ur(Fa(this._lContainer),n),Ri(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);return r&&ur(Fa(this._lContainer),n)!=null?new yt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Zd(e){return e[pr]}function Fa(e){return e[pr]||(e[pr]=[])}function eh(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=Vp(r,t,null,e),t[e.index]=n,Pc(t,n)),LE(n,t,e,r),new cc(n,e,t)}function kE(e,t){let n=e[O],r=n.createComment(""),o=fe(t,e),i=n.parentNode(o);return ci(n,i,r,n.nextSibling(o),!1),r}var LE=jE,PE=()=>!1;function th(e,t,n){return PE(e,t,n)}function jE(e,t,n,r){if(e[pt])return;let o;n.type&8?o=ye(r):o=kE(t,n),e[pt]=o}var uc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},lc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)nu(t,n).matches!==null&&this.queries[n].setDirty()}},hi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=UE(t):this.predicate=t}},dc=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},fc=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,BE(n,i)),this.matchTNodeWithReadOption(t,n,Ko(n,t,i,!1,!1))}else r===Dt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ko(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ve||o===nt||o===Dt&&n.type&4)this.addMatch(n.index,-2);else{let i=Ko(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function BE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function VE(e,t){return e.type&11?Pn(e,t):e.type&4?ji(e,t):null}function HE(e,t,n,r){return n===-1?VE(t,e):n===-2?$E(e,t,r):wr(e,e[y],n,t)}function $E(e,t,n){if(n===Ve)return Pn(t,e);if(n===Dt)return ji(t,e);if(n===nt)return eh(t,e)}function nh(e,t,n,r){let o=t[ke].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(HE(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function pc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=nh(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=B;d<l.length;d++){let p=l[d];p[dt]===p[G]&&pc(p[y],p,u,r)}if(l[$t]!==null){let d=l[$t];for(let p=0;p<d.length;p++){let f=d[p];pc(f[y],f,u,r)}}}}}return r}function tu(e,t){return e[ke].queries[t].queryList}function rh(e,t,n){let r=new ai((n&4)===4);return Wl(e,t,r,r.destroy),(t[ke]??=new lc).queries.push(new uc(r))-1}function oh(e,t,n){let r=L();return r.firstCreatePass&&(sh(r,new hi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),rh(r,g(),t)}function ih(e,t,n,r){let o=L();if(o.firstCreatePass){let i=V();sh(o,new hi(t,n,r),i.index),GE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return rh(o,g(),n)}function UE(e){return e.split(",").map(t=>t.trim())}function sh(e,t,n){e.queries===null&&(e.queries=new dc),e.queries.track(new fc(t,n))}function GE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function nu(e,t){return e.queries.getByIndex(t)}function ah(e,t){let n=e[y],r=nu(n,t);return r.crossesNgTemplate?pc(n,e,t,[]):nh(n,e,r,t)}function ru(e,t,n){let r,o=Kn(()=>{r._dirtyCounter();let i=zE(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[j],r._dirtyCounter=$o(0),r._flatValue=void 0,o}function ou(e){return ru(!0,!1,e)}function iu(e){return ru(!0,!0,e)}function ch(e){return ru(!1,!1,e)}function uh(e,t){let n=e[j];n._lView=g(),n._queryIndex=t,n._queryList=tu(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function zE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[I]&4)return t?void 0:ee;let o=tu(n,r),i=ah(n,r);return o.reset(i,Af),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var vt=class{},lh=class{};function su(e,t){return new Ar(e,t??null,[])}var Ar=class extends vt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ws(t);this._bootstrapComponents=ip(i.bootstrap),this._r3Injector=Ta(t,n,[{provide:vt,useValue:this},{provide:Pr,useValue:this.componentFactoryResolver},...r],sr(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)}},gi=class extends lh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ar(this.moduleType,t,[])}};var xr=class extends vt{injector;componentFactoryResolver=new fi(this);instance=null;constructor(t){super();let n=new kt([...t.providers,{provide:vt,useValue:this},{provide:Pr,useValue:this.componentFactoryResolver}],t.parent||fr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function au(e,t,n=null){return new xr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var WE=(()=>{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=No(!1,n.type),o=r.length>0?au([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=F({token:e,providedIn:"environment",factory:()=>new e(Q(le))})}return e})();function qE(e){return Or(()=>{let t=dh(e),n=q(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Sc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(WE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Qt.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&he("NgStandalone"),fh(n);let r=e.dependencies;return n.directiveDefs=Yd(r,ZE),n.pipeDefs=Yd(r,qs),n.id=KE(n),n})}function ZE(e){return Oe(e)||cr(e)}function cu(e){return Or(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function YE(e,t){if(e==null)return be;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=Si.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function QE(e){if(e==null)return be;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function He(e){return Or(()=>{let t=dh(e);return fh(t),t})}function dh(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||be,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:YE(e.inputs,t),outputs:QE(e.outputs),debugInfo:null}}function fh(e){e.features?.forEach(t=>t(e))}function Yd(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 KE(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 JE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=XE,n.hostDirectives=r?e.map(hc):[e]):r?n.hostDirectives.unshift(...e.map(hc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function XE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,ph(s,t,r),o.set(s,[a,t.length-1])}i===0&&Me(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function ph(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Qd(hc(i),t,n)}else Qd(r,t,n)}function Qd(e,t,n){let r=cr(e.directive);eI(r.declaredInputs,e.inputs),ph(r,t,n),n.set(r,e),t.push(r)}function hc(e){return typeof e=="function"?{directive:Z(e),inputs:be,outputs:be}:{directive:Z(e.directive),inputs:Kd(e.inputs),outputs:Kd(e.outputs)}}function Kd(e){if(e===void 0||e.length===0)return be;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function eI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function tI(e){return Object.getPrototypeOf(e.prototype).constructor}function hh(e){let t=tI(e.type),n=!0,r=[e];for(;t;){let o;if(Me(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ka(e.inputs),s.declaredInputs=ka(e.declaredInputs),s.outputs=ka(e.outputs);let a=o.hostBindings;a&&sI(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&oI(e,c),u&&iI(e,u),nI(e,o),Ml(e.outputs,o.outputs),Me(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===hh&&(n=!1)}}t=Object.getPrototypeOf(t)}rI(r)}function nI(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 rI(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=Mn(o.hostAttrs,n=Mn(n,o.hostAttrs))}}function ka(e){return e===be?{}:e===ee?[]:e}function oI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function iI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function sI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function gh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Mn(e.mergedAttrs,e.attrs);let l=e.tView=kc(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),Gt(e,!1);let c=cI(n,t,e,r);Ho()&&Gc(n,t,c,e),Nn(c,t);let u=Vp(c,t,c,e);t[r+k]=u,Pc(t,u),th(u,e,t)}function aI(e,t,n,r,o,i,s,a,c,u,l){let d=n+k,p;return t.firstCreatePass?(p=nn(t,d,4,s||null,a||null),Lo()&&Wp(t,e,p,pe(t.consts,u),Wc),yf(t,p)):p=t.data[d],gh(p,e,t,n,r,o,i,c),En(p)&&Fi(t,e,p),u!=null&&jn(e,p,l),p}function Xt(e,t,n,r,o,i,s,a,c,u,l){let d=n+k,p;if(t.firstCreatePass){if(p=nn(t,d,4,s||null,a||null),u!=null){let f=pe(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return gh(p,e,t,n,r,o,i,c),u!=null&&jn(e,p,l),p}function mh(e,t,n,r,o,i,s,a){let c=g(),u=L(),l=pe(u.consts,i);return aI(c,u,e,t,n,r,o,l,void 0,s,a),mh}function yh(e,t,n,r,o,i,s,a){let c=g(),u=L(),l=pe(u.consts,i);return Xt(c,u,e,t,n,r,o,l,void 0,s,a),yh}var cI=uI;function uI(e,t,n,r){return yr(!0),t[O].createComment("")}var ae=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ae||{}),Jd=0,lI=1,U=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(U||{}),mi=(function(e){return e[e.Initial=-1]="Initial",e})(mi||{}),dI=0,jr=1;var fI=4,pI=5,hI=6,gI=7,La=8,mI=9,uu=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(uu||{});function yI(e,t,n){let r=vh(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function ei(e,t){let n=vh(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Dh(e){ei(1,e),ei(0,e),ei(2,e)}function vh(e){let t=fI;return e===1?t=pI:e===2&&(t=mI),t}function Ui(e){return e+1}function $n(e,t){let n=e[y],r=Ui(t.index);return e[r]}function DI(e,t,n){let r=e[y],o=Ui(t);e[o]=n}function Un(e,t){let n=Ui(t.index);return e.data[n]}function vI(e,t,n){let r=Ui(t);e.data[r]=n}function EI(e,t,n){let r=t[y],o=Un(r,n);switch(e){case U.Complete:return o.primaryTmplIndex;case U.Loading:return o.loadingTmplIndex;case U.Error:return o.errorTmplIndex;case U.Placeholder:return o.placeholderTmplIndex;default:return null}}function Xd(e,t){return t===U.Placeholder?e.placeholderBlockConfig?.[Jd]??null:t===U.Loading?e.loadingBlockConfig?.[Jd]??null:null}function II(e){return e.loadingBlockConfig?.[lI]??null}function ef(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function CI(e,t){let n=t.primaryTmplIndex+k;return Cn(e,n)}var wI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?au(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e})}return e})();var Eh=new _("");function Pa(e,t,n){return e.get(wI).getOrCreateInjector(t,e,n,"")}function bI(e,t,n){if(e instanceof Sn){let o=e.injector,i=e.parentInjector,s=Pa(i,t,n);return new Sn(o,s)}let r=e.get(le);if(r!==e){let o=Pa(r,t,n);return new Sn(e,o)}return Pa(e,t,n)}function mt(e,t,n,r=!1){let o=n[G],i=o[y];if(ht(o))return;let s=$n(o,t),a=s[jr],c=s[gI];if(!(c!==null&&e<c)&&tf(a,e)&&tf(s[dI]??-1,e)){let u=Un(i,t),d=!r&&!0&&(II(u)!==null||Xd(u,U.Loading)!==null||Xd(u,U.Placeholder))?MI:TI;try{d(e,s,n,t,o)}catch(p){qc(o,p)}}}function _I(e,t){let n=e[ft]?.findIndex(o=>o.data[Nc]===t[jr])??-1;return{dehydratedView:n>-1?e[ft][n]:null,dehydratedViewIx:n}}function TI(e,t,n,r,o){A(S.DeferBlockStateStart);let i=EI(e,o,r);if(i!==null){t[jr]=e;let s=o[y],a=i+k,c=Cn(s,a),u=0;Qc(n,u);let l;if(e===U.Complete){let h=Un(s,r),D=h.providers;D&&D.length>0&&(l=bI(o[z],h,D))}let{dehydratedView:d,dehydratedViewIx:p}=_I(n,t),f=Bn(o,c,null,{injector:l,dehydratedView:d});if(Vn(n,f,u,Kt(c,d)),Pi(f,2),p>-1&&n[ft]?.splice(p,1),(e===U.Complete||e===U.Error)&&Array.isArray(t[La])){for(let h of t[La])h();t[La]=null}}A(S.DeferBlockStateEnd)}function tf(e,t){return e<t}function SI(e,t){let n=e[t.index];mt(U.Placeholder,t,n)}function nf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ae.COMPLETE?mt(U.Complete,t,n):e.loadingState===ae.FAILED&&mt(U.Error,t,n)})}var MI=null;var NI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function lu(e){return typeof e=="function"&&e[j]!==void 0}function du(e){return lu(e)&&typeof e.set=="function"}var Ih=new _("");function Gi(e){return!!e&&typeof e.then=="function"}function fu(e){return!!e&&typeof e.subscribe=="function"}var pu=new _("");function AI(e){return dr([{provide:pu,multi:!0,useValue:e}])}var hu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m(pu,{optional:!0})??[];injector=m(ne);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ao(this.injector,o);if(Gi(i))n.push(i);else if(fu(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ch=new _("");function wh(){Cs(()=>{let e="";throw new C(600,e)})}function bh(e){return e.isBoundToModule}var xI=10;var zi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(Je);afterRenderManager=m(Ai);zonelessEnabled=m(vr);rootEffectScheduler=m(Go);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ce;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(zt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(St(n=>!n))}constructor(){m(tn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ne.NULL){return this._injector.get(ge).run(()=>{A(S.BootstrapComponentStart);let s=n instanceof Bi;if(!this._injector.get(hu).done){let h="";throw new C(405,h)}let c;s?c=n:c=this._injector.get(Pr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=bh(c)?void 0:this._injector.get(vt),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Ih,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Cr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(S.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(S.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ni.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw A(S.ChangeDetectionEnd),new C(101,!1);let n=v(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),A(S.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Nr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<xI;){A(S.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{A(S.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&&!hr(o))continue;let i=r&&!this.zonelessEnabled?0:1;Lp(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})=>hr(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;Cr(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(Ch,[]).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),()=>Cr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Cr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function _h(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function Th(e,t,n){let r=t[z],o=t[y];if(e.loadingState!==ae.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=$n(t,n),s=CI(o,e);e.loadingState=ae.IN_PROGRESS,ei(1,i);let a=e.dependencyResolverFn,c=r.get(Uo).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let l=!1,d=null,p=[],f=[];for(let h=0;h<u.length;h++){let D=u[h];if(D.status==="fulfilled"){let b=D.value,T=Oe(b)||cr(b);if(T)p.push(T);else{let H=qs(b);H&&f.push(H)}}else{l=!0,d=D.reason instanceof Error?D.reason:new Error(String(D.reason));break}}if(l){if(e.loadingState=ae.FAILED,e.errorTmplIndex===null){let D="",b=new C(-750,D);qc(t,b)}}else{e.loadingState=ae.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=ef(h.directiveRegistry,p);let D=p.map(T=>T.type),b=No(!1,...D);e.providers=b}f.length>0&&(h.pipeRegistry=ef(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ae.COMPLETE,c()}),e.loadingPromise)}function RI(e,t){return t[z].get(Eh,null,{optional:!0})?.behavior!==uu.Manual}function OI(e,t,n){let r=t[y],o=t[n.index];if(!RI(e,t))return;let i=$n(t,n),s=Un(r,n);switch(Dh(i),s.loadingState){case ae.NOT_STARTED:mt(U.Loading,n,o),Th(s,t,n),s.loadingState===ae.IN_PROGRESS&&nf(s,n,o);break;case ae.IN_PROGRESS:mt(U.Loading,n,o),nf(s,n,o);break;case ae.COMPLETE:mt(U.Complete,n,o);break;case ae.FAILED:mt(U.Error,n,o);break;default:}}function FI(e,t,n){return e===0?rf(t,n):e===2?!rf(t,n):!0}function kI(e){return e!=null&&(e&1)===1}function rf(e,t){let n=e[z],r=Un(e[y],t),o=Ac(n),i=kI(r.flags),a=$n(e,t)[hI]!==null;return!(i&&a&&o)}function LI(e,t,n,r,o,i,s,a,c,u){let l=g(),d=L(),p=e+k,f=Xt(l,d,e,null,0,0),h=l[z],D=Ac(h);if(d.firstCreatePass){he("NgDefer");let Gn={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ae.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:u??0};c?.(d,Gn,a,s),vI(d,p,Gn)}let b=l[p];th(b,f,l);let T=null,H=null;if(b[ft]?.length>0){let Gn=b[ft][0].data;H=Gn[Mc]??null,T=Gn[Nc]}let Ct=[null,mi.Initial,null,null,null,null,H,T,null,null];DI(l,p,Ct);let is=null;H!==null&&D&&(is=h.get($f),is.add(H,{lView:l,tNode:f,lContainer:b}));let Bu=()=>{Dh(Ct),H!==null&&is?.cleanup([H])};yI(0,Ct,()=>da(l,Bu)),ko(l,Bu)}function PI(e){let t=g(),n=wn();if(!FI(0,t,n))return;let r=Ke();if(ie(t,r,e)){let o=v(null);try{let i=!!e,a=$n(t,n)[jr];i===!1&&a===mi.Initial?SI(t,n):i===!0&&(a===mi.Initial||a===U.Placeholder)&&OI(0,t,n)}finally{v(o)}}}function Sh(e,t,n,r){let o=g(),i=Ke();if(ie(o,i,t)){let s=L(),a=wn();Hv(a,o,e,t,n,r)}return Sh}function ti(e){if(he("NgAnimateEnter"),!Lr)return ti;let t=g();if(fp(t))return ti;let n=V(),r=t[z].get(ge);return gp(kd(t),n,()=>jI(t,n,e,r)),Ip(t[z]),Cp(t[z],kd(t)),ti}function jI(e,t,n,r){let o=fe(t,e),i=e[O],s=hp(n),a=[],c=!1,u=d=>{if(_r(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,l)})},l=d=>{_r(d)===o&&(Vc(d,o)&&(c=!0),BI(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",u)),a.push(i.listen(o,"transitionstart",u))}),uv(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Dp(o,Zt,Lr),!Zt.has(o))){for(let d of s)i.removeClass(o,d);Bc(o)}})})}}function BI(e,t,n){let r=xn.get(t);if(!(_r(e)!==t||!r)&&Vc(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);Bc(t)}}function ni(e){if(he("NgAnimateLeave"),!Lr)return ni;let t=g();if(fp(t))return ni;let r=V(),o=t[z].get(ge);return gp(Mi(t),r,()=>VI(t,r,e,o)),Ip(t[z]),ni}function VI(e,t,n,r){let{promise:o,resolve:i}=_h(),s=fe(t,e),a=e[O];Rn.add(e[Le]),(Mi(e).get(t.index).resolvers??=[]).push(i);let c=hp(n);return c&&c.length>0?HI(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function HI(e,t,n,r,o,i){dv(e,o);let s=[],a=Mi(n).get(t.index)?.resolvers,c,u=!1,l=d=>{if(!(_r(d)!==e&&d.type!=="animation-fallback")&&(d.type==="animation-fallback"||Vc(d,e))){if(u=!0,c&&clearTimeout(c),d.type!=="animation-fallback"&&d.stopPropagation(),Zt.delete(e),Fd(t,e),Array.isArray(t.projection))for(let f of r)o.removeClass(e,f);Ld(a,s),Pd(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",l)),s.push(o.listen(e,"transitionend",l))}),pp(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(u)return;Dp(e,Zt,Lr);let d=Zt.get(e);d?(c=setTimeout(()=>{l(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(Fd(t,e),Ld(a,s),Pd(n,t))})})}var gc=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 ja(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function $I(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){v(r);let u=t.length-1;for(v(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=ja(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],D=ja(a,f,u,h,n);if(D!==0){D<0&&e.updateValue(a,h),a--,u--;continue}let b=n(s,l),T=n(a,f),H=n(s,d);if(Object.is(H,T)){let Ct=n(u,h);Object.is(Ct,b)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new yi,i??=sf(e,s,a,n),mc(e,o,s,H))e.updateValue(s,d),s++,a++;else if(i.has(H))o.set(b,e.detach(s)),a--;else{let Ct=e.create(s,t[s]);e.attach(s,Ct),s++,a++}}for(;s<=u;)of(e,o,n,s,t[s]),s++}else if(t!=null){v(r);let u=t[Symbol.iterator]();v(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=ja(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new yi,i??=sf(e,s,a,n);let h=n(s,p);if(mc(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let D=n(s,d);o.set(D,e.detach(s)),a--}}}for(;!l.done;)of(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 mc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function of(e,t,n,r,o){if(mc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function sf(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 yi=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 UI(e,t,n,r,o,i,s,a){he("NgControlFlow");let c=g(),u=L(),l=pe(u.consts,i);return Xt(c,u,e,t,n,r,o,l,256,s,a),gu}function gu(e,t,n,r,o,i,s,a){he("NgControlFlow");let c=g(),u=L(),l=pe(u.consts,i);return Xt(c,u,e,t,n,r,o,l,512,s,a),gu}function GI(e,t){he("NgControlFlow");let n=g(),r=Ke(),o=n[r]!==K?n[r]:-1,i=o!==-1?Di(n,k+o):void 0,s=0;if(ie(n,r,e)){let a=v(null);try{if(i!==void 0&&Qc(i,s),e!==-1){let c=k+e,u=Di(n,c),l=Ec(n[y],c),d=Up(u,l,n),p=Bn(n,l,t,{dehydratedView:d});Vn(u,p,s,Kt(l,d))}}finally{v(a)}}else if(i!==void 0){let a=Hp(i,s);a!==void 0&&(a[$]=t)}}var yc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-B}};function zI(e){return e}function WI(e,t){return t}var Dc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function qI(e,t,n,r,o,i,s,a,c,u,l,d,p){he("NgControlFlow");let f=g(),h=L(),D=c!==void 0,b=g(),T=a?s.bind(b[oe][$]):s,H=new Dc(D,T);b[k+e]=H,Xt(f,h,e+1,t,n,r,o,pe(h.consts,i),256),D&&Xt(f,h,e+2,c,u,l,d,pe(h.consts,p),512)}var vc=class extends gc{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-B}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[jt];this.needsIndexUpdate||=t!==this.length,Vn(this.lContainer,n,t,Kt(this.templateTNode,r)),YI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,QI(this.lContainer,t),KI(this.lContainer,t)}create(t,n){let r=li(this.lContainer,this.templateTNode.tView.ssrId);return Bn(this.hostLView,this.templateTNode,new yc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Ri(t[y],t)}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return JI(this.lContainer,t)}};function ZI(e){let t=v(null),n=ve();try{let r=g(),o=r[y],i=r[n],s=n+1,a=Di(r,s);if(i.liveCollection===void 0){let u=Ec(o,s);i.liveCollection=new vc(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if($I(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Ke(),l=c.length===0;if(ie(r,u,l)){let d=n+2,p=Di(r,d);if(l){let f=Ec(o,d),h=Up(p,f,r),D=Bn(r,f,void 0,{dehydratedView:h});Vn(p,D,0,Kt(f,h))}else o.firstUpdatePass&&lE(p),Qc(p,0)}}}finally{v(t)}}function Di(e,t){return e[t]}function YI(e,t){if(e.length<=B)return;let n=B+t,r=e[n],o=r?r[Pe]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[z];vv(i,o),Rn.delete(r[Le]),o.detachedLeaveAnimationFns=void 0}}function QI(e,t){if(e.length<=B)return;let n=B+t,r=e[n],o=r?r[Pe]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function KI(e,t){return Mr(e,t)}function JI(e,t){return Hp(e,t)}function Ec(e,t){return Cn(e,t)}function Mh(e,t,n){let r=g(),o=Ke();if(ie(r,o,t)){let i=L(),s=wn();Np(s,r,e,t,r[O],n)}return Mh}function Ic(e,t,n,r,o){Zc(t,e,n,o?"class":"style",r)}function vi(e,t,n,r){let o=g(),i=o[y],s=e+k,a=i.firstCreatePass?Kc(s,o,2,t,Wc,Lo(),n,r):i.data[s];if(Ye(a)){let c=o[Te].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Jp(u),()=>(af(e,t,o,a,r),vi))}}return af(e,t,o,a,r),vi}function af(e,t,n,r,o){if(ki(r,n,e,t,xh),En(r)){let i=n[y];Fi(i,n,r),xc(i,r,n)}o!=null&&jn(n,r)}function mu(){let e=L(),t=V(),n=Li(t);return e.firstCreatePass&&Jc(e,n),ma(n)&&ya(),ha(),n.classesWithoutHost!=null&&Py(n)&&Ic(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&jy(n)&&Ic(e,n,g(),n.stylesWithoutHost,!1),mu}function Nh(e,t,n,r){return vi(e,t,n,r),mu(),Nh}function yu(e,t,n,r){let o=g(),i=o[y],s=e+k,a=i.firstCreatePass?Zp(s,i,2,t,n,r):i.data[s];return ki(a,o,e,t,xh),r!=null&&jn(o,a),yu}function Du(){let e=V(),t=Li(e);return ma(t)&&ya(),ha(),Du}function Ah(e,t,n,r){return yu(e,t,n,r),Du(),Ah}var xh=(e,t,n,r,o)=>(yr(!0),Xf(t[O],r,ud()));function vu(e,t,n){let r=g(),o=r[y],i=e+k,s=o.firstCreatePass?Kc(i,r,8,"ng-container",Wc,Lo(),t,n):o.data[i];if(ki(s,r,e,"ng-container",Fh),En(s)){let a=r[y];Fi(a,r,s),xc(a,s,r)}return n!=null&&jn(r,s),vu}function Wi(){let e=L(),t=V(),n=Li(t);return e.firstCreatePass&&Jc(e,n),Wi}function Rh(e,t,n){return vu(e,t,n),Wi(),Rh}function Oh(e,t,n){let r=g(),o=r[y],i=e+k,s=o.firstCreatePass?Zp(i,o,8,"ng-container",t,n):o.data[i];return ki(s,r,e,"ng-container",Fh),n!=null&&jn(r,s),Oh}function XI(){let e=V(),t=Li(e);return Wi}var Fh=(e,t,n,r,o)=>(yr(!0),PD(t[O],""));function eC(){return g()}function kh(e,t,n){let r=g(),o=Ke();if(ie(r,o,t)){let i=L(),s=wn();Ap(s,r,e,t,r[O],n)}return kh}var Br="en-US";var tC=Br;function Lh(e){typeof e=="string"&&(tC=e.toLowerCase().replace(/_/g,"-"))}function Ph(e,t,n){let r=g(),o=L(),i=V();return Bh(o,r,r[O],i,e,t,n),Ph}function jh(e,t,n){let r=g(),o=L(),i=V();return(i.type&3||n)&&Qp(i,o,r,n,r[O],e,t,Xo(i,r,t)),jh}function Bh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Xo(r,t,i),Qp(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 p=l[d],f=l[d+1];c??=Xo(r,t,i),Wd(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Xo(r,t,i),Wd(r,t,d,o,o,c)}}function nC(e=1){return sd(e)}function rC(e,t){let n=null,r=QD(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?ap(e,i,!0):XD(r,i))return o}return n}function oC(e){let t=g()[oe][re];if(!t.projection){let n=e?e.length:1,r=t.projection=Fl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?rC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function iC(e,t=0,n,r,o,i){let s=g(),a=L(),c=r?e+1:null;c!==null&&Xt(s,a,c,r,o,i,null,n);let u=nn(a,k+e,16,null,n||null);u.projection===null&&(u.projection=t),Ea();let d=!s[jt]||ga();s[oe][re].projection[u.projection]===null&&c!==null?sC(s,a,c):d&&!bi(u)&&Av(a,s,u)}function sC(e,t,n){let r=k+n,o=t.data[r],i=e[r],s=li(i,o.tView.ssrId),a=Bn(e,o,void 0,{dehydratedView:s});Vn(i,a,0,Kt(o,s))}function Vh(e,t,n,r){return ih(e,t,n,r),Vh}function Hh(e,t,n){return oh(e,t,n),Hh}function aC(e){let t=g(),n=L(),r=jo();mr(r+1);let o=nu(n,r);if(e.dirty&&Ul(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ah(t,r);e.reset(i,Af),e.notifyOnChanges()}return!0}return!1}function cC(){return tu(g(),jo())}function $h(e,t,n,r,o){return uh(t,ih(e,n,r,o)),$h}function Uh(e,t,n,r){return uh(e,oh(t,n,r)),Uh}function uC(e=1){mr(jo()+e)}function lC(e){let t=Ia();return ca(t,k+e)}function Zo(e,t){return e<<17|t<<2}function en(e){return e>>17&32767}function dC(e){return(e&2)==2}function fC(e,t){return e&131071|t<<17}function Cc(e){return e|2}function Fn(e){return(e&131068)>>2}function Ba(e,t){return e&-131069|t<<2}function pC(e){return(e&1)===1}function wc(e){return e|1}function hC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=en(s),c=Fn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||mn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=en(e[a+1]);e[r+1]=Zo(p,a),p!==0&&(e[p+1]=Ba(e[p+1],r)),e[a+1]=fC(e[a+1],r)}else e[r+1]=Zo(a,0),a!==0&&(e[a+1]=Ba(e[a+1],r)),a=r;else e[r+1]=Zo(c,0),a===0?a=r:e[c+1]=Ba(e[c+1],r),c=r;u&&(e[r+1]=Cc(e[r+1])),cf(e,l,r,!0),cf(e,l,r,!1),gC(t,l,e,r,i),s=Zo(a,c),i?t.classBindings=s:t.styleBindings=s}function gC(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mn(i,t)>=0&&(n[r+1]=wc(n[r+1]))}function cf(e,t,n,r){let o=e[n+1],i=t===null,s=r?en(o):Fn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];mC(c,t)&&(a=!0,e[s+1]=r?wc(u):Cc(u)),s=r?en(u):Fn(u)}a&&(e[n+1]=r?Cc(o):wc(o))}function mC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mn(e,t)>=0:!1}var Y={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gh(e){return e.substring(Y.key,Y.keyEnd)}function yC(e){return e.substring(Y.value,Y.valueEnd)}function DC(e){return qh(e),zh(e,kn(e,0,Y.textEnd))}function zh(e,t){let n=Y.textEnd;return n===t?-1:(t=Y.keyEnd=EC(e,Y.key=t,n),kn(e,t,n))}function vC(e){return qh(e),Wh(e,kn(e,0,Y.textEnd))}function Wh(e,t){let n=Y.textEnd,r=Y.key=kn(e,t,n);return n===r?-1:(r=Y.keyEnd=IC(e,r,n),r=uf(e,r,n,58),r=Y.value=kn(e,r,n),r=Y.valueEnd=CC(e,r,n),uf(e,r,n,59))}function qh(e){Y.key=0,Y.keyEnd=0,Y.value=0,Y.valueEnd=0,Y.textEnd=e.length}function kn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function EC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function IC(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function uf(e,t,n,r){return t=kn(e,t,n),t<n&&t++,t}function CC(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=lf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=lf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function lf(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function qi(e,t,n){return Yh(e,t,n,!1),qi}function Zh(e,t){return Yh(e,t,null,!0),Zh}function wC(e){Qh(Xh,bC,e,!1)}function bC(e,t){for(let n=vC(t);n>=0;n=Wh(t,n))Xh(e,Gh(t),yC(t))}function _C(e){Qh(RC,TC,e,!0)}function TC(e,t){for(let n=DC(t);n>=0;n=zh(t,n))lr(e,Gh(t),!0)}function Yh(e,t,n,r){let o=g(),i=L(),s=gr(2);if(i.firstUpdatePass&&Jh(i,e,s,r),t!==K&&ie(o,s,t)){let a=i.data[ve()];eg(i,a,o,o[O],e,o[s+1]=FC(t,n),r,s)}}function Qh(e,t,n,r){let o=L(),i=gr(2);o.firstUpdatePass&&Jh(o,null,i,r);let s=g();if(n!==K&&ie(s,i,n)){let a=o.data[ve()];if(tg(a,r)&&!Kh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Io(c,n||"")),Ic(o,a,s,n,r)}else OC(o,a,s,s[O],s[i+1],s[i+1]=xC(e,t,n),r,i)}}function Kh(e,t){return t>=e.expandoStartIndex}function Jh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ve()],s=Kh(e,n);tg(i,r)&&t===null&&!s&&(t=!1),t=SC(o,i,t,r),hC(o,i,t,n,s,r)}}function SC(e,t,n,r){let o=nd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Va(null,e,t,n,r),n=Rr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Va(o,e,t,n,r),i===null){let c=MC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Va(null,e,t,c[1],r),c=Rr(c,t.attrs,r),NC(e,t,r,c))}else i=AC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function MC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Fn(r)!==0)return e[en(r)]}function NC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[en(o)]=r}function AC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Rr(r,s,n)}return Rr(r,t.attrs,n)}function Va(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=Rr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Rr(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]),lr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function xC(e,t,n){if(n==null||n==="")return ee;let r=[],o=et(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Xh(e,t,n){lr(e,t,et(n))}function RC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&lr(e,r,n)}function OC(e,t,n,r,o,i,s,a){o===K&&(o=ee);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,D;l===d?(c+=2,u+=2,p!==f&&(h=d,D=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,D=f),h!==null&&eg(e,t,n,r,h,D,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function eg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=pC(u)?df(c,t,n,o,Fn(u),s):void 0;if(!Ei(l)){Ei(i)||dC(u)&&(i=df(c,null,n,o,a,s));let d=aa(ve(),n);Rv(r,s,d,o,i)}}function df(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,p=n[o+1];p===K&&(p=d?ee:void 0);let f=d?Mo(p,r):l===r?p:void 0;if(u&&!Ei(f)&&(f=Mo(c,r)),Ei(f)&&(a=f,s))return a;let h=e[o+1];o=s?en(h):Fn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Mo(c,r))}return a}function Ei(e){return e!==void 0}function FC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=sr(et(e)))),e}function tg(e,t){return(e.flags&(t?8:16))!==0}function kC(e,t=""){let n=g(),r=L(),o=e+k,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=LC(r,n,i,t);n[o]=s,Ho()&&Gc(r,n,s,i),Gt(i,!1)}var LC=(e,t,n,r)=>(yr(!0),kD(t[O],r));function PC(e,t,n,r=""){return ie(e,Ke(),n)?t+Fe(n)+r:K}function jC(e,t,n,r,o,i=""){let s=wa(),a=On(e,s,n,o);return gr(2),a?t+Fe(n)+r+Fe(o)+i:K}function BC(e,t,n,r,o,i,s,a=""){let c=wa(),u=eu(e,c,n,o,s);return gr(3),u?t+Fe(n)+r+Fe(o)+i+Fe(s)+a:K}function ng(e){return Eu("",e),ng}function Eu(e,t,n){let r=g(),o=PC(r,e,t,n);return o!==K&&Iu(r,ve(),o),Eu}function rg(e,t,n,r,o){let i=g(),s=jC(i,e,t,n,r,o);return s!==K&&Iu(i,ve(),s),rg}function og(e,t,n,r,o,i,s){let a=g(),c=BC(a,e,t,n,r,o,i,s);return c!==K&&Iu(a,ve(),c),og}function Iu(e,t,n){let r=aa(t,e);LD(e[O],r,n)}function ig(e,t,n){du(t)&&(t=t());let r=g(),o=Ke();if(ie(r,o,t)){let i=L(),s=wn();Np(s,r,e,t,r[O],n)}return ig}function VC(e,t){let n=du(e);return n&&e.set(t),n}function sg(e,t){let n=g(),r=L(),o=V();return Bh(r,n,n[O],o,e,t),sg}var ag={};function cg(e){he("NgLet");let t=L(),n=g(),r=e+k,o=nn(t,r,128,null,null);return Gt(o,!1),Ro(t,n,r,ag),cg}function HC(e){let t=L(),n=g(),r=ve();return Ro(t,n,r,e),e}function $C(e){let t=Ia(),n=ca(t,k+e);if(n===ag)throw new C(314,!1);return n}function ff(e,t,n){let r=L();r.firstCreatePass&&ug(t,r.data,r.blueprint,Me(e),n)}function ug(e,t,n,r,o){if(e=Z(e),Array.isArray(e))for(let i=0;i<e.length;i++)ug(e[i],t,n,r,o);else{let i=L(),s=g(),a=V(),c=Ft(e)?e:Z(e.provide),u=ta(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ft(e)||!e.multi){let f=new Yt(u,o,J,null),h=$a(c,t,o?l:l+p,d);h===-1?(Ga(si(a,s),i,c),Ha(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=$a(c,t,l+p,d),h=$a(c,t,l,l+p),D=f>=0&&n[f],b=h>=0&&n[h];if(o&&!b||!o&&!D){Ga(si(a,s),i,c);let T=zC(o?GC:UC,n.length,o,r,u,e);!o&&b&&(n[h].providerFactory=T),Ha(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=lg(n[o?h:f],u,!o&&r);Ha(i,e,f>-1?f:h,T)}!o&&r&&b&&n[h].componentProviders++}}}function Ha(e,t,n,r){let o=Ft(t),i=Vl(t);if(o||i){let c=(i?Z(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 lg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function $a(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function UC(e,t,n,r,o){return bc(this.multi,[])}function GC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=wr(r,r[y],this.providerFactory.index,o);s=c.slice(0,a),bc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],bc(i,s);return s}function bc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function zC(e,t,n,r,o,i){let s=new Yt(e,n,J,null);return s.multi=[],s.index=t,s.componentProviders=0,lg(s,o,r&&!n),s}function WC(e,t){return n=>{n.providersResolver=(r,o)=>ff(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>ff(r,o?o(t):t,!0))}}function qC(e,t){let n=Qe()+e,r=g();return r[n]===K?Et(r,n,t()):Hi(r,n)}function ZC(e,t,n){return tw(g(),Qe(),e,t,n)}function YC(e,t,n,r){return nw(g(),Qe(),e,t,n,r)}function QC(e,t,n,r,o){return rw(g(),Qe(),e,t,n,r,o)}function KC(e,t,n,r,o,i,s){return ow(g(),Qe(),e,t,n,r,o,i)}function JC(e,t,n,r,o,i,s){let a=Qe()+e,c=g(),u=$i(c,a,n,r,o,i);return ie(c,a+4,s)||u?Et(c,a+5,t(n,r,o,i,s)):Hi(c,a+5)}function XC(e,t,n,r,o,i,s,a){let c=Qe()+e,u=g(),l=$i(u,c,n,r,o,i);return On(u,c+4,s,a)||l?Et(u,c+6,t(n,r,o,i,s,a)):Hi(u,c+6)}function ew(e,t,n,r,o,i,s,a,c){let u=Qe()+e,l=g(),d=$i(l,u,n,r,o,i);return eu(l,u+4,s,a,c)||d?Et(l,u+7,t(n,r,o,i,s,a,c)):Hi(l,u+7)}function Zi(e,t){let n=e[t];return n===K?void 0:n}function tw(e,t,n,r,o,i){let s=t+n;return ie(e,s,o)?Et(e,s+1,i?r.call(i,o):r(o)):Zi(e,s+1)}function nw(e,t,n,r,o,i,s){let a=t+n;return On(e,a,o,i)?Et(e,a+2,s?r.call(s,o,i):r(o,i)):Zi(e,a+2)}function rw(e,t,n,r,o,i,s,a){let c=t+n;return eu(e,c,o,i,s)?Et(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Zi(e,c+3)}function ow(e,t,n,r,o,i,s,a,c){let u=t+n;return $i(e,u,o,i,s,a)?Et(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Zi(e,u+4)}function iw(e,t){return ji(e,t)}var Ii=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},sw=(()=>{class e{compileModuleSync(n){return new gi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ws(n),i=ip(o.declarations).reduce((s,a)=>{let c=Oe(a);return c&&s.push(new Jt(c)),s},[]);return new Ii(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var dg=(()=>{class e{applicationErrorHandler=m(Je);appRef=m(zi);taskService=m(zt);ngZone=m(ge);zonelessEnabled=m(vr);tracing=m(tn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new te;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(or):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Aa,{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?pd:Sa;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(or+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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fg(){return[{provide:Re,useExisting:dg},{provide:ge,useClass:ir},{provide:vr,useValue:!0}]}function aw(){return typeof $localize<"u"&&$localize.locale||Br}var Yi=new _("",{factory:()=>m(Yi,{optional:!0,skipSelf:!0})||aw()});var Vr=class{destroyed=!1;listeners=null;errorHandler=m(qe,{optional:!0});destroyRef=m(Ee);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Lt(953,!1));return}if(this.listeners===null)return;let n=v(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{v(n)}}};function hg(e){return wl(e)}function cw(e,t){return Kn(e,t?.equal)}var uw=e=>e;function lw(e,t){if(typeof e=="function"){let n=Ss(e,uw,t?.equal);return pg(n,t?.debugName)}else{let n=Ss(e.source,e.computation,e.equal);return pg(n,e.debugName)}}function pg(e,t){let n=e[j],r=e;return r.set=o=>Il(n,o),r.update=o=>Cl(n,o),r.asReadonly=Dr.bind(e),r}var Ji=Symbol("InputSignalNode#UNSET"),bg=q(W({},Jn),{transformFn:void 0,applyValueToInputSignal(e,t){ct(e,t)}});function _g(e,t){let n=Object.create(bg);n.value=e,n.transformFn=t?.transform;function r(){if(Ue(n),n.value===Ji){let o=null;throw new C(-950,o)}return n.value}return r[j]=n,r}var gg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Tc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Rk(e){return new Vr}function mg(e,t){return _g(e,t)}function Dw(e){return _g(Ji,e)}var Ok=(mg.required=Dw,mg);function yg(e,t){return ou(t)}function vw(e,t){return iu(t)}var Fk=(yg.required=vw,yg);function Dg(e,t){return ou(t)}function Ew(e,t){return iu(t)}var kk=(Dg.required=Ew,Dg);function Lk(e,t){return ch(t)}function Tg(e,t){let n=Object.create(bg),r=new Vr;n.value=e;function o(){return Ue(n),vg(n.value),n.value}return o[j]=n,o.asReadonly=Dr.bind(o),o.set=i=>{n.equal(n.value,i)||(ct(n,i),r.emit(i))},o.update=i=>{vg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function vg(e){if(e===Ji)throw new C(952,!1)}function Eg(e,t){return Tg(e,t)}function Iw(e){return Tg(Ji,e)}var Pk=(Eg.required=Iw,Eg);var wu=new _(""),Cw=new _("");function Hr(e){return!e.moduleRef}function ww(e){let t=Hr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ge);return n.run(()=>{Hr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Je),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Hr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(wu);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(wu);s.add(i),e.moduleRef.onDestroy(()=>{Cr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return _w(r,n,()=>{let i=t.get(zt),s=i.add(),a=t.get(hu);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Yi,Br);if(Lh(c||Br),!t.get(Cw,!0))return Hr(e)?t.get(zi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Hr(e)){let l=t.get(zi);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 _w(e,t,n){try{let r=n();return Gi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Qi=null;function Tw(e=[],t){return ne.create({name:t,providers:[{provide:ea,useValue:"platform"},{provide:wu,useValue:new Set([()=>Qi=null])},...e]})}function Sw(e=[]){if(Qi)return Qi;let t=Tw(e);return Qi=t,wh(),Mw(t),t}function Mw(e){let t=e.get(Pf,null);Ao(e,()=>{t?.forEach(n=>n())})}function jk(){return!1}var Nw=1e4;var Bk=Nw-1e3;var Ru=(()=>{class e{static __NG_ELEMENT_ID__=Aw}return e})();function Aw(e){return xw(V(),g(),(e&16)===16)}function xw(e,t,n){if(Ye(e)&&!n){let r=De(e.index,t);return new yt(r,r)}else if(e.type&175){let r=t[oe];return new yt(r,t)}return null}var bu=class{supports(t){return Xc(t)}create(t){return new _u(t)}},Rw=(e,t)=>t,_u=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Rw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ig(r,o,i)?n:r,a=Ig(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Xc(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Yp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Tu(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ki),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ki),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Tu=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},Su=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ki=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Su,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ig(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Mu=class{supports(t){return t instanceof Map||Vi(t)}create(){return new Nu}},Nu=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Vi(t)))throw new C(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Au(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Au=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Cg(){return new Ou([new bu])}var Ou=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:Cg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m(e,{optional:!0,skipSelf:!0});return e.create(n,r||Cg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function wg(){return new Fu([new Mu])}var Fu=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:wg});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m(e,{optional:!0,skipSelf:!0});return e.create(n,r||wg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function Vk(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;A(S.BootstrapApplicationStart);try{let i=o?.injector??Sw(r),s=[fg(),gd,...n||[]],a=new xr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return ww({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{A(S.BootstrapApplicationEnd)}}function $r(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ku(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Cu=Symbol("NOT_SET"),Sg=new Set,Ow=q(W({},Jn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Cu,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Cu&&!dn(this))return this.signal;try{for(let o of this.cleanup??Sg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ge(this),r;try{r=this.userFn.apply(null,t)}finally{st(this,n)}return(this.value===Cu||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),xu=class extends Tr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Ee),s),this.scheduler=o;for(let a of Hc){let c=n[a];if(c===void 0)continue;let u=Object.create(Ow);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Ue(u),u.value),u.signal[j]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??Sg)n()}finally{at(t)}}};function Hk(e,t){let n=t?.injector??m(ne),r=n.get(Re),o=n.get(Ai),i=n.get(tn,null,{optional:!0});o.impl??=n.get($c);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(bn,null,{optional:!0}),c=new xu(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function $k(e){let t=Oe(e);if(!t)return null;let n=new Jt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Mg=null;function es(){return Mg}function Fw(e){Mg??=e}var Lu=class{},ts=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>m(Ng),providedIn:"platform"})}return e})();var Ng=(()=>{class e extends ts{_location;_history;_doc=m(je);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return es().getBaseHref(this._doc)}onPopState(n){let r=es().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=es().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=F({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Rg(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function Ag(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function It(e){return e&&e[0]!=="?"?`?${e}`:e}var ns=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:()=>m(Lw),providedIn:"root"})}return e})(),kw=new _(""),Lw=(()=>{class e extends ns{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(je).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 Rg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+It(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+It(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+It(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)(Q(ts),Q(kw,8))};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Og=(()=>{class e{_subject=new ce;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Bw(Ag(xg(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+It(r))}normalize(n){return e.stripTrailingSlash(jw(this._basePath,xg(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+It(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+It(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=It;static joinWithSlash=Rg;static stripTrailingSlash=Ag;static \u0275fac=function(r){return new(r||e)(Q(ns))};static \u0275prov=F({token:e,factory:()=>Pw(),providedIn:"root"})}return e})();function Pw(){return new Og(Q(ns))}function jw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function xg(e){return e.replace(/\/index.html$/,"")}function Bw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Pu=/\s+/,Fg=[],Vw=(()=>{class e{_ngEl;_renderer;initialClasses=Fg;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Pu):Fg}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Pu):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(Pu).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)(J(Ve),J(Hn))};static \u0275dir=He({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Hw=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(n){this._viewContainerRef=n}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||n.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=su(this.ngComponentOutletNgModule,$w(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[r,o]of this._inputsUsed)o?(n.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(n.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(J(nt))};static \u0275dir=He({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule"},exportAs:["ngComponentOutlet"],features:[Ln]})}return e})();function $w(e){return e.get(vt).injector}var rs=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Pg=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new rs(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),kg(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);kg(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(J(nt),J(Dt),J(Ou))};static \u0275dir=He({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function kg(e,t){e.context.$implicit=t.item}var Uw=(()=>{class e{_viewContainer;_context=new os;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Lg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Lg(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(J(nt),J(Dt))};static \u0275dir=He({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),os=class{$implicit=null;ngIf=null};function Lg(e,t){if(e&&!e.createEmbeddedView)throw new C(2020,!1)}var Gw=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:An.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(J(Ve),J(Fu),J(Hn))};static \u0275dir=He({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),zw=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=m(ne);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(J(nt))};static \u0275dir=He({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ln]})}return e})();var Ww=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=cu({type:e});static \u0275inj=wo({})}return e})();function qw(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 ju=class{};var Zw="browser",Yw="server";function _P(e){return e===Zw}function TP(e){return e===Yw}var Bg=e=>e.src,Qw=new _("",{factory:()=>Bg});var jg=/^((\s*\d+w\s*(,|$)){1,})$/;var Kw=[1,2],Jw=640;var Xw=1920,eb=1080;var SP=(()=>{class e{imageLoader=m(Qw);config=tb(m(wi));renderer=m(Hn);imgElement=m(Ve).nativeElement;injector=m(ne);destroyRef=m(Ee);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,"loading")})}ngOnInit(){he("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&jg.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(n){let r=n;this.loaderParams&&(r.loaderParams=this.loaderParams);let o=this.getAspectRatio();return o!==null&&r.width&&(r.height=Math.round(r.width/o)),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=jg.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=Jw)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return Kw.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>Xw||this.height>eb),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Bg&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(Ru);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);this.destroyRef.onDestroy(()=>{o(),i()}),nb(n,r)}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=He({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&qi("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",rb],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",ku],height:[2,"height","height",ku],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",$r],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",$r],fill:[2,"fill","fill",$r],placeholder:[2,"placeholder","placeholder",ob],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Ln]})}return e})();function tb(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},Ci,e,t)}function nb(e,t){e.complete&&e.naturalWidth&&t()}function rb(e){return typeof e=="string"?e:et(e)}function ob(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:$r(e)}export{te as a,zg as b,M as c,ce as d,qn as e,Zn as f,v_ as g,ot as h,tm as i,nm as j,rm as k,Tt as l,om as m,St as n,fm as o,$e as p,hs as q,co as r,hm as s,gm as t,gs as u,fs as v,ll as w,Cm as x,ms as y,bm as z,_m as A,Tm as B,Sm as C,Mm as D,Nm as E,Am as F,Gg as G,Bm as H,C as I,Lt as J,Co as K,F as L,wo as M,$m as N,_ as O,Q as P,m as Q,dr as R,ea as S,le as T,Ao as U,cy as V,Yl as W,Ql as X,ad as Y,cd as Z,ne as _,je as $,Ee as aa,zt as ba,ze as ca,ge as da,qe as ea,Je as fa,vy as ga,$o as ha,Uo as ia,md as ja,Ln as ka,Mf as la,Tc as ma,Ve as na,tD as oa,nD as pa,Pf as qa,oD as ra,iD as sa,Qt as ta,et as ua,Ti as va,lD as wa,dD as xa,fD as ya,pD as za,hD as Aa,Rc as Ba,Jf as Ca,kr as Da,VD as Ea,rp as Fa,UD as Ga,GD as Ha,sv as Ia,An as Ja,Rn as Ka,tn as La,vp as Ma,Dt as Na,Nr as Oa,Hn as Pa,J as Qa,nt as Ra,lh as Sa,au as Ta,qE as Ua,cu as Va,He as Wa,JE as Xa,hh as Ya,mh as Za,yh as _a,NI as $a,Gi as ab,AI as bb,Ch as cb,zi as db,LI as eb,PI as fb,Sh as gb,ti as hb,ni as ib,UI as jb,GI as kb,zI as lb,WI as mb,qI as nb,ZI as ob,Mh as pb,vi as qb,mu as rb,Nh as sb,yu as tb,Du as ub,Ah as vb,vu as wb,Wi as xb,Rh as yb,Oh as zb,XI as Ab,eC as Bb,kh as Cb,Ph as Db,jh as Eb,nC as Fb,oC as Gb,iC as Hb,Vh as Ib,Hh as Jb,aC as Kb,cC as Lb,$h as Mb,Uh as Nb,uC as Ob,lC as Pb,qi as Qb,Zh as Rb,wC as Sb,_C as Tb,kC as Ub,ng as Vb,Eu as Wb,rg as Xb,og as Yb,ig as Zb,VC as _b,sg as $b,cg as ac,HC as bc,$C as cc,WC as dc,qC as ec,ZC as fc,YC as gc,QC as hc,KC as ic,JC as jc,XC as kc,ew as lc,iw as mc,sw as nc,hg as oc,cw as pc,lw as qc,gg as rc,Rk as sc,Ok as tc,Fk as uc,kk as vc,Lk as wc,Pk as xc,jk as yc,Ru as zc,Vk as Ac,$r as Bc,ku as Cc,Hk as Dc,$k as Ec,es as Fc,Fw as Gc,Lu as Hc,ts as Ic,ns as Jc,Og as Kc,Vw as Lc,Hw as Mc,Pg as Nc,Uw as Oc,Gw as Pc,zw as Qc,Ww as Rc,qw as Sc,ju as Tc,Zw as Uc,_P as Vc,TP as Wc,SP as Xc};
|