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