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