@skill-map/cli 0.52.0 → 0.53.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.
Files changed (50) hide show
  1. package/dist/cli/tutorial/sm-tutorial/SKILL.md +239 -1659
  2. package/dist/cli/tutorial/sm-tutorial/references/_core.md +332 -0
  3. package/dist/cli/tutorial/sm-tutorial/references/_manifest.yml +175 -0
  4. package/dist/cli/tutorial/sm-tutorial/references/fixtures.md +251 -0
  5. package/dist/cli/tutorial/{sm-master/references/tour-authoring.md → sm-tutorial/references/part-authoring.md} +14 -15
  6. package/dist/cli/tutorial/sm-tutorial/references/part-cli.md +267 -0
  7. package/dist/cli/tutorial/sm-tutorial/references/part-connect-harness.md +180 -0
  8. package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +424 -0
  9. package/dist/cli/tutorial/sm-tutorial/references/part-live-site.md +156 -0
  10. package/dist/cli/tutorial/sm-tutorial/references/part-maintain.md +286 -0
  11. package/dist/cli/tutorial/sm-tutorial/references/part-mcp.md +78 -0
  12. package/dist/cli/tutorial/{sm-master/references/tour-plugins.md → sm-tutorial/references/part-plugins.md} +11 -11
  13. package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +186 -0
  14. package/dist/cli/tutorial/{sm-master/references/tour-settings.md → sm-tutorial/references/part-settings.md} +22 -24
  15. package/dist/cli.js +1213 -550
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +334 -207
  18. package/dist/kernel/index.d.ts +320 -15
  19. package/dist/kernel/index.js +334 -207
  20. package/dist/migrations/001_initial.sql +36 -0
  21. package/dist/ui/chunk-EQ72PEHT.js +1 -0
  22. package/dist/ui/chunk-GBKHMJ4B.js +1110 -0
  23. package/dist/ui/chunk-GEI6INVH.js +515 -0
  24. package/dist/ui/chunk-JXRIGHET.js +552 -0
  25. package/dist/ui/{chunk-WQMZOINB.js → chunk-K2MAVAHG.js} +1 -1
  26. package/dist/ui/{chunk-BV323KTK.js → chunk-KHARMPTZ.js} +1 -1
  27. package/dist/ui/chunk-L4NIF75A.js +2 -0
  28. package/dist/ui/chunk-LCOYSPKE.js +1 -0
  29. package/dist/ui/chunk-OFDQMBSJ.js +1 -0
  30. package/dist/ui/chunk-P2DAPRK7.js +2 -0
  31. package/dist/ui/chunk-Q2A6FWC7.js +4 -0
  32. package/dist/ui/{chunk-ZNDMBION.js → chunk-TXTY24G4.js} +28 -30
  33. package/dist/ui/chunk-UBQUCSQ4.js +1 -0
  34. package/dist/ui/chunk-WFLPMCK4.js +392 -0
  35. package/dist/ui/chunk-YQFIXHKM.js +123 -0
  36. package/dist/ui/index.html +2 -2
  37. package/dist/ui/{main-2DWVSRRX.js → main-OYITFJ7B.js} +3 -3
  38. package/dist/ui/{styles-QBTVKEVX.css → styles-Q4NCOJQY.css} +1 -1
  39. package/migrations/001_initial.sql +36 -0
  40. package/package.json +10 -8
  41. package/dist/cli/tutorial/sm-master/SKILL.md +0 -688
  42. package/dist/cli/tutorial/sm-master/references/fixture-templates.md +0 -212
  43. package/dist/ui/chunk-5MCXQKRN.js +0 -1066
  44. package/dist/ui/chunk-6B5EAHIM.js +0 -1110
  45. package/dist/ui/chunk-AEA5GIA7.js +0 -1
  46. package/dist/ui/chunk-AQN27TN2.js +0 -123
  47. package/dist/ui/chunk-CAJ7ZI44.js +0 -1
  48. package/dist/ui/chunk-E2XO4JVD.js +0 -1
  49. package/dist/ui/chunk-VJ57LHDR.js +0 -4
  50. package/dist/ui/chunk-WMGW2UAL.js +0 -2
@@ -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{dl(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)dl(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 dl(e){E(e)?e():e.unsubscribe()}function Yh(e){return E(e?.lift)}function S(e){return t=>{if(Yh(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 fl=$i("C",void 0,void 0);function pl(e){return $i("E",void 0,e)}function hl(e){return $i("N",e,void 0)}function $i(e,t,n){return{kind:e,value:t,error:n}}var ut=null;function zt(e){if(ge.useDeprecatedSynchronousErrorHandling){let t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ut;if(ut=null,n)throw r}}else e()}function gl(e){ge.useDeprecatedSynchronousErrorHandling&&ut&&(ut.errorThrown=!0,ut.error=e)}var dt=class extends X{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Mr(t)&&t.add(this)):this.destination=Xh}static create(t,n,r){return new me(t,n,r)}next(t){this.isStopped?Wi(hl(t),this):this._next(t)}error(t){this.isStopped?Wi(pl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Wi(fl,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()}}},Kh=Function.prototype.bind;function Ui(e,t){return Kh.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 dt{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?gl(e):_r(e)}function Jh(e){throw e}function Wi(e,t){let{onStoppedNotification:n}=ge;n&&Gt.setTimeout(()=>n(e,t))}var Xh={closed:!0,next:xn,error:Jh,complete:xn};function A(e,t,n,r,o){return new Gi(e,t,n,r,o)}var Gi=class extends dt{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 eg(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 tg(...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 _=(()=>{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=rg(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=ml(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=ml(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 ml(e){var t;return(t=e??ge.Promise)!==null&&t!==void 0?t:Promise}function ng(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function rg(e){return e&&e instanceof dt||ng(e)&&Mr(e)}var yl=qt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ve=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Sr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new yl}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 _;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 _(e=>e.complete());function vl(e){return e&&E(e.schedule)}function El(e){return e[e.length-1]}function xr(e){return E(El(e))?e.pop():void 0}function ze(e){return vl(El(e))?e.pop():void 0}function cb(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 Dl(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 Il(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 ft(e){return this instanceof ft?(this.v=e,this):new ft(e)}function Cl(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 ft?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 Tl(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 Il=="function"?Il(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 og(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Pr=og();function Lr(e){return E(e?.[Pr])}function Fr(e){return Cl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ft(n.read());if(o)return yield ft(void 0);yield yield ft(r)}}finally{n.releaseLock()}})}function jr(e){return E(e?.getReader)}function L(e){if(e instanceof _)return e;if(e!=null){if(Rr(e))return ig(e);if(Zt(e))return sg(e);if(Ar(e))return ag(e);if(kr(e))return bl(e);if(Lr(e))return cg(e);if(jr(e))return lg(e)}throw Or(e)}function ig(e){return new _(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 sg(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ag(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,_r)})}function cg(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function bl(e){return new _(t=>{ug(e,t).catch(n=>t.error(n))})}function lg(e){return bl(Fr(e))}function ug(e,t){var n,r,o,i;return Dl(this,void 0,void 0,function*(){try{for(n=Tl(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 wl(e,t){return L(e).pipe(Hr(t),Vr(t))}function Ml(e,t){return L(e).pipe(Hr(t),Vr(t))}function _l(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Nl(e,t){return new _(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=>{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 Sl(e,t){return Br(Fr(e),t)}function xl(e,t){if(e!=null){if(Rr(e))return wl(e,t);if(Zt(e))return _l(e,t);if(Ar(e))return Ml(e,t);if(kr(e))return Br(e,t);if(Lr(e))return Nl(e,t);if(jr(e))return Sl(e,t)}throw Or(e)}function Qe(e,t){return t?xl(e,t):L(e)}function dg(...e){let t=ze(e);return Qe(e,t)}function fg(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function pg(e){return!!e&&(e instanceof _||E(e.lift)&&E(e.subscribe))}var pt=qt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function hg(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 pt)}});e.subscribe(i)})}function ht(e,t){return S((n,r)=>{let o=0;n.subscribe(A(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:gg}=Array;function mg(e,t){return gg(t)?e(...t):e(t)}function Yt(e){return ht(t=>mg(e,t))}var{isArray:yg}=Array,{getPrototypeOf:vg,prototype:Eg,keys:Ig}=Object;function $r(e){if(e.length===1){let t=e[0];if(yg(t))return{args:t,keys:null};if(Dg(t)){let n=Ig(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Dg(e){return e&&typeof e=="object"&&vg(e)===Eg}function Ur(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Cg(...e){let t=ze(e),n=xr(e),{args:r,keys:o}=$r(e);if(r.length===0)return Qe([],t);let i=new _(Tg(r,t,o?s=>Ur(o,s):ye));return n?i.pipe(Yt(n)):i}function Tg(e,t,n=ye){return r=>{Al(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Al(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 Al(e,t,n){e?oe(n,e,t):t()}function Rl(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)=>ht((i,s)=>t(r,i,o,s))(L(e(r,o))),n):(typeof t=="number"&&(n=t),S((r,o)=>Rl(r,o,e,n)))}function kl(e=1/0){return Fe(ye,e)}function Ol(){return kl(1)}function Wr(...e){return Ol()(Qe(e,ze(e)))}function bg(e){return new _(t=>{L(e()).subscribe(t)})}function wg(...e){let t=xr(e),{args:n,keys:r}=$r(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;L(n[u]).subscribe(A(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ur(r,a):a),i.complete())}))}});return t?o.pipe(Yt(t)):o}var Mg=["addListener","removeListener"],_g=["addEventListener","removeEventListener"],Ng=["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]=Ag(e)?_g.map(s=>a=>e[s](t,a,n)):Sg(e)?Mg.map(Pl(e,t)):xg(e)?Ng.map(Pl(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 _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Pl(e,t){return n=>r=>e[n](t,r)}function Sg(e){return E(e.addListener)&&E(e.removeListener)}function xg(e){return E(e.on)&&E(e.off)}function Ag(e){return E(e.addEventListener)&&E(e.removeEventListener)}function Ll(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,Ll(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Rg(e,t){return E(t)?Fe(e,t,1):Fe(e,1)}function Fl(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 jl(e=kg){return S((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function kg(){return new pt}function Og(e){return S((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Pg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?zi((o,i)=>e(o,i,r)):ye,Yi(1),n?Fl(t):jl(()=>new pt))}function Lg(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 Fg(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 jg(...e){let t=ze(e);return S((n,r)=>{(t?Wr(e,n,t):Wr(e,n)).subscribe(r)})}function Vg(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 Hg(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,Bg=null,U=Symbol("SIGNAL");function v(e){let t=K;return K=e,t}function Zr(){return K}var gt={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||Ug(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&&$l(e,s)}function Vl(){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||$g(r)}}finally{qr=t}}function es(){return K?.consumerAllowSignalWrites!==!1}function $g(e){e.dirty=!0,Xi(e),e.consumerMarkedDirty?.(e)}function Qr(e){e.dirty=!1,e.lastCleanEpoch=Ji}function Ye(e){return e&&Hl(e),v(e)}function Hl(e){e.producersTail=void 0,e.recomputing=!0}function mt(e,t){v(t),e&&Bl(e)}function Bl(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 $l(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)$l(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){Bg?.(e)}function Ug(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(Wg);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"),Wg=Z(Q({},gt),{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{mt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function qg(){throw new Error}var Ul=qg;function Wl(e){Ul(e)}function ns(e){Ul=e}var Gg=null;function rs(e,t){let n=Object.create(Pn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>ql(n);return r[U]=n,Kr(n),[r,s=>yt(n,s),s=>os(n,s)]}function ql(e){return Ze(e),e.value}function yt(e,t){es()||Wl(e),e.equal(e.value,t)||(e.value=t,zg(e))}function os(e,t){es()||Wl(e),yt(e,t(e.value))}var Pn=Z(Q({},gt),{equal:Jr,value:void 0,kind:"signal"});function zg(e){e.version++,Vl(),Xi(e),Gg?.(e)}var is=Z(Q({},gt),{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{mt(e,t)}}var as;function Xr(){return as}function _e(e){let t=as;return as=e,t}var Gl=Symbol("NotFound");function Xt(e){return e===Gl||e?.name==="\u0275NotFound"}function zl(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(".")}},Qg=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 Zg(e){return`NG0${Math.abs(e)}`}function $n(e,t){return`${Zg(e)}${t?": "+t:""}`}var tn=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function Jl(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 Yg=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(Yg)&&e.__forward_ref__===lo}function q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Xl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wn(e){return Jg(e,uo)}function Kg(e){return Wn(e)!==null}function Jg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Xg(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}),N=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=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}),Tt=R({__NG_ELEMENT_ID__:R}),Ql=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 eu=R({ngErrorCode:R}),em=R({ngErrorMessage:R}),tm=R({ngTokenPath:R});function Ns(e,t){return tu("",-200,t)}function po(e,t){throw new C(-201,!1)}function tu(e,t,n){let r=new C(t,e);return r[eu]=t,r[em]=e,n&&(r[tm]=n),r}function nm(e){return e[eu]}var us;function nu(){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 rm={},vt=rm,om="__NG_DI_FLAG__",ds=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Et(n)||0;try{return this.injector.get(t,r&8?null:vt,r)}catch(o){if(Xt(o))return o;throw o}}};function im(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=sm(t),o=n.retrieve(e,r);if(Xt(o)){if(r.optional)return null;throw o}return o}}function Ne(e,t=0){return(nu()||im)(G(e),t)}function I(e,t){return Ne(e,Et(t))}function Et(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sm(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=am(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 am(e){return e[om]}function It(e,t){let n=e.hasOwnProperty(Fn);return n?e[Fn]:null}function ru(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 ou(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 iu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function su(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,su(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 cm(e,t,1)}function cm(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 N(""),As=new N("",-1),Rs=new N(""),jn=class{get(t,n=vt){if(n===vt){let o=tu("",-201);throw o.name="\u0275NotFound",o}return n}};function Qn(e){return{\u0275providers:e}}function au(e){return Qn([{provide:rn,multi:!0,useValue:e}])}function cu(...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&&lu(o,i),n}function lu(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&&lu(l,t)}if(!a){let l=It(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 lm=R({provide:String,useValue:R});function uu(e){return e!==null&&typeof e=="object"&&lm in e}function um(e){return!!(e&&e.useExisting)}function dm(e){return!!(e&&e.useFactory)}function Dt(e){return typeof e=="function"}function du(e){return!!e.useClass}var Os=new N(""),eo={},Zl={},cs;function Zn(){return cs===void 0&&(cs=new jn),cs}var se=class{},Ct=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=Et(n)||0;try{return this.get(t,vt,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=vt,r){if(Ln(this),t.hasOwnProperty(Ql))return t[Ql](this);let o=Et(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=mm(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===vt?null:n,c.get(t,n)}catch(c){let l=nm(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=Dt(t)?t:G(t&&t.provide),r=pm(t);if(!Dt(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===Zl)throw Ns("");return n.value===eo&&(n.value=Zl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&gm(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:It(e);if(n!==null)return n;if(e instanceof N)throw new C(-204,!1);if(e instanceof Function)return fm(e);throw new C(-204,!1)}function fm(e){if(e.length>0)throw new C(-204,!1);let n=Xg(e);return n!==null?()=>n.factory(e):()=>new e}function pm(e){if(uu(e))return en(void 0,e.useValue);{let t=Ps(e);return en(t,eo)}}function Ps(e,t,n){let r;if(Dt(e)){let o=G(e);return It(o)||ps(o)}else if(uu(e))r=()=>G(e.useValue);else if(dm(e))r=()=>e.useFactory(...fs(e.deps||[]));else if(um(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(hm(e))r=()=>new o(...fs(e.deps));else return It(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 hm(e){return!!e.deps}function gm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function mm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function 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 Ct?(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 nu()!==void 0||Xr()!=null}function ym(e){if(!Ls())throw new C(-203,!1)}var De=0,m=1,D=2,W=3,de=4,ee=5,bt=6,on=7,H=8,B=9,Ce=10,k=11,sn=12,Fs=13,wt=14,te=15,et=16,Mt=17,Re=18,ke=19,js=20,Ve=21,vo=22,Je=23,ce=24,_t=25,Oe=26,O=27,fu=1,tt=6,nt=7,Yn=8,Nt=9,j=10;function Be(e){return Array.isArray(e)&&typeof e[fu]=="object"}function Te(e){return Array.isArray(e)&&e[fu]===!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",pu="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 hu(e){return(e[D]&4)===4}function Io(e){return(e[D]&128)===128}function gu(e){return Te(e[W])}function ue(e,t){return t==null?null:e[t]}function Us(e){e[Mt]=0}function Ws(e){e[D]&1024||(e[D]|=1024,Io(e)&&St(e))}function mu(e,t){for(;e>0;)t=t[wt],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)&&St(e)}function St(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 yu(e,t,n,r){let o=Gs(t);o.push(n),e.firstCreatePass&&zs(e).push(r,o.length-1)}var T={lFrame:Su(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gs=!1;function vu(){return T.lFrame.elementDepthCount}function Eu(){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 Iu(e){return T.lFrame.contextLView=e,e[H]}function Du(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 Cu(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function xt(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 Tu(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 bu(){return T.lFrame.inI18n}function wu(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,bo(t)}function Mu(){return T.lFrame.currentDirectiveIndex}function bo(e){T.lFrame.currentDirectiveIndex=e}function _u(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 vm(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=vm(i),o===null||(i=i[wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=Nu();return r.currentTNode=t,r.lView=e,!0}function Mo(e){let t=Nu(),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 Nu(){let e=T.lFrame,t=e===null?null:e.child;return t===null?Su(e):t}function Su(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 xu(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ia=xu;function _o(){let e=xu();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 Au(e){return(T.lFrame.contextLView=mu(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 Ru(){T.lFrame.currentNamespace=Hs}function ku(){Em()}function Em(){T.lFrame.currentNamespace=null}function Ou(){return T.lFrame.currentNamespace}var Pu=!0;function No(){return Pu}function er(e){Pu=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,cu(e)],s;return new Ct(i,t||Zn(),s||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=vt;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 N(""),Pe=(()=>{class e{static __NG_ELEMENT_ID__=Im;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 Im(){return new oo(g())}var Lu=!1,Fu=new N(""),At=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new An(!1);debugTaskTracker=I(Fu,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new _(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=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(At,{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 ju(e){return queueMicrotask(()=>e()),()=>{e=io}}var ca="isAngularZone",Hn=ca+"_ID",Dm=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=Lu}=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,bm(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,Cm,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)}},Cm={};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 Tm(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 bm(e){let t=()=>{Tm(e)},n=Dm++;e._inner=e._inner.fork({name:"angular",properties:{[ca]:!0,[Hn]:n,[Hn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(wm(c))return r.invokeTask(i,s,a,c);try{return Yl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Kl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Yl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Mm(c)&&t(),Kl(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 Yl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kl(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 wm(e){return Vu(e,"__ignore_ng_zone__")}function Mm(e){return Vu(e,"__scheduler_tick__")}function Vu(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 N("",{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))})}}}),Hu={provide:rn,useValue:()=>{let e=I(He,{optional:!0})},multi:!0},_m=new N("",{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 Nm(){return Qn([au(()=>{I(_m)})])}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__=Sm}return e})();function Sm(){return new dn(g(),F())}var Se=class{},tr=new N("",{factory:()=>!0});var ua=new N(""),Ro=(()=>{class e{internalPendingTasks=I(At);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 Bu(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=Rm(i.view,s,e),r instanceof oo&&r._lView===i.view&&(r=null)):o=km(e,n.get(ko),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new so(o)}var $u=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)}}}),xm=Z(Q({},$u),{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)}}),Am=Z(Q({},$u),{consumerMarkedDirty(){this.view[D]|=8192,St(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 Rm(e,t,n){let r=Object.create(Am);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Uu(r,n),e[Je]??=new Set,e[Je].add(r),r.consumerMarkedDirty(r),r}function km(e,t,n){let r=Object.create(xm);return r.fn=Uu(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 Uu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function mr(e){return{toString:e}.toString()}function Hm(e){return typeof e=="function"}function Ld(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}},Bm=(()=>{let e=()=>Fd;return e.ngInherit=!0,e})();function Fd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Um),$m}function $m(){let e=Vd(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 Um(e,t,n,r,o){let i=this.declaredInputs[r],s=Vd(e)||Wm(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),Ld(e,t,o,n)}var jd="__ngSimpleChanges__";function Vd(e){return e[jd]||null}function Wm(e,t){return e[jd]=t}var Wu=[];var x=function(e,t=null,n){for(let r=0;r<Wu.length;r++){let o=Wu[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 qm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Fd(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 Hd(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){Bd(e,t,3,n)}function Vo(e,t,n,r){(e[D]&3)===n&&Bd(e,t,n,r)}function da(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Bd(e,t,n,r){let o=r!==void 0?e[Mt]&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[Mt]+=65536),(a<i||i==-1)&&(Gm(e,n,t,c),e[Mt]=(e[Mt]&4294901760)+c+2),c++}function qu(e,t){x(M.LifecycleHookStart,e,t);let n=v(null);try{t.call(e)}finally{v(n),x(M.LifecycleHookEnd,e,t)}}function Gm(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[Mt]>>16&&(e[D]&3)===t&&(e[D]+=16384,qu(a,i)):qu(a,i)}var pn=-1,Pt=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 Qm(e){return(e.flags&16)!==0}function Zm(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];Km(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ym(e){return e===3||e===4||e===6}function Km(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?Gu(e,n,o,null,t[++r]):Gu(e,n,o,null,null))}}return e}function Gu(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 $d(e){return e!==pn}function zo(e){return e&32767}function Jm(e){return e>>16}function Qo(e,t){let n=Jm(e),r=t;for(;n>0;)r=r[wt],n--;return r}var Ta=!0;function zu(e){let t=Ta;return Ta=e,t}var Xm=256,Ud=Xm-1,Wd=5,ey=0,Le={};function ty(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Tt)&&(r=n[Tt]),r==null&&(r=n[Tt]=ey++);let o=r&Ud,i=1<<o;t.data[e+(o>>Wd)]|=i}function Zo(e,t){let n=qd(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($d(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 qd(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=Yd(o),r===null)return pn;if(n++,o=o[wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return pn}function ba(e,t,n){ty(e,t,n)}function Gd(e,t,n){if(n&8||e!==void 0)return e;po(t,"NodeInjector")}function zd(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 Gd(r,t,n)}function Qd(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=sy(e,t,n,r,Le);if(s!==Le)return s}let i=Zd(e,t,n,r,Le);if(i!==Le)return i}return zd(t,n,r,o)}function Zd(e,t,n,r,o){let i=ry(n);if(typeof i=="function"){if(!oa(t,e,r))return r&1?Gd(o,n,r):zd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))po(n);else return s}finally{ia()}}else if(typeof i=="number"){let s=null,a=qd(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||!Zu(r,!1)?a=-1:(s=t[m],a=zo(c),t=Qo(c,t)));a!==-1;){let u=t[m];if(Qu(i,a,u.data)){let d=ny(a,t,n,s,r,l);if(d!==Le)return d}c=t[a+8],c!==pn&&Zu(r,t[m].data[a+8]===l)&&Qu(i,a,t)?(s=u,a=zo(c),t=Qo(c,t)):a=-1}}return o}function ny(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 Pt){let a=i;if(a.resolving)throw Ns("");let c=zu(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&&qm(n,s[n],t)}finally{d!==null&&ie(d),zu(c),a.resolving=!1,ia()}}return i}function ry(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Tt)?e[Tt]:void 0;return typeof t=="number"?t>=0?t&Ud:oy:t}function Qu(e,t,n){let r=1<<e;return!!(n[t+(e>>Wd)]&r)}function Zu(e,t){return!(e&2)&&!(e&1&&t)}var kt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Qd(this._tNode,this._lView,t,Et(r),n)}};function oy(){return new kt(F(),g())}function iy(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()}:It(e)}function sy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!cn(s);){let a=Zd(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=Yd(s),s=s[wt]}i=c}return o}function Yd(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function ay(){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__=ay}return e})();function Kd(e){return e instanceof yr?e.nativeElement:e}function cy(){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=ou(t);(this._changesDetected=!ru(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]=cy};function Jd(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||{}),Xd=new Map,ly=0;function uy(){return ly++}function dy(e){Xd.set(e[ke],e)}function Ma(e){Xd.delete(e[ke])}var Yu="__ngContext__";function mn(e,t){Be(t)?(e[Yu]=t[ke],dy(t)):e[Yu]=t}function ef(e){return nf(e[sn])}function tf(e){return nf(e[de])}function nf(e){for(;e!==null&&!Te(e);)e=e[de];return e}var _a;function fy(e){_a=e}function rf(){if(_a!==void 0)return _a;if(typeof document<"u")return document;throw new C(210,!1)}var py=new N("",{factory:()=>hy}),hy="ng";var of=new N(""),gy=new N("",{providedIn:"platform",factory:()=>"unknown"});var my=new N("",{factory:()=>I(So).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),sf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},yy=new N("",{factory:()=>sf});var af="r";var ac="di",cc="s";var cf=!1,lf=new N("",{factory:()=>cf});var uf=new N("");var vy=(e,t,n,r)=>{};function Ey(e,t,n,r){vy(e,t,n,r)}var df=new N("");function fi(e){return(e.flags&32)===32}var Iy=()=>null;function ff(e,t,n=!1){return Iy(e,t,n)}function lc(e){return e.get(uf,!1,{optional:!0})}function pf(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 Lt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Lt||{});var Oo;function Dy(){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 Dy()?.createHTML(e)||e}var Po;function Cy(){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 Ku(e){return Cy()?.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=hf(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 hf(e){return e instanceof qe&&e.getTypeName()||null}function Ty(e){return new Sa(e)}function by(e){return new xa(e)}function wy(e){return new Aa(e)}function My(e){return new Ra(e)}function _y(e){return new ka(e)}function Ny(e){let t=new Pa(e);return Sy()?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 Sy(){try{return!!new window.DOMParser().parseFromString(pi(""),"text/html")}catch{return!1}}var xy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fc(e){return e=String(e),e.match(xy)?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 gf=Ge("area,br,col,hr,img,wbr"),mf=Ge("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yf=Ge("rp,rt"),Ay=vr(yf,mf),Ry=vr(mf,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")),ky=vr(yf,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")),Ju=vr(gf,Ry,ky,Ay),vf=Ge("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Oy=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"),Py=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"),Ly=vr(vf,Oy,Py),Fy=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=Hy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Vy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Xu(t).toLowerCase();if(!Ju.hasOwnProperty(n))return this.sanitizedSomething=!0,!Fy.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(!Ly.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;vf[a]&&(c=fc(c)),this.buf.push(" ",s,'="',ed(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Xu(t).toLowerCase();Ju.hasOwnProperty(n)&&!gf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ed(t))}};function jy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Vy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ef(t);return t}function Hy(e){let t=e.firstChild;if(t&&jy(e,t))throw Ef(t);return t}function Xu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ef(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var By=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$y=/([^\#-~ |!])/g;function ed(e){return e.replace(/&/g,"&amp;").replace(By,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace($y,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Lo;function If(e,t){let n=null;try{Lo=Lo||Ny(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(td(n)||n);return pi(a)}finally{if(n){let r=td(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function td(e){return"content"in e&&Uy(e)?e.content:null}function Uy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Wy=/^>|^->|<!--|-->|--!>|<!-$/g,qy=/(<|>)/g,Gy="\u200B$1\u200B";function zy(e){return e.replace(Wy,t=>t.replace(qy,Gy))}function Qy(e,t){return e.createText(t)}function Zy(e,t,n){e.setValue(t,n)}function Yy(e,t){return e.createComment(zy(t))}function Df(e,t,n){return e.createElement(t,n)}function Ko(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Cf(e,t,n){e.appendChild(t,n)}function nd(e,t,n,r,o){r!==null?Ko(e,t,n,r,o):Cf(e,t,n)}function Tf(e,t,n,r){e.removeChild(null,t,n,r)}function Ky(e,t,n){e.setAttribute(t,"style",n)}function Jy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function bf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Zm(e,t,r),o!==null&&Jy(e,t,o),i!==null&&Ky(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 Xy(e){let t=wf();return t?Ku(t.sanitize(hi.HTML,e)||""):dc(e,"HTML")?Ku(bn(e)):If(rf(),Ae(e))}function ev(e){let t=wf();return t?t.sanitize(hi.URL,e)||"":dc(e,"URL")?bn(e):fc(Ae(e))}function wf(){let e=g();return e&&e[Ce].sanitizer}function tv(e){return e.ownerDocument}function Mf(e){return e instanceof Function?e():e}function nv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var _f="ng-template";function rv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&nv(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!==_f}function ov(e,t,n){let r=e.type===4&&!n?_f:e.value;return t===r}function iv(e,t,n){let r=4,o=e.attrs,i=o!==null?cv(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!==""&&!ov(e,c,n)||c===""&&t.length===1){if(we(r))return!1;s=!0}}else if(r&8){if(o===null||!rv(e,o,c,n)){if(we(r))return!1;s=!0}}else{let l=t[++a],u=sv(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 sv(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 lv(t,e)}function Nf(e,t,n=!1){for(let r=0;r<t.length;r++)if(iv(e,t[r],n))return!0;return!1}function av(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function cv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ym(n))return t}return e.length}function lv(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 uv(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 rd(e,t){return e?":not("+t.trim()+")":t}function dv(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+=rd(i,o),o=""),r=s,i=i||!we(r);n++}return o!==""&&(t+=rd(i,o)),t}function fv(e){return e.map(dv).join(",")}function pv(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=hv(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 hv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Y);return n}function gv(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[wt]=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]=uy(),d[bt]=u,d[js]=l,d[te]=t.type==2?e[te]:d,d}function mv(e,t,n){let r=le(t,e),o=gv(n),i=e[Ce].rendererFactory,s=mc(e,gc(e,o,null,Sf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Sf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function xf(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 yv(e=1){Af(P(),g(),he()+e,!1)}function Af(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):Ld(t,c,i,r)}finally{v(o)}}var Jo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Jo||{}),vv;function yc(e,t){return vv(e,t)}var Rf=new N("",{factory:()=>!1});var Ev=!1,Er=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function kf(e){return e[B].get(Rf,Ev)}function Iv(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)}Ot.delete(e)}var yn=new WeakMap,Ot=new WeakMap,sr=new WeakMap,nr=new WeakSet;function od(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 Dv(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 Of(e,t){let n=sr.get(e);n?n.includes(t)||n.push(t):sr.set(e,[t])}function id(e){let t=e[Oe]??={};return t.enter??=new Map}function mi(e){let t=e[Oe]??={};return t.leave??=new Map}function Pf(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 Cv(e,t){if(!Er)return;let n=yn.get(e);if(n&&n.classList.length>0&&Tv(e,n.classList))for(let r of n.classList)t.removeClass(e,r);vc(e)}function Tv(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=Ot.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 Lf(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function sd(e,t){if(e)for(let n of e)n();for(let n of t)n()}function ad(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 Rt(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function bv(e){let t=Rt(e,"transition-property"),n=Rt(e,"transition-duration"),r=Rt(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 wv(e){let t=Rt(e,"animation-name"),n=Rt(e,"animation-delay"),r=Rt(e,"animation-duration"),o=Rt(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 Ff(e,t){return e!==void 0&&e.duration>t.duration}function jf(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function Mv(e,t){let n=getComputedStyle(e),r=wv(n),o=bv(n),i=r.duration>o.duration?r:o;Ff(t.get(e),i)||jf(i)&&t.set(e,i)}function Vf(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?Mv(e,t):_v(e,t,r)}function _v(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})}Ff(t.get(e),r)||jf(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||{}),Bt=new N(""),cd=new Set;function Me(e){cd.has(e)||(cd.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(Bt,{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[_t]??=[]).push(n),St(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?.[_t];t&&(this.view[_t]=t.filter(n=>n!==this))}};function Hf(e,t){let n=t?.injector??I(Ee);return Me("NgAfterNextRender"),Sv(e,n,t,!0)}function Nv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Sv(e,t,n,r){let o=t.get(vi);o.impl??=t.get(Dc);let i=t.get(Bt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Pe):null,a=t.get(dn,null,{optional:!0}),c=new cr(o.impl,Nv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ei=new N("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:I(se)})});function Bf(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 xv(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 Av(e){let t=e.get(Ei);t.isScheduled||(Hf(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function $f(e){let t=e.get(Ei);t.scheduler=Av,t.scheduler(e)}function Uf(e,t){for(let[n,r]of t)Bf(e,r.animateFns)}function ld(e,t,n,r){let o=e?.[Oe]?.enter;t!==null&&o&&o.has(n.index)&&Uf(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?(ld(a,r,i,n),s==null?Cf(t,r,u):Ko(t,r,u,s||null,!0)):e===1&&r!==null?(ld(a,r,i,n),Ko(t,r,u,s||null,!0),Dv(i,u)):e===2?(a?.[Oe]?.leave?.has(i.index)&&Of(i,u),nr.delete(u),ud(a,i,n,d=>{if(nr.has(u)){nr.delete(u);return}Tf(t,u,l,d)})):e===3&&(nr.delete(u),ud(a,i,n,()=>{t.destroyNode(u)})),c!=null&&$v(t,e,n,c,i,r,s)}}function Rv(e,t){Wf(e,t),t[De]=null,t[ee]=null}function kv(e,t,n,r,o,i){r[De]=o,r[ee]=t,Di(e,r,n,1,o,i)}function Wf(e,t){t[Ce].changeDetectionScheduler?.notify(9),Di(e,t,t[k],2,null,null)}function Ov(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[Nt],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),Ov(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]),Fv(e,t),Lv(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 ud(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]),Bf(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),Pv(e,r)}else e&&vn.delete(e[ke]),r(!1)},o)}function Pv(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 Lv(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 Fv(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 Pt)){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 qf(e,t,n){return jv(e,t.parent,n)}function jv(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===Lt.None||o===Lt.Emulated)return null}return le(r,n)}function Gf(e,t,n){return Hv(e,t,n)}function Vv(e,t,n){return e.type&40?le(e,n):null}var Hv=Vv,dd;function Tc(e,t,n,r){let o=qf(e,r,t),i=t[k],s=r.parent||t[ee],a=Gf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)nd(i,o,n[c],a,!1);else nd(i,o,n,a,!1);dd!==void 0&&dd(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=zf(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 zf(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?Qf(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 Bv(e,t,n){let r=t[k],o=qf(e,n,t),i=n.parent||t[ee],s=Gf(i,n,t);Qf(r,0,t,n,o,s)}function Qf(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];Jd(r)&&(l.flags|=128),bc(e,t,l,u,o,i,!0)}}function $v(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 Uv(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 Zf(e,t,n,r,o){let i=he(),s=r&2;try{ot(-1),s&&t.length>O&&Af(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){Zv(e,t,n),(n.flags&64)===64&&Yv(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 Wv(e,t,n,r){let i=r.get(lf,cf)||n===Lt.ShadowDom||n===Lt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return qv(s),s}function qv(e){Gv(e)}var Gv=()=>null;function zv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Yf(e,t,n,r,o,i){let s=t[m];if(_c(e,s,t,n,r)){$e(e)&&Qv(t,e.index);return}e.type&3&&(n=zv(n)),Kf(e,t,n,r,o,i)}function Kf(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 Qv(e,t){let n=pe(t,e);n[D]&16||(n[D]|=64)}function Zv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;$e(n)&&mv(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&&eE(t,s-r,c,a,n,i),be(a)){let l=pe(n.index,t);l[H]=ir(t,e,s,n)}}}function Yv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Mu();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)&&Kv(c,l)}}finally{ot(-1),bo(s)}}function Kv(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];Nf(t,i.selectors,!1)&&(r??=[],be(i)?r.unshift(i):r.push(i))}return r}function Jv(e,t,n,r,o,i){let s=le(e,t);Xv(t[k],s,i,e.value,n,r,o)}function Xv(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 eE(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,xt(e,!0);let c=e.type===2;return c?(bf(t[k],a,e),(vu()===0||an(e))&&mn(a,t),Eu()):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,xt(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 tE(e,t){let n=pe(t,e),r=n[m];nE(r,n);let o=n[De];o!==null&&n[bt]===null&&(n[bt]=ff(o,n[B])),x(M.ComponentStart);try{Nc(r,n,n[H])}finally{x(M.ComponentEnd,n[H])}}function nE(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&&Zf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Re]?.finishViewCreation(e),e.staticContentQueries&&pf(e,t),e.staticViewQueries&&Na(2,e.viewQuery,n);let i=e.components;i!==null&&rE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,_o()}}function rE(e,t){for(let n=0;n<t.length;n++)tE(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 Ft(e,t){return!t||t.firstChild===null||Jd(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)&&Jf(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=zf(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 Jf(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 Xf(e){if(e[_t]!==null){for(let t of e[_t])t.impl.addSequence(t);e[_t].length=0}}var ep=[];function oE(e){return e[ce]??iE(e)}function iE(e){let t=ep.pop()??Object.create(aE);return t.lView=e,t}function sE(e){e.lView[ce]!==e&&(e.lView=null,ep.push(e))}var aE=Z(Q({},gt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{St(e.lView)},consumerOnSignalRead(){this.lView[ce]=this}});function cE(e){let t=e[ce]??Object.create(lE);return t.lView=e,t}var lE=Z(Q({},gt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Xe(e.lView);for(;t&&!tp(t[m]);)t=Xe(t);t&&Ws(t)},consumerOnSignalRead(){this.lView[ce]=this}});function tp(e){return e.type!==2}function np(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 uE=100;function rp(e,t=0){let r=e[Ce].rendererFactory,o=!1;o||r.begin?.();try{dE(e,t)}finally{o||r.end?.()}}function dE(e,t){let n=na();try{Vn(!0),Va(e,t);let r=0;for(;Kn(e);){if(r===uE)throw new C(103,!1);r++,Va(e,1)}}finally{Vn(n)}}function fE(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||(tp(e)?(l=oE(t),c=Ye(l)):Zr()===null?(a=!1,l=cE(t),c=Ye(l)):t[ce]&&(Ke(t[ce]),t[ce]=null));try{Us(t),Tu(e.bindingStartIndex),n!==null&&Zf(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||pE(t),np(t),op(t,0),e.contentQueries!==null&&pf(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)}gE(e,t);let d=e.components;d!==null&&sp(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||(Xf(t),t[D]&=-73)}catch(u){throw i||St(t),u}finally{l!==null&&(mt(l,c),a&&sE(l)),_o()}}function op(e,t){for(let n=ef(e);n!==null;n=tf(n))for(let r=j;r<n.length;r++){let o=n[r];ip(o,t)}}function pE(e){for(let t=ef(e);t!==null;t=tf(t)){if(!(t[D]&2))continue;let n=t[Nt];for(let r=0;r<n.length;r++){let o=n[r];Ws(o)}}}function hE(e,t,n){x(M.ComponentStart);let r=pe(t,e);try{ip(r,n)}finally{x(M.ComponentEnd,r[H])}}function ip(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)fE(r,e,r.template,e[H]);else if(o&8192){let a=v(null);try{np(e),op(e,1);let c=r.components;c!==null&&sp(e,c,1),Xf(e)}finally{v(a)}}}function sp(e,t,n){for(let r=0;r<t.length;r++)hE(e,t[r],n)}function gE(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];wu(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 ap(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function cp(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(mE(o,t,e,n),r){let s=ja(n,e),a=t[k],c=a.parentNode(e[nt]);c!==null&&kv(o,e[ee],a,t,c,s)}let i=t[bt];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);Rv(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 mE(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&&lp(s,t);let a=t[Re];a!==null&&a.insertView(e),Do(t),t[D]|=128}function lp(e,t){let n=e[Nt],r=t[W];if(Be(r))e[D]|=2;else{let o=r[W][te];t[te]!==o&&(e[D]|=2)}n===null?e[Nt]=[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,rp(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),Wf(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&&lp(r,this._lView),Do(this._lView)}};var dr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=yE;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 yE(){return Mi(F(),g())}function Mi(e,t){return e.type&4?new dr(t,e,Tn(e,t)):null}function $t(e,t,n,r,o){let i=e.data[t];if(i===null)i=vE(e,t,n,r,o),bu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Cu();i.injectorIndex=s===null?-1:s.injectorIndex}return xt(i,!0),i}function vE(e,t,n,r,o){let i=Js(),s=Xs(),a=s?i:i&&i.parent,c=e.data[t]=IE(e,a,n,t,r,o);return EE(e,c,i,s),c}function EE(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 IE(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 DE(e){let t=e[tt]??[],r=e[W][k],o=[];for(let i of t)i.data[ac]!==void 0?o.push(i):CE(i,r);e[tt]=o}function CE(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[af];for(;n<o;){let i=r.nextSibling;Tf(t,r,!1),r=i,n++}}}var TE=()=>null,bE=()=>null;function ei(e,t){return TE(e,t)}function up(e,t,n){return bE(e,t,n)}var dp=class{},_i=class{},Ha=class{resolveComponentFactory(t){throw new C(917,!1)}},Ir=class{static NULL=new Ha},fr=class{},wE=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>ME()}return e})();function ME(){let e=g(),t=F(),n=pe(t.index,e);return(Be(n)?n:e)[k]}var fp=(()=>{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 Qd(r,n,G(e),t)}function pp(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}SE(e,t,n,a,i,c,l)}i!==null&&r!==null&&_E(n,r,i)}function _E(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new C(-301,!1);r.push(t[o],i)}}function NE(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function SE(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,NE(e,n,p)),ba(Zo(n,t),e,f.type)}PE(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=xf(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),AE(e,n,t,d,f),OE(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++}xE(e,n,i)}function xE(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))fd(0,t,o,r),fd(1,t,o,r),hd(t,r,!1);else{let i=n.get(o);pd(0,t,i,r),pd(1,t,i,r),hd(t,r,!0)}}}function fd(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),hp(t,i)}}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=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),hp(t,s)}}function hp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function hd(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 AE(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=It(o.type,!0)),s=new Pt(i,be(o),Ni,null);e.blueprint[r]=s,n[r]=s,RE(e,t,r,xf(e,n,o.hostVars,Y),o)}function RE(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;kE(s)!=a&&s.push(a),s.push(n,r,i)}}function kE(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function OE(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 PE(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=$t(c,e,n,r,u);return i&&pp(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){Hd(e,t),Vs(t)&&e.queries.elementEnd(t)}function gp(e,t,n,r,o,i){let s=t.consts,a=ue(s,o),c=$t(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 mp(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=gd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=gd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function gd(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 yp(e,t,n,r,o,i,s,a){let c=an(e),l=!1,u=null;if(!r&&c&&(u=FE(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;Ey(n,p,i,a);let f=o.listen(p,i,a);if(!LE(i)){let h=r?y=>r(fe(y[e.index])):e.index;vp(h,t,n,i,a,f,!1)}}return l}function LE(e){return e.startsWith("animation")||e.startsWith("transition")}function FE(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 vp(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 md(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);vp(e.index,a,t,o,i,d,!0)}var Ba=Symbol("BINDING");function Ep(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 jt(n,this.ngModule)}};function jE(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 VE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function HE(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 BE(e){let t=e.get(fr,null);if(t===null)throw new C(407,!1);let n=e.get(fp,null),r=e.get(Se,null),o=e.get(Bt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function $E(e,t){let n=Ip(e);return Df(t,n,n==="svg"?Hs:n==="math"?pu:null)}function Ip(e){return(e.selectors[0][0]||"div").toLowerCase()}var jt=class extends _i{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=jE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=VE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=fv(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=HE(c,o||this.ngModule,t),u=BE(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Ep(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=UE(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?Wv(l,o,a.encapsulation,n):$E(a,l),d=s?.some(yd)||i?.some(h=>typeof h!="function"&&h.bindings.some(yd)),p=gc(null,c,null,512|Sf(a),null,null,t,l,n,null,ff(u,n,!0));p[O]=u,Mo(p);let f=null;try{let h=xc(O,p,2,"#host",()=>c.directiveRegistry,!0,0);bf(l,u,h),mn(u,p),Ci(c,p,h),uc(c,h,p),Ac(c,h),r!==void 0&&qE(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 UE(e,t,n,r){let o=e?["ng-version","21.2.9"]:pv(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,WE(i,s),1,a,c,null,null,null,[o],null)}function WE(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function yd(e){let t=e[Ba].kind;return t==="input"||t==="twoWay"}var ri=class extends dp{_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 kt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function qE(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Ri=(()=>{class e{static __NG_ELEMENT_ID__=GE}return e})();function GE(){let e=F();return Dp(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 kt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ic(this._hostTNode,this._hostLView);if($d(t)){let n=Qo(t,this._hostLView),r=zo(t),o=n[m].data[r+8];return new kt(o,n)}else return new kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=vd(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,Ft(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Hm(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 jt(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,Ft(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(gu(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=vd(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 vd(e){return e[Yn]}function ha(e){return e[Yn]||(e[Yn]=[])}function Dp(e,t){let n,r=t[e.index];return Te(r)?n=r:(n=ap(r,t,null,e),t[e.index]=n,mc(t,n)),QE(n,t,e,r),new $a(n,e,t)}function zE(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 QE=YE,ZE=()=>!1;function Cp(e,t,n){return ZE(e,t,n)}function YE(e,t,n,r){if(e[nt])return;let o;n.type&8?o=fe(r):o=zE(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=tI(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,KE(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 KE(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 JE(e,t){return e.type&11?Tn(e,t):e.type&4?Mi(e,t):null}function XE(e,t,n,r){return n===-1?JE(t,e):n===-2?eI(e,t,r):ir(e,e[m],n,t)}function eI(e,t,n){if(n===yr)return Tn(t,e);if(n===dr)return Mi(t,e);if(n===Ri)return Dp(t,e)}function Tp(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(XE(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=Tp(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[Nt]!==null){let d=u[Nt];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 bp(e,t,n){let r=new Yo((n&4)===4);return yu(e,t,r,r.destroy),(t[Re]??=new Wa).queries.push(new Ua(r))-1}function wp(e,t,n){let r=P();return r.firstCreatePass&&(_p(r,new oi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),bp(r,g(),t)}function Mp(e,t,n,r){let o=P();if(o.firstCreatePass){let i=F();_p(o,new oi(t,n,r),i.index),nI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return bp(o,g(),n)}function tI(e){return e.split(",").map(t=>t.trim())}function _p(e,t,n){e.queries===null&&(e.queries=new qa),e.queries.track(new Ga(t,n))}function nI(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 Np(e,t){let n=e[m],r=Pc(n,t);return r.crossesNgTemplate?za(n,e,t,[]):Tp(n,e,r,t)}function Lc(e,t,n){let r,o=On(()=>{r._dirtyCounter();let i=rI(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 Sp(e){return Lc(!1,!1,e)}function xp(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 rI(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=Np(n,r);return o.reset(i,Kd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var In=class{},Ap=class{};function oI(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=Mf(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 Ap{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 Ct([...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 iI=(()=>{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 sI(e){return mr(()=>{let t=Rp(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(iI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Lt.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Me("NgStandalone"),kp(n);let r=e.dependencies;return n.directiveDefs=Ed(r,aI),n.pipeDefs=Ed(r,_s),n.id=fI(n),n})}function aI(e){return xe(e)||qn(e)}function cI(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 lI(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 uI(e){if(e==null)return Ie;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function dI(e){return mr(()=>{let t=Rp(e);return kp(t),t})}function Rp(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:lI(e.inputs,t),outputs:uI(e.outputs),debugInfo:null}}function kp(e){e.features?.forEach(t=>t(e))}function Ed(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 fI(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 pI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=hI,n.hostDirectives=r?e.map(Qa):[e]):r?n.hostDirectives.unshift(...e.map(Qa)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function hI(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,Op(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 Op(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)Id(Qa(i),t,n)}else Id(r,t,n)}function Id(e,t,n){let r=qn(e.directive);gI(r.declaredInputs,e.inputs),Op(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:Dd(e.inputs),outputs:Dd(e.outputs)}}function Dd(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 gI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function mI(e){return Object.getPrototypeOf(e.prototype).constructor}function Pp(e){let t=mI(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&&DI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&EI(e,c),l&&II(e,l),yI(e,o),Jl(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===Pp&&(n=!1)}}t=Object.getPrototypeOf(t)}vI(r)}function yI(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 vI(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 EI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function II(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function DI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Lp(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),xt(e,!1);let c=TI(n,t,e,r);No()&&Tc(n,t,c,e),mn(c,t);let l=ap(c,t,c,e);t[r+O]=l,mc(t,l),Cp(l,e,t)}function CI(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;return t.firstCreatePass?(p=$t(t,d,4,s||null,a||null),To()&&pp(t,e,p,ue(t.consts,l),wc),Hd(t,p)):p=t.data[d],Lp(p,e,t,n,r,o,i,c),an(p)&&Ci(t,e,p),l!=null&&wn(e,p,u),p}function Vt(e,t,n,r,o,i,s,a,c,l,u){let d=n+O,p;if(t.firstCreatePass){if(p=$t(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 Lp(p,e,t,n,r,o,i,c),l!=null&&wn(e,p,u),p}function Fp(e,t,n,r,o,i,s,a){let c=g(),l=P(),u=ue(l.consts,i);return CI(c,l,e,t,n,r,o,u,void 0,s,a),Fp}function jp(e,t,n,r,o,i,s,a){let c=g(),l=P(),u=ue(l.consts,i);return Vt(c,l,e,t,n,r,o,u,void 0,s,a),jp}var TI=bI;function bI(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||{}),Cd=0,wI=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||{}),MI=0,Dr=1;var _I=4,NI=5,SI=6,xI=7,ma=8,AI=9,Hc=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Hc||{});function Vp(e,t,n){let r=Bp(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function Uo(e,t){let n=Bp(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Hp(e){Uo(1,e),Uo(0,e),Uo(2,e)}function Bp(e){let t=_I;return e===1?t=NI:e===2&&(t=AI),t}function ki(e){return e+1}function Ut(e,t){let n=e[m],r=ki(t.index);return e[r]}function RI(e,t,n){let r=e[m],o=ki(t);e[o]=n}function Wt(e,t){let n=ki(t.index);return e.data[n]}function kI(e,t,n){let r=ki(t);e.data[r]=n}function OI(e,t,n){let r=t[m],o=Wt(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 Td(e,t){return t===$.Placeholder?e.placeholderBlockConfig?.[Cd]??null:t===$.Loading?e.loadingBlockConfig?.[Cd]??null:null}function PI(e){return e.loadingBlockConfig?.[wI]??null}function bd(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 LI(e,t){let n=t.primaryTmplIndex+O;return ln(e,n)}function FI(e,t){let n=t.get(HI),r=()=>n.remove(e);return n.add(e),r}var jI=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,VI=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,HI=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=I(ae);requestIdleCallbackFn=jI().bind(globalThis);cancelIdleCallbackFn=VI().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 BI=(()=>{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 $p=new N("");function ya(e,t,n){return e.get(BI).getOrCreateInjector(t,e,n,"")}function $I(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=Ut(o,t),a=s[Dr],c=s[xI];if(!(c!==null&&e<c)&&wd(a,e)&&wd(s[MI]??-1,e)){let l=Wt(i,t),d=!r&&!0&&(PI(l)!==null||Td(l,$.Loading)!==null||Td(l,$.Placeholder))?GI:WI;try{d(e,s,n,t,o)}catch(p){Mc(o,p)}}}function UI(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 WI(e,t,n,r,o){x(M.DeferBlockStateStart);let i=OI(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=Wt(s,r),y=h.providers;y&&y.length>0&&(u=$I(o[B],h,y))}let{dehydratedView:d,dehydratedViewIx:p}=UI(n,t),f=Mn(o,c,null,{injector:u,dehydratedView:d});if(_n(n,f,l,Ft(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 wd(e,t){return e<t}function qI(e,t){let n=e[t.index];st($.Placeholder,t,n)}function Md(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ne.COMPLETE?st($.Complete,t,n):e.loadingState===ne.FAILED&&st($.Error,t,n)})}var GI=null;var zI=(()=>{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 Up(e){return typeof e=="function"&&e[U]!==void 0}function Bc(e){return Up(e)&&typeof e.set=="function"}var Wp=new N("");function $c(e){return!!e&&typeof e.then=="function"}function qp(e){return!!e&&typeof e.subscribe=="function"}var Uc=new N("");function QI(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(qp(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})(),Gp=new N("");function zp(){ns(()=>{let e="";throw new C(600,e)})}function Qp(e){return e.isBoundToModule}var ZI=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(At);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ht(n=>!n))}constructor(){I(Bt,{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=Qp(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(Wp,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++<ZI;){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;rp(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(Gp,[]).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 Zp(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function YI(e){let t=g(),n=t[B],r=F(),o=t[m],i=Wt(o,r);if(i.loadingState===ne.NOT_STARTED){let s=Ut(t,r),c=e(()=>KI(i,t,r),n);Vp(1,s,c)}}function KI(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=Ut(t,n),s=LI(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=bd(h.directiveRegistry,p);let y=p.map(w=>w.type),b=mo(!1,...y);e.providers=b}f.length>0&&(h.pipeRegistry=bd(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 JI(e,t){return t[B].get($p,null,{optional:!0})?.behavior!==Hc.Manual}function XI(e,t,n){let r=t[m],o=t[n.index];if(!JI(e,t))return;let i=Ut(t,n),s=Wt(r,n);switch(Hp(i),s.loadingState){case ne.NOT_STARTED:st($.Loading,n,o),qc(s,t,n),s.loadingState===ne.IN_PROGRESS&&Md(s,n,o);break;case ne.IN_PROGRESS:st($.Loading,n,o),Md(s,n,o);break;case ne.COMPLETE:st($.Complete,n,o);break;case ne.FAILED:st($.Error,n,o);break;default:}}function Yp(e,t,n){return e===0?_d(t,n):e===2?!_d(t,n):!0}function eD(e){return e!=null&&(e&1)===1}function _d(e,t){let n=e[B],r=Wt(e[m],t),o=lc(n),i=eD(r.flags),a=Ut(e,t)[SI]!==null;return!(i&&a&&o)}function tD(e,t,n,r,o,i,s,a,c,l){let u=g(),d=P(),p=e+O,f=Vt(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),kI(d,p,Nn)}let b=u[p];Cp(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 lt=[null,si.Initial,null,null,null,null,V,w,null,null];RI(u,p,lt);let Hi=null;V!==null&&y&&(Hi=h.get(df),Hi.add(V,{lView:u,tNode:f,lContainer:b}));let ul=()=>{Hp(lt),V!==null&&Hi?.cleanup([V])};Vp(0,lt,()=>qs(u,ul)),Co(u,ul)}function nD(e){let t=g(),n=un();if(!Yp(0,t,n))return;let r=We();if(re(t,r,e)){let o=v(null);try{let i=!!e,a=Ut(t,n)[Dr];i===!1&&a===si.Initial?qI(t,n):i===!0&&(a===si.Initial||a===$.Placeholder)&&XI(0,t,n)}finally{v(o)}}}function rD(){let e=g(),t=F();Yp(1,e,t)&&YI(FI)}function Kp(e,t,n,r){let o=g(),i=We();if(re(o,i,t)){let s=P(),a=un();Jv(a,o,e,t,n,r)}return Kp}function Wo(e){if(Me("NgAnimateEnter"),!Er)return Wo;let t=g();if(kf(t))return Wo;let n=F(),r=t[B].get(ae);return Lf(id(t),n,()=>oD(t,n,e,r)),$f(t[B]),Uf(t[B],id(t)),Wo}function oD(e,t,n,r){let o=le(t,e),i=e[k],s=Pf(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),iD(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",l)),a.push(i.listen(o,"transitionstart",l))}),Iv(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(Vf(o,Ot,Er),!Ot.has(o))){for(let d of s)i.removeClass(o,d);vc(o)}})})}}function iD(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(kf(t))return qo;let r=F(),o=t[B].get(ae);return Lf(mi(t),r,()=>sD(t,r,e,o)),$f(t[B]),qo}function sD(e,t,n,r){let{promise:o,resolve:i}=Zp(),s=le(t,e),a=e[k];vn.add(e[ke]),(mi(e).get(t.index).resolvers??=[]).push(i);let c=Pf(n);return c&&c.length>0?aD(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function aD(e,t,n,r,o,i){Cv(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(),Ot.delete(e),od(t,e),Array.isArray(t.projection))for(let f of r)o.removeClass(e,f);sd(a,s),ad(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,"animationend",u)),s.push(o.listen(e,"transitionend",u))}),Of(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;Vf(e,Ot,Er);let d=Ot.get(e);d?(c=setTimeout(()=>{u(new CustomEvent("animation-fallback"))},d.duration+50),s.push(()=>clearTimeout(c))):(od(t,e),sd(a,s),ad(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 cD(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 lt=n(l,h);Object.is(lt,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??=Sd(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 lt=e.create(s,t[s]);e.attach(s,lt),s++,a++}}for(;s<=l;)Nd(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??=Sd(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;)Nd(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 Nd(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 Sd(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 lD(e,t,n,r,o,i,s,a){Me("NgControlFlow");let c=g(),l=P(),u=ue(l.consts,i);return Vt(c,l,e,t,n,r,o,u,256,s,a),Gc}function Gc(e,t,n,r,o,i,s,a){Me("NgControlFlow");let c=g(),l=P(),u=ue(l.consts,i);return Vt(c,l,e,t,n,r,o,u,512,s,a),Gc}function uD(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=up(l,u,n),p=Mn(n,u,t,{dehydratedView:d});_n(l,p,s,Ft(u,d))}}finally{v(a)}}else if(i!==void 0){let a=cp(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 dD(e){return e}function fD(e,t){return t}var Ja=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function pD(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,Vt(f,h,e+1,t,n,r,o,ue(h.consts,i),256),y&&Vt(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[bt];this.needsIndexUpdate||=t!==this.length,_n(this.lContainer,n,t,Ft(this.templateTNode,r)),gD(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,mD(this.lContainer,t),yD(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 vD(this.lContainer,t)}};function hD(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(cD(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=up(p,f,r),y=Mn(r,f,void 0,{dehydratedView:h});_n(p,y,0,Ft(f,h))}else o.firstUpdatePass&&DE(p),Sc(p,0)}}}finally{v(t)}}function ci(e,t){return e[t]}function gD(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];xv(i,o),vn.delete(r[ke]),o.detachedLeaveAnimationFns=void 0}}function mD(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 yD(e,t){return ur(e,t)}function vD(e,t){return cp(e,t)}function ec(e,t){return ln(e,t)}function Jp(e,t,n){let r=g(),o=We();if(re(r,o,t)){let i=P(),s=un();Yf(s,r,e,t,r[k],n)}return Jp}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(Ep(l),()=>(xd(e,t,o,a,r),li))}}return xd(e,t,o,a,r),li}function xd(e,t,n,r,o){if(Ti(r,n,e,t,th),an(r)){let i=n[m];Ci(i,n,r),uc(i,r,n)}o!=null&&wn(n,r)}function zc(){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&&Qm(n)&&tc(e,n,g(),n.stylesWithoutHost,!1),zc}function Xp(e,t,n,r){return li(e,t,n,r),zc(),Xp}function Qc(e,t,n,r){let o=g(),i=o[m],s=e+O,a=i.firstCreatePass?gp(s,i,2,t,n,r):i.data[s];return Ti(a,o,e,t,th),r!=null&&wn(o,a),Qc}function Zc(){let e=F(),t=bi(e);return Ys(t)&&Ks(),Qs(),Zc}function eh(e,t,n,r){return Qc(e,t,n,r),Zc(),eh}var th=(e,t,n,r,o)=>(er(!0),Df(t[k],r,Ou()));function Yc(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",oh),an(s)){let a=r[m];Ci(a,r,s),uc(a,s,r)}return n!=null&&wn(r,s),Yc}function Pi(){let e=P(),t=F(),n=bi(t);return e.firstCreatePass&&Ac(e,n),Pi}function nh(e,t,n){return Yc(e,t,n),Pi(),nh}function rh(e,t,n){let r=g(),o=r[m],i=e+O,s=o.firstCreatePass?gp(i,o,8,"ng-container",t,n):o.data[i];return Ti(s,r,e,"ng-container",oh),n!=null&&wn(r,s),rh}function ED(){let e=F(),t=bi(e);return Pi}var oh=(e,t,n,r,o)=>(er(!0),Yy(t[k],""));function ID(){return g()}function ih(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 ih}var Cr="en-US";var DD=Cr;function sh(e){typeof e=="string"&&(DD=e.toLowerCase().replace(/_/g,"-"))}function ah(e,t,n){let r=g(),o=P(),i=F();return lh(o,r,r[k],i,e,t,n),ah}function ch(e,t,n){let r=g(),o=P(),i=F();return(i.type&3||n)&&yp(i,o,r,n,r[k],e,t,$o(i,r,t)),ch}function lh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=$o(r,t,i),yp(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),md(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=$o(r,t,i),md(r,t,d,o,o,c)}}function CD(e=1){return Au(e)}function TD(e,t){let n=null,r=av(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Nf(e,i,!0):uv(r,i))return o}return n}function bD(e){let t=g()[te][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=iu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?TD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function wD(e,t=0,n,r,o,i){let s=g(),a=P(),c=r?e+1:null;c!==null&&Vt(s,a,c,r,o,i,null,n);let l=$t(a,O+e,16,null,n||null);l.projection===null&&(l.projection=t),ea();let d=!s[bt]||Zs();s[te][ee].projection[l.projection]===null&&c!==null?MD(s,a,c):d&&!fi(l)&&Bv(a,s,l)}function MD(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,Ft(o,s))}function uh(e,t,n,r){return Mp(e,t,n,r),uh}function dh(e,t,n){return wp(e,t,n),dh}function _D(e){let t=g(),n=P(),r=wo();Xn(r+1);let o=Pc(n,r);if(e.dirty&&hu(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Np(t,r);e.reset(i,Kd),e.notifyOnChanges()}return!0}return!1}function ND(){return Oc(g(),wo())}function fh(e,t,n,r,o){return xp(t,Mp(e,n,r,o)),fh}function ph(e,t,n,r){return xp(e,wp(t,n,r)),ph}function SD(e=1){Xn(wo()+e)}function xD(e){let t=ta();return $s(t,O+e)}function Fo(e,t){return e<<17|t<<2}function Ht(e){return e>>17&32767}function AD(e){return(e&2)==2}function RD(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 kD(e){return(e&1)===1}function rc(e){return e|1}function OD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ht(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=Ht(e[a+1]);e[r+1]=Fo(p,a),p!==0&&(e[p+1]=Ea(e[p+1],r)),e[a+1]=RD(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])),Ad(e,u,r,!0),Ad(e,u,r,!1),PD(t,u,e,r,i),s=Fo(a,c),i?t.classBindings=s:t.styleBindings=s}function PD(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 Ad(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ht(o):Dn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];LD(c,t)&&(a=!0,e[s+1]=r?rc(l):nc(l)),s=r?Ht(l):Dn(l)}a&&(e[n+1]=r?nc(o):rc(o))}function LD(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 hh(e){return e.substring(z.key,z.keyEnd)}function FD(e){return e.substring(z.value,z.valueEnd)}function jD(e){return yh(e),gh(e,Cn(e,0,z.textEnd))}function gh(e,t){let n=z.textEnd;return n===t?-1:(t=z.keyEnd=HD(e,z.key=t,n),Cn(e,t,n))}function VD(e){return yh(e),mh(e,Cn(e,0,z.textEnd))}function mh(e,t){let n=z.textEnd,r=z.key=Cn(e,t,n);return n===r?-1:(r=z.keyEnd=BD(e,r,n),r=Rd(e,r,n,58),r=z.value=Cn(e,r,n),r=z.valueEnd=$D(e,r,n),Rd(e,r,n,59))}function yh(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 HD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function BD(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 Rd(e,t,n,r){return t=Cn(e,t,n),t<n&&t++,t}function $D(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=kd(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=kd(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function kd(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 vh(e,t,n){return Ih(e,t,n,!1),vh}function Eh(e,t){return Ih(e,t,null,!0),Eh}function UD(e){Dh(bh,WD,e,!1)}function WD(e,t){for(let n=VD(t);n>=0;n=mh(t,n))bh(e,hh(t),FD(t))}function qD(e){Dh(JD,GD,e,!0)}function GD(e,t){for(let n=jD(t);n>=0;n=gh(t,n))zn(e,hh(t),!0)}function Ih(e,t,n,r){let o=g(),i=P(),s=Jn(2);if(i.firstUpdatePass&&Th(i,e,s,r),t!==Y&&re(o,s,t)){let a=i.data[he()];wh(i,a,o,o[k],e,o[s+1]=eC(t,n),r,s)}}function Dh(e,t,n,r){let o=P(),i=Jn(2);o.firstUpdatePass&&Th(o,null,i,r);let s=g();if(n!==Y&&re(s,i,n)){let a=o.data[he()];if(Mh(a,r)&&!Ch(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=co(c,n||"")),tc(o,a,s,n,r)}else XD(o,a,s,s[k],s[i+1],s[i+1]=KD(e,t,n),r,i)}}function Ch(e,t){return t>=e.expandoStartIndex}function Th(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[he()],s=Ch(e,n);Mh(i,r)&&t===null&&!s&&(t=!1),t=zD(o,i,t,r),OD(o,i,t,n,s,r)}}function zD(e,t,n,r){let o=_u(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=QD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ia(null,e,t,c[1],r),c=gr(c,t.attrs,r),ZD(e,t,r,c))}else i=YD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function QD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Dn(r)!==0)return e[Ht(r)]}function ZD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ht(o)]=r}function YD(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 KD(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 bh(e,t,n){zn(e,t,bn(n))}function JD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&zn(e,r,n)}function XD(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&&wh(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function wh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=kD(l)?Od(c,t,n,o,Dn(l),s):void 0;if(!ui(u)){ui(i)||AD(l)&&(i=Od(c,null,n,o,a,s));let d=Bs(he(),n);Uv(r,s,d,o,i)}}function Od(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?Ht(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 eC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Un(bn(e)))),e}function Mh(e,t){return(e.flags&(t?8:16))!==0}function tC(e,t=""){let n=g(),r=P(),o=e+O,i=r.firstCreatePass?$t(r,o,1,t,null):r.data[o],s=nC(r,n,i,t);n[o]=s,No()&&Tc(r,n,s,i),xt(i,!1)}var nC=(e,t,n,r)=>(er(!0),Qy(t[k],r));function rC(e,t,n,r=""){return re(e,We(),n)?t+Ae(n)+r:Y}function oC(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 iC(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 _h(e){return Kc("",e),_h}function Kc(e,t,n){let r=g(),o=rC(r,e,t,n);return o!==Y&&Jc(r,he(),o),Kc}function Nh(e,t,n,r,o){let i=g(),s=oC(i,e,t,n,r,o);return s!==Y&&Jc(i,he(),s),Nh}function Sh(e,t,n,r,o,i,s){let a=g(),c=iC(a,e,t,n,r,o,i,s);return c!==Y&&Jc(a,he(),c),Sh}function Jc(e,t,n){let r=Bs(t,e);Zy(e[k],r,n)}function xh(e,t,n){Bc(t)&&(t=t());let r=g(),o=We();if(re(r,o,t)){let i=P(),s=un();Yf(s,r,e,t,r[k],n)}return xh}function sC(e,t){let n=Bc(e);return n&&e.set(t),n}function Ah(e,t){let n=g(),r=P(),o=F();return lh(r,n,n[k],o,e,t),Ah}var Rh={};function kh(e){Me("NgLet");let t=P(),n=g(),r=e+O,o=$t(t,r,128,null,null);return xt(o,!1),Eo(t,n,r,Rh),kh}function aC(e){let t=P(),n=g(),r=he();return Eo(t,n,r,e),e}function cC(e){let t=ta(),n=$s(t,O+e);if(n===Rh)throw new C(314,!1);return n}function Pd(e,t,n){let r=P();r.firstCreatePass&&Oh(t,r.data,r.blueprint,be(e),n)}function Oh(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i<e.length;i++)Oh(e[i],t,n,r,o);else{let i=P(),s=g(),a=F(),c=Dt(e)?e:G(e.provide),l=Ps(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Dt(e)||!e.multi){let f=new Pt(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=dC(o?uC:lC,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=Ph(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=Dt(t),i=du(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 Ph(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 lC(e,t,n,r,o){return oc(this.multi,[])}function uC(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 dC(e,t,n,r,o,i){let s=new Pt(e,n,Ni,null);return s.multi=[],s.index=t,s.componentProviders=0,Ph(s,o,r&&!n),s}function fC(e,t){return n=>{n.providersResolver=(r,o)=>Pd(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Pd(r,o?o(t):t,!0))}}function pC(e,t){let n=Ue()+e,r=g();return r[n]===Y?ct(r,n,t()):xi(r,n)}function hC(e,t,n){return DC(g(),Ue(),e,t,n)}function gC(e,t,n,r){return CC(g(),Ue(),e,t,n,r)}function mC(e,t,n,r,o){return TC(g(),Ue(),e,t,n,r,o)}function yC(e,t,n,r,o,i,s){return bC(g(),Ue(),e,t,n,r,o,i)}function vC(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 EC(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 IC(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 DC(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 CC(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 TC(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 bC(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 wC(e,t){return Mi(e,t)}var di=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},MC=(()=>{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=Mf(o.declarations).reduce((s,a)=>{let c=xe(a);return c&&s.push(new jt(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 Lh=(()=>{class e{applicationErrorHandler=I(it);appRef=I(Oi);taskService=I(At);ngZone=I(ae);zonelessEnabled=I(tr);tracing=I(Bt,{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?ju: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 Fh(){return[{provide:Se,useExisting:Lh},{provide:ae,useClass:Bn},{provide:tr,useValue:!0}]}function _C(){return typeof $localize<"u"&&$localize.locale||Cr}var Xc=new N("",{factory:()=>I(Xc,{optional:!0,skipSelf:!0})||_C()});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 NC(e){return zl(e)}function SC(e,t){return On(e,t?.equal)}var Vi=Symbol("InputSignalNode#UNSET"),Gh=Z(Q({},Pn),{transformFn:void 0,applyValueToInputSignal(e,t){yt(e,t)}});function zh(e,t){let n=Object.create(Gh);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 jh(e,t){return zh(e,t)}function xC(e){return zh(Vi,e)}var OP=(jh.required=xC,jh);function Vh(e,t){return Fc(t)}function AC(e,t){return jc(t)}var PP=(Vh.required=AC,Vh);function Hh(e,t){return Fc(t)}function RC(e,t){return jc(t)}var LP=(Hh.required=RC,Hh);function FP(e,t){return Sp(t)}function Qh(e,t){let n=Object.create(Gh),r=new Tr;n.value=e;function o(){return Ze(n),Bh(n.value),n.value}return o[U]=n,o.asReadonly=Ao.bind(o),o.set=i=>{n.equal(n.value,i)||(yt(n,i),r.emit(i))},o.update=i=>{Bh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Bh(e){if(e===Vi)throw new C(952,!1)}function $h(e,t){return Qh(e,t)}function kC(e){return Qh(Vi,e)}var jP=($h.required=kC,$h);var tl=new N(""),OC=new N("");function br(e){return!e.moduleRef}function PC(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(tl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(tl);s.add(i),e.moduleRef.onDestroy(()=>{or(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return FC(r,n,()=>{let i=t.get(At),s=i.add(),a=t.get(Wc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Xc,Cr);if(sh(c||Cr),!t.get(OC,!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 LC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var LC;function FC(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 jC(e=[],t){return Ee.create({name:t,providers:[{provide:Os,useValue:"platform"},{provide:tl,useValue:new Set([()=>Fi=null])},...e]})}function VC(e=[]){if(Fi)return Fi;let t=jC(e);return Fi=t,zp(),HC(t),t}function HC(e){let t=e.get(of,null);yo(e,()=>{t?.forEach(n=>n())})}function VP(){return!1}var BC=1e4;var HP=BC-1e3;var BP=(()=>{class e{static __NG_ELEMENT_ID__=$C}return e})();function $C(e){return UC(F(),g(),(e&16)===16)}function UC(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 nl=class{supports(t){return Rc(t)}create(t){return new rl(t)}},WC=(e,t)=>t,rl=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||WC}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<Uh(r,o,i)?n:r,a=Uh(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,mp(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 ol(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}},ol=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}},il=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 il,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 Uh(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 sl=class{supports(t){return t instanceof Map||Si(t)}create(){return new al}},al=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 cl(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))}},cl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Wh(){return new qC([new nl])}var qC=(()=>{class e{factories;static \u0275prov=q({token:e,providedIn:"root",factory:Wh});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||Wh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function qh(){return new GC([new sl])}var GC=(()=>{class e{static \u0275prov=q({token:e,providedIn:"root",factory:qh});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||qh())}}}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??VC(r),s=[Fh(),Hu,...n||[]],a=new hr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return PC({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 el=Symbol("NOT_SET"),Zh=new Set,zC=Z(Q({},Pn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:el,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!==el&&!Kt(this))return this.signal;try{for(let o of this.cleanup??Zh)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{mt(this,n)}return(this.value===el||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),ll=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(zC);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??Zh)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(Bt,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 ll(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 jt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{X as a,tg as b,_ as c,ve as d,An as e,Rn as f,cb as g,Qe as h,dg as i,fg as j,pg as k,pt as l,hg as m,ht as n,Cg as o,Fe as p,Wr as q,bg as r,wg as s,Zi as t,zi as u,Ll as v,Rg as w,Yi as x,Og as y,Pg as z,Lg as A,Fg as B,jg as C,Vg as D,Hg as E,eg as F,Qg as G,C as H,$n as I,lo as J,q as K,Xl as L,Kg as M,N,Ne as O,I as P,Qn as Q,Os as R,se as S,yo as T,ym as U,Iu as V,Du as W,Ru as X,ku as Y,Ee as Z,So as _,Pe as $,At as aa,je as ba,ae as ca,He as da,it as ea,Nm as fa,xo as ga,Ro as ha,Bu as ia,Bm as ja,iy as ka,yr as la,fy as ma,py as na,of as oa,gy as pa,my as qa,sf as ra,yy as sa,Lt as ta,bn as ua,dc as va,Ty as wa,by as xa,wy as ya,My as za,_y as Aa,fc as Ba,If as Ca,hi as Da,Xy as Ea,ev as Fa,tv as Ga,yv as Ha,Jo as Ia,vn as Ja,Bt as Ka,Me as La,Hf as Ma,dr as Na,fr as Oa,wE as Pa,Ni as Qa,Ri as Ra,In as Sa,Ap as Ta,oI as Ua,Vc as Va,sI as Wa,cI as Xa,dI as Ya,pI as Za,Pp as _a,Fp as $a,jp as ab,zI as bb,$c as cb,QI as db,Gp as eb,Oi as fb,tD as gb,nD as hb,rD as ib,Kp as jb,Wo as kb,qo as lb,lD as mb,uD as nb,dD as ob,fD as pb,pD as qb,hD as rb,Jp as sb,li as tb,zc as ub,Xp as vb,Qc as wb,Zc as xb,eh as yb,Yc as zb,Pi as Ab,nh as Bb,rh as Cb,ED as Db,ID as Eb,ih as Fb,ah as Gb,ch as Hb,CD as Ib,bD as Jb,wD as Kb,uh as Lb,dh as Mb,_D as Nb,ND as Ob,fh as Pb,ph as Qb,SD as Rb,xD as Sb,vh as Tb,Eh as Ub,UD as Vb,qD as Wb,tC as Xb,_h as Yb,Kc as Zb,Nh as _b,Sh as $b,xh as ac,sC as bc,Ah as cc,kh as dc,aC as ec,cC as fc,fC as gc,pC as hc,hC as ic,gC as jc,mC as kc,yC as lc,vC as mc,EC as nc,IC as oc,wC as pc,MC as qc,NC as rc,SC as sc,kP as tc,OP as uc,PP as vc,LP as wc,FP as xc,jP as yc,VP as zc,BP as Ac,qC as Bc,GC as Cc,$P as Dc,UP as Ec,WP as Fc,qP as Gc,GP as Hc};