@ngocsangairvds/vsaf 5.7.0 → 5.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "5.7.0",
3
+ "version": "5.9.0",
4
4
  "description": "logging step",
5
5
  "main": "packages/core/dist/index.js",
6
6
  "types": "packages/core/dist/index.d.ts",
@@ -0,0 +1 @@
1
+ function O(p,g={}){let m=new Map(p.map(t=>[t.key,t])),i=new Map,f=new Set,h=t=>{let e=i.get(t);if(e!==void 0)return e;if(f.has(t))return 0;f.add(t);let r=(m.get(t)?.dependsOn??[]).filter(o=>m.has(o)),n=r.length===0?0:Math.max(...r.map(h))+1;return f.delete(t),i.set(t,n),n};for(let t of p)h(t.key);let s=new Map;for(let t of p){let e=i.get(t.key);(s.get(e)??s.set(e,[]).get(e)).push(t.key)}let d=(g.nodeW??168)+(g.gapX??28),y=(g.nodeH??44)+(g.gapY??40),a=[...s.keys()].sort((t,e)=>t-e),c=new Map;for(let t of a){let e=s.get(t);if(t===0){e.forEach((n,o)=>c.set(n,o));continue}let r=n=>{let o=(m.get(n)?.dependsOn??[]).filter(u=>c.has(u));return o.length===0?c.get(n)??0:o.reduce((u,w)=>u+c.get(w),0)/o.length};e.sort((n,o)=>r(n)-r(o)),e.forEach((n,o)=>c.set(n,o))}let l=Math.max(1,...a.map(t=>s.get(t).length))*d,b=new Map;for(let t of a){let e=s.get(t),r=e.length*d,n=(l-r)/2;e.forEach((o,u)=>b.set(o,{x:n+u*d,y:t*y}))}let x=((a.length?a[a.length-1]:0)+1)*y;return{positions:b,layerOf:i,width:l,height:x}}export{O as a};
@@ -0,0 +1,5 @@
1
+ var ng=Object.defineProperty,rg=Object.defineProperties;var og=Object.getOwnPropertyDescriptors;var mu=Object.getOwnPropertySymbols;var ig=Object.prototype.hasOwnProperty,sg=Object.prototype.propertyIsEnumerable;var yu=(e,t,n)=>t in e?ng(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K=(e,t)=>{for(var n in t||={})ig.call(t,n)&&yu(e,n,t[n]);if(mu)for(var n of mu(t))sg.call(t,n)&&yu(e,n,t[n]);return e},re=(e,t)=>rg(e,og(t));var Hr=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function b(e){return typeof e=="function"}function vu(e){return e&&b(e.schedule)}function Du(e){return e[e.length-1]}function $r(e){return b(Du(e))?e.pop():void 0}function nt(e){return vu(Du(e))?e.pop():void 0}function Iu(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 Eu(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 Ct(e){return this instanceof Ct?(this.v=e,this):new Ct(e)}function Cu(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(I){return new Promise(function(y,v){i.push([f,I,y,v])>1||c(f,I)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(I){p(i[0][3],I)}}function u(f){f.value instanceof Ct?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 wu(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 Eu=="function"?Eu(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 Ur=e=>e&&typeof e.length=="number"&&typeof e!="function";function Gr(e){return b(e?.then)}function nn(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 zr=nn(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 Ln(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var J=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(b(r))try{r()}catch(i){t=i instanceof zr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{bu(i)}catch(s){t=t??[],s instanceof zr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new zr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)bu(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)&&Ln(n,t)}remove(t){let{_finalizers:n}=this;n&&Ln(n,t),t instanceof e&&t._removeParent(this)}};J.EMPTY=(()=>{let e=new J;return e.closed=!0,e})();var ns=J.EMPTY;function Wr(e){return e instanceof J||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function bu(e){b(e)?e():e.unsubscribe()}var Ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var rn={setTimeout(e,t,...n){let{delegate:r}=rn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=rn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function qr(e){rn.setTimeout(()=>{let{onUnhandledError:t}=Ie;if(t)t(e);else throw e})}function jn(){}var Tu=rs("C",void 0,void 0);function _u(e){return rs("E",void 0,e)}function Mu(e){return rs("N",e,void 0)}function rs(e,t,n){return{kind:e,value:t,error:n}}var wt=null;function on(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 Su(e){Ie.useDeprecatedSynchronousErrorHandling&&wt&&(wt.errorThrown=!0,wt.error=e)}var bt=class extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Wr(t)&&t.add(this)):this.destination=ug}static create(t,n,r){return new sn(t,n,r)}next(t){this.isStopped?is(Mu(t),this):this._next(t)}error(t){this.isStopped?is(_u(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?is(Tu,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()}}},ag=Function.prototype.bind;function os(e,t){return ag.call(e,t)}var ss=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Zr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Zr(r)}else Zr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zr(n)}}},sn=class extends bt{constructor(t,n,r){super();let o;if(b(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&&os(t.next,i),error:t.error&&os(t.error,i),complete:t.complete&&os(t.complete,i)}):o=t}this.destination=new ss(o)}};function Zr(e){Ie.useDeprecatedSynchronousErrorHandling?Su(e):qr(e)}function cg(e){throw e}function is(e,t){let{onStoppedNotification:n}=Ie;n&&rn.setTimeout(()=>n(e,t))}var ug={closed:!0,next:jn,error:cg,complete:jn};var an=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ce(e){return e}function lg(...e){return as(e)}function as(e){return e.length===0?Ce:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{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=fg(n)?n:new sn(n,r,o);return on(()=>{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=Nu(r),new r((o,i)=>{let s=new sn({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 as(n)(this)}toPromise(n){return n=Nu(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 Nu(e){var t;return(t=e??Ie.Promise)!==null&&t!==void 0?t:Promise}function dg(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function fg(e){return e&&e instanceof bt||dg(e)&&Wr(e)}function Yr(e){return b(e[an])}function Qr(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function Kr(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 pg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Jr=pg();function Xr(e){return b(e?.[Jr])}function eo(e){return Cu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ct(n.read());if(o)return yield Ct(void 0);yield yield Ct(r)}}finally{n.releaseLock()}})}function to(e){return b(e?.getReader)}function z(e){if(e instanceof S)return e;if(e!=null){if(Yr(e))return hg(e);if(Ur(e))return gg(e);if(Gr(e))return mg(e);if(Qr(e))return xu(e);if(Xr(e))return yg(e);if(to(e))return vg(e)}throw Kr(e)}function hg(e){return new S(t=>{let n=e[an]();if(b(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gg(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function mg(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,qr)})}function yg(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function xu(e){return new S(t=>{Dg(e,t).catch(n=>t.error(n))})}function vg(e){return xu(eo(e))}function Dg(e,t){var n,r,o,i;return Iu(this,void 0,void 0,function*(){try{for(n=wu(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 le(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 Eg(e){return b(e?.lift)}function x(e){return t=>{if(Eg(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(e,t,n,r,o){return new cs(e,t,n,r,o)}var cs=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 no(e,t=0){return x((n,r)=>{n.subscribe(A(r,o=>le(r,e,()=>r.next(o),t),()=>le(r,e,()=>r.complete(),t),o=>le(r,e,()=>r.error(o),t)))})}function ro(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Au(e,t){return z(e).pipe(ro(t),no(t))}function Ru(e,t){return z(e).pipe(ro(t),no(t))}function Ou(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ku(e,t){return new S(n=>{let r;return le(n,t,()=>{r=e[Jr](),le(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)}),()=>b(r?.return)&&r.return()})}function oo(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{le(n,t,()=>{let r=e[Symbol.asyncIterator]();le(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Fu(e,t){return oo(eo(e),t)}function Pu(e,t){if(e!=null){if(Yr(e))return Au(e,t);if(Ur(e))return Ou(e,t);if(Gr(e))return Ru(e,t);if(Qr(e))return oo(e,t);if(Xr(e))return ku(e,t);if(to(e))return Fu(e,t)}throw Kr(e)}function rt(e,t){return t?Pu(e,t):z(e)}function io(...e){let t=nt(e);return rt(e,t)}var{isArray:Ig}=Array,{getPrototypeOf:Cg,prototype:wg,keys:bg}=Object;function so(e){if(e.length===1){let t=e[0];if(Ig(t))return{args:t,keys:null};if(Tg(t)){let n=bg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Tg(e){return e&&typeof e=="object"&&Cg(e)===wg}function me(e,t){return x((n,r)=>{let o=0;n.subscribe(A(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:_g}=Array;function Mg(e,t){return _g(t)?e(...t):e(t)}function ao(e){return me(t=>Mg(e,t))}function co(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Sg(...e){let t=$r(e),{args:n,keys:r}=so(e),o=new S(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;z(n[l]).subscribe(A(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?co(r,a):a),i.complete())}))}});return t?o.pipe(ao(t)):o}function Lu(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(A(n,void 0,void 0,s=>{i=z(e(s,Lu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function uo(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}var ju=nn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var we=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new lo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ju}next(n){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){on(()=>{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(){on(()=>{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?ns:(this.currentObservers=null,i.push(n),new J(()=>{this.currentObservers=null,Ln(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new lo(t,n),e})(),lo=class extends we{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:ns}};var Bn=class extends we{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 Vn=new S(e=>e.complete());function Ng(e,t){let n=b(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function xg(e){return!!e&&(e instanceof S||b(e.lift)&&b(e.subscribe))}var Hn=nn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ag(...e){let t=nt(e),n=$r(e),{args:r,keys:o}=so(e);if(r.length===0)return rt([],t);let i=new S(Rg(r,t,o?s=>co(o,s):Ce));return n?i.pipe(ao(n)):i}function Rg(e,t,n=Ce){return r=>{Bu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Bu(t,()=>{let u=rt(e[c],t),l=!1;u.subscribe(A(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Bu(e,t,n){e?le(n,e,t):t()}function Vu(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=I=>u<r?h(I):c.push(I),h=I=>{i&&t.next(I),u++;let y=!1;z(n(I,l++)).subscribe(A(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?le(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(A(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Tt(e,t,n=1/0){return b(t)?Tt((r,o)=>me((i,s)=>t(r,i,o,s))(z(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>Vu(r,o,e,n)))}function us(e=1/0){return Tt(Ce,e)}function Hu(){return us(1)}function fo(...e){return Hu()(rt(e,nt(e)))}function Og(e){return new S(t=>{z(e()).subscribe(t)})}function $n(e,t){return x((n,r)=>{let o=0;n.subscribe(A(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ls(e,t){return b(t)?Tt(e,t,1):Tt(e,1)}function $u(e){return x((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ds(e){return e<=0?()=>Vn:x((t,n)=>{let r=0;t.subscribe(A(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Uu(e=kg){return x((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function kg(){return new Hn}function Fg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$n((o,i)=>e(o,i,r)):Ce,ds(1),n?$u(t):Uu(()=>new Hn))}function Pg(e){return e<=0?()=>Vn:x((t,n)=>{let r=[];t.subscribe(A(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 Lg(...e){let t=nt(e);return x((n,r)=>{(t?fo(e,n,t):fo(e,n)).subscribe(r)})}function fs(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(A(r,c=>{o?.unsubscribe();let u=0,l=i++;z(e(c,l)).subscribe(o=A(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function jg(e){return x((t,n)=>{z(e).subscribe(A(n,()=>n.complete(),jn)),!n.closed&&t.subscribe(n)})}function Bg(e,t,n){let r=b(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(A(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)}))}):Ce}var te=null,po=!1,ps=1,Vg=null,Z=Symbol("SIGNAL");function E(e){let t=te;return te=e,t}function ho(){return te}var St={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 Nt(e){if(po)throw new Error("");if(te===null)return;te.consumerOnSignalRead(e);let t=te.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=te.recomputing;if(r&&(n=t!==void 0?t.nextProducer:te.producers,n!==void 0&&n.producer===e)){te.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===te&&(!r||$g(o,te)))return;let i=ln(te),s={producer:e,consumer:te,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};te.producersTail=s,t!==void 0?t.nextProducer=s:te.producers=s,i&&qu(e,s)}function Gu(){ps++}function xt(e){if(!(ln(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ps)){if(!e.producerMustRecompute(e)&&!go(e)){cn(e);return}e.producerRecomputeValue(e),cn(e)}}function hs(e){if(e.consumers===void 0)return;let t=po;po=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Hg(r)}}finally{po=t}}function gs(){return te?.consumerAllowSignalWrites!==!1}function Hg(e){e.dirty=!0,hs(e),e.consumerMarkedDirty?.(e)}function cn(e){e.dirty=!1,e.lastCleanEpoch=ps}function At(e){return e&&zu(e),E(e)}function zu(e){e.producersTail=void 0,e.recomputing=!0}function un(e,t){E(t),e&&Wu(e)}function Wu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(ln(e))do n=ms(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function go(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(xt(n),r!==n.version))return!0}return!1}function Un(e){if(ln(e)){let t=e.producers;for(;t!==void 0;)t=ms(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function qu(e,t){let n=e.consumersTail,r=ln(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)qu(o.producer,o)}function ms(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,!ln(t)){let i=t.producers;for(;i!==void 0;)i=ms(i)}return n}function ln(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Gn(e){Vg?.(e)}function $g(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 zn(e,t){return Object.is(e,t)}function mo(e,t){let n=Object.create(Ug);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(xt(n),Nt(n),n.value===Oe)throw n.error;return n.value};return r[Z]=n,Gn(n),r}var _t=Symbol("UNSET"),Mt=Symbol("COMPUTING"),Oe=Symbol("ERRORED"),Ug=re(K({},St),{value:_t,dirty:!0,error:null,equal:zn,kind:"computed",producerMustRecompute(e){return e.value===_t||e.value===Mt},producerRecomputeValue(e){if(e.value===Mt)throw new Error("");let t=e.value;e.value=Mt;let n=At(e),r,o=!1;try{r=e.computation(),E(null),o=t!==_t&&t!==Oe&&r!==Oe&&e.equal(t,r)}catch(i){r=Oe,e.error=i}finally{un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Gg(){throw new Error}var Zu=Gg;function Yu(e){Zu(e)}function ys(e){Zu=e}var zg=null;function vs(e,t){let n=Object.create(vo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Qu(n);return r[Z]=n,Gn(n),[r,s=>Rt(n,s),s=>yo(n,s)]}function Qu(e){return Nt(e),e.value}function Rt(e,t){gs()||Yu(e),e.equal(e.value,t)||(e.value=t,Wg(e))}function yo(e,t){gs()||Yu(e),Rt(e,t(e.value))}var vo=re(K({},St),{equal:zn,value:void 0,kind:"signal"});function Wg(e){e.version++,Gu(),hs(e),zg?.(e)}var Ds;function Do(){return Ds}function ke(e){let t=Ds;return Ds=e,t}var Ku=Symbol("NotFound");function dn(e){return e===Ku||e?.name==="\u0275NotFound"}function Es(e,t,n){let r=Object.create(qg);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(xt(r),Nt(r),r.value===Oe)throw r.error;return r.value};return i[Z]=r,Gn(r),i}function Ju(e,t){xt(e),Rt(e,t),cn(e)}function Xu(e,t){if(xt(e),e.value===Oe)throw e.error;yo(e,t),cn(e)}var qg=re(K({},St),{value:_t,dirty:!0,error:null,equal:zn,kind:"linkedSignal",producerMustRecompute(e){return e.value===_t||e.value===Mt},producerRecomputeValue(e){if(e.value===Mt)throw new Error("");let t=e.value;e.value=Mt;let n=At(e),r,o=!1;try{let i=e.source(),s=t!==_t&&t!==Oe,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,E(null),o=s&&r!==Oe&&e.equal(t,r)}catch(i){r=Oe,e.error=i}finally{un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function el(e){let t=E(null);try{return e()}finally{E(t)}}var bo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(pn(t,n)),this.code=t}};function Qg(e){return`NG0${Math.abs(e)}`}function pn(e,t){return`${Qg(e)}${t?": "+t:""}`}var Fe=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function il(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Kn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Kn).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 To(e,t){return e?t?`${e} ${t}`:e:t||""}var Kg=R({__forward_ref__:R});function _o(e){return e.__forward_ref__=_o,e}function X(e){return Fs(e)?e():e}function Fs(e){return typeof e=="function"&&e.hasOwnProperty(Kg)&&e.__forward_ref__===_o}function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Jn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xn(e){return Xg(e,Mo)}function Jg(e){return Xn(e)!==null}function Xg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function em(e){let t=e?.[Mo]??null;return t||null}function Cs(e){return e&&e.hasOwnProperty(Io)?e[Io]:null}var Mo=R({\u0275prov:R}),Io=R({\u0275inj:R}),T=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=M({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ps(e){return e&&!!e.\u0275providers}var er=R({\u0275cmp:R}),tr=R({\u0275dir:R}),Ls=R({\u0275pipe:R}),js=R({\u0275mod:R}),qn=R({\u0275fac:R}),Lt=R({__NG_ELEMENT_ID__:R}),tl=R({__NG_ENV_ID__:R});function Bs(e){return So(e,"@NgModule"),e[js]||null}function at(e){return So(e,"@Component"),e[er]||null}function Vs(e){return So(e,"@Directive"),e[tr]||null}function sl(e){return So(e,"@Pipe"),e[Ls]||null}function So(e,t){if(e==null)throw new m(-919,!1)}function jt(e){return typeof e=="string"?e:e==null?"":String(e)}var al=R({ngErrorCode:R}),tm=R({ngErrorMessage:R}),nm=R({ngTokenPath:R});function Hs(e,t){return cl("",-200,t)}function No(e,t){throw new m(-201,!1)}function cl(e,t,n){let r=new m(t,e);return r[al]=t,r[tm]=e,n&&(r[nm]=n),r}function rm(e){return e[al]}var ws;function ul(){return ws}function oe(e){let t=ws;return ws=e,t}function $s(e,t,n){let r=Xn(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;No(e,"")}var om={},Ot=om,im="__NG_DI_FLAG__",bs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=kt(n)||0;try{return this.injector.get(t,r&8?null:Ot,r)}catch(o){if(dn(o))return o;throw o}}};function sm(e,t=0){let n=Do();if(n===void 0)throw new m(-203,!1);if(n===null)return $s(e,void 0,t);{let r=am(t),o=n.retrieve(e,r);if(dn(o)){if(r.optional)return null;throw o}return o}}function L(e,t=0){return(ul()||sm)(X(e),t)}function g(e,t){return L(e,kt(t))}function kt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function am(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ts(e){let t=[];for(let n=0;n<e.length;n++){let r=X(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=cm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(L(o,i))}else t.push(L(r))}return t}function cm(e){return e[im]}function ot(e,t){let n=e.hasOwnProperty(qn);return n?e[qn]:null}function ll(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 dl(e){return e.flat(Number.POSITIVE_INFINITY)}function xo(e,t){e.forEach(n=>Array.isArray(n)?xo(n,t):t(n))}function Us(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function nr(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 pl(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 Ao(e,t,n){let r=hn(e,t);return r>=0?e[r|1]=n:(r=~r,pl(e,r,t,n)),r}function Ro(e,t){let n=hn(e,t);if(n>=0)return e[n|1]}function hn(e,t){return um(e,t,1)}function um(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 ct={},ie=[],Bt=new T(""),Gs=new T("",-1),zs=new T(""),Zn=class{get(t,n=Ot){if(n===Ot){let o=cl("",-201);throw o.name="\u0275NotFound",o}return n}};function rr(e){return{\u0275providers:e}}function hl(...e){return{\u0275providers:Ws(!0,e),\u0275fromNgModule:!0}}function Ws(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return xo(t,s=>{let a=s;Co(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&gl(o,i),n}function gl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];qs(o,i=>{t(i,r)})}}function Co(e,t,n,r){if(e=X(e),!e)return!1;let o=null,i=Cs(e),s=!i&&at(e);if(!i&&!s){let c=e.ngModule;if(i=Cs(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)Co(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;xo(i.imports,l=>{Co(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&gl(u,t)}if(!a){let u=ot(o)||(()=>new o);t({provide:o,useFactory:u,deps:ie},o),t({provide:zs,useValue:o,multi:!0},o),t({provide:Bt,useValue:()=>L(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;qs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function qs(e,t){for(let n of e)Ps(n)&&(n=n.\u0275providers),Array.isArray(n)?qs(n,t):t(n)}var lm=R({provide:String,useValue:R});function ml(e){return e!==null&&typeof e=="object"&&lm in e}function dm(e){return!!(e&&e.useExisting)}function fm(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function yl(e){return!!e.useClass}var Zs=new T(""),Eo={},nl={},Is;function or(){return Is===void 0&&(Is=new Zn),Is}var se=class{},Pt=class extends se{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,Ms(t,s=>this.processProvider(s)),this.records.set(Gs,fn(void 0,this)),o.has("environment")&&this.records.set(se,fn(void 0,this));let i=this.records.get(Zs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(zs,ie,{self:!0}))}retrieve(t,n){let r=kt(n)||0;try{return this.get(t,Ot,r)}catch(o){if(dn(o))return o;throw o}}destroy(){Wn(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return Wn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Wn(this);let n=ke(this),r=oe(void 0),o;try{return t()}finally{ke(n),oe(r)}}get(t,n=Ot,r){if(Wn(this),t.hasOwnProperty(tl))return t[tl](this);let o=kt(r),i,s=ke(this),a=oe(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=ym(t)&&Xn(t);l&&this.injectableDefInScope(l)?u=fn(_s(t),Eo):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?or():this.parent;return n=o&8&&n===Ot?null:n,c.get(t,n)}catch(c){let u=rm(c);throw u===-200||u===-201?new m(u,null):c}finally{oe(a),ke(s)}}resolveInjectorInitializers(){let t=E(null),n=ke(this),r=oe(void 0),o;try{let i=this.get(Bt,ie,{self:!0});for(let s of i)s()}finally{ke(n),oe(r),E(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=X(t);let n=Ft(t)?t:X(t&&t.provide),r=hm(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=fn(void 0,Eo,!0),o.factory=()=>Ts(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===nl)throw Hs("");return n.value===Eo&&(n.value=nl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&mm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=X(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 _s(e){let t=Xn(e),n=t!==null?t.factory:ot(e);if(n!==null)return n;if(e instanceof T)throw new m(-204,!1);if(e instanceof Function)return pm(e);throw new m(-204,!1)}function pm(e){if(e.length>0)throw new m(-204,!1);let n=em(e);return n!==null?()=>n.factory(e):()=>new e}function hm(e){if(ml(e))return fn(void 0,e.useValue);{let t=Ys(e);return fn(t,Eo)}}function Ys(e,t,n){let r;if(Ft(e)){let o=X(e);return ot(o)||_s(o)}else if(ml(e))r=()=>X(e.useValue);else if(fm(e))r=()=>e.useFactory(...Ts(e.deps||[]));else if(dm(e))r=(o,i)=>L(X(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=X(e&&(e.useClass||e.provide));if(gm(e))r=()=>new o(...Ts(e.deps));else return ot(o)||_s(o)}return r}function Wn(e){if(e.destroyed)throw new m(-205,!1)}function fn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gm(e){return!!e.deps}function mm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ym(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ms(e,t){for(let n of e)Array.isArray(n)?Ms(n,t):n&&Ps(n)?Ms(n.\u0275providers,t):t(n)}function gn(e,t){let n;e instanceof Pt?(Wn(e),n=e):n=new bs(e);let r,o=ke(n),i=oe(void 0);try{return t()}finally{ke(o),oe(i)}}function vl(){return ul()!==void 0||Do()!=null}var Te=0,D=1,w=2,q=3,ye=4,ae=5,Vt=6,mn=7,G=8,qe=9,_e=10,F=11,yn=12,Qs=13,Ht=14,ce=15,ut=16,$t=17,Pe=18,Ze=19,Ks=20,ze=21,Oo=22,ir=23,ge=24,Ut=25,lt=26,B=27,Dl=1,Js=6,dt=7,sr=8,Gt=9,$=10;function Ye(e){return Array.isArray(e)&&typeof e[Dl]=="object"}function Me(e){return Array.isArray(e)&&e[Dl]===!0}function Xs(e){return(e.flags&4)!==0}function Qe(e){return e.componentOffset>-1}function vn(e){return(e.flags&1)===1}function Le(e){return!!e.template}function Dn(e){return(e[w]&512)!==0}function zt(e){return(e[w]&256)===256}var ea="svg",El="math";function ve(e){for(;Array.isArray(e);)e=e[Te];return e}function ta(e,t){return ve(t[e])}function Se(e,t){return ve(t[e.index])}function ko(e,t){return e.data[t]}function na(e,t){return e[t]}function ra(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 Ye(n)?n:n[Te]}function Il(e){return(e[w]&4)===4}function Fo(e){return(e[w]&128)===128}function Cl(e){return Me(e[q])}function je(e,t){return t==null?null:e[t]}function oa(e){e[$t]=0}function ia(e){e[w]&1024||(e[w]|=1024,Fo(e)&&En(e))}function wl(e,t){for(;e>0;)t=t[Ht],e--;return t}function ar(e){return!!(e[w]&9216||e[ge]?.dirty)}function Po(e){e[_e].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),ar(e)&&En(e)}function En(e){e[_e].changeDetectionScheduler?.notify(0);let t=it(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!Fo(t)));)t=it(t)}function sa(e,t){if(zt(e))throw new m(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function bl(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function it(e){let t=e[q];return Me(t)?t[q]:t}function aa(e){return e[mn]??=[]}function ca(e){return e.cleanup??=[]}function Tl(e,t,n,r){let o=aa(t);o.push(n),e.firstCreatePass&&ca(e).push(r,o.length-1)}var _={lFrame:$l(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ss=!1;function _l(){return _.lFrame.elementDepthCount}function Ml(){_.lFrame.elementDepthCount++}function Sl(){_.lFrame.elementDepthCount--}function Lo(){return _.bindingsEnabled}function ua(){return _.skipHydrationRootTNode!==null}function Nl(e){return _.skipHydrationRootTNode===e}function xl(){_.skipHydrationRootTNode=null}function C(){return _.lFrame.lView}function V(){return _.lFrame.tView}function Al(e){return _.lFrame.contextLView=e,e[G]}function Rl(e){return _.lFrame.contextLView=null,e}function ee(){let e=la();for(;e!==null&&e.type===64;)e=e.parent;return e}function la(){return _.lFrame.currentTNode}function Ol(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function In(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function da(){return _.lFrame.isParent}function fa(){_.lFrame.isParent=!1}function kl(){return _.lFrame.contextLView}function pa(){return Ss}function ha(e){let t=Ss;return Ss=e,t}function jo(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Fl(){return _.lFrame.bindingIndex}function Pl(e){return _.lFrame.bindingIndex=e}function Wt(){return _.lFrame.bindingIndex++}function Bo(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ll(){return _.lFrame.inI18n}function jl(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vo(t)}function Bl(){return _.lFrame.currentDirectiveIndex}function Vo(e){_.lFrame.currentDirectiveIndex=e}function Vl(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ga(){return _.lFrame.currentQueryIndex}function Ho(e){_.lFrame.currentQueryIndex=e}function vm(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ae]:null}function ma(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=vm(i),o===null||(i=i[Ht],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=Hl();return r.currentTNode=t,r.lView=e,!0}function $o(e){let t=Hl(),n=e[D];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hl(){let e=_.lFrame,t=e===null?null:e.child;return t===null?$l(e):t}function $l(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 Ul(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ya=Ul;function Uo(){let e=Ul();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 Gl(e){return(_.lFrame.contextLView=wl(e,_.lFrame.contextLView))[G]}function Be(){return _.lFrame.selectedIndex}function ft(e){_.lFrame.selectedIndex=e}function Go(){let e=_.lFrame;return ko(e.tView,e.selectedIndex)}function zl(){_.lFrame.currentNamespace=ea}function Wl(){Dm()}function Dm(){_.lFrame.currentNamespace=null}function va(){return _.lFrame.currentNamespace}var ql=!0;function zo(){return ql}function cr(e){ql=e}function Ns(e,t=null,n=null,r){let o=Da(e,t,n,r);return o.resolveInjectorInitializers(),o}function Da(e,t=null,n=null,r,o=new Set){let i=[n||ie,hl(e)],s;return new Pt(i,t||or(),s||null,o)}var be=class e{static THROW_IF_NOT_FOUND=Ot;static NULL=new Zn;static create(t,n){if(Array.isArray(t))return Ns({name:""},n,t,"");{let r=t.name??"";return Ns({name:r},t.parent,t.providers,r)}}static \u0275prov=M({token:e,providedIn:"any",factory:()=>L(Gs)});static __NG_ELEMENT_ID__=-1},Ve=new T(""),qt=(()=>{class e{static __NG_ELEMENT_ID__=Em;static __NG_ENV_ID__=n=>n}return e})(),xs=class extends qt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return zt(this._lView)}onDestroy(t){let n=this._lView;return sa(n,t),()=>bl(n,t)}};function Em(){return new xs(C())}var Ea=!1,Zl=new T(""),pt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Bn(!1);debugTaskTracker=g(Zl,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(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=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),As=class extends we{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,vl()&&(this.destroyRef=g(qt,{optional:!0})??void 0,this.pendingTasks=g(pt,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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 J&&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)}})}}},Ge=As;function wo(...e){}function Ia(e){let t,n;function r(){e=wo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Yl(e){return queueMicrotask(()=>e()),()=>{e=wo}}var Ca="isAngularZone",Yn=Ca+"_ID",Im=0,Y=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ge(!1);onMicrotaskEmpty=new Ge(!1);onStable=new Ge(!1);onError=new Ge(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ea}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,bm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ca)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Cm,wo,wo);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)}},Cm={};function wa(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 wm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ia(()=>{e.callbackScheduled=!1,Rs(e),e.isCheckStableRunning=!0,wa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Rs(e)}function bm(e){let t=()=>{wm(e)},n=Im++;e._inner=e._inner.fork({name:"angular",properties:{[Ca]:!0,[Yn]:n,[Yn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Tm(c))return r.invokeTask(i,s,a,c);try{return rl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ol(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return rl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!_m(c)&&t(),ol(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Rs(e),wa(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 Rs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function rl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ol(e){e._nesting--,wa(e)}var Qn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ge;onMicrotaskEmpty=new Ge;onStable=new Ge;onError=new Ge;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 Tm(e){return Ql(e,"__ignore_ng_zone__")}function _m(e){return Ql(e,"__scheduler_tick__")}function Ql(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var st=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ke=new T("",{factory:()=>{let e=g(Y),t=g(se),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(st),n.handleError(r))})}}}),Kl={provide:Bt,useValue:()=>{let e=g(st,{optional:!0})},multi:!0};function Zt(e,t){let[n,r,o]=vs(e,t?.equal),i=n,s=i[Z];return i.set=r,i.update=o,i.asReadonly=Wo.bind(i),i}function Wo(){let e=this[Z];if(e.readonlyFn===void 0){let t=()=>this();t[Z]=e,e.readonlyFn=t}return e.readonlyFn}var qo=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Mm}return e})();function Mm(){return new qo(C(),ee())}var We=class{},Cn=new T("",{factory:()=>!0});var Zo=new T(""),ur=(()=>{class e{internalPendingTasks=g(pt);scheduler=g(We);errorHandler=g(Ke);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=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),ba=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:()=>new Os})}return e})(),Os=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}},ks=class{[Z];constructor(t){this[Z]=t}destroy(){this[Z].destroy()}};function br(e){return{toString:e}.toString()}function Fm(e){return typeof e=="function"}function Od(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}},gc=(()=>{let e=()=>kd;return e.ngInherit=!0,e})();function kd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Lm),Pm}function Pm(){let e=Pd(this),t=e?.current;if(t){let n=e.previous;if(n===ct)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Lm(e,t,n,r,o){let i=this.declaredInputs[r],s=Pd(e)||jm(e,{previous:ct,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ri(u&&u.currentValue,n,c===ct),Od(e,t,o,n)}var Fd="__ngSimpleChanges__";function Pd(e){return e[Fd]||null}function jm(e,t){return e[Fd]=t}var Jl=[];var O=function(e,t=null,n){for(let r=0;r<Jl.length;r++){let o=Jl[r];o(e,t,n)}},N=(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})(N||{});function Bm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=kd(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 Ld(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 Xo(e,t,n){jd(e,t,3,n)}function ei(e,t,n,r){(e[w]&3)===n&&jd(e,t,n,r)}function Ta(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function jd(e,t,n,r){let o=r!==void 0?e[$t]&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[$t]+=65536),(a<i||i==-1)&&(Vm(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function Xl(e,t){O(N.LifecycleHookStart,e,t);let n=E(null);try{t.call(e)}finally{E(n),O(N.LifecycleHookEnd,e,t)}}function Vm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[$t]>>16&&(e[w]&3)===t&&(e[w]+=16384,Xl(a,i)):Xl(a,i)}var bn=-1,Qt=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 Hm(e){return(e.flags&8)!==0}function $m(e){return(e.flags&16)!==0}function Um(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];Gm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Bd(e){return e===3||e===4||e===6}function Gm(e){return e.charCodeAt(0)===64}function hr(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?ed(e,n,o,null,t[++r]):ed(e,n,o,null,null))}}return e}function ed(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 Vd(e){return e!==bn}function oi(e){return e&32767}function zm(e){return e>>16}function ii(e,t){let n=zm(e),r=t;for(;n>0;)r=r[Ht],n--;return r}var La=!0;function si(e){let t=La;return La=e,t}var Wm=256,Hd=Wm-1,$d=5,qm=0,He={};function Zm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lt)&&(r=n[Lt]),r==null&&(r=n[Lt]=qm++);let o=r&Hd,i=1<<o;t.data[e+(o>>$d)]|=i}function ai(e,t){let n=Ud(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,_a(r.data,e),_a(t,null),_a(r.blueprint,null));let o=mc(e,t),i=e.injectorIndex;if(Vd(o)){let s=oi(o),a=ii(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function _a(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ud(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function mc(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=Yd(o),r===null)return bn;if(n++,o=o[Ht],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bn}function ja(e,t,n){Zm(e,t,n)}function Ym(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(Bd(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 Gd(e,t,n){if(n&8||e!==void 0)return e;No(t,"NodeInjector")}function zd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[qe],i=oe(void 0);try{return o?o.get(t,r,n&8):$s(t,r,n&8)}finally{oe(i)}}return Gd(r,t,n)}function Wd(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=Xm(e,t,n,r,He);if(s!==He)return s}let i=qd(e,t,n,r,He);if(i!==He)return i}return zd(t,n,r,o)}function qd(e,t,n,r,o){let i=Km(n);if(typeof i=="function"){if(!ma(t,e,r))return r&1?Gd(o,n,r):zd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))No(n);else return s}finally{ya()}}else if(typeof i=="number"){let s=null,a=Ud(e,t),c=bn,u=r&1?t[ce][ae]:null;for((a===-1||r&4)&&(c=a===-1?mc(e,t):t[a+8],c===bn||!nd(r,!1)?a=-1:(s=t[D],a=oi(c),t=ii(c,t)));a!==-1;){let l=t[D];if(td(i,a,l.data)){let d=Qm(a,t,n,s,r,u);if(d!==He)return d}c=t[a+8],c!==bn&&nd(r,t[D].data[a+8]===u)&&td(i,a,t)?(s=l,a=oi(c),t=ii(c,t)):a=-1}}return o}function Qm(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?Qe(a)&&La:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ti(a,s,n,c,u);return l!==null?gr(t,s,l,a,o):He}function ti(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&&Le(f)&&f.type===n)return c}return null}function gr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Qt){let a=i;if(a.resolving)throw Hs("");let c=si(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?oe(a.injectImpl):null,p=ma(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Bm(n,s[n],t)}finally{d!==null&&oe(d),si(c),a.resolving=!1,ya()}}return i}function Km(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Lt)?e[Lt]:void 0;return typeof t=="number"?t>=0?t&Hd:Jm:t}function td(e,t,n){let r=1<<e;return!!(n[t+(e>>$d)]&r)}function nd(e,t){return!(e&2)&&!(e&1&&t)}var Yt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wd(this._tNode,this._lView,t,kt(r),n)}};function Jm(){return new Yt(ee(),C())}function Zd(e){return br(()=>{let t=e.prototype.constructor,n=t[qn]||Ba(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[qn]||Ba(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ba(e){return Fs(e)?()=>{let t=Ba(X(e));return t&&t()}:ot(e)}function Xm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!Dn(s);){let a=qd(i,s,n,r|2,He);if(a!==He)return a;let c=i.parent;if(!c){let u=s[Ks];if(u){let l=u.get(n,He,r&-5);if(l!==He)return l}c=Yd(s),s=s[Ht]}i=c}return o}function Yd(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ae]:null}function yc(e){return Ym(ee(),e)}function ey(){return Nn(ee(),C())}function Nn(e,t){return new en(Se(e,t))}var en=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=ey}return e})();function ty(e){return e instanceof en?e.nativeElement:e}function ny(){return this._results[Symbol.iterator]()}var ci=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 we}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=dl(t);(this._changesDetected=!ll(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]=ny};function Qd(e){return(e.flags&128)===128}var vc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(vc||{}),Kd=new Map,ry=0;function oy(){return ry++}function iy(e){Kd.set(e[Ze],e)}function Va(e){Kd.delete(e[Ze])}var rd="__ngContext__";function Tn(e,t){Ye(t)?(e[rd]=t[Ze],iy(t)):e[rd]=t}function Jd(e){return ef(e[yn])}function Xd(e){return ef(e[ye])}function ef(e){for(;e!==null&&!Me(e);)e=e[ye];return e}var Ha;function sy(e){Ha=e}function tf(){if(Ha!==void 0)return Ha;if(typeof document<"u")return document;throw new m(210,!1)}var ay=new T("",{factory:()=>cy}),cy="ng";var nf=new T(""),uy=new T("",{providedIn:"platform",factory:()=>"unknown"});var rf=new T("",{factory:()=>g(Ve).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var of="r";var sf="di";var af=!1,cf=new T("",{factory:()=>af});var od=new WeakMap;function ly(e,t){if(e==null||typeof e!="object")return;let n=od.get(e);n||(n=new WeakSet,od.set(e,n)),n.add(t)}var dy=(e,t,n,r)=>{};function fy(e,t,n,r){dy(e,t,n,r)}function wi(e){return(e.flags&32)===32}var py=()=>null;function uf(e,t,n=!1){return py(e,t,n)}function lf(e,t){let n=e.contentQueries;if(n!==null){let r=E(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];Ho(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function $a(e,t,n){Ho(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Dc(e,t,n){if(Xs(t)){let r=E(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{E(r)}}}var Kt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Kt||{});var Yo;function hy(){if(Yo===void 0&&(Yo=null,Fe.trustedTypes))try{Yo=Fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Yo}function bi(e){return hy()?.createHTML(e)||e}var Qo;function df(){if(Qo===void 0&&(Qo=null,Fe.trustedTypes))try{Qo=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Qo}function id(e){return df()?.createHTML(e)||e}function sd(e){return df()?.createScriptURL(e)||e}var ui=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bo})`}};function xn(e){return e instanceof ui?e.changingThisBreaksApplicationSecurity:e}function Ti(e,t){let n=ff(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bo})`)}return n===t}function ff(e){return e instanceof ui&&e.getTypeName()||null}function gy(e){let t=new Ga(e);return my()?new Ua(t):t}var Ua=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(bi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Ga=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=bi(t),n}};function my(){try{return!!new window.DOMParser().parseFromString(bi(""),"text/html")}catch(e){return!1}}var yy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ec(e){return e=String(e),e.match(yy)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Tr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var pf=Je("area,br,col,hr,img,wbr"),hf=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gf=Je("rp,rt"),vy=Tr(gf,hf),Dy=Tr(hf,Je("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")),Ey=Tr(gf,Je("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")),ad=Tr(pf,Dy,Ey,vy),mf=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Iy=Je("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"),Cy=Je("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"),wy=Tr(mf,Iy,Cy),by=Je("script,style,template"),za=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=My(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=_y(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=cd(t).toLowerCase();if(!ad.hasOwnProperty(n))return this.sanitizedSomething=!0,!by.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(!wy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;mf[a]&&(c=Ec(c)),this.buf.push(" ",s,'="',ud(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cd(t).toLowerCase();ad.hasOwnProperty(n)&&!pf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ud(t))}};function Ty(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function _y(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw yf(t);return t}function My(e){let t=e.firstChild;if(t&&Ty(e,t))throw yf(t);return t}function cd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function yf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Sy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ny=/([^\#-~ |!])/g;function ud(e){return e.replace(/&/g,"&amp;").replace(Sy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Ny,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ko;function vf(e,t){let n=null;try{Ko=Ko||gy(e);let r=t?String(t):"";n=Ko.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=Ko.getInertBodyElement(r)}while(r!==i);let a=new za().sanitizeChildren(ld(n)||n);return bi(a)}finally{if(n){let r=ld(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ld(e){return"content"in e&&xy(e)?e.content:null}function xy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ay=/^>|^->|<!--|-->|--!>|<!-$/g,Ry=/(<|>)/g,Oy="\u200B$1\u200B";function ky(e){return e.replace(Ay,t=>t.replace(Ry,Oy))}function Fy(e,t){return e.createText(t)}function Py(e,t,n){e.setValue(t,n)}function Ly(e,t){return e.createComment(ky(t))}function Df(e,t,n){return e.createElement(t,n)}function li(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ef(e,t,n){e.appendChild(t,n)}function dd(e,t,n,r,o){r!==null?li(e,t,n,r,o):Ef(e,t,n)}function If(e,t,n,r){e.removeChild(null,t,n,r)}function jy(e,t,n){e.setAttribute(t,"style",n)}function By(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Cf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Um(e,t,r),o!==null&&By(e,t,o),i!==null&&jy(e,t,i)}var _r=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(_r||{});function Vy(e){let t=Ic();return t?id(t.sanitize(_r.HTML,e)||""):Ti(e,"HTML")?id(xn(e)):vf(tf(),jt(e))}function wf(e){let t=Ic();return t?t.sanitize(_r.URL,e)||"":Ti(e,"URL")?xn(e):Ec(jt(e))}function bf(e){let t=Ic();if(t)return sd(t.sanitize(_r.RESOURCE_URL,e)||"");if(Ti(e,"ResourceURL"))return sd(xn(e));throw new m(904,!1)}var Hy={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function $y(e,t){return Hy[e.toLowerCase()]?.[t.toLowerCase()]===!0?bf:wf}function Uy(e,t,n){return $y(t,n)(e)}function Ic(){let e=C();return e&&e[_e].sanitizer}function Tf(e){return e instanceof Function?e():e}function Gy(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 _f="ng-template";function zy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Gy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Cc(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 Cc(e){return e.type===4&&e.value!==_f}function Wy(e,t,n){let r=e.type===4&&!n?_f:e.value;return t===r}function qy(e,t,n){let r=4,o=e.attrs,i=o!==null?Qy(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!==""&&!Wy(e,c,n)||c===""&&t.length===1){if(Ne(r))return!1;s=!0}}else if(r&8){if(o===null||!zy(e,o,c,n)){if(Ne(r))return!1;s=!0}}else{let u=t[++a],l=Zy(c,o,Cc(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 Zy(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 Ky(t,e)}function Mf(e,t,n=!1){for(let r=0;r<t.length;r++)if(qy(e,t[r],n))return!0;return!1}function Yy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Qy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Bd(n))return t}return e.length}function Ky(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 Jy(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 fd(e,t){return e?":not("+t.trim()+")":t}function Xy(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+=fd(i,o),o=""),r=s,i=i||!Ne(r);n++}return o!==""&&(t+=fd(i,o)),t}function ev(e){return e.map(Xy).join(",")}function tv(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 ue={};function wc(e,t,n,r,o,i,s,a,c,u,l){let d=B+r,p=d+o,f=nv(d,p),h=typeof u=="function"?u():u;return f[D]={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 nv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ue);return n}function rv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=wc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function bc(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Te]=o,d[w]=r|4|128|8|64|1024,(u!==null||e&&e[w]&2048)&&(d[w]|=2048),oa(d),d[q]=d[Ht]=e,d[G]=n,d[_e]=s||e&&e[_e],d[F]=a||e&&e[F],d[qe]=c||e&&e[qe]||null,d[ae]=i,d[Ze]=oy(),d[Vt]=l,d[Ks]=u,d[ce]=t.type==2?e[ce]:d,d}function ov(e,t,n){let r=Se(t,e),o=rv(n),i=e[_e].rendererFactory,s=Tc(e,bc(e,o,null,Sf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Sf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Nf(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 Tc(e,t){return e[yn]?e[Qs][ye]=t:e[yn]=t,e[Qs]=t,t}function iv(e=1){xf(V(),C(),Be()+e,!1)}function xf(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Xo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ei(t,i,0,n)}ft(n)}var _i=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(_i||{});function Wa(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&_i.SignalBased)!==0&&(c=t[i][Z]),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):Od(t,c,i,r)}finally{E(o)}}var mr=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(mr||{}),sv;function _c(e,t){return sv(e,t)}var WN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var qa=new WeakMap,dr=new WeakSet;function av(e,t){let n=qa.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),dr.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 cv(e,t){let n=qa.get(e);n?n.includes(t)||n.push(t):qa.set(e,[t])}var yr=new Set,Mi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Mi||{}),mt=new T(""),pd=new Set;function yt(e){pd.has(e)||(pd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Mc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),Af=[0,1,2,3],Rf=(()=>{class e{ngZone=g(Y);scheduler=g(We);errorHandler=g(st,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(mt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(N.AfterRenderHooksStart),this.executing=!0;for(let r of Af)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&&O(N.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Ut]??=[]).push(n),En(r),r[w]|=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(Mi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),di=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?.[Ut];t&&(this.view[Ut]=t.filter(n=>n!==this))}};function uv(e,t){let n=t?.injector??g(be);return yt("NgAfterNextRender"),dv(e,n,t,!0)}function lv(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(Mc);o.impl??=t.get(Rf);let i=t.get(mt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(qt):null,a=t.get(qo,null,{optional:!0}),c=new di(o.impl,lv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Of=new T("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(se)})});function kf(e,t,n){let r=e.get(Of);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 fv(e,t){let n=e.get(Of);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function pv(e,t){for(let[n,r]of t)kf(e,r.animateFns)}function hd(e,t,n,r){let o=e?.[lt]?.enter;t!==null&&o&&o.has(n.index)&&pv(r,o)}function wn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Me(o)?c=o:Ye(o)&&(u=!0,o=o[Te]);let l=ve(o);e===0&&r!==null?(hd(a,r,i,n),s==null?Ef(t,r,l):li(t,r,l,s||null,!0)):e===1&&r!==null?(hd(a,r,i,n),li(t,r,l,s||null,!0),av(i,l)):e===2?(a?.[lt]?.leave?.has(i.index)&&cv(i,l),dr.delete(l),gd(a,i,n,d=>{if(dr.has(l)){dr.delete(l);return}If(t,l,u,d)})):e===3&&(dr.delete(l),gd(a,i,n,()=>{t.destroyNode(l)})),c!=null&&bv(t,e,n,c,i,r,s)}}function hv(e,t){Ff(e,t),t[Te]=null,t[ae]=null}function gv(e,t,n,r,o,i){r[Te]=o,r[ae]=t,Ni(e,r,n,1,o,i)}function Ff(e,t){t[_e].changeDetectionScheduler?.notify(9),Ni(e,t,t[F],2,null,null)}function mv(e){let t=e[yn];if(!t)return Ma(e[D],e);for(;t;){let n=null;if(Ye(t))n=t[yn];else{let r=t[$];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)Ye(t)&&Ma(t[D],t),t=t[q];t===null&&(t=e),Ye(t)&&Ma(t[D],t),n=t&&t[ye]}t=n}}function Sc(e,t){let n=e[Gt],r=n.indexOf(t);n.splice(r,1)}function Si(e,t){if(zt(t))return;let n=t[F];n.destroyNode&&Ni(e,t,n,3,null,null),mv(t)}function Ma(e,t){if(zt(t))return;let n=E(null);try{t[w]&=-129,t[w]|=256,t[ge]&&Un(t[ge]),Dv(e,t),vv(e,t),t[D].type===1&&t[F].destroy();let r=t[ut];if(r!==null&&Me(t[q])){r!==t[q]&&Sc(r,t);let o=t[Pe];o!==null&&o.detachView(e)}Va(t)}finally{E(n)}}function gd(e,t,n,r){let o=e?.[lt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&yr.add(e[Ze]),kf(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),yv(e,r)}else e&&yr.delete(e[Ze]),r(!1)},o)}function yv(e,t){let n=e[lt]?.running;if(n){n.then(()=>{e[lt].running=void 0,yr.delete(e[Ze]),t(!0)});return}t(!1)}function vv(e,t){let n=e.cleanup,r=t[mn];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[mn]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ir];if(i!==null){t[ir]=null;for(let s of i)s.destroy()}}function Dv(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 Qt)){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];O(N.LifecycleHookStart,a,c);try{c.call(a)}finally{O(N.LifecycleHookEnd,a,c)}}else{O(N.LifecycleHookStart,o,i);try{i.call(o)}finally{O(N.LifecycleHookEnd,o,i)}}}}}function Pf(e,t,n){return Ev(e,t.parent,n)}function Ev(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Te];if(Qe(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Kt.None||o===Kt.Emulated)return null}return Se(r,n)}function Lf(e,t,n){return Cv(e,t,n)}function Iv(e,t,n){return e.type&40?Se(e,n):null}var Cv=Iv,md;function Nc(e,t,n,r){let o=Pf(e,r,t),i=t[F],s=r.parent||t[ae],a=Lf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)dd(i,o,n[c],a,!1);else dd(i,o,n,a,!1);md!==void 0&&md(i,r,t,n,o)}function fr(e,t){if(t!==null){let n=t.type;if(n&3)return Se(t,e);if(n&4)return Za(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return fr(e,r);{let o=e[t.index];return Me(o)?Za(-1,o):ve(o)}}else{if(n&128)return fr(e,t.next);if(n&32)return _c(t,e)()||ve(e[t.index]);{let r=jf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=it(e[ce]);return fr(o,r)}else return fr(e,t.next)}}}return null}function jf(e,t){if(t!==null){let r=e[ce][ae],o=t.projection;return r.projection[o]}return null}function Za(e,t){let n=$+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return fr(r,o)}return t[dt]}function xc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[qe];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Tn(ve(c),r),n.flags|=2),!wi(n))if(u&8)xc(e,t,n.child,r,o,i,!1),wn(t,e,a,o,c,n,i,r);else if(u&32){let l=_c(n,r),d;for(;d=l();)wn(t,e,a,o,d,n,i,r);wn(t,e,a,o,c,n,i,r)}else u&16?Bf(e,t,r,n,o,i):wn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ni(e,t,n,r,o,i){xc(n,r,e.firstChild,t,o,i,!1)}function wv(e,t,n){let r=t[F],o=Pf(e,n,t),i=n.parent||t[ae],s=Lf(i,n,t);Bf(r,0,t,n,o,s)}function Bf(e,t,n,r,o,i){let s=n[ce],c=s[ae].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];wn(t,e,n[qe],o,l,r,i,n)}else{let u=c,l=s[q];Qd(r)&&(u.flags|=128),xc(e,t,u,l,o,i,!0)}}function bv(e,t,n,r,o,i,s){let a=r[dt],c=ve(r);a!==c&&wn(t,e,n,i,a,o,s);for(let u=$;u<r.length;u++){let l=r[u];Ni(l[D],l,e,t,i,a)}}function Tv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:mr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=mr.Important),e.setStyle(n,r,o,i))}}function Vf(e,t,n,r,o){let i=Be(),s=r&2;try{ft(-1),s&&t.length>B&&xf(e,t,B,!1);let a=s?N.TemplateUpdateStart:N.TemplateCreateStart;O(a,o,n),n(r,o)}finally{ft(i);let a=s?N.TemplateUpdateEnd:N.TemplateCreateEnd;O(a,o,n)}}function xi(e,t,n){Rv(e,t,n),(n.flags&64)===64&&Ov(e,t,n)}function Ai(e,t,n=Se){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 _v(e,t,n,r){let i=r.get(cf,af)||n===Kt.ShadowDom||n===Kt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new m(905,!1);return Mv(s),s}function Mv(e){Sv(e)}var Sv=()=>null;function Nv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Hf(e,t,n,r,o,i){let s=t[D];if(Rc(e,s,t,n,r)){Qe(e)&&Av(t,e.index);return}e.type&3&&(n=Nv(n)),xv(e,t,n,r,o,i)}function xv(e,t,n,r,o,i){if(e.type&3){let s=Se(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Av(e,t){let n=De(t,e);n[w]&16||(n[w]|=64)}function Rv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Qe(n)&&ov(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ai(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=gr(t,e,s,n);if(Tn(c,t),i!==null&&Lv(t,s-r,c,a,n,i),Le(a)){let u=De(n.index,t);u[G]=gr(t,e,s,n)}}}function Ov(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Bl();try{ft(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Vo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&kv(c,u)}}finally{ft(-1),Vo(s)}}function kv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ac(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Mf(t,i.selectors,!1)&&(r??=[],Le(i)?r.unshift(i):r.push(i))}return r}function Fv(e,t,n,r,o,i){let s=Se(e,t);Pv(t[F],s,i,e.value,n,r,o)}function Pv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?jt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Lv(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];Wa(r,n,c,u)}}function $f(e,t,n,r,o){let i=B+n,s=t[D],a=o(s,t,e,r,n);t[i]=a,In(e,!0);let c=e.type===2;return c?(Cf(t[F],a,e),(_l()===0||vn(e))&&Tn(a,t),Ml()):Tn(a,t),zo()&&(!c||!wi(e))&&Nc(s,t,a,e),e}function Uf(e){let t=e;return da()?fa():(t=t.parent,In(t,!1)),t}function jv(e,t){let n=e[qe];if(!n)return;let r;try{r=n.get(Ke,null)}catch(o){r=null}r?.(t)}function Rc(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];Wa(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Wa(l,u,r,o),a=!0}return a}function Bv(e,t){let n=De(t,e),r=n[D];Vv(r,n);let o=n[Te];o!==null&&n[Vt]===null&&(n[Vt]=uf(o,n[qe])),O(N.ComponentStart);try{Oc(r,n,n[G])}finally{O(N.ComponentEnd,n[G])}}function Vv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Oc(e,t,n){$o(t);try{let r=e.viewQuery;r!==null&&$a(1,r,n);let o=e.template;o!==null&&Vf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&lf(e,t),e.staticViewQueries&&$a(2,e.viewQuery,n);let i=e.components;i!==null&&Hv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,Uo()}}function Hv(e,t){for(let n=0;n<t.length;n++)Bv(e,t[n])}function Mr(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=bc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[ut]=u;let l=e[Pe];return l!==null&&(c[Pe]=l.createEmbeddedView(i)),Oc(i,c,n),c}finally{E(o)}}function _n(e,t){return!t||t.firstChild===null||Qd(e)}function vr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ve(i)),Me(i)&&Gf(i,r);let s=n.type;if(s&8)vr(e,t,n.child,r);else if(s&32){let a=_c(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=jf(t,n);if(Array.isArray(a))r.push(...a);else{let c=it(t[ce]);vr(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Gf(e,t){for(let n=$;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&vr(r[D],r,o,t)}e[dt]!==e[Te]&&t.push(e[dt])}function zf(e){if(e[Ut]!==null){for(let t of e[Ut])t.impl.addSequence(t);e[Ut].length=0}}var Wf=[];function $v(e){return e[ge]??Uv(e)}function Uv(e){let t=Wf.pop()??Object.create(zv);return t.lView=e,t}function Gv(e){e.lView[ge]!==e&&(e.lView=null,Wf.push(e))}var zv=re(K({},St),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{En(e.lView)},consumerOnSignalRead(){this.lView[ge]=this}});function Wv(e){let t=e[ge]??Object.create(qv);return t.lView=e,t}var qv=re(K({},St),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=it(e.lView);for(;t&&!qf(t[D]);)t=it(t);t&&ia(t)},consumerOnSignalRead(){this.lView[ge]=this}});function qf(e){return e.type!==2}function Zf(e){if(e[ir]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ir])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var Zv=100;function Yf(e,t=0){let r=e[_e].rendererFactory,o=!1;o||r.begin?.();try{Yv(e,t)}finally{o||r.end?.()}}function Yv(e,t){let n=pa();try{ha(!0),Ya(e,t);let r=0;for(;ar(e);){if(r===Zv)throw new m(103,!1);r++,Ya(e,1)}}finally{ha(n)}}function Qv(e,t,n,r){if(zt(t))return;let o=t[w],i=!1,s=!1;$o(t);let a=!0,c=null,u=null;i||(qf(e)?(u=$v(t),c=At(u)):ho()===null?(a=!1,u=Wv(t),c=At(u)):t[ge]&&(Un(t[ge]),t[ge]=null));try{oa(t),Pl(e.bindingStartIndex),n!==null&&Vf(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Xo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ei(t,f,0,null),Ta(t,0)}if(s||Kv(t),Zf(t),Qf(t,0),e.contentQueries!==null&&lf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Xo(t,f)}else{let f=e.contentHooks;f!==null&&ei(t,f,1),Ta(t,1)}Xv(e,t);let d=e.components;d!==null&&Jf(t,d,0);let p=e.viewQuery;if(p!==null&&$a(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Xo(t,f)}else{let f=e.viewHooks;f!==null&&ei(t,f,2),Ta(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Oo]){for(let f of t[Oo])f();t[Oo]=null}i||(zf(t),t[w]&=-73)}catch(l){throw i||En(t),l}finally{u!==null&&(un(u,c),a&&Gv(u)),Uo()}}function Qf(e,t){for(let n=Jd(e);n!==null;n=Xd(n))for(let r=$;r<n.length;r++){let o=n[r];Kf(o,t)}}function Kv(e){for(let t=Jd(e);t!==null;t=Xd(t)){if(!(t[w]&2))continue;let n=t[Gt];for(let r=0;r<n.length;r++){let o=n[r];ia(o)}}}function Jv(e,t,n){O(N.ComponentStart);let r=De(t,e);try{Kf(r,n)}finally{O(N.ComponentEnd,r[G])}}function Kf(e,t){Fo(e)&&Ya(e,t)}function Ya(e,t){let r=e[D],o=e[w],i=e[ge],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&go(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)Qv(r,e,r.template,e[G]);else if(o&8192){let a=E(null);try{Zf(e),Qf(e,1);let c=r.components;c!==null&&Jf(e,c,1),zf(e)}finally{E(a)}}}function Jf(e,t,n){for(let r=0;r<t.length;r++)Jv(e,t[r],n)}function Xv(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)ft(~o);else{let i=o,s=n[++r],a=n[++r];jl(s,i);let c=t[i];O(N.HostBindingsUpdateStart,c);try{a(2,c)}finally{O(N.HostBindingsUpdateEnd,c)}}}}finally{ft(-1)}}function kc(e,t){let n=pa()?64:1088;for(e[_e].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=it(e);if(Dn(e)&&!r)return e;e=r}return null}function Xf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function ep(e,t){let n=$+t;if(n<e.length)return e[n]}function Sr(e,t,n,r=!0){let o=t[D];if(eD(o,t,e,n),r){let s=Za(n,e),a=t[F],c=a.parentNode(e[dt]);c!==null&&gv(o,e[ae],a,t,c,s)}let i=t[Vt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function tp(e,t){let n=Dr(e,t);return n!==void 0&&Si(n[D],n),n}function Dr(e,t){if(e.length<=$)return;let n=$+t,r=e[n];if(r){let o=r[ut];o!==null&&o!==e&&Sc(o,r),t>0&&(e[n-1][ye]=r[ye]);let i=nr(e,$+t);hv(r[D],r);let s=i[Pe];s!==null&&s.detachView(i[D]),r[q]=null,r[ye]=null,r[w]&=-129}return r}function eD(e,t,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][ye]=t),r<i-$?(t[ye]=n[o],Us(n,$+r,t)):(n.push(t),t[ye]=null),t[q]=n;let s=t[ut];s!==null&&n!==s&&np(s,t);let a=t[Pe];a!==null&&a.insertView(e),Po(t),t[w]|=128}function np(e,t){let n=e[Gt],r=t[q];if(Ye(r))e[w]|=2;else{let o=r[q][ce];t[ce]!==o&&(e[w]|=2)}n===null?e[Gt]=[t]:n.push(t)}var ht=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[D];return vr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[G]}set context(t){this._lView[G]=t}get destroyed(){return zt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(Me(t)){let n=t[sr],r=n?n.indexOf(this):-1;r>-1&&(Dr(t,r),nr(n,r))}this._attachedToViewContainer=!1}Si(this._lView[D],this._lView)}onDestroy(t){sa(this._lView,t)}markForCheck(){kc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){Po(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,Yf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dn(this._lView),n=this._lView[ut];n!==null&&!t&&Sc(n,this._lView),Ff(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Dn(this._lView),r=this._lView[ut];r!==null&&!n&&np(r,this._lView),Po(this._lView)}};var gt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=tD;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=Mr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new ht(i)}}return e})();function tD(){return Ri(ee(),C())}function Ri(e,t){return e.type&4?new gt(t,e,Nn(e,t)):null}function Nr(e,t,n,r,o){let i=e.data[t];if(i===null)i=nD(e,t,n,r,o),Ll()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Ol();i.injectorIndex=s===null?-1:s.injectorIndex}return In(i,!0),i}function nD(e,t,n,r,o){let i=la(),s=da(),a=s?i:i&&i.parent,c=e.data[t]=oD(e,a,n,t,r,o);return rD(e,c,i,s),c}function rD(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 oD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ua()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:va(),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 iD(e){let t=e[Js]??[],r=e[q][F],o=[];for(let i of t)i.data[sf]!==void 0?o.push(i):sD(i,r);e[Js]=o}function sD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[of];for(;n<o;){let i=r.nextSibling;If(t,r,!1),r=i,n++}}}var aD=()=>null,cD=()=>null;function fi(e,t){return aD(e,t)}function rp(e,t,n){return cD(e,t,n)}var op=class{},Oi=class{},Qa=class{resolveComponentFactory(t){throw new m(917,!1)}},xr=class{static NULL=new Qa},Er=class{},Fc=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>uD()}return e})();function uD(){let e=C(),t=ee(),n=De(t.index,e);return(Ye(n)?n:e)[F]}var ip=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:()=>null})}return e})();var ni={},Ka=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ni,r);return o!==ni||n===ni?o:this.parentInjector.get(t,n,r)}};function yd(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=To(o,a);else if(i==2){let c=a,u=t[++s];r=To(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Q(e,t=0){let n=C();if(n===null)return L(e,t);let r=ee();return Wd(r,n,X(e),t)}function sp(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}fD(e,t,n,a,i,c,u)}i!==null&&r!==null&&lD(n,r,i)}function lD(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function dD(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function fD(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&&Le(f)&&(c=f,dD(e,n,p)),ja(ai(n,t),e,f.type)}vD(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=Nf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=hr(n.mergedAttrs,f.hostAttrs),hD(e,n,t,d,f),yD(d,f,o),s!==null&&s.has(f)){let[I,y]=s.get(f);n.directiveToIndex.set(f.type,[d,I+n.directiveStart,y+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++}pD(e,n,i)}function pD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))vd(0,t,o,r),vd(1,t,o,r),Ed(t,r,!1);else{let i=n.get(o);Dd(0,t,i,r),Dd(1,t,i,r),Ed(t,r,!0)}}}function vd(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),ap(t,i)}}function Dd(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),ap(t,s)}}function ap(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ed(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Cc(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 hD(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ot(o.type,!0)),s=new Qt(i,Le(o),Q,null);e.blueprint[r]=s,n[r]=s,gD(e,t,r,Nf(e,n,o.hostVars,ue),o)}function gD(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;mD(s)!=a&&s.push(a),s.push(n,r,i)}}function mD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function yD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Le(t)&&(n[""]=e)}}function vD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Pc(e,t,n,r,o,i,s,a){let c=t[D],u=c.consts,l=je(u,s),d=Nr(c,e,n,r,l);return i&&sp(c,t,d,je(u,a),o),d.mergedAttrs=hr(d.mergedAttrs,d.attrs),d.attrs!==null&&yd(d,d.attrs,!1),d.mergedAttrs!==null&&yd(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Lc(e,t){Ld(e,t),Xs(t)&&e.queries.elementEnd(t)}function jc(e){return up(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function cp(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 up(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Bc(e,t,n){return e[t]=n}function DD(e,t){return e[t]}function Ae(e,t,n){if(n===ue)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function lp(e,t,n,r){let o=Ae(e,t,n);return Ae(e,t+1,r)||o}function Sa(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&ly(o,i);let s=Qe(e)?De(e.index,t):t;kc(s,5);let a=t[G],c=Id(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=Id(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function Id(e,t,n,r){let o=E(null);try{return O(N.OutputStart,t,n),n(r)!==!1}catch(i){return jv(e,i),!1}finally{O(N.OutputEnd,t,n),E(o)}}function ED(e,t,n,r,o,i,s,a){let c=vn(e),u=!1,l=null;if(!r&&c&&(l=CD(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Se(e,n),p=r?r(d):d;fy(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!ID(i)){let h=r?I=>r(ve(I[e.index])):e.index;dp(h,t,n,i,a,f,!1)}}return u}function ID(e){return e.startsWith("animation")||e.startsWith("transition")}function CD(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[mn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function dp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ca(t):null,c=aa(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Cd(e,t,n,r,o,i){let s=t[n],a=t[D],u=a.data[n].outputs[r],d=s[u].subscribe(i);dp(e.index,a,t,o,i,d,!0)}var Ja=Symbol("BINDING");function fp(e){return e.debugInfo?.className||e.type.name||null}var pi=class extends xr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=at(t);return new Mn(n,this.ngModule)}};function wD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&_i.SignalBased)!==0};return o&&(i.transform=o),i})}function bD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function TD(e,t,n){let r=t instanceof se?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ka(n,r):n}function _D(e){let t=e.get(Er,null);if(t===null)throw new m(407,!1);let n=e.get(ip,null),r=e.get(We,null),o=e.get(mt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function MD(e,t){let n=pp(e);return Df(t,n,n==="svg"?ea:n==="math"?El:null)}function pp(e){return(e.selectors[0][0]||"div").toLowerCase()}var Mn=class extends Oi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=wD(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=bD(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ev(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(N.DynamicComponentStart);let a=E(null);try{let c=this.componentDef,u=TD(c,o||this.ngModule,t),l=_D(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(fp(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{E(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=SD(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?_v(u,o,a.encapsulation,n):MD(a,u),d=s?.some(wd)||i?.some(h=>typeof h!="function"&&h.bindings.some(wd)),p=bc(null,c,null,512|Sf(a),null,null,t,u,n,null,uf(l,n,!0));p[B]=l,$o(p);let f=null;try{let h=Pc(B,p,2,"#host",()=>c.directiveRegistry,!0,0);Cf(u,l,h),Tn(l,p),xi(c,p,h),Dc(c,h,p),Lc(c,h),r!==void 0&&xD(h,this.ngContentSelectors,r),f=De(h.index,p),p[G]=f[G],Oc(c,p,null)}catch(h){throw f!==null&&Va(f),Va(p),h}finally{O(N.DynamicComponentEnd),Uo()}return new hi(this.componentType,p,!!d)}};function SD(e,t,n,r){let o=e?["ng-version","21.2.17"]:tv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ja].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[Ja].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=Vs(d);c.push(p)}return wc(0,null,ND(i,s),1,a,c,null,null,null,[o],null)}function ND(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 wd(e){let t=e[Ja].kind;return t==="input"||t==="twoWay"}var hi=class extends op{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ko(n[D],B),this.location=Nn(this._tNode,n),this.instance=De(this._tNode.index,n)[G],this.hostView=this.changeDetectorRef=new ht(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=Rc(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=De(r.index,o);kc(s,1)}get injector(){return new Yt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function xD(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 vt=(()=>{class e{static __NG_ELEMENT_ID__=AD}return e})();function AD(){let e=ee();return hp(e,C())}var Xa=class e extends vt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nn(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){let t=mc(this._hostTNode,this._hostLView);if(Vd(t)){let n=ii(t,this._hostLView),r=oi(t),o=n[D].data[r+8];return new Yt(o,n)}else return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=bd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-$}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=fi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,_n(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Fm(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new Mn(at(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(se,null);v&&(i=v)}let p=at(l.componentType??{}),f=fi(this._lContainer,p?.id??null),h=f?.firstChild??null,I=l.create(d,o,h,i,s,a);return this.insertImpl(I.hostView,u,_n(this._hostTNode,f)),I}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Cl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],u=new e(c,c[ae],c[q]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Sr(s,o,i,r),t.attachToViewContainerRef(),Us(Na(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=bd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Dr(this._lContainer,n);r&&(nr(Na(this._lContainer),n),Si(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=Dr(this._lContainer,n);return r&&nr(Na(this._lContainer),n)!=null?new ht(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function bd(e){return e[sr]}function Na(e){return e[sr]||(e[sr]=[])}function hp(e,t){let n,r=t[e.index];return Me(r)?n=r:(n=Xf(r,t,null,e),t[e.index]=n,Tc(t,n)),OD(n,t,e,r),new Xa(n,e,t)}function RD(e,t){let n=e[F],r=n.createComment(""),o=Se(t,e),i=n.parentNode(o);return li(n,i,r,n.nextSibling(o),!1),r}var OD=PD,kD=()=>!1;function FD(e,t,n){return kD(e,t,n)}function PD(e,t,n,r){if(e[dt])return;let o;n.type&8?o=ve(r):o=RD(t,n),e[dt]=o}var ec=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},tc=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++)Vc(t,n).matches!==null&&this.queries[n].setDirty()}},gi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=GD(t):this.predicate=t}},nc=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)}},rc=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,LD(n,i)),this.matchTNodeWithReadOption(t,n,ti(n,t,i,!1,!1))}else r===gt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ti(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===en||o===vt||o===gt&&n.type&4)this.addMatch(n.index,-2);else{let i=ti(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 LD(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 jD(e,t){return e.type&11?Nn(e,t):e.type&4?Ri(e,t):null}function BD(e,t,n,r){return n===-1?jD(t,e):n===-2?VD(e,t,r):gr(e,e[D],n,t)}function VD(e,t,n){if(n===en)return Nn(t,e);if(n===gt)return Ri(t,e);if(n===vt)return hp(t,e)}function gp(e,t,n,r){let o=t[Pe].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(BD(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function oc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=gp(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=$;d<l.length;d++){let p=l[d];p[ut]===p[q]&&oc(p[D],p,u,r)}if(l[Gt]!==null){let d=l[Gt];for(let p=0;p<d.length;p++){let f=d[p];oc(f[D],f,u,r)}}}}}return r}function HD(e,t){return e[Pe].queries[t].queryList}function mp(e,t,n){let r=new ci((n&4)===4);return Tl(e,t,r,r.destroy),(t[Pe]??=new tc).queries.push(new ec(r))-1}function $D(e,t,n){let r=V();return r.firstCreatePass&&(yp(r,new gi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),mp(r,C(),t)}function UD(e,t,n,r){let o=V();if(o.firstCreatePass){let i=ee();yp(o,new gi(t,n,r),i.index),zD(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return mp(o,C(),n)}function GD(e){return e.split(",").map(t=>t.trim())}function yp(e,t,n){e.queries===null&&(e.queries=new nc),e.queries.track(new rc(t,n))}function zD(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 Vc(e,t){return e.queries.getByIndex(t)}function WD(e,t){let n=e[D],r=Vc(n,t);return r.crossesNgTemplate?oc(n,e,t,[]):gp(n,e,r,t)}var Jt=class{},vp=class{};var mi=class extends Jt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new pi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Bs(t);this._bootstrapComponents=Tf(i.bootstrap),this._r3Injector=Da(t,n,[{provide:Jt,useValue:this},{provide:xr,useValue:this.componentFactoryResolver},...r],Kn(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)}},yi=class extends vp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new mi(this.moduleType,t,[])}};var Ir=class extends Jt{injector;componentFactoryResolver=new pi(this);instance=null;constructor(t){super();let n=new Pt([...t.providers,{provide:Jt,useValue:this},{provide:xr,useValue:this.componentFactoryResolver}],t.parent||or(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Dp(e,t,n=null){return new Ir({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var qD=(()=>{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=Ws(!1,n.type),o=r.length>0?Dp([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=M({token:e,providedIn:"environment",factory:()=>new e(L(se))})}return e})();function ZD(e){return br(()=>{let t=Ep(e),n=re(K({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(qD).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Kt.Emulated,styles:e.styles||ie,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&yt("NgStandalone"),Ip(n);let r=e.dependencies;return n.directiveDefs=Td(r,YD),n.pipeDefs=Td(r,sl),n.id=JD(n),n})}function YD(e){return at(e)||Vs(e)}function ki(e){return br(()=>({type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function QD(e,t){if(e==null)return ct;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=_i.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function KD(e){if(e==null)return ct;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function An(e){return br(()=>{let t=Ep(e);return Ip(t),t})}function Fi(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ep(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||ct,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:QD(e.inputs,t),outputs:KD(e.outputs),debugInfo:null}}function Ip(e){e.features?.forEach(t=>t(e))}function Td(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 JD(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 XD(e){return Object.getPrototypeOf(e.prototype).constructor}function Cp(e){let t=XD(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,er)?t[er]:void 0,s=Object.hasOwn(t,tr)?t[tr]:void 0;if(Le(e))o=i??s;else{if(i)throw new m(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=xa(e.inputs),c.declaredInputs=xa(e.declaredInputs),c.outputs=xa(e.outputs);let u=o.hostBindings;u&&oE(e,u);let l=o.viewQuery,d=o.contentQueries;if(l&&nE(e,l),d&&rE(e,d),eE(e,o),il(e.outputs,o.outputs),Le(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let u=a[c];u&&u.ngInherit&&u(e),u===Cp&&(n=!1)}}t=Object.getPrototypeOf(t)}tE(r)}function eE(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 tE(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=hr(o.hostAttrs,n=hr(n,o.hostAttrs))}}function xa(e){return e===ct?{}:e===ie?[]:e}function nE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function rE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function oE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function wp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=hr(e.mergedAttrs,e.attrs);let l=e.tView=wc(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),In(e,!1);let c=sE(n,t,e,r);zo()&&Nc(n,t,c,e),Tn(c,t);let u=Xf(c,t,c,e);t[r+B]=u,Tc(t,u),FD(u,e,t)}function iE(e,t,n,r,o,i,s,a,c,u,l){let d=n+B,p;return t.firstCreatePass?(p=Nr(t,d,4,s||null,a||null),Lo()&&sp(t,e,p,je(t.consts,u),Ac),Ld(t,p)):p=t.data[d],wp(p,e,t,n,r,o,i,c),vn(p)&&xi(t,e,p),u!=null&&Ai(e,p,l),p}function Cr(e,t,n,r,o,i,s,a,c,u,l){let d=n+B,p;if(t.firstCreatePass){if(p=Nr(t,d,4,s||null,a||null),u!=null){let f=je(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 wp(p,e,t,n,r,o,i,c),u!=null&&Ai(e,p,l),p}function bp(e,t,n,r,o,i,s,a){let c=C(),u=V(),l=je(u.consts,i);return iE(c,u,e,t,n,r,o,l,void 0,s,a),bp}var sE=aE;function aE(e,t,n,r){return cr(!0),t[F].createComment("")}var cE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Hc(e){return typeof e=="function"&&e[Z]!==void 0}function $c(e){return Hc(e)&&typeof e.set=="function"}var Tp=new T("");function Pi(e){return!!e&&typeof e.then=="function"}function Uc(e){return!!e&&typeof e.subscribe=="function"}var _p=new T("");var Gc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(_p,{optional:!0})??[];injector=g(be);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=gn(this.injector,o);if(Pi(i))n.push(i);else if(Uc(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=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mp=new T("");function Sp(){ys(()=>{let e="";throw new m(600,e)})}function Np(e){return e.isBoundToModule}var uE=10;var Ar=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Ke);afterRenderManager=g(Mc);zonelessEnabled=g(Cn);rootEffectScheduler=g(ba);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new we;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(pt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(me(n=>!n))}constructor(){g(mt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(se);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=be.NULL){return this._injector.get(Y).run(()=>{O(N.BootstrapComponentStart);let s=n instanceof Oi;if(!this._injector.get(Gc).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(xr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Np(c)?void 0:this._injector.get(Jt),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(Tp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),pr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(N.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(N.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw O(N.ChangeDetectionEnd),new m(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),O(N.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Er,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<uE;){O(N.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{O(N.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&&!ar(o))continue;let i=r&&!this.zonelessEnabled?0:1;Yf(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})=>ar(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;pr(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(Mp,[]).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),()=>pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function xp(e,t,n,r){let o=C(),i=Wt();if(Ae(o,i,t)){let s=V(),a=Go();Fv(a,o,e,t,n,r)}return xp}var ic=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 Aa(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function lE(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){E(r);let u=t.length-1;for(E(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=Aa(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],I=Aa(a,f,u,h,n);if(I!==0){I<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),v=n(a,f),j=n(s,d);if(Object.is(j,v)){let he=n(u,h);Object.is(he,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new vi,i??=Md(e,s,a,n),sc(e,o,s,j))e.updateValue(s,d),s++,a++;else if(i.has(j))o.set(y,e.detach(s)),a--;else{let he=e.create(s,t[s]);e.attach(s,he),s++,a++}}for(;s<=u;)_d(e,o,n,s,t[s]),s++}else if(t!=null){E(r);let u=t[Symbol.iterator]();E(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Aa(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new vi,i??=Md(e,s,a,n);let h=n(s,p);if(sc(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 I=n(s,d);o.set(I,e.detach(s)),a--}}}for(;!l.done;)_d(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 sc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function _d(e,t,n,r,o){if(sc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Md(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 vi=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 dE(e,t,n,r,o,i,s,a){yt("NgControlFlow");let c=C(),u=V(),l=je(u.consts,i);return Cr(c,u,e,t,n,r,o,l,256,s,a),zc}function zc(e,t,n,r,o,i,s,a){yt("NgControlFlow");let c=C(),u=V(),l=je(u.consts,i);return Cr(c,u,e,t,n,r,o,l,512,s,a),zc}function fE(e,t){yt("NgControlFlow");let n=C(),r=Wt(),o=n[r]!==ue?n[r]:-1,i=o!==-1?Di(n,B+o):void 0,s=0;if(Ae(n,r,e)){let a=E(null);try{if(i!==void 0&&tp(i,s),e!==-1){let c=B+e,u=Di(n,c),l=lc(n[D],c),d=rp(u,l,n),p=Mr(n,l,t,{dehydratedView:d});Sr(u,p,s,_n(l,d))}}finally{E(a)}}else if(i!==void 0){let a=ep(i,s);a!==void 0&&(a[G]=t)}}var ac=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function pE(e,t){return t}var cc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function hE(e,t,n,r,o,i,s,a,c,u,l,d,p){yt("NgControlFlow");let f=C(),h=V(),I=c!==void 0,y=C(),v=a?s.bind(y[ce][G]):s,j=new cc(I,v);y[B+e]=j,Cr(f,h,e+1,t,n,r,o,je(h.consts,i),256),I&&Cr(f,h,e+2,c,u,l,d,je(h.consts,p),512)}var uc=class extends ic{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-$}at(t){return this.getLView(t)[G].$implicit}attach(t,n){let r=n[Vt];this.needsIndexUpdate||=t!==this.length,Sr(this.lContainer,n,t,_n(this.templateTNode,r)),mE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,yE(this.lContainer,t),vE(this.lContainer,t)}create(t,n){let r=fi(this.lContainer,this.templateTNode.tView.ssrId);return Mr(this.hostLView,this.templateTNode,new ac(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Si(t[D],t)}updateValue(t,n){this.getLView(t)[G].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[G].$index=t}getLView(t){return DE(this.lContainer,t)}};function gE(e){let t=E(null),n=Be();try{let r=C(),o=r[D],i=r[n],s=n+1,a=Di(r,s);if(i.liveCollection===void 0){let u=lc(o,s);i.liveCollection=new uc(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(lE(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Wt(),l=c.length===0;if(Ae(r,u,l)){let d=n+2,p=Di(r,d);if(l){let f=lc(o,d),h=rp(p,f,r),I=Mr(r,f,void 0,{dehydratedView:h});Sr(p,I,0,_n(f,h))}else o.firstUpdatePass&&iD(p),tp(p,0)}}}finally{E(t)}}function Di(e,t){return e[t]}function mE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[lt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[qe];fv(i,o),yr.delete(r[Ze]),o.detachedLeaveAnimationFns=void 0}}function yE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[lt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function vE(e,t){return Dr(e,t)}function DE(e,t){return ep(e,t)}function lc(e,t){return ko(e,t)}function Ap(e,t,n){let r=C(),o=Wt();if(Ae(r,o,t)){let i=V(),s=Go();Hf(s,r,e,t,r[F],n)}return Ap}function dc(e,t,n,r,o){Rc(t,e,n,o?"class":"style",r)}function Ei(e,t,n,r){let o=C(),i=o[D],s=e+B,a=i.firstCreatePass?Pc(s,o,2,t,Ac,Lo(),n,r):i.data[s];if(Qe(a)){let c=o[_e].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(fp(u),()=>(Sd(e,t,o,a,r),Ei))}}return Sd(e,t,o,a,r),Ei}function Sd(e,t,n,r,o){if($f(r,n,e,t,EE),vn(r)){let i=n[D];xi(i,n,r),Dc(i,r,n)}o!=null&&Ai(n,r)}function Wc(){let e=V(),t=ee(),n=Uf(t);return e.firstCreatePass&&Lc(e,n),Nl(n)&&xl(),Sl(),n.classesWithoutHost!=null&&Hm(n)&&dc(e,n,C(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&$m(n)&&dc(e,n,C(),n.stylesWithoutHost,!1),Wc}function Rp(e,t,n,r){return Ei(e,t,n,r),Wc(),Rp}var EE=(e,t,n,r,o)=>(cr(!0),Df(t[F],r,va()));function qc(e,t,n){let r=C(),o=r[D],i=e+B,s=o.firstCreatePass?Pc(i,r,8,"ng-container",Ac,Lo(),t,n):o.data[i];if($f(s,r,e,"ng-container",IE),vn(s)){let a=r[D];xi(a,r,s),Dc(a,s,r)}return n!=null&&Ai(r,s),qc}function Zc(){let e=V(),t=ee(),n=Uf(t);return e.firstCreatePass&&Lc(e,n),Zc}function Op(e,t,n){return qc(e,t,n),Zc(),Op}var IE=(e,t,n,r,o)=>(cr(!0),Ly(t[F],""));function CE(){return C()}var lr=void 0;function wE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var bE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",lr,lr,lr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",wE],Ra=Object.create(null);function de(e){let t=TE(e),n=Nd(t);if(n)return n;let r=t.split("-")[0];if(n=Nd(r),n)return n;if(r==="en")return bE;throw new m(701,!1)}function Nd(e){return e in Ra||(Ra[e]=Fe.ng&&Fe.ng.common&&Fe.ng.common.locales&&Fe.ng.common.locales[e]),Ra[e]}var U=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(U||{});function TE(e){return e.toLowerCase().replace(/_/g,"-")}var Rr="en-US";var _E=Rr;function kp(e){typeof e=="string"&&(_E=e.toLowerCase().replace(/_/g,"-"))}function Fp(e,t,n){let r=C(),o=V(),i=ee();return Pp(o,r,r[F],i,e,t,n),Fp}function Pp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Sa(r,t,i),ED(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??=Sa(r,t,i),Cd(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Sa(r,t,i),Cd(r,t,d,o,o,c)}}function ME(e=1){return Gl(e)}function SE(e,t){let n=null,r=Yy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Mf(e,i,!0):Jy(r,i))return o}return n}function NE(e){let t=C()[ce][ae];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?SE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function xE(e,t=0,n,r,o,i){let s=C(),a=V(),c=r?e+1:null;c!==null&&Cr(s,a,c,r,o,i,null,n);let u=Nr(a,B+e,16,null,n||null);u.projection===null&&(u.projection=t),fa();let d=!s[Vt]||ua();s[ce][ae].projection[u.projection]===null&&c!==null?AE(s,a,c):d&&!wi(u)&&wv(a,s,u)}function AE(e,t,n){let r=B+n,o=t.data[r],i=e[r],s=fi(i,o.tView.ssrId),a=Mr(e,o,void 0,{dehydratedView:s});Sr(i,a,0,_n(o,s))}function Lp(e,t,n,r){return UD(e,t,n,r),Lp}function jp(e,t,n){return $D(e,t,n),jp}function RE(e){let t=C(),n=V(),r=ga();Ho(r+1);let o=Vc(n,r);if(e.dirty&&Il(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=WD(t,r);e.reset(i,ty),e.notifyOnChanges()}return!0}return!1}function OE(){return HD(C(),ga())}function kE(e){let t=kl();return na(t,B+e)}function Jo(e,t){return e<<17|t<<2}function Xt(e){return e>>17&32767}function FE(e){return(e&2)==2}function PE(e,t){return e&131071|t<<17}function fc(e){return e|2}function Sn(e){return(e&131068)>>2}function Oa(e,t){return e&-131069|t<<2}function LE(e){return(e&1)===1}function pc(e){return e|1}function jE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Xt(s),c=Sn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||hn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Xt(e[a+1]);e[r+1]=Jo(p,a),p!==0&&(e[p+1]=Oa(e[p+1],r)),e[a+1]=PE(e[a+1],r)}else e[r+1]=Jo(a,0),a!==0&&(e[a+1]=Oa(e[a+1],r)),a=r;else e[r+1]=Jo(c,0),a===0?a=r:e[c+1]=Oa(e[c+1],r),c=r;u&&(e[r+1]=fc(e[r+1])),xd(e,l,r,!0),xd(e,l,r,!1),BE(t,l,e,r,i),s=Jo(a,c),i?t.classBindings=s:t.styleBindings=s}function BE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&hn(i,t)>=0&&(n[r+1]=pc(n[r+1]))}function xd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Xt(o):Sn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];VE(c,t)&&(a=!0,e[s+1]=r?pc(u):fc(u)),s=r?Xt(u):Sn(u)}a&&(e[n+1]=r?fc(o):pc(o))}function VE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?hn(e,t)>=0:!1}var xe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function HE(e){return e.substring(xe.key,xe.keyEnd)}function $E(e){return UE(e),Bp(e,Vp(e,0,xe.textEnd))}function Bp(e,t){let n=xe.textEnd;return n===t?-1:(t=xe.keyEnd=GE(e,xe.key=t,n),Vp(e,t,n))}function UE(e){xe.key=0,xe.keyEnd=0,xe.value=0,xe.valueEnd=0,xe.textEnd=e.length}function Vp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function GE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Hp(e,t,n){return Up(e,t,n,!1),Hp}function $p(e,t){return Up(e,t,null,!0),$p}function zE(e){qE(XE,WE,e,!0)}function WE(e,t){for(let n=$E(t);n>=0;n=Bp(t,n))Ao(e,HE(t),!0)}function Up(e,t,n,r){let o=C(),i=V(),s=Bo(2);if(i.firstUpdatePass&&zp(i,e,s,r),t!==ue&&Ae(o,s,t)){let a=i.data[Be()];Wp(i,a,o,o[F],e,o[s+1]=tI(t,n),r,s)}}function qE(e,t,n,r){let o=V(),i=Bo(2);o.firstUpdatePass&&zp(o,null,i,r);let s=C();if(n!==ue&&Ae(s,i,n)){let a=o.data[Be()];if(qp(a,r)&&!Gp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=To(c,n||"")),dc(o,a,s,n,r)}else eI(o,a,s,s[F],s[i+1],s[i+1]=JE(e,t,n),r,i)}}function Gp(e,t){return t>=e.expandoStartIndex}function zp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Be()],s=Gp(e,n);qp(i,r)&&t===null&&!s&&(t=!1),t=ZE(o,i,t,r),jE(o,i,t,n,s,r)}}function ZE(e,t,n,r){let o=Vl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ka(null,e,t,n,r),n=wr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ka(o,e,t,n,r),i===null){let c=YE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ka(null,e,t,c[1],r),c=wr(c,t.attrs,r),QE(e,t,r,c))}else i=KE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function YE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Sn(r)!==0)return e[Xt(r)]}function QE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Xt(o)]=r}function KE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=wr(r,s,n)}return wr(r,t.attrs,n)}function ka(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=wr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function wr(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]),Ao(e,s,n?!0:t[++i]))}return e===void 0?null:e}function JE(e,t,n){if(n==null||n==="")return ie;let r=[],o=xn(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 XE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ao(e,r,n)}function eI(e,t,n,r,o,i,s,a){o===ue&&(o=ie);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,I;l===d?(c+=2,u+=2,p!==f&&(h=d,I=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,I=f),h!==null&&Wp(e,t,n,r,h,I,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Wp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=LE(u)?Ad(c,t,n,o,Sn(u),s):void 0;if(!Ii(l)){Ii(i)||FE(u)&&(i=Ad(c,null,n,o,a,s));let d=ta(Be(),n);Tv(r,s,d,o,i)}}function Ad(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===ue&&(p=d?ie:void 0);let f=d?Ro(p,r):l===r?p:void 0;if(u&&!Ii(f)&&(f=Ro(c,r)),Ii(f)&&(a=f,s))return a;let h=e[o+1];o=s?Xt(h):Sn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ro(c,r))}return a}function Ii(e){return e!==void 0}function tI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Kn(xn(e)))),e}function qp(e,t){return(e.flags&(t?8:16))!==0}function nI(e,t=""){let n=C(),r=V(),o=e+B,i=r.firstCreatePass?Nr(r,o,1,t,null):r.data[o],s=rI(r,n,i,t);n[o]=s,zo()&&Nc(r,n,s,i),In(i,!1)}var rI=(e,t,n,r)=>(cr(!0),Fy(t[F],r));function oI(e,t,n,r=""){return Ae(e,Wt(),n)?t+jt(n)+r:ue}function iI(e,t,n,r,o,i=""){let s=Fl(),a=lp(e,s,n,o);return Bo(2),a?t+jt(n)+r+jt(o)+i:ue}function Zp(e){return Yc("",e),Zp}function Yc(e,t,n){let r=C(),o=oI(r,e,t,n);return o!==ue&&Qp(r,Be(),o),Yc}function Yp(e,t,n,r,o){let i=C(),s=iI(i,e,t,n,r,o);return s!==ue&&Qp(i,Be(),s),Yp}function Qp(e,t,n){let r=ta(t,e);Py(e[F],r,n)}function Kp(e,t,n){$c(t)&&(t=t());let r=C(),o=Wt();if(Ae(r,o,t)){let i=V(),s=Go();Hf(s,r,e,t,r[F],n)}return Kp}function sI(e,t){let n=$c(e);return n&&e.set(t),n}function Jp(e,t){let n=C(),r=V(),o=ee();return Pp(r,n,n[F],o,e,t),Jp}function Rd(e,t,n){let r=V();r.firstCreatePass&&Xp(t,r.data,r.blueprint,Le(e),n)}function Xp(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i<e.length;i++)Xp(e[i],t,n,r,o);else{let i=V(),s=C(),a=ee(),c=Ft(e)?e:X(e.provide),u=Ys(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ft(e)||!e.multi){let f=new Qt(u,o,Q,null),h=Pa(c,t,o?l:l+p,d);h===-1?(ja(ai(a,s),i,c),Fa(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=Pa(c,t,l+p,d),h=Pa(c,t,l,l+p),I=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!I){ja(ai(a,s),i,c);let v=uI(o?cI:aI,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=v),Fa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=eh(n[o?h:f],u,!o&&r);Fa(i,e,f>-1?f:h,v)}!o&&r&&y&&n[h].componentProviders++}}}function Fa(e,t,n,r){let o=Ft(t),i=yl(t);if(o||i){let c=(i?X(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 eh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Pa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function aI(e,t,n,r,o){return hc(this.multi,[])}function cI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=gr(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),hc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],hc(i,s);return s}function hc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function uI(e,t,n,r,o,i){let s=new Qt(e,n,Q,null);return s.multi=[],s.index=t,s.componentProviders=0,eh(s,o,r&&!n),s}function lI(e,t){return n=>{n.providersResolver=(r,o)=>Rd(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Rd(r,o?o(t):t,!0))}}function dI(e,t){let n=jo()+e,r=C();return r[n]===ue?Bc(r,n,t()):DD(r,n)}function fI(e,t,n){return pI(C(),jo(),e,t,n)}function th(e,t){let n=e[t];return n===ue?void 0:n}function pI(e,t,n,r,o,i){let s=t+n;return Ae(e,s,o)?Bc(e,s+1,i?r.call(i,o):r(o)):th(e,s+1)}function hI(e,t,n,r,o,i,s){let a=t+n;return lp(e,a,o,i)?Bc(e,a+2,s?r.call(s,o,i):r(o,i)):th(e,a+2)}function gI(e,t){let n=V(),r,o=e+B;n.firstCreatePass?(r=mI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=ot(r.type,!0)),s,a=oe(Q);try{let c=si(!1),u=i();return si(c),ra(n,C(),o,u),u}finally{oe(a)}}function mI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function yI(e,t,n,r){let o=e+B,i=C(),s=na(i,o);return vI(i,o)?hI(i,jo(),t,s.transform,n,r,s):s.transform(n,r)}function vI(e,t){return e[D].data[t].pure}function DI(e,t){return Ri(e,t)}var Ci=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},EI=(()=>{class e{compileModuleSync(n){return new yi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Bs(n),i=Tf(o.declarations).reduce((s,a)=>{let c=at(a);return c&&s.push(new Mn(c)),s},[]);return new Ci(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=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var nh=(()=>{class e{applicationErrorHandler=g(Ke);appRef=g(Ar);taskService=g(pt);ngZone=g(Y);zonelessEnabled=g(Cn);tracing=g(mt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new J;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Yn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Zo,{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?Yl:Ia;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(Yn+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=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function rh(){return[{provide:We,useExisting:nh},{provide:Y,useClass:Qn},{provide:Cn,useValue:!0}]}function II(){return typeof $localize<"u"&&$localize.locale||Rr}var Rn=new T("",{factory:()=>g(Rn,{optional:!0,skipSelf:!0})||II()});function ih(e){return el(e)}function wI(e,t){return mo(e,t?.equal)}var bI=e=>e;function TI(e,t){if(typeof e=="function"){let n=Es(e,bI,t?.equal);return oh(n,t?.debugName)}else{let n=Es(e.source,e.computation,e.equal);return oh(n,e.debugName)}}function oh(e,t){let n=e[Z],r=e;return r.set=o=>Ju(n,o),r.update=o=>Xu(n,o),r.asReadonly=Wo.bind(e),r}var lh=Symbol("InputSignalNode#UNSET"),AI=re(K({},vo),{transformFn:void 0,applyValueToInputSignal(e,t){Rt(e,t)}});function dh(e,t){let n=Object.create(AI);n.value=e,n.transformFn=t?.transform;function r(){if(Nt(n),n.value===lh){let o=null;throw new m(-950,o)}return n.value}return r[Z]=n,r}var sh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>yc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function ah(e,t){return dh(e,t)}function RI(e){return dh(lh,e)}var gF=(ah.required=RI,ah);var OI=(()=>{class e{zone=g(Y);changeDetectionScheduler=g(We);applicationRef=g(Ar);applicationErrorHandler=g(Ke);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kI=new T("",{factory:()=>!1});function FI({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Y(re(K({},fh()),{scheduleInRootZone:t})),[{provide:Cn,useValue:!1},{provide:Y,useFactory:e},{provide:Bt,multi:!0,useFactory:()=>{let n=g(OI,{optional:!0});return()=>n.initialize()}},{provide:Bt,multi:!0,useFactory:()=>{let n=g(PI);return()=>{n.initialize()}}},{provide:Zo,useValue:t??Ea}]}function mF(e){let t=e?.scheduleInRootZone,n=FI({ngZoneFactory:()=>{let r=fh(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&yt("NgZone_CoalesceEvent"),new Y(r)},scheduleInRootZone:t});return rr([{provide:kI,useValue:!0},n])}function fh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var PI=(()=>{class e{subscription=new J;initialized=!1;zone=g(Y);pendingTasks=g(pt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Qc=new T(""),LI=new T("");function Or(e){return!e.moduleRef}function jI(e){let t=Or(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{Or(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ke),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Or(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Qc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Qc);s.add(i),e.moduleRef.onDestroy(()=>{pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return VI(r,n,()=>{let i=t.get(pt),s=i.add(),a=t.get(Gc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Rn,Rr);if(kp(c||Rr),!t.get(LI,!0))return Or(e)?t.get(Ar):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Or(e)){let l=t.get(Ar);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return BI?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var BI;function VI(e,t,n){try{let r=n();return Pi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Li=null;function HI(e=[],t){return be.create({name:t,providers:[{provide:Zs,useValue:"platform"},{provide:Qc,useValue:new Set([()=>Li=null])},...e]})}function $I(e=[]){if(Li)return Li;let t=HI(e);return Li=t,Sp(),UI(t),t}function UI(e){let t=e.get(nf,null);gn(e,()=>{t?.forEach(n=>n())})}var GI=1e4;var yF=GI-1e3;var zI=(()=>{class e{static __NG_ELEMENT_ID__=WI}return e})();function WI(e){return qI(ee(),C(),(e&16)===16)}function qI(e,t,n){if(Qe(e)&&!n){let r=De(e.index,t);return new ht(r,r)}else if(e.type&175){let r=t[ce];return new ht(r,t)}return null}var Kc=class{supports(t){return jc(t)}create(t){return new Jc(t)}},ZI=(e,t)=>t,Jc=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||ZI}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<ch(r,o,i)?n:r,a=ch(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=[]),!jc(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,cp(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 Xc(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 ji),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 ji),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}},Xc=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}},eu=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}},ji=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new eu,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 ch(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function uh(){return new tu([new Kc])}var tu=(()=>{class e{factories;static \u0275prov=M({token:e,providedIn:"root",factory:uh});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=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||uh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function vF(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;O(N.BootstrapApplicationStart);try{let i=o?.injector??$I(r),s=[rh(),Kl,...n||[]],a=new Ir({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return jI({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{O(N.BootstrapApplicationEnd)}}function DF(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var ph=null;function Bi(){return ph}function YI(e){ph??=e}var nu=class{},On=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>g(hh),providedIn:"platform"})}return e})();var hh=(()=>{class e extends On{_location;_history;_doc=g(Ve);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Bi().getBaseHref(this._doc)}onPopState(n){let r=Bi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Bi().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=M({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function yh(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function gh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Dt(e){return e&&e[0]!=="?"?`?${e}`:e}var Vi=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>g(KI),providedIn:"root"})}return e})(),QI=new T(""),KI=(()=>{class e extends Vi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(Ve).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 yh(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Dt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Dt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Dt(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)(L(On),L(QI,8))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var vh=(()=>{class e{_subject=new we;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=eC(gh(mh(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+Dt(r))}normalize(n){return e.stripTrailingSlash(XI(this._basePath,mh(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+Dt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Dt(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=Dt;static joinWithSlash=yh;static stripTrailingSlash=gh;static \u0275fac=function(r){return new(r||e)(L(Vi))};static \u0275prov=M({token:e,factory:()=>JI(),providedIn:"root"})}return e})();function JI(){return new vh(L(Vi))}function XI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function mh(e){return e.replace(/\/index\.html$/,"")}function eC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var uu=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(uu||{});var ne=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(ne||{}),k=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(k||{}),fe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(fe||{}),pe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function bh(e){return de(e)[U.LocaleId]}function Th(e,t,n){let r=de(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=Ee(o,t);return Ee(i,n)}function _h(e,t,n){let r=de(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=Ee(o,t);return Ee(i,n)}function Mh(e,t,n){let r=de(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=Ee(o,t);return Ee(i,n)}function Sh(e,t){let r=de(e)[U.Eras];return Ee(r,t)}function Fr(e,t){let n=de(e);return Ee(n[U.DateFormat],t)}function Pr(e,t){let n=de(e);return Ee(n[U.TimeFormat],t)}function Lr(e,t){let r=de(e)[U.DateTimeFormat];return Ee(r,t)}function $e(e,t){let n=de(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===pe.CurrencyDecimal)return n[U.NumberSymbols][pe.Decimal];if(t===pe.CurrencyGroup)return n[U.NumberSymbols][pe.Group]}return r}function Nh(e,t){return de(e)[U.NumberFormats][t]}function xh(e){if(!e[U.ExtraData])throw new m(2303,!1)}function Ah(e){let t=de(e);return xh(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?ru(r):[ru(r[0]),ru(r[1])])}function Rh(e,t,n){let r=de(e);xh(r);let o=[r[U.ExtraData][0],r[U.ExtraData][1]],i=Ee(o,t)||[];return Ee(i,n)||[]}function Ee(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function ru(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var tC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Hi={},nC=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,rC=256;function Oh(e,t,n,r){let o=pC(e);oC(t),t=Xe(n,t)||t;let s=[],a;for(;t;)if(a=nC.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Fh(r,c),o=fC(o,r));let u="";return s.forEach(l=>{let d=lC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function oC(e){if(e.length>rC)throw new m(2300,!1)}function Wi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Xe(e,t){let n=bh(e);if(Hi[n]??={},Hi[n][t])return Hi[n][t];let r="";switch(t){case"shortDate":r=Fr(e,fe.Short);break;case"mediumDate":r=Fr(e,fe.Medium);break;case"longDate":r=Fr(e,fe.Long);break;case"fullDate":r=Fr(e,fe.Full);break;case"shortTime":r=Pr(e,fe.Short);break;case"mediumTime":r=Pr(e,fe.Medium);break;case"longTime":r=Pr(e,fe.Long);break;case"fullTime":r=Pr(e,fe.Full);break;case"short":let o=Xe(e,"shortTime"),i=Xe(e,"shortDate");r=$i(Lr(e,fe.Short),[o,i]);break;case"medium":let s=Xe(e,"mediumTime"),a=Xe(e,"mediumDate");r=$i(Lr(e,fe.Medium),[s,a]);break;case"long":let c=Xe(e,"longTime"),u=Xe(e,"longDate");r=$i(Lr(e,fe.Long),[c,u]);break;case"full":let l=Xe(e,"fullTime"),d=Xe(e,"fullDate");r=$i(Lr(e,fe.Full),[l,d]);break}return r&&(Hi[n][t]=r),r}function $i(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Re(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function iC(e,t){return Re(e,3).substring(0,t)}function W(e,t,n=0,r=!1,o=!1){return function(i,s){let a=sC(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return iC(a,t);let c=$e(s,pe.MinusSign);return Re(a,t,c,r,o)}}function sC(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function P(e,t,n=ne.Format,r=!1){return function(o,i){return aC(o,i,e,t,n,r)}}function aC(e,t,n,r,o,i){switch(n){case 2:return Mh(t,o,r)[e.getMonth()];case 1:return _h(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Ah(t),l=Rh(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,I=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(I&&y)return!0}else if(I||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Th(t,o,r)[s<12?0:1];case 3:return Sh(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ui(e){return function(t,n,r){let o=-1*r,i=$e(n,pe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Re(s,2,i)+Re(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Re(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Re(s,2,i)+":"+Re(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Re(s,2,i)+":"+Re(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var cC=0,zi=4;function uC(e){let t=Wi(e,cC,1).getDay();return Wi(e,0,1+(t<=zi?zi:zi+7)-t)}function kh(e){let t=e.getDay(),n=t===0?-3:zi-t;return Wi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ou(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=kh(n),s=uC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Re(o,e,$e(r,pe.MinusSign))}}function Gi(e,t=!1){return function(n,r){let i=kh(n).getFullYear();return Re(i,e,$e(r,pe.MinusSign),t)}}var iu={};function lC(e){if(iu[e])return iu[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(3,k.Abbreviated);break;case"GGGG":t=P(3,k.Wide);break;case"GGGGG":t=P(3,k.Narrow);break;case"y":t=W(0,1,0,!1,!0);break;case"yy":t=W(0,2,0,!0,!0);break;case"yyy":t=W(0,3,0,!1,!0);break;case"yyyy":t=W(0,4,0,!1,!0);break;case"Y":t=Gi(1);break;case"YY":t=Gi(2,!0);break;case"YYY":t=Gi(3);break;case"YYYY":t=Gi(4);break;case"M":case"L":t=W(1,1,1);break;case"MM":case"LL":t=W(1,2,1);break;case"MMM":t=P(2,k.Abbreviated);break;case"MMMM":t=P(2,k.Wide);break;case"MMMMM":t=P(2,k.Narrow);break;case"LLL":t=P(2,k.Abbreviated,ne.Standalone);break;case"LLLL":t=P(2,k.Wide,ne.Standalone);break;case"LLLLL":t=P(2,k.Narrow,ne.Standalone);break;case"w":t=ou(1);break;case"ww":t=ou(2);break;case"W":t=ou(1,!0);break;case"d":t=W(2,1);break;case"dd":t=W(2,2);break;case"c":case"cc":t=W(7,1);break;case"ccc":t=P(1,k.Abbreviated,ne.Standalone);break;case"cccc":t=P(1,k.Wide,ne.Standalone);break;case"ccccc":t=P(1,k.Narrow,ne.Standalone);break;case"cccccc":t=P(1,k.Short,ne.Standalone);break;case"E":case"EE":case"EEE":t=P(1,k.Abbreviated);break;case"EEEE":t=P(1,k.Wide);break;case"EEEEE":t=P(1,k.Narrow);break;case"EEEEEE":t=P(1,k.Short);break;case"a":case"aa":case"aaa":t=P(0,k.Abbreviated);break;case"aaaa":t=P(0,k.Wide);break;case"aaaaa":t=P(0,k.Narrow);break;case"b":case"bb":case"bbb":t=P(0,k.Abbreviated,ne.Standalone,!0);break;case"bbbb":t=P(0,k.Wide,ne.Standalone,!0);break;case"bbbbb":t=P(0,k.Narrow,ne.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(0,k.Abbreviated,ne.Format,!0);break;case"BBBB":t=P(0,k.Wide,ne.Format,!0);break;case"BBBBB":t=P(0,k.Narrow,ne.Format,!0);break;case"h":t=W(3,1,-12);break;case"hh":t=W(3,2,-12);break;case"H":t=W(3,1);break;case"HH":t=W(3,2);break;case"m":t=W(4,1);break;case"mm":t=W(4,2);break;case"s":t=W(5,1);break;case"ss":t=W(5,2);break;case"S":t=W(6,1);break;case"SS":t=W(6,2);break;case"SSS":t=W(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ui(0);break;case"ZZZZZ":t=Ui(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ui(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ui(2);break;default:return null}return iu[e]=t,t}function Fh(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function dC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function fC(e,t,n){let o=e.getTimezoneOffset(),i=Fh(t,o);return dC(e,-1*(i-o))}function pC(e){if(Dh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Wi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(tC))return hC(r)}let t=new Date(e);if(!Dh(t))throw new m(2311,!1);return t}function hC(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Dh(e){return e instanceof Date&&!isNaN(e.valueOf())}var gC=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Eh=22,qi=".",jr="0",mC=";",yC=",",su="#";function vC(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=$e(n,pe.Infinity);else{let u=IC(e);s&&(u=EC(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let j=i.match(gC);if(j===null)throw new m(2306,!1);let he=j[1],H=j[3],tt=j[5];he!=null&&(l=au(he)),H!=null&&(d=au(H)),tt!=null?p=au(tt):H!=null&&d>p&&(p=d);let Ue=100;if(l>Ue||d>Ue||p>Ue)throw new m(2306,!1)}CC(u,d,p);let f=u.digits,h=u.integerLen,I=u.exponent,y=[];for(c=f.every(j=>!j);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?y=f.splice(h,f.length):(y=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join($e(n,r)),y.length&&(a+=$e(n,o)+y.join("")),I&&(a+=$e(n,pe.Exponential)+"+"+I)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Ph(e,t,n){let r=Nh(t,uu.Decimal),o=DC(r,$e(t,pe.MinusSign));return vC(e,o,t,pe.Group,pe.Decimal,n)}function DC(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(mC),o=r[0],i=r[1],s=o.indexOf(qi)!==-1?o.split(qi):[o.substring(0,o.lastIndexOf(jr)+1),o.substring(o.lastIndexOf(jr)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(su));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===jr?n.minFrac=n.maxFrac=l+1:d===su?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(yC);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(su);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function EC(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function IC(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(qi))>-1&&(t=t.replace(qi,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===jr;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===jr;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Eh&&(r=r.splice(0,Eh-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function CC(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function au(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var cu=/\s+/,Ih=[],wC=(()=>{class e{_ngEl;_renderer;initialClasses=Ih;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(cu):Ih}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(cu):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(cu).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)(Q(en),Q(Fc))};static \u0275dir=An({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Zi=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}},Lh=(()=>{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 Zi(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),Ch(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);Ch(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(Q(vt),Q(gt),Q(tu))};static \u0275dir=An({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Ch(e,t){e.context.$implicit=t.item}var bC=(()=>{class e{_viewContainer;_context=new Yi;_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){wh(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){wh(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)(Q(vt),Q(gt))};static \u0275dir=An({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Yi=class{$implicit=null;ngIf=null};function wh(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var TC=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(be);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)(Q(vt))};static \u0275dir=An({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[gc]})}return e})();function jh(e,t){return new m(2100,!1)}var _C="mediumDate",Bh=new T(""),Vh=new T(""),MC=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??_C,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Oh(n,s,i||this.locale,a)}catch(s){throw jh(e,s.message)}}static \u0275fac=function(r){return new(r||e)(Q(Rn,16),Q(Bh,24),Q(Vh,24))};static \u0275pipe=Fi({name:"date",type:e,pure:!0})}return e})();var SC=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!NC(n))return null;o||=this._locale;try{let i=xC(n);return Ph(i,o,r)}catch(i){throw jh(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Q(Rn,16))};static \u0275pipe=Fi({name:"number",type:e,pure:!0})}return e})();function NC(e){return!(e==null||e===""||e!==e)}function xC(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var AC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ki({type:e});static \u0275inj=Jn({})}return e})();function lu(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 Br=class{};var xP="browser";var Et=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ki=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},Ji=class{encodeKey(t){return Hh(t)}encodeValue(t){return Hh(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function RC(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var OC=/%(\d[a-f0-9])/gi,kC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Hh(e){return encodeURIComponent(e).replace(OC,(t,n)=>kC[n]??t)}function Qi(e){return`${e}`}var et=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ji,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=RC(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Qi):[Qi(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Qi(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Qi(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function FC(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function $h(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Uh(e){return typeof Blob<"u"&&e instanceof Blob}function Gh(e){return typeof FormData<"u"&&e instanceof FormData}function PC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var zh="Content-Type",Wh="Accept",qh="text/plain",Zh="application/json",LC=`${Zh}, ${qh}, */*`,kn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(FC(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Et,this.context??=new Ki,!this.params)this.params=new et,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||$h(this.body)||Uh(this.body)||Gh(this.body)||PC(this.body)?this.body:this.body instanceof et?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Gh(this.body)?null:Uh(this.body)?this.body.type||null:$h(this.body)?null:typeof this.body=="string"?qh:this.body instanceof et?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Zh:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,I=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,j=t.reportProgress??this.reportProgress,he=t.headers||this.headers,H=t.params||this.params,tt=t.context??this.context;return t.setHeaders!==void 0&&(he=Object.keys(t.setHeaders).reduce((Ue,It)=>Ue.set(It,t.setHeaders[It]),he)),t.setParams&&(H=Object.keys(t.setParams).reduce((Ue,It)=>Ue.set(It,t.setParams[It]),H)),new e(n,r,y,{params:H,headers:he,context:tt,reportProgress:j,responseType:o,withCredentials:v,transferCache:h,keepalive:i,cache:a,priority:s,timeout:I,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},tn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(tn||{}),Pn=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Et,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},Xi=class e extends Pn{constructor(t={}){super(t)}type=tn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Vr=class e extends Pn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=tn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Fn=class extends Pn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},jC=200,BC=204;var VC=new T("");var HC=/^\)\]\}',?\n/;var fu=(()=>{class e{xhrFactory;tracingService=g(mt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return io(null).pipe(fs(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has(Wh)||s.setRequestHeader(Wh,LC),!n.headers.has(zh)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(zh,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new Et(s.getAllResponseHeaders()),j=s.responseURL||n.url;return c=new Xi({headers:v,status:s.status,statusText:y,url:j}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:v,statusText:j,url:he}=u(),H=null;v!==BC&&(H=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=H?jC:0);let tt=v>=200&&v<300;if(n.responseType==="json"&&typeof H=="string"){let Ue=H;H=H.replace(HC,"");try{H=H!==""?JSON.parse(H):null}catch(It){H=Ue,tt&&(tt=!1,H={error:It,text:H})}}tt?(i.next(new Vr({body:H,headers:y,status:v,statusText:j,url:he||void 0})),i.complete()):i.error(new Fn({error:H,headers:y,status:v,statusText:j,url:he||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:v}=u(),j=new Fn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(j)}),p=d;n.timeout&&(p=this.maybePropagateTrace(y=>{let{url:v}=u(),j=new Fn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(j)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let v={type:tn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)}),I=this.maybePropagateTrace(y=>{let v={type:tn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",I)),s.send(a),i.next({type:tn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",I)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(L(Br))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $C(e,t){return t(e)}function UC(e,t,n){return(r,o)=>gn(n,()=>t(r,i=>e(i,o)))}var Yh=new T("",{factory:()=>[]}),Qh=new T(""),Kh=new T("",{factory:()=>!0});var pu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(fu),o},providedIn:"root"})}return e})();var es=(()=>{class e{backend;injector;chain=null;pendingTasks=g(ur);contributeToStability=g(Kh);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Yh),...this.injector.get(Qh,[])]));this.chain=r.reduceRight((o,i)=>UC(o,i,this.injector),$C)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(uo(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(L(pu),L(se))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(es),o},providedIn:"root"})}return e})();function du(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var ts=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof kn)i=n;else{let c;o.headers instanceof Et?c=o.headers:c=new Et(o.headers);let u;o.params&&(o.params instanceof et?u=o.params:u=new et({fromObject:o.params})),i=new kn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=io(i).pipe(ls(c=>this.handler.handle(c)));if(n instanceof kn||o.observe==="events")return s;let a=s.pipe($n(c=>c instanceof Vr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(me(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(me(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(me(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(me(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new et().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,du(o,r))}post(n,r,o={}){return this.request("POST",n,du(o,r))}put(n,r,o={}){return this.request("PUT",n,du(o,r))}static \u0275fac=function(r){return new(r||e)(L(hu))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var GC=new T("",{factory:()=>!0}),zC="XSRF-TOKEN",WC=new T("",{factory:()=>zC}),qC="X-XSRF-TOKEN",ZC=new T("",{factory:()=>qC}),YC=(()=>{class e{cookieName=g(WC);doc=g(Ve);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=lu(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Jh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(YC),o},providedIn:"root"})}return e})();function QC(e,t){if(!g(GC)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(On).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(Jh).getToken(),r=g(ZC);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function KC(...e){let t=[ts,es,{provide:hu,useExisting:es},{provide:pu,useFactory:()=>g(VC,{optional:!0})??g(fu)},{provide:Yh,useValue:QC,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return rr(t)}function Xh(e,t){if(t){let n=e.find(r=>r.id===t);if(n)return n}return e.find(n=>n.isRoot)??e[0]??null}var gu="vsaf.project";function JC(){try{return localStorage.getItem(gu)}catch(e){return null}}function eg(e){try{e===null?localStorage.removeItem(gu):localStorage.setItem(gu,e)}catch(t){}}var tg=class e{http=g(ts);projects=Zt([]);selectedId=Zt(JC());loaded=Zt(!1);get currentId(){return this.selectedId()}get selectedProject(){let t=this.selectedId();return this.projects().find(n=>n.id===t)??null}load(){this.http.get("/api/projects").subscribe({next:t=>{let n=t?.projects??[];this.projects.set(n);let r=Xh(n,this.selectedId());this.selectedId.set(r?.id??null),eg(r?.id??null),this.loaded.set(!0)},error:()=>{this.projects.set([]),this.selectedId.set(null),this.loaded.set(!0)}})}select(t){this.selectedId.set(t),eg(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})};export{K as a,re as b,Hr as c,J as d,lg as e,S as f,we as g,Bn as h,Vn as i,rt as j,io as k,Ng as l,xg as m,Hn as n,me as o,Ag as p,Tt as q,us as r,fo as s,Og as t,Sg as u,$n as v,Lu as w,ls as x,ds as y,uo as z,Fg as A,Pg as B,Lg as C,fs as D,jg as E,Bg as F,m as G,pn as H,_o as I,M as J,Jn as K,Jg as L,T as M,L as N,g as O,rr as P,Zs as Q,se as R,gn as S,Al as T,Rl as U,zl as V,Wl as W,be as X,Ve as Y,qt as Z,pt as _,Ge as $,Y as aa,st as ba,Ke as ca,Zt as da,gc as ea,Zd as fa,yc as ga,en as ha,sy as ia,ay as ja,nf as ka,uy as la,rf as ma,Kt as na,Vy as oa,Uy as pa,iv as qa,mr as ra,yr as sa,mt as ta,uv as ua,Er as va,Fc as wa,Q as xa,vt as ya,vp as za,Dp as Aa,ZD as Ba,ki as Ca,An as Da,Cp as Ea,bp as Fa,cE as Ga,Pi as Ha,Mp as Ia,Ar as Ja,xp as Ka,dE as La,fE as Ma,pE as Na,hE as Oa,gE as Pa,Ap as Qa,Ei as Ra,Wc as Sa,Rp as Ta,qc as Ua,Zc as Va,Op as Wa,CE as Xa,Fp as Ya,ME as Za,NE as _a,xE as $a,Lp as ab,jp as bb,RE as cb,OE as db,kE as eb,Hp as fb,$p as gb,zE as hb,nI as ib,Zp as jb,Yc as kb,Yp as lb,Kp as mb,sI as nb,Jp as ob,lI as pb,dI as qb,fI as rb,gI as sb,yI as tb,DI as ub,EI as vb,ih as wb,wI as xb,TI as yb,sh as zb,gF as Ab,mF as Bb,zI as Cb,vF as Db,DF as Eb,Bi as Fb,YI as Gb,nu as Hb,Vi as Ib,vh as Jb,wC as Kb,Lh as Lb,bC as Mb,TC as Nb,MC as Ob,SC as Pb,AC as Qb,lu as Rb,Br as Sb,xP as Tb,ts as Ub,KC as Vb,tg as Wb};