@signalk/freeboard-sk 3.4.0-beta.2 → 3.4.0-beta.4

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 (54) hide show
  1. package/README.md +6 -0
  2. package/package.json +3 -3
  3. package/public/assets/features/action-button-1.jpg +0 -0
  4. package/public/assets/features/action-button-2.jpg +0 -0
  5. package/public/assets/features-corpus.json +1 -1
  6. package/public/assets/help/img/navigation-route.svg +4 -0
  7. package/public/assets/help/index.html +42 -11
  8. package/public/{chunk-I6KNDLKZ.js → chunk-2GVS7ZQR.js} +1 -1
  9. package/public/{chunk-GJFI75CP.js → chunk-2QKJQDG4.js} +1 -1
  10. package/public/{chunk-N6FC7TMF.js → chunk-6LEKUMNA.js} +1 -1
  11. package/public/{chunk-6XBJQDQZ.js → chunk-AZQNOMPD.js} +1 -1
  12. package/public/{chunk-3D457EZY.js → chunk-BC2VITG4.js} +1 -1
  13. package/public/{chunk-26ZBWNUQ.js → chunk-C2FYMS67.js} +1 -1
  14. package/public/chunk-CRWXCOWS.js +1 -0
  15. package/public/{chunk-EX2EX65O.js → chunk-DC5AFSD6.js} +1 -1
  16. package/public/{chunk-FX2SMI5S.js → chunk-DN6IX7CO.js} +1 -1
  17. package/public/{chunk-M4EXFQJE.js → chunk-DSUCHYD7.js} +1 -1
  18. package/public/{chunk-ON6WKWFV.js → chunk-GJZ7P5CR.js} +1 -1
  19. package/public/{chunk-CZWRDBMY.js → chunk-IP2UNZAT.js} +1 -1
  20. package/public/{chunk-IZEHULJO.js → chunk-K4EGDHPT.js} +2 -2
  21. package/public/chunk-LEEF5WZZ.js +1 -0
  22. package/public/{chunk-VG2HTHDN.js → chunk-LMEOL7YN.js} +124 -124
  23. package/public/{chunk-ZHXEZBYI.js → chunk-MWETYHR7.js} +1 -1
  24. package/public/{chunk-UBRYY245.js → chunk-MZ3YWFFB.js} +1 -1
  25. package/public/chunk-PCGFSZCP.js +1 -0
  26. package/public/{chunk-UIEE3YOF.js → chunk-PWNYMCP2.js} +1 -1
  27. package/public/{chunk-B5DI22LT.js → chunk-PWZFOOT4.js} +1 -1
  28. package/public/{chunk-3PBISOLT.js → chunk-R6ABX6RX.js} +2 -2
  29. package/public/{chunk-Z2OUIJPL.js → chunk-RENDTMDT.js} +1 -1
  30. package/public/{chunk-A7RX2LBX.js → chunk-SIFYI3HU.js} +1 -1
  31. package/public/chunk-TIEJ5U3T.js +1 -0
  32. package/public/chunk-UVQMXSH2.js +1 -0
  33. package/public/{chunk-CKZDFNLJ.js → chunk-VBSJZWSI.js} +1 -1
  34. package/public/{chunk-V44P57GA.js → chunk-VT4GQY5X.js} +1 -1
  35. package/public/{chunk-3E3U7Z7O.js → chunk-VXYZIAGN.js} +1 -1
  36. package/public/chunk-WARJYBQ7.js +7 -0
  37. package/public/{chunk-VAE47BFB.js → chunk-WOU2FNU3.js} +1 -1
  38. package/public/chunk-XOISQHJ7.js +1 -0
  39. package/public/{chunk-O2XN7DIT.js → chunk-YBVURHD5.js} +1 -1
  40. package/public/chunk-Z2IWHI3C.js +1 -0
  41. package/public/{chunk-I3RHGD62.js → chunk-ZQSUYMH2.js} +1 -1
  42. package/public/{chunk-UXZI7A6H.js → chunk-ZZLIMAMY.js} +1 -1
  43. package/public/index.html +1 -1
  44. package/public/main-BD4IQDGT.js +358 -0
  45. package/public/{worker-2QCQHBWQ.js → worker-6LLSDQNK.js} +40 -20
  46. package/public/chunk-6W3TVG4T.js +0 -1
  47. package/public/chunk-FFPCEPCR.js +0 -7
  48. package/public/chunk-L766X4HH.js +0 -1
  49. package/public/chunk-NUFT6SHL.js +0 -1
  50. package/public/chunk-P2M2PBKT.js +0 -1
  51. package/public/chunk-PKC2MOZE.js +0 -1
  52. package/public/chunk-VCZ35SJT.js +0 -1
  53. package/public/chunk-XPTNBYFH.js +0 -1
  54. package/public/main-YMAIP3FL.js +0 -358
@@ -1,4 +1,4 @@
1
1
  import{a as q,b as G,g as Hr}from"./chunk-BZGM3F3K.js";function en(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 wl=en(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function C(e){return typeof e=="function"}var Br=en(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ct(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(C(r))try{r()}catch(i){t=i instanceof Br?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Tl(i)}catch(s){t=t??[],s instanceof Br?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Br(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Tl(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)&&Ct(n,t)}remove(t){let{_finalizers:n}=this;n&&Ct(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var Zi=j.EMPTY;function $r(e){return e instanceof j||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function Tl(e){C(e)?e():e.unsubscribe()}var ve={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var tn={setTimeout(e,t,...n){let{delegate:r}=tn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=tn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ur(e){tn.setTimeout(()=>{let{onUnhandledError:t}=ve;if(t)t(e);else throw e})}function Vn(){}var _l=Yi("C",void 0,void 0);function Ml(e){return Yi("E",void 0,e)}function Nl(e){return Yi("N",e,void 0)}function Yi(e,t,n){return{kind:e,value:t,error:n}}var bt=null;function nn(e){if(ve.useDeprecatedSynchronousErrorHandling){let t=!bt;if(t&&(bt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=bt;if(bt=null,n)throw r}}else e()}function Sl(e){ve.useDeprecatedSynchronousErrorHandling&&bt&&(bt.errorThrown=!0,bt.error=e)}var wt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,$r(t)&&t.add(this)):this.destination=yg}static create(t,n,r){return new Ie(t,n,r)}next(t){this.isStopped?Ji(Nl(t),this):this._next(t)}error(t){this.isStopped?Ji(Ml(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ji(_l,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()}}},gg=Function.prototype.bind;function Ki(e,t){return gg.call(e,t)}var Xi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Wr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Wr(r)}else Wr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Wr(n)}}},Ie=class extends wt{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ve.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ki(t.next,i),error:t.error&&Ki(t.error,i),complete:t.complete&&Ki(t.complete,i)}):o=t}this.destination=new Xi(o)}};function Wr(e){ve.useDeprecatedSynchronousErrorHandling?Sl(e):Ur(e)}function mg(e){throw e}function Ji(e,t){let{onStoppedNotification:n}=ve;n&&tn.setTimeout(()=>n(e,t))}var yg={closed:!0,next:Vn,error:mg,complete:Vn};function vg(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ie({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new wl)}});e.subscribe(i)})}var rn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ee(e){return e}function xl(e){return e.length===0?Ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Eg(n)?n:new Ie(n,r,o);return nn(()=>{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=Al(r),new r((o,i)=>{let s=new Ie({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)}[rn](){return this}pipe(...n){return xl(n)(this)}toPromise(n){return n=Al(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 Al(e){var t;return(t=e??ve.Promise)!==null&&t!==void 0?t:Promise}function Ig(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function Eg(e){return e&&e instanceof wt||Ig(e)&&$r(e)}function es(e){return C(e?.lift)}function _(e){return t=>{if(es(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function b(e,t,n,r,o){return new Hn(e,t,n,r,o)}var Hn=class extends wt{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 Rl(){return _((e,t)=>{let n=null;e._refCount++;let r=b(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ts=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,es(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(b(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return Rl()(this)}};var on={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=on;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=on;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=on;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var kl=en(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new qr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new kl}next(n){nn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){nn(()=>{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(){nn(()=>{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?Zi:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,Ct(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new qr(t,n),e})(),qr=class extends K{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:Zi}};var Bn=class extends K{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 $n={now(){return($n.delegate||Date).now()},delegate:void 0};var Un=class extends K{constructor(t=1/0,n=1/0,r=$n){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ns=class extends K{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(t){let{hasError:n,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;n?t.error(i):(s||a)&&(r&&t.next(o),t.complete())}next(t){this.isStopped||(this._value=t,this._hasValue=!0)}complete(){let{_hasValue:t,_value:n,_isComplete:r}=this;r||(this._isComplete=!0,t&&super.next(n),super.complete())}};var Gr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var Wn={setInterval(e,t,...n){let{delegate:r}=Wn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Wn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Xe=class extends Gr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Wn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Wn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Ct(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dg=1,rs,os={};function Ol(e){return e in os?(delete os[e],!0):!1}var Pl={setImmediate(e){let t=Dg++;return os[t]=!0,rs||(rs=Promise.resolve()),rs.then(()=>Ol(t)&&e()),t},clearImmediate(e){Ol(e)}};var{setImmediate:Cg,clearImmediate:bg}=Pl,qn={setImmediate(...e){let{delegate:t}=qn;return(t?.setImmediate||Cg)(...e)},clearImmediate(e){let{delegate:t}=qn;return(t?.clearImmediate||bg)(e)},delegate:void 0};var zr=class extends Xe{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=qn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(qn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var sn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};sn.now=$n.now;var et=class extends sn{constructor(t,n=sn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Qr=class extends et{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var wg=new Qr(zr);var Tt=new et(Xe),Ll=Tt;var Zr=class extends Xe{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=on.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(on.cancelAnimationFrame(n),t._scheduled=void 0)}};var Yr=class extends et{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Tg=new Yr(Zr);var Gn=new N(e=>e.complete());function Kr(e){return e&&C(e.schedule)}function is(e){return e[e.length-1]}function Jr(e){return C(is(e))?e.pop():void 0}function Se(e){return Kr(is(e))?e.pop():void 0}function Fl(e,t){return typeof is(e)=="number"?e.pop():t}function Vl(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 jl(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _t(e){return this instanceof _t?(this.v=e,this):new _t(e)}function Hl(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(g){return new Promise(function(I,T){i.push([f,g,I,T])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof _t?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Bl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof jl=="function"?jl(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 Xr=e=>e&&typeof e.length=="number"&&typeof e!="function";function eo(e){return C(e?.then)}function to(e){return C(e[rn])}function no(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function ro(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 _g(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var oo=_g();function io(e){return C(e?.[oo])}function so(e){return Hl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield _t(n.read());if(o)return yield _t(void 0);yield yield _t(r)}}finally{n.releaseLock()}})}function ao(e){return C(e?.getReader)}function O(e){if(e instanceof N)return e;if(e!=null){if(to(e))return Mg(e);if(Xr(e))return Ng(e);if(eo(e))return Sg(e);if(no(e))return $l(e);if(io(e))return xg(e);if(ao(e))return Ag(e)}throw ro(e)}function Mg(e){return new N(t=>{let n=e[rn]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ng(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Sg(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ur)})}function xg(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function $l(e){return new N(t=>{Rg(e,t).catch(n=>t.error(n))})}function Ag(e){return $l(so(e))}function Rg(e,t){var n,r,o,i;return Vl(this,void 0,void 0,function*(){try{for(n=Bl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function se(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function co(e,t=0){return _((n,r)=>{n.subscribe(b(r,o=>se(r,e,()=>r.next(o),t),()=>se(r,e,()=>r.complete(),t),o=>se(r,e,()=>r.error(o),t)))})}function lo(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ul(e,t){return O(e).pipe(lo(t),co(t))}function Wl(e,t){return O(e).pipe(lo(t),co(t))}function ql(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Gl(e,t){return new N(n=>{let r;return se(n,t,()=>{r=e[oo](),se(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>C(r?.return)&&r.return()})}function uo(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{se(n,t,()=>{let r=e[Symbol.asyncIterator]();se(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function zl(e,t){return uo(so(e),t)}function Ql(e,t){if(e!=null){if(to(e))return Ul(e,t);if(Xr(e))return ql(e,t);if(eo(e))return Wl(e,t);if(no(e))return uo(e,t);if(io(e))return Gl(e,t);if(ao(e))return zl(e,t)}throw ro(e)}function xe(e,t){return t?Ql(e,t):O(e)}function kg(...e){let t=Se(e);return xe(e,t)}function Og(e,t){let n=C(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Pg(e){return!!e&&(e instanceof N||C(e.lift)&&C(e.subscribe))}function Zl(e){return e instanceof Date&&!isNaN(e)}function Ae(e,t){return _((n,r)=>{let o=0;n.subscribe(b(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Lg}=Array;function Fg(e,t){return Lg(t)?e(...t):e(t)}function fo(e){return Ae(t=>Fg(e,t))}var{isArray:jg}=Array,{getPrototypeOf:Vg,prototype:Hg,keys:Bg}=Object;function po(e){if(e.length===1){let t=e[0];if(jg(t))return{args:t,keys:null};if($g(t)){let n=Bg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function $g(e){return e&&typeof e=="object"&&Vg(e)===Hg}function ho(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ug(...e){let t=Se(e),n=Jr(e),{args:r,keys:o}=po(e);if(r.length===0)return xe([],t);let i=new N(Wg(r,t,o?s=>ho(o,s):Ee));return n?i.pipe(fo(n)):i}function Wg(e,t,n=Ee){return r=>{Yl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Yl(t,()=>{let l=xe(e[c],t),u=!1;l.subscribe(b(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Yl(e,t,n){e?se(n,e,t):t()}function Kl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;O(n(g,u++)).subscribe(b(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let T=c.shift();s?se(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(b(t,f,()=>{d=!0,p()})),()=>{a?.()}}function an(e,t,n=1/0){return C(t)?an((r,o)=>Ae((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>Kl(r,o,e,n)))}function go(e=1/0){return an(Ee,e)}function Jl(){return go(1)}function mo(...e){return Jl()(xe(e,Se(e)))}function qg(e){return new N(t=>{O(e()).subscribe(t)})}function Gg(...e){let t=Jr(e),{args:n,keys:r}=po(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(b(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?ho(r,a):a),i.complete())}))}});return t?o.pipe(fo(t)):o}function zn(e=0,t,n=Ll){let r=-1;return t!=null&&(Kr(t)?n=t:r=t),new N(o=>{let i=Zl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function zg(e=0,t=Tt){return e<0&&(e=0),zn(e,e,t)}function Qg(...e){let t=Se(e),n=Fl(e,1/0),r=e;return r.length?r.length===1?O(r[0]):go(n)(xe(r,t)):Gn}function yo(e,t){return _((n,r)=>{let o=0;n.subscribe(b(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Xl(e){return _((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(b(n,l=>{r=!0,o=l,i||O(e(l)).subscribe(i=b(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function eu(e,t=Tt){return Xl(()=>zn(e,t))}function ss(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(b(n,void 0,void 0,s=>{i=O(e(s,ss(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function tu(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(b(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Zg(e,t){return _(tu(e,t,arguments.length>=2,!1,!0))}function Yg(e,t){return C(t)?an(e,t,1):an(e,1)}function nu(e,t=Tt){return _((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(b(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Kg(e){return e<=0?()=>Gn:_((t,n)=>{let r=0;t.subscribe(b(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Jg(e){return Ae(()=>e)}function ru(e,t=Ee){return e=e??Xg,_((n,r)=>{let o,i=!0;n.subscribe(b(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Xg(e,t){return e===t}function em(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function tm(e,t,n,r){return _((o,i)=>{let s;!t||typeof t=="function"?s=t:{duration:n,element:s,connector:r}=t;let a=new Map,c=h=>{a.forEach(h),h(i)},l=h=>c(g=>g.error(h)),u=0,d=!1,p=new Hn(i,h=>{try{let g=e(h),I=a.get(g);if(!I){a.set(g,I=r?r():new K);let T=f(g,I);if(i.next(T),n){let L=b(I,()=>{I.complete(),L?.unsubscribe()},void 0,void 0,()=>a.delete(g));p.add(O(n(T)).subscribe(L))}}I.next(s?s(h):h)}catch(g){l(g)}},()=>c(h=>h.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(p);function f(h,g){let I=new N(T=>{u++;let L=g.subscribe(T);return()=>{L.unsubscribe(),--u===0&&d&&p.unsubscribe()}});return I.key=h,I}})}function nm(){return _((e,t)=>{let n,r=!1;e.subscribe(b(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function cs(e={}){let{connector:t=()=>new K,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 g=s;f(),g?.unsubscribe()};return _((g,I)=>{l++,!d&&!u&&p();let T=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=as(h,o))}),T.subscribe(I),!s&&l>0&&(s=new Ie({next:L=>T.next(L),error:L=>{d=!0,p(),a=as(f,n,L),T.error(L)},complete:()=>{u=!0,p(),a=as(f,r),T.complete()}}),O(g).subscribe(s))})(i)}}function as(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ie({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function rm(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,cs({connector:()=>new Un(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function om(e){return yo((t,n)=>e<=n)}function im(...e){let t=Se(e);return _((n,r)=>{(t?mo(e,n,t):mo(e,n)).subscribe(r)})}function ou(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(b(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=b(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function sm(e){return _((t,n)=>{O(e).subscribe(b(n,()=>n.complete(),Vn)),!n.closed&&t.subscribe(n)})}function am(e,t=!1){return _((n,r)=>{let o=0;n.subscribe(b(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function iu(e,t,n){let r=C(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(b(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)}))}):Ee}var X=null,vo=!1,ls=1,cm=null,B=Symbol("SIGNAL");function v(e){let t=X;return X=e,t}function Io(){return X}var tt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nt(e){if(vo)throw new Error("");if(X===null)return;X.consumerOnSignalRead(e);let t=X.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=X.recomputing;if(r&&(n=t!==void 0?t.nextProducer:X.producers,n!==void 0&&n.producer===e)){X.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===X&&(!r||um(o,X)))return;let i=un(X),s={producer:e,consumer:X,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};X.producersTail=s,t!==void 0?t.nextProducer=s:X.producers=s,i&&lu(e,s)}function su(){ls++}function St(e){if(!(un(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ls)){if(!e.producerMustRecompute(e)&&!ln(e)){cn(e);return}e.producerRecomputeValue(e),cn(e)}}function us(e){if(e.consumers===void 0)return;let t=vo;vo=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||lm(r)}}finally{vo=t}}function ds(){return X?.consumerAllowSignalWrites!==!1}function lm(e){e.dirty=!0,us(e),e.consumerMarkedDirty?.(e)}function cn(e){e.dirty=!1,e.lastCleanEpoch=ls}function Ue(e){return e&&au(e),v(e)}function au(e){e.producersTail=void 0,e.recomputing=!0}function rt(e,t){v(t),e&&cu(e)}function cu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(un(e))do n=fs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function ln(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(St(n),r!==n.version))return!0}return!1}function ot(e){if(un(e)){let t=e.producers;for(;t!==void 0;)t=fs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function lu(e,t){let n=e.consumersTail,r=un(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)lu(o.producer,o)}function fs(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,!un(t)){let i=t.producers;for(;i!==void 0;)i=fs(i)}return n}function un(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Qn(e){cm?.(e)}function um(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Zn(e,t){return Object.is(e,t)}function Yn(e,t){let n=Object.create(dm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(St(n),nt(n),n.value===Re)throw n.error;return n.value};return r[B]=n,Qn(n),r}var Mt=Symbol("UNSET"),Nt=Symbol("COMPUTING"),Re=Symbol("ERRORED"),dm=G(q({},tt),{value:Mt,dirty:!0,error:null,equal:Zn,kind:"computed",producerMustRecompute(e){return e.value===Mt||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("");let t=e.value;e.value=Nt;let n=Ue(e),r,o=!1;try{r=e.computation(),v(null),o=t!==Mt&&t!==Re&&r!==Re&&e.equal(t,r)}catch(i){r=Re,e.error=i}finally{rt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function fm(){throw new Error}var uu=fm;function du(e){uu(e)}function ps(e){uu=e}var pm=null;function hs(e,t){let n=Object.create(Kn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>fu(n);return r[B]=n,Qn(n),[r,s=>xt(n,s),s=>Eo(n,s)]}function fu(e){return nt(e),e.value}function xt(e,t){ds()||du(e),e.equal(e.value,t)||(e.value=t,hm(e))}function Eo(e,t){ds()||du(e),xt(e,t(e.value))}var Kn=G(q({},tt),{equal:Zn,value:void 0,kind:"signal"});function hm(e){e.version++,su(),us(e),pm?.(e)}var gs=G(q({},tt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ms(e){if(e.dirty=!1,e.version>0&&!ln(e))return;e.version++;let t=Ue(e);try{e.cleanup(),e.fn()}finally{rt(e,t)}}var ys;function Do(){return ys}function ke(e){let t=ys;return ys=e,t}var pu=Symbol("NotFound");function dn(e){return e===pu||e?.name==="\u0275NotFound"}function vs(e,t,n){let r=Object.create(gm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(St(r),nt(r),r.value===Re)throw r.error;return r.value};return i[B]=r,Qn(r),i}function hu(e,t){St(e),xt(e,t),cn(e)}function gu(e,t){if(St(e),e.value===Re)throw e.error;Eo(e,t),cn(e)}var gm=G(q({},tt),{value:Mt,dirty:!0,error:null,equal:Zn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Mt||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("");let t=e.value;e.value=Nt;let n=Ue(e),r,o=!1;try{let i=e.source(),s=t!==Mt&&t!==Re,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,v(null),o=s&&r!==Re&&e.equal(t,r)}catch(i){r=Re,e.error=i}finally{rt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function mu(e){let t=v(null);try{return e()}finally{v(t)}}var So="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(t,n){super(ir(t,n)),this.code=t}};function mm(e){return`NG0${Math.abs(e)}`}function ir(e,t){return`${mm(e)}${t?": "+t:""}`}var Pe=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("")}function Du(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(xo).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 Ao(e,t){return e?t?`${e} ${t}`:e:t||""}var ym=F({__forward_ref__:F});function Ro(e){return e.__forward_ref__=Ro,e}function z(e){return As(e)?e():e}function As(e){return typeof e=="function"&&e.hasOwnProperty(ym)&&e.__forward_ref__===Ro}function Q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Cu(e){return{providers:e.providers||[],imports:e.imports||[]}}function ko(e){return vm(e,Oo)}function vm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Im(e){let t=e?.[Oo]??null;return t||null}function Es(e){return e&&e.hasOwnProperty(wo)?e[wo]:null}var Oo=F({\u0275prov:F}),wo=F({\u0275inj:F}),x=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 Rs(e){return e&&!!e.\u0275providers}var sr=F({\u0275cmp:F}),ar=F({\u0275dir:F}),ks=F({\u0275pipe:F});var Xn=F({\u0275fac:F}),Pt=F({__NG_ELEMENT_ID__:F}),yu=F({__NG_ENV_ID__:F});function ze(e){return Ps(e,"@Component"),e[sr]||null}function cr(e){return Ps(e,"@Directive"),e[ar]||null}function Os(e){return Ps(e,"@Pipe"),e[ks]||null}function Ps(e,t){if(e==null)throw new w(-919,!1)}function Le(e){return typeof e=="string"?e:e==null?"":String(e)}var bu=F({ngErrorCode:F}),Em=F({ngErrorMessage:F}),Dm=F({ngTokenPath:F});function Ls(e,t){return wu("",-200,t)}function Po(e,t){throw new w(-201,!1)}function wu(e,t,n){let r=new w(t,e);return r[bu]=t,r[Em]=e,n&&(r[Dm]=n),r}function Cm(e){return e[bu]}var Ds;function Tu(){return Ds}function ne(e){let t=Ds;return Ds=e,t}function Fs(e,t,n){let r=ko(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 bm={},At=bm,wm="__NG_DI_FLAG__",Cs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Rt(n)||0;try{return this.injector.get(t,r&8?null:At,r)}catch(o){if(dn(o))return o;throw o}}};function Tm(e,t=0){let n=Do();if(n===void 0)throw new w(-203,!1);if(n===null)return Fs(e,void 0,t);{let r=_m(t),o=n.retrieve(e,r);if(dn(o)){if(r.optional)return null;throw o}return o}}function Oe(e,t=0){return(Tu()||Tm)(z(e),t)}function E(e,t){return Oe(e,Rt(t))}function Rt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _m(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function bs(e){let t=[];for(let n=0;n<e.length;n++){let r=z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Mm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Oe(o,i))}else t.push(Oe(r))}return t}function Mm(e){return e[wm]}function st(e,t){let n=e.hasOwnProperty(Xn);return n?e[Xn]:null}function _u(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 Mu(e){return e.flat(Number.POSITIVE_INFINITY)}function Lo(e,t){e.forEach(n=>Array.isArray(n)?Lo(n,t):t(n))}function js(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function lr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nu(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 ur(e,t,n){let r=pn(e,t);return r>=0?e[r|1]=n:(r=~r,Su(e,r,t,n)),r}function Fo(e,t){let n=pn(e,t);if(n>=0)return e[n|1]}function pn(e,t){return Nm(e,t,1)}function Nm(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 Ce={},te=[],Lt=new x(""),Vs=new x("",-1),Hs=new x(""),er=class{get(t,n=At){if(n===At){let o=wu("",-201);throw o.name="\u0275NotFound",o}return n}};function Bs(e){return{\u0275providers:e}}function xu(...e){return{\u0275providers:jo(!0,e),\u0275fromNgModule:!0}}function jo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Lo(t,s=>{let a=s;To(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Au(o,i),n}function Au(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];$s(o,i=>{t(i,r)})}}function To(e,t,n,r){if(e=z(e),!e)return!1;let o=null,i=Es(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Es(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)To(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Lo(i.imports,u=>{To(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Au(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:te},o),t({provide:Hs,useValue:o,multi:!0},o),t({provide:Lt,useValue:()=>Oe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;$s(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function $s(e,t){for(let n of e)Rs(n)&&(n=n.\u0275providers),Array.isArray(n)?$s(n,t):t(n)}var Sm=F({provide:String,useValue:F});function Ru(e){return e!==null&&typeof e=="object"&&Sm in e}function xm(e){return!!(e&&e.useExisting)}function Am(e){return!!(e&&e.useFactory)}function kt(e){return typeof e=="function"}function ku(e){return!!e.useClass}var Us=new x(""),Co={},vu={},Is;function hn(){return Is===void 0&&(Is=new er),Is}var le=class{},Ot=class extends le{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ts(t,s=>this.processProvider(s)),this.records.set(Vs,fn(void 0,this)),o.has("environment")&&this.records.set(le,fn(void 0,this));let i=this.records.get(Us);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Hs,te,{self:!0}))}retrieve(t,n){let r=Rt(n)||0;try{return this.get(t,At,r)}catch(o){if(dn(o))return o;throw o}}destroy(){Jn(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 Jn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Jn(this);let n=ke(this),r=ne(void 0),o;try{return t()}finally{ke(n),ne(r)}}get(t,n=At,r){if(Jn(this),t.hasOwnProperty(yu))return t[yu](this);let o=Rt(r),i,s=ke(this),a=ne(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Lm(t)&&ko(t);u&&this.injectableDefInScope(u)?l=fn(ws(t),Co):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?hn():this.parent;return n=o&8&&n===At?null:n,c.get(t,n)}catch(c){let l=Cm(c);throw l===-200||l===-201?new w(l,null):c}finally{ne(a),ke(s)}}resolveInjectorInitializers(){let t=v(null),n=ke(this),r=ne(void 0),o;try{let i=this.get(Lt,te,{self:!0});for(let s of i)s()}finally{ke(n),ne(r),v(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=z(t);let n=kt(t)?t:z(t&&t.provide),r=km(t);if(!kt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=fn(void 0,Co,!0),o.factory=()=>bs(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===vu)throw Ls("");return n.value===Co&&(n.value=vu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Pm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=z(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ws(e){let t=ko(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof x)throw new w(-204,!1);if(e instanceof Function)return Rm(e);throw new w(-204,!1)}function Rm(e){if(e.length>0)throw new w(-204,!1);let n=Im(e);return n!==null?()=>n.factory(e):()=>new e}function km(e){if(Ru(e))return fn(void 0,e.useValue);{let t=Ws(e);return fn(t,Co)}}function Ws(e,t,n){let r;if(kt(e)){let o=z(e);return st(o)||ws(o)}else if(Ru(e))r=()=>z(e.useValue);else if(Am(e))r=()=>e.useFactory(...bs(e.deps||[]));else if(xm(e))r=(o,i)=>Oe(z(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=z(e&&(e.useClass||e.provide));if(Om(e))r=()=>new o(...bs(e.deps));else return st(o)||ws(o)}return r}function Jn(e){if(e.destroyed)throw new w(-205,!1)}function fn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Om(e){return!!e.deps}function Pm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Lm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ts(e,t){for(let n of e)Array.isArray(n)?Ts(n,t):n&&Rs(n)?Ts(n.\u0275providers,t):t(n)}function Vo(e,t){let n;e instanceof Ot?(Jn(e),n=e):n=new Cs(e);let r,o=ke(n),i=ne(void 0);try{return t()}finally{ke(o),ne(i)}}function Ou(){return Tu()!==void 0||Do()!=null}var be=0,y=1,D=2,U=3,ge=4,re=5,Ft=6,gn=7,$=8,oe=9,we=10,P=11,mn=12,qs=13,jt=14,ie=15,lt=16,Vt=17,Fe=18,Qe=19,Gs=20,qe=21,Ho=22,at=23,ue=24,Ht=25,ut=26,R=27,Pu=1,dt=6,ft=7,dr=8,Bt=9,V=10;function Ze(e){return Array.isArray(e)&&typeof e[Pu]=="object"}function Te(e){return Array.isArray(e)&&e[Pu]===!0}function zs(e){return(e.flags&4)!==0}function je(e){return e.componentOffset>-1}function yn(e){return(e.flags&1)===1}function _e(e){return!!e.template}function vn(e){return(e[D]&512)!==0}function pt(e){return(e[D]&256)===256}var ee=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(ee||{}),bo,tr="svg",Qs="math";function Lu(){return bo||(bo={},it(ee.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),it(ee.STYLE,void 0,[["*",["style"]]]),it(ee.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),it(ee.URL,Qs,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),it(ee.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),it(ee.URL,tr,[["a",["href","xlink:href"]]]),it(ee.ATTRIBUTE_NO_BINDING,tr,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),it(ee.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),bo}function it(e,t,n){for(let[r,o]of n){let i=t&&r!=="unknown"?`:${t}:${r}`:r;i=i.toLowerCase();for(let s of o)bo[`${i}|${s.toLowerCase()}`]=e}}function Fu(e,t,n){let r=Lu(),o=e.toLowerCase(),i=t.toLowerCase(),s=n&&o!=="*"&&o!=="unknown"?r[`:${n}:${o}|${i}`]:void 0,a=n?r[`:${n}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??ee.NONE}function me(e){for(;Array.isArray(e);)e=e[be];return e}function Zs(e,t){return me(t[e])}function de(e,t){return me(t[e.index])}function In(e,t){return e.data[t]}function En(e,t){return e[t]}function fr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ye(e,t){let n=t[e];return Ze(n)?n:n[be]}function ju(e){return(e[D]&4)===4}function Bo(e){return(e[D]&128)===128}function Vu(e){return Te(e[U])}function fe(e,t){return t==null?null:e[t]}function Ys(e){e[Vt]=0}function Ks(e){e[D]&1024||(e[D]|=1024,Bo(e)&&$t(e))}function Hu(e,t){for(;e>0;)t=t[jt],e--;return t}function pr(e){return!!(e[D]&9216||e[ue]?.dirty)}function $o(e){e[we].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),pr(e)&&$t(e)}function $t(e){e[we].changeDetectionScheduler?.notify(0);let t=ct(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Bo(t)));)t=ct(t)}function Uo(e,t){if(pt(e))throw new w(911,!1);e[qe]===null&&(e[qe]=[]),e[qe].push(t)}function Js(e,t){if(e[qe]===null)return;let n=e[qe].indexOf(t);n!==-1&&e[qe].splice(n,1)}function ct(e){let t=e[U];return Te(t)?t[U]:t}function Xs(e){return e[gn]??=[]}function ea(e){return e.cleanup??=[]}function Bu(e,t,n,r){let o=Xs(t);o.push(n),e.firstCreatePass&&ea(e).push(r,o.length-1)}var M={lFrame:Xu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var _s=!1;function $u(){return M.lFrame.elementDepthCount}function Uu(){M.lFrame.elementDepthCount++}function ta(){M.lFrame.elementDepthCount--}function Wo(){return M.bindingsEnabled}function na(){return M.skipHydrationRootTNode!==null}function ra(e){return M.skipHydrationRootTNode===e}function oa(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function k(){return M.lFrame.tView}function Wu(e){return M.lFrame.contextLView=e,e[$]}function qu(e){return M.lFrame.contextLView=null,e}function H(){let e=ia();for(;e!==null&&e.type===64;)e=e.parent;return e}function ia(){return M.lFrame.currentTNode}function Gu(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ut(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function sa(){return M.lFrame.isParent}function aa(){M.lFrame.isParent=!1}function ca(){return M.lFrame.contextLView}function la(){return _s}function nr(e){let t=_s;return _s=e,t}function Ve(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ua(){return M.lFrame.bindingIndex}function zu(e){return M.lFrame.bindingIndex=e}function Ye(){return M.lFrame.bindingIndex++}function hr(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Qu(){return M.lFrame.inI18n}function Zu(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,qo(t)}function Yu(){return M.lFrame.currentDirectiveIndex}function qo(e){M.lFrame.currentDirectiveIndex=e}function Ku(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Go(){return M.lFrame.currentQueryIndex}function gr(e){M.lFrame.currentQueryIndex=e}function Fm(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[re]:null}function da(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Fm(i),o===null||(i=i[jt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Ju();return r.currentTNode=t,r.lView=e,!0}function zo(e){let t=Ju(),n=e[y];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ju(){let e=M.lFrame,t=e===null?null:e.child;return t===null?Xu(e):t}function Xu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function ed(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var fa=ed;function Qo(){let e=ed();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 td(e){return(M.lFrame.contextLView=Hu(e,M.lFrame.contextLView))[$]}function pe(){return M.lFrame.selectedIndex}function ht(e){M.lFrame.selectedIndex=e}function Wt(){let e=M.lFrame;return In(e.tView,e.selectedIndex)}function nd(){M.lFrame.currentNamespace=tr}function rd(){jm()}function jm(){M.lFrame.currentNamespace=null}function pa(){return M.lFrame.currentNamespace}var od=!0;function Zo(){return od}function mr(e){od=e}function Ms(e,t=null,n=null,r){let o=id(e,t,n,r);return o.resolveInjectorInitializers(),o}function id(e,t=null,n=null,r,o=new Set){let i=[n||te,xu(e)],s;return new Ot(i,t||hn(),s||null,o)}var he=class e{static THROW_IF_NOT_FOUND=At;static NULL=new er;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:()=>Oe(Vs)});static __NG_ELEMENT_ID__=-1},ha=new x(""),He=(()=>{class e{static __NG_ELEMENT_ID__=Vm;static __NG_ENV_ID__=n=>n}return e})(),_o=class extends He{_lView;constructor(t){super(),this._lView=t}get destroyed(){return pt(this._lView)}onDestroy(t){let n=this._lView;return Uo(n,t),()=>Js(n,t)}};function Vm(){return new _o(m())}var ga=!1,sd=new x(""),gt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Bn(!1);debugTaskTracker=E(sd,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ns=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ou()&&(this.destroyRef=E(He,{optional:!0})??void 0,this.pendingTasks=E(gt,{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 j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},We=Ns;function Mo(...e){}function ma(e){let t,n;function r(){e=Mo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ad(e){return queueMicrotask(()=>e()),()=>{e=Mo}}var ya="isAngularZone",rr=ya+"_ID",Hm=0,Y=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new We(!1);onMicrotaskEmpty=new We(!1);onStable=new We(!1);onError=new We(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ga}=t;if(typeof Zone>"u")throw new w(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,Um(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ya)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Bm,Mo,Mo);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Bm={};function va(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 $m(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ma(()=>{e.callbackScheduled=!1,Ss(e),e.isCheckStableRunning=!0,va(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ss(e)}function Um(e){let t=()=>{$m(e)},n=Hm++;e._inner=e._inner.fork({name:"angular",properties:{[ya]:!0,[rr]:n,[rr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Wm(c))return r.invokeTask(i,s,a,c);try{return Iu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Eu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Iu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!qm(c)&&t(),Eu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ss(e),va(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 Ss(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Iu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Eu(e){e._nesting--,va(e)}var or=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new We;onMicrotaskEmpty=new We;onStable=new We;onError=new We;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 cd(e,"__ignore_ng_zone__")}function qm(e){return cd(e,"__scheduler_tick__")}function cd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ge=class{_console=console;handleError(t){this._console.error("ERROR",t)}},mt=new x("",{factory:()=>{let e=E(Y),t=E(le),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ge),n.handleError(r))})}}}),ld={provide:Lt,useValue:()=>{let e=E(Ge,{optional:!0})},multi:!0};function yt(e,t){let[n,r,o]=hs(e,t?.equal),i=n,s=i[B];return i.set=r,i.update=o,i.asReadonly=yr.bind(i),i}function yr(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=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__=Gm}return e})();function Gm(){return new Dn(m(),H())}var De=class{},Cn=new x("",{factory:()=>!0});var Yo=new x(""),vr=(()=>{class e{internalPendingTasks=E(gt);scheduler=E(De);errorHandler=E(mt);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 xs})}return e})(),xs=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}},No=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function Ia(e,t){let n=t?.injector??E(he),r=t?.manualCleanup!==!0?n.get(He):null,o,i=n.get(Dn,null,{optional:!0}),s=n.get(De);return i!==null?(o=Zm(i.view,s,e),r instanceof _o&&r._lView===i.view&&(r=null)):o=Ym(e,n.get(Ko),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new No(o)}var ud=G(q({},gs),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=nr(!1);try{ms(this)}finally{nr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],v(e)}}}),zm=G(q({},ud),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ot(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Qm=G(q({},ud),{consumerMarkedDirty(){this.view[D]|=8192,$t(this.view),this.notifier.notify(13)},destroy(){if(ot(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[at]?.delete(this)}});function Zm(e,t,n){let r=Object.create(Qm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=dd(r,n),e[at]??=new Set,e[at].add(r),r.consumerMarkedDirty(r),r}function Ym(e,t,n){let r=Object.create(zm);return r.fn=dd(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function dd(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Rr(e){return{toString:e}.toString()}function iy(e){return typeof e=="function"}function nf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ci=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},sy=(()=>{let e=()=>rf;return e.ngInherit=!0,e})();function rf(e){return e.type.prototype.ngOnChanges&&(e.setInput=cy),ay}function ay(){let e=sf(this),t=e?.current;if(t){let n=e.previous;if(n===Ce)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function cy(e,t,n,r,o){let i=this.declaredInputs[r],s=sf(e)||ly(e,{previous:Ce,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ci(l&&l.currentValue,n,c===Ce),nf(e,t,o,n)}var of="__ngSimpleChanges__";function sf(e){return e[of]||null}function ly(e,t){return e[of]=t}var fd=[];var A=function(e,t=null,n){for(let r=0;r<fd.length;r++){let o=fd[r];o(e,t,n)}},S=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(S||{});function uy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=rf(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 af(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 ni(e,t,n){cf(e,t,3,n)}function ri(e,t,n,r){(e[D]&3)===n&&cf(e,t,n,r)}function Ea(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function cf(e,t,n,r){let o=r!==void 0?e[Vt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Vt]+=65536),(a<i||i==-1)&&(dy(e,n,t,c),e[Vt]=(e[Vt]&4294901760)+c+2),c++}function pd(e,t){A(S.LifecycleHookStart,e,t);let n=v(null);try{t.call(e)}finally{v(n),A(S.LifecycleHookEnd,e,t)}}function dy(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[Vt]>>16&&(e[D]&3)===t&&(e[D]+=16384,pd(a,i)):pd(a,i)}var wn=-1,Gt=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 fy(e){return(e.flags&8)!==0}function py(e){return(e.flags&16)!==0}function hy(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];gy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function lf(e){return e===3||e===4||e===6}function gy(e){return e.charCodeAt(0)===64}function _n(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?hd(e,n,o,null,t[++r]):hd(e,n,o,null,null))}}return e}function hd(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 uf(e){return e!==wn}function li(e){return e&32767}function my(e){return e>>16}function ui(e,t){let n=my(e),r=t;for(;n>0;)r=r[jt],n--;return r}var ka=!0;function di(e){let t=ka;return ka=e,t}var yy=256,df=yy-1,ff=5,vy=0,Be={};function Iy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Pt)&&(r=n[Pt]),r==null&&(r=n[Pt]=vy++);let o=r&df,i=1<<o;t.data[e+(o>>ff)]|=i}function fi(e,t){let n=pf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Da(r.data,e),Da(t,null),Da(r.blueprint,null));let o=yc(e,t),i=e.injectorIndex;if(uf(o)){let s=li(o),a=ui(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Da(e,t){e.push(0,0,0,0,0,0,0,0,t)}function pf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function yc(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=vf(o),r===null)return wn;if(n++,o=o[jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wn}function Oa(e,t,n){Iy(e,t,n)}function Ey(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(lf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function hf(e,t,n){if(n&8||e!==void 0)return e;Po(t,"NodeInjector")}function gf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[oe],i=ne(void 0);try{return o?o.get(t,r,n&8):Fs(t,r,n&8)}finally{ne(i)}}return hf(r,t,n)}function mf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=Ty(e,t,n,r,Be);if(s!==Be)return s}let i=yf(e,t,n,r,Be);if(i!==Be)return i}return gf(t,n,r,o)}function yf(e,t,n,r,o){let i=Cy(n);if(typeof i=="function"){if(!da(t,e,r))return r&1?hf(o,n,r):gf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Po(n);else return s}finally{fa()}}else if(typeof i=="number"){let s=null,a=pf(e,t),c=wn,l=r&1?t[ie][re]:null;for((a===-1||r&4)&&(c=a===-1?yc(e,t):t[a+8],c===wn||!md(r,!1)?a=-1:(s=t[y],a=li(c),t=ui(c,t)));a!==-1;){let u=t[y];if(gd(i,a,u.data)){let d=Dy(a,t,n,s,r,l);if(d!==Be)return d}c=t[a+8],c!==wn&&md(r,t[y].data[a+8]===l)&&gd(i,a,t)?(s=u,a=li(c),t=ui(c,t)):a=-1}}return o}function Dy(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?je(a)&&ka:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=oi(a,s,n,c,l);return u!==null?br(t,s,u,a,o):Be}function oi(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&&_e(f)&&f.type===n)return c}return null}function br(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Gt){let a=i;if(a.resolving)throw Ls("");let c=di(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ne(a.injectImpl):null,p=da(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&uy(n,s[n],t)}finally{d!==null&&ne(d),di(c),a.resolving=!1,fa()}}return i}function Cy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Pt)?e[Pt]:void 0;return typeof t=="number"?t>=0?t&df:by:t}function gd(e,t,n){let r=1<<e;return!!(n[t+(e>>ff)]&r)}function md(e,t){return!(e&2)&&!(e&1&&t)}var qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return mf(this._tNode,this._lView,t,Rt(r),n)}};function by(){return new qt(H(),m())}function wy(e){return Rr(()=>{let t=e.prototype.constructor,n=t[Xn]||Pa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xn]||Pa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Pa(e){return As(e)?()=>{let t=Pa(z(e));return t&&t()}:st(e)}function Ty(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!vn(s);){let a=yf(i,s,n,r|2,Be);if(a!==Be)return a;let c=i.parent;if(!c){let l=s[Gs];if(l){let u=l.get(n,Be,r&-5);if(u!==Be)return u}c=vf(s),s=s[jt]}i=c}return o}function vf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[re]:null}function If(e){return Ey(H(),e)}function _y(){return Rn(H(),m())}function Rn(e,t){return new kr(de(e,t))}var kr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=_y}return e})();function Ef(e){return e instanceof kr?e.nativeElement:e}function My(){return this._results[Symbol.iterator]()}var pi=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 K}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=Mu(t);(this._changesDetected=!_u(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]=My};function Df(e){return(e.flags&128)===128}var vc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(vc||{}),Cf=new Map,Ny=0;function Sy(){return Ny++}function xy(e){Cf.set(e[Qe],e)}function La(e){Cf.delete(e[Qe])}var yd="__ngContext__";function Mn(e,t){Ze(t)?(e[yd]=t[Qe],xy(t)):e[yd]=t}function bf(e){return Tf(e[mn])}function wf(e){return Tf(e[ge])}function Tf(e){for(;e!==null&&!Te(e);)e=e[ge];return e}var Fa;function Ay(e){Fa=e}function _f(){if(Fa!==void 0)return Fa;if(typeof document<"u")return document;throw new w(210,!1)}var Ry=new x("",{factory:()=>ky}),ky="ng";var Mf=new x(""),Oy=new x("",{providedIn:"platform",factory:()=>"unknown"}),Py=new x(""),Ly=new x("",{factory:()=>E(ha).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Nf="r";var Ic="di",Ec="s";var Sf=!1,xf=new x("",{factory:()=>Sf});var Af=new x("");var vd=new WeakMap;function Fy(e,t){if(e==null||typeof e!="object")return;let n=vd.get(e);n||(n=new WeakSet,vd.set(e,n)),n.add(t)}var jy=(e,t,n,r)=>{};function Vy(e,t,n,r){jy(e,t,n,r)}var Rf=new x("");function Ti(e){return(e.flags&32)===32}var Hy=()=>null;function kf(e,t,n=!1){return Hy(e,t,n)}function Dc(e){return e.get(Af,!1,{optional:!0})}function Of(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];gr(i),a.contentQueries(2,t[s],s)}}}finally{v(r)}}}function ja(e,t,n){gr(0);let r=v(null);try{t(e,n)}finally{v(r)}}function Cc(e,t,n){if(zs(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 zt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(zt||{});var By="svg",$y="math",Uy={"http://www.w3.org/2000/svg":By,"http://www.w3.org/1998/Math/MathML":$y},Jo;function Wy(){if(Jo===void 0&&(Jo=null,Pe.trustedTypes))try{Jo=Pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Jo}function _i(e){return Wy()?.createHTML(e)||e}var Xo;function Pf(){if(Xo===void 0&&(Xo=null,Pe.trustedTypes))try{Xo=Pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Xo}function Id(e){return Pf()?.createHTML(e)||e}function Ed(e){return Pf()?.createScriptURL(e)||e}var Ke=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${So})`}},Va=class extends Ke{getTypeName(){return"HTML"}},Ha=class extends Ke{getTypeName(){return"Style"}},Ba=class extends Ke{getTypeName(){return"Script"}},$a=class extends Ke{getTypeName(){return"URL"}},Ua=class extends Ke{getTypeName(){return"ResourceURL"}};function Kt(e){return e instanceof Ke?e.changingThisBreaksApplicationSecurity:e}function Mi(e,t){let n=Lf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${So})`)}return n===t}function Lf(e){return e instanceof Ke&&e.getTypeName()||null}function qy(e){return new Va(e)}function Gy(e){return new Ha(e)}function zy(e){return new Ba(e)}function Qy(e){return new $a(e)}function Zy(e){return new Ua(e)}function Yy(e){let t=new qa(e);return Ky()?new Wa(t):t}var Wa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(_i(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},qa=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=_i(t),n}};function Ky(){try{return!!new window.DOMParser().parseFromString(_i(""),"text/html")}catch(e){return!1}}var Jy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bc(e){return e=String(e),e.match(Jy)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Or(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ff=Je("area,br,col,hr,img,wbr"),jf=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vf=Je("rp,rt"),Xy=Or(Vf,jf),ev=Or(jf,Je("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),tv=Or(Vf,Je("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Dd=Or(Ff,ev,tv,Xy),Hf=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nv=Je("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),rv=Je("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),ov=Or(Hf,nv,rv),iv=Je("script,style,template"),Ga=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=cv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=av(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Cd(t).toLowerCase();if(!Dd.hasOwnProperty(n))return this.sanitizedSomething=!0,!iv.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(!ov.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Hf[a]&&(c=bc(c)),this.buf.push(" ",s,'="',bd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Cd(t).toLowerCase();Dd.hasOwnProperty(n)&&!Ff.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(bd(t))}};function sv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function av(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Bf(t);return t}function cv(e){let t=e.firstChild;if(t&&sv(e,t))throw Bf(t);return t}function Cd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Bf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var lv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uv=/([^\#-~ |!])/g;function bd(e){return e.replace(/&/g,"&amp;").replace(lv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(uv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ei;function $f(e,t){let n=null;try{ei=ei||Yy(e);let r=t?String(t):"";n=ei.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=ei.getInertBodyElement(r)}while(r!==i);let a=new Ga().sanitizeChildren(wd(n)||n);return _i(a)}finally{if(n){let r=wd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function wd(e){return"content"in e&&dv(e)?e.content:null}function dv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var fv=/^>|^->|<!--|-->|--!>|<!-$/g,pv=/(<|>)/g,hv="\u200B$1\u200B";function gv(e){return e.replace(fv,t=>t.replace(pv,hv))}function mv(e,t){return e.createText(t)}function yv(e,t,n){e.setValue(t,n)}function vv(e,t){return e.createComment(gv(t))}function Uf(e,t,n){return e.createElement(t,n)}function hi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Wf(e,t,n){e.appendChild(t,n)}function Td(e,t,n,r,o){r!==null?hi(e,t,n,r,o):Wf(e,t,n)}function qf(e,t,n,r){e.removeChild(null,t,n,r)}function Iv(e,t,n){e.setAttribute(t,"style",n)}function Ev(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Gf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&hy(e,t,r),o!==null&&Ev(e,t,o),i!==null&&Iv(e,t,i)}function Dv(e,t=!0){if(e[0]!=":")return[null,e];let n=e.indexOf(":",1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Cv(e,t,n){if(t!==void 0&&n!==void 0&&Tv(t,n)!==ee.HTML)return e;let r=wc();return r?Id(r.sanitize(ee.HTML,e)||""):Mi(e,"HTML")?Id(Kt(e)):$f(_f(),Le(e))}function bv(e){let t=wc();return t?t.sanitize(ee.URL,e)||"":Mi(e,"URL")?Kt(e):bc(Le(e))}function wv(e){let t=wc();if(t)return Ed(t.sanitize(ee.RESOURCE_URL,e)||"");if(Mi(e,"ResourceURL"))return Ed(Kt(e));throw new w(904,!1)}function wc(){let e=m();return e&&e[we].sanitizer}function Tv(e,t){let[n,r]=_v(e);return Fu(r,t,n)}function _v(e){e=e.toLowerCase();let t=Dv(e,!1);if(t[0])return t;let r=pe()===-1?null:Wt(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=de(r,m());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&Uy[s]}}return[o,e]}function Mv(e){return e.ownerDocument.defaultView}function Nv(e){return e.ownerDocument}function Sv(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 zf="ng-template";function xv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Sv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Tc(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 Tc(e){return e.type===4&&e.value!==zf}function Av(e,t,n){let r=e.type===4&&!n?zf:e.value;return t===r}function Rv(e,t,n){let r=4,o=e.attrs,i=o!==null?Pv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Me(r)&&!Me(c))return!1;if(s&&Me(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Av(e,c,n)||c===""&&t.length===1){if(Me(r))return!1;s=!0}}else if(r&8){if(o===null||!xv(e,o,c,n)){if(Me(r))return!1;s=!0}}else{let l=t[++a],u=kv(c,o,Tc(e),n);if(u===-1){if(Me(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Me(r))return!1;s=!0}}}}return Me(r)||s}function Me(e){return(e&1)===0}function kv(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 Qf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Rv(e,t[r],n))return!0;return!1}function Ov(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Pv(e){for(let t=0;t<e.length;t++){let n=e[t];if(lf(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 Fv(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 _d(e,t){return e?":not("+t.trim()+")":t}function jv(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!==""&&!Me(s)&&(t+=_d(i,o),o=""),r=s,i=i||!Me(r);n++}return o!==""&&(t+=_d(i,o)),t}function Vv(e){return e.map(jv).join(",")}function Hv(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(!Me(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var J={};function _c(e,t,n,r,o,i,s,a,c,l,u){let d=R+r,p=d+o,f=Bv(d,p),h=typeof l=="function"?l():l;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Bv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:J);return n}function $v(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=_c(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Mc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[be]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),Ys(d),d[U]=d[jt]=e,d[$]=n,d[we]=s||e&&e[we],d[P]=a||e&&e[P],d[oe]=c||e&&e[oe]||null,d[re]=i,d[Qe]=Sy(),d[Ft]=u,d[Gs]=l,d[ie]=t.type==2?e[ie]:d,d}function Uv(e,t,n){let r=de(t,e),o=$v(n),i=e[we].rendererFactory,s=Nc(e,Mc(e,o,null,Zf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Zf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Yf(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 Nc(e,t){return e[mn]?e[qs][ge]=t:e[mn]=t,e[qs]=t,t}function Wv(e=1){Kf(k(),m(),pe()+e,!1)}function Kf(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ni(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ri(t,i,0,n)}ht(n)}var Ni=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ni||{});function za(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ni.SignalBased)!==0&&(c=t[i][B]),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):nf(t,c,i,r)}finally{v(o)}}var gi=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(gi||{}),qv;function Sc(e,t){return qv(e,t)}var DR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Qa=new WeakMap,Er=new WeakSet;function Gv(e,t){let n=Qa.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Er.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function zv(e,t){let n=Qa.get(e);n?n.includes(t)||n.push(t):Qa.set(e,[t])}var wr=new Set,Si=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Si||{}),Jt=new x(""),Md=new Set;function $e(e){Md.has(e)||(Md.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xi=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),xc=[0,1,2,3],Ac=(()=>{class e{ngZone=E(Y);scheduler=E(De);errorHandler=E(Ge,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(Jt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(S.AfterRenderHooksStart),this.executing=!0;for(let r of xc)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&A(S.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Ht]??=[]).push(n),$t(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(Si.AFTER_NEXT_RENDER,n):n()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Tr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Ht];t&&(this.view[Ht]=t.filter(n=>n!==this))}};function Qv(e,t){let n=t?.injector??E(he);return $e("NgAfterNextRender"),Yv(e,n,t,!0)}function Zv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Yv(e,t,n,r){let o=t.get(xi);o.impl??=t.get(Ac);let i=t.get(Jt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(He):null,a=t.get(Dn,null,{optional:!0}),c=new Tr(o.impl,Zv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Jf=new x("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:E(le)})});function Xf(e,t,n){let r=e.get(Jf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Kv(e,t){let n=e.get(Jf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Jv(e,t){for(let[n,r]of t)Xf(e,r.animateFns)}function Nd(e,t,n,r){let o=e?.[ut]?.enter;t!==null&&o&&o.has(n.index)&&Jv(r,o)}function bn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Te(o)?c=o:Ze(o)&&(l=!0,o=o[be]);let u=me(o);e===0&&r!==null?(Nd(a,r,i,n),s==null?Wf(t,r,u):hi(t,r,u,s||null,!0)):e===1&&r!==null?(Nd(a,r,i,n),hi(t,r,u,s||null,!0),Gv(i,u)):e===2?(a?.[ut]?.leave?.has(i.index)&&zv(i,u),Er.delete(u),Sd(a,i,n,d=>{if(Er.has(u)){Er.delete(u);return}qf(t,u,l,d)})):e===3&&(Er.delete(u),Sd(a,i,n,()=>{t.destroyNode(u)})),c!=null&&lI(t,e,n,c,i,r,s)}}function Xv(e,t){ep(e,t),t[be]=null,t[re]=null}function eI(e,t,n,r,o,i){r[be]=o,r[re]=t,Ri(e,r,n,1,o,i)}function ep(e,t){t[we].changeDetectionScheduler?.notify(9),Ri(e,t,t[P],2,null,null)}function tI(e){let t=e[mn];if(!t)return Ca(e[y],e);for(;t;){let n=null;if(Ze(t))n=t[mn];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)Ze(t)&&Ca(t[y],t),t=t[U];t===null&&(t=e),Ze(t)&&Ca(t[y],t),n=t&&t[ge]}t=n}}function Rc(e,t){let n=e[Bt],r=n.indexOf(t);n.splice(r,1)}function Ai(e,t){if(pt(t))return;let n=t[P];n.destroyNode&&Ri(e,t,n,3,null,null),tI(t)}function Ca(e,t){if(pt(t))return;let n=v(null);try{t[D]&=-129,t[D]|=256,t[ue]&&ot(t[ue]),oI(e,t),rI(e,t),t[y].type===1&&t[P].destroy();let r=t[lt];if(r!==null&&Te(t[U])){r!==t[U]&&Rc(r,t);let o=t[Fe];o!==null&&o.detachView(e)}La(t)}finally{v(n)}}function Sd(e,t,n,r){let o=e?.[ut];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&wr.add(e[Qe]),Xf(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),nI(e,r)}else e&&wr.delete(e[Qe]),r(!1)},o)}function nI(e,t){let n=e[ut]?.running;if(n){n.then(()=>{e[ut].running=void 0,wr.delete(e[Qe]),t(!0)});return}t(!1)}function rI(e,t){let n=e.cleanup,r=t[gn];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[gn]=null);let o=t[qe];if(o!==null){t[qe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[at];if(i!==null){t[at]=null;for(let s of i)s.destroy()}}function oI(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 Gt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];A(S.LifecycleHookStart,a,c);try{c.call(a)}finally{A(S.LifecycleHookEnd,a,c)}}else{A(S.LifecycleHookStart,o,i);try{i.call(o)}finally{A(S.LifecycleHookEnd,o,i)}}}}}function tp(e,t,n){return iI(e,t.parent,n)}function iI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[be];if(je(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===zt.None||o===zt.Emulated)return null}return de(r,n)}function np(e,t,n){return aI(e,t,n)}function sI(e,t,n){return e.type&40?de(e,n):null}var aI=sI,xd;function kc(e,t,n,r){let o=tp(e,r,t),i=t[P],s=r.parent||t[re],a=np(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Td(i,o,n[c],a,!1);else Td(i,o,n,a,!1);xd!==void 0&&xd(i,r,t,n,o)}function Dr(e,t){if(t!==null){let n=t.type;if(n&3)return de(t,e);if(n&4)return Za(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Dr(e,r);{let o=e[t.index];return Te(o)?Za(-1,o):me(o)}}else{if(n&128)return Dr(e,t.next);if(n&32)return Sc(t,e)()||me(e[t.index]);{let r=rp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ct(e[ie]);return Dr(o,r)}else return Dr(e,t.next)}}}return null}function rp(e,t){if(t!==null){let r=e[ie][re],o=t.projection;return r.projection[o]}return null}function Za(e,t){let n=V+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Dr(r,o)}return t[ft]}function Oc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[oe];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Mn(me(c),r),n.flags|=2),!Ti(n))if(l&8)Oc(e,t,n.child,r,o,i,!1),bn(t,e,a,o,c,n,i,r);else if(l&32){let u=Sc(n,r),d;for(;d=u();)bn(t,e,a,o,d,n,i,r);bn(t,e,a,o,c,n,i,r)}else l&16?op(e,t,r,n,o,i):bn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ri(e,t,n,r,o,i){Oc(n,r,e.firstChild,t,o,i,!1)}function cI(e,t,n){let r=t[P],o=tp(e,n,t),i=n.parent||t[re],s=np(i,n,t);op(r,0,t,n,o,s)}function op(e,t,n,r,o,i){let s=n[ie],c=s[re].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];bn(t,e,n[oe],o,u,r,i,n)}else{let l=c,u=s[U];Df(r)&&(l.flags|=128),Oc(e,t,l,u,o,i,!0)}}function lI(e,t,n,r,o,i,s){let a=r[ft],c=me(r);a!==c&&bn(t,e,n,i,a,o,s);for(let l=V;l<r.length;l++){let u=r[l];Ri(u[y],u,e,t,i,a)}}function uI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:gi.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=gi.Important),e.setStyle(n,r,o,i))}}function ip(e,t,n,r,o){let i=pe(),s=r&2;try{ht(-1),s&&t.length>R&&Kf(e,t,R,!1);let a=s?S.TemplateUpdateStart:S.TemplateCreateStart;A(a,o,n),n(r,o)}finally{ht(i);let a=s?S.TemplateUpdateEnd:S.TemplateCreateEnd;A(a,o,n)}}function ki(e,t,n){gI(e,t,n),(n.flags&64)===64&&mI(e,t,n)}function Pr(e,t,n=de){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 dI(e,t,n,r){let i=r.get(xf,Sf)||n===zt.ShadowDom||n===zt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return fI(s),s}function fI(e){pI(e)}var pI=()=>null;function hI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function sp(e,t,n,r,o,i){let s=t[y];if(Oi(e,s,t,n,r)){je(e)&&cp(t,e.index);return}e.type&3&&(n=hI(n)),ap(e,t,n,r,o,i)}function ap(e,t,n,r,o,i){if(e.type&3){let s=de(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function cp(e,t){let n=ye(t,e);n[D]&16||(n[D]|=64)}function gI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;je(n)&&Uv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||fi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=br(t,e,s,n);if(Mn(c,t),i!==null&&II(t,s-r,c,a,n,i),_e(a)){let l=ye(n.index,t);l[$]=br(t,e,s,n)}}}function mI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Yu();try{ht(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];qo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&yI(c,l)}}finally{ht(-1),qo(s)}}function yI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Pc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Qf(t,i.selectors,!1)&&(r??=[],_e(i)?r.unshift(i):r.push(i))}return r}function vI(e,t,n,r,o,i){let s=de(e,t);lp(t[P],s,i,e.value,n,r,o)}function lp(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Le(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function II(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];za(r,n,c,l)}}function Lc(e,t,n,r,o){let i=R+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,Ut(e,!0);let c=e.type===2;return c?(Gf(t[P],a,e),($u()===0||yn(e))&&Mn(a,t),Uu()):Mn(a,t),Zo()&&(!c||!Ti(e))&&kc(s,t,a,e),e}function Fc(e){let t=e;return sa()?aa():(t=t.parent,Ut(t,!1)),t}function jc(e,t){let n=e[oe];if(!n)return;let r;try{r=n.get(mt,null)}catch(o){r=null}r?.(t)}function Oi(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];za(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];za(u,l,r,o),a=!0}return a}function EI(e,t){let n=ye(t,e),r=n[y];DI(r,n);let o=n[be];o!==null&&n[Ft]===null&&(n[Ft]=kf(o,n[oe])),A(S.ComponentStart);try{Vc(r,n,n[$])}finally{A(S.ComponentEnd,n[$])}}function DI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Vc(e,t,n){zo(t);try{let r=e.viewQuery;r!==null&&ja(1,r,n);let o=e.template;o!==null&&ip(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Fe]?.finishViewCreation(e),e.staticContentQueries&&Of(e,t),e.staticViewQueries&&ja(2,e.viewQuery,n);let i=e.components;i!==null&&CI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,Qo()}}function CI(e,t){for(let n=0;n<t.length;n++)EI(e,t[n])}function kn(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=Mc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[lt]=l;let u=e[Fe];return u!==null&&(c[Fe]=u.createEmbeddedView(i)),Vc(i,c,n),c}finally{v(o)}}function Qt(e,t){return!t||t.firstChild===null||Df(e)}function _r(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(me(i)),Te(i)&&up(i,r);let s=n.type;if(s&8)_r(e,t,n.child,r);else if(s&32){let a=Sc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=rp(t,n);if(Array.isArray(a))r.push(...a);else{let c=ct(t[ie]);_r(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function up(e,t){for(let n=V;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&_r(r[y],r,o,t)}e[ft]!==e[be]&&t.push(e[ft])}function dp(e){if(e[Ht]!==null){for(let t of e[Ht])t.impl.addSequence(t);e[Ht].length=0}}var fp=[];function bI(e){return e[ue]??wI(e)}function wI(e){let t=fp.pop()??Object.create(_I);return t.lView=e,t}function TI(e){e.lView[ue]!==e&&(e.lView=null,fp.push(e))}var _I=G(q({},tt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{$t(e.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function MI(e){let t=e[ue]??Object.create(NI);return t.lView=e,t}var NI=G(q({},tt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ct(e.lView);for(;t&&!pp(t[y]);)t=ct(t);t&&Ks(t)},consumerOnSignalRead(){this.lView[ue]=this}});function pp(e){return e.type!==2}function hp(e){if(e[at]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[at])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var SI=100;function gp(e,t=0){let r=e[we].rendererFactory,o=!1;o||r.begin?.();try{xI(e,t)}finally{o||r.end?.()}}function xI(e,t){let n=la();try{nr(!0),Ya(e,t);let r=0;for(;pr(e);){if(r===SI)throw new w(103,!1);r++,Ya(e,1)}}finally{nr(n)}}function AI(e,t,n,r){if(pt(t))return;let o=t[D],i=!1,s=!1;zo(t);let a=!0,c=null,l=null;i||(pp(e)?(l=bI(t),c=Ue(l)):Io()===null?(a=!1,l=MI(t),c=Ue(l)):t[ue]&&(ot(t[ue]),t[ue]=null));try{Ys(t),zu(e.bindingStartIndex),n!==null&&ip(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ni(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ri(t,f,0,null),Ea(t,0)}if(s||RI(t),hp(t),mp(t,0),e.contentQueries!==null&&Of(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ni(t,f)}else{let f=e.contentHooks;f!==null&&ri(t,f,1),Ea(t,1)}OI(e,t);let d=e.components;d!==null&&vp(t,d,0);let p=e.viewQuery;if(p!==null&&ja(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ni(t,f)}else{let f=e.viewHooks;f!==null&&ri(t,f,2),Ea(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ho]){for(let f of t[Ho])f();t[Ho]=null}i||(dp(t),t[D]&=-73)}catch(u){throw i||$t(t),u}finally{l!==null&&(rt(l,c),a&&TI(l)),Qo()}}function mp(e,t){for(let n=bf(e);n!==null;n=wf(n))for(let r=V;r<n.length;r++){let o=n[r];yp(o,t)}}function RI(e){for(let t=bf(e);t!==null;t=wf(t)){if(!(t[D]&2))continue;let n=t[Bt];for(let r=0;r<n.length;r++){let o=n[r];Ks(o)}}}function kI(e,t,n){A(S.ComponentStart);let r=ye(t,e);try{yp(r,n)}finally{A(S.ComponentEnd,r[$])}}function yp(e,t){Bo(e)&&Ya(e,t)}function Ya(e,t){let r=e[y],o=e[D],i=e[ue],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ln(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)AI(r,e,r.template,e[$]);else if(o&8192){let a=v(null);try{hp(e),mp(e,1);let c=r.components;c!==null&&vp(e,c,1),dp(e)}finally{v(a)}}}function vp(e,t,n){for(let r=0;r<t.length;r++)kI(e,t[r],n)}function OI(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)ht(~o);else{let i=o,s=n[++r],a=n[++r];Zu(s,i);let c=t[i];A(S.HostBindingsUpdateStart,c);try{a(2,c)}finally{A(S.HostBindingsUpdateEnd,c)}}}}finally{ht(-1)}}function Pi(e,t){let n=la()?64:1088;for(e[we].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=ct(e);if(vn(e)&&!r)return e;e=r}return null}function Ip(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ep(e,t){let n=V+t;if(n<e.length)return e[n]}function On(e,t,n,r=!0){let o=t[y];if(PI(o,t,e,n),r){let s=Za(n,e),a=t[P],c=a.parentNode(e[ft]);c!==null&&eI(o,e[re],a,t,c,s)}let i=t[Ft];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Hc(e,t){let n=Mr(e,t);return n!==void 0&&Ai(n[y],n),n}function Mr(e,t){if(e.length<=V)return;let n=V+t,r=e[n];if(r){let o=r[lt];o!==null&&o!==e&&Rc(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=lr(e,V+t);Xv(r[y],r);let s=i[Fe];s!==null&&s.detachView(i[y]),r[U]=null,r[ge]=null,r[D]&=-129}return r}function PI(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-V?(t[ge]=n[o],js(n,V+r,t)):(n.push(t),t[ge]=null),t[U]=n;let s=t[lt];s!==null&&n!==s&&Dp(s,t);let a=t[Fe];a!==null&&a.insertView(e),$o(t),t[D]|=128}function Dp(e,t){let n=e[Bt],r=t[U];if(Ze(r))e[D]|=2;else{let o=r[U][ie];t[ie]!==o&&(e[D]|=2)}n===null?e[Bt]=[t]:n.push(t)}var It=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return _r(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return pt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(Te(t)){let n=t[dr],r=n?n.indexOf(this):-1;r>-1&&(Mr(t,r),lr(n,r))}this._attachedToViewContainer=!1}Ai(this._lView[y],this._lView)}onDestroy(t){Uo(this._lView,t)}markForCheck(){Pi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){$o(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,gp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=vn(this._lView),n=this._lView[lt];n!==null&&!t&&Rc(n,this._lView),ep(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;let n=vn(this._lView),r=this._lView[lt];r!==null&&!n&&Dp(r,this._lView),$o(this._lView)}};var Nr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=LI;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=kn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new It(i)}}return e})();function LI(){return Li(H(),m())}function Li(e,t){return e.type&4?new Nr(t,e,Rn(e,t)):null}function Xt(e,t,n,r,o){let i=e.data[t];if(i===null)i=FI(e,t,n,r,o),Qu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Gu();i.injectorIndex=s===null?-1:s.injectorIndex}return Ut(i,!0),i}function FI(e,t,n,r,o){let i=ia(),s=sa(),a=s?i:i&&i.parent,c=e.data[t]=VI(e,a,n,t,r,o);return jI(e,c,i,s),c}function jI(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 VI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return na()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:pa(),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 HI(e){let t=e[dt]??[],r=e[U][P],o=[];for(let i of t)i.data[Ic]!==void 0?o.push(i):BI(i,r);e[dt]=o}function BI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Nf];for(;n<o;){let i=r.nextSibling;qf(t,r,!1),r=i,n++}}}var $I=()=>null,UI=()=>null;function mi(e,t){return $I(e,t)}function Cp(e,t,n){return UI(e,t,n)}var bp=class{},Fi=class{},Ka=class{resolveComponentFactory(t){throw new w(917,!1)}},ji=class{static NULL=new Ka},Sr=class{},WI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qI()}return e})();function qI(){let e=m(),t=H(),n=ye(t.index,e);return(Ze(n)?n:e)[P]}var wp=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:()=>null})}return e})();var ii={},Tn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ii,r);return o!==ii||n===ii?o:this.parentInjector.get(t,n,r)}};function yi(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=Ao(o,a);else if(i==2){let c=a,l=t[++s];r=Ao(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Lr(e,t=0){let n=m();if(n===null)return Oe(e,t);let r=H();return mf(r,n,z(e),t)}function GI(){let e="invalid";throw new Error(e)}function Tp(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}ZI(e,t,n,a,i,c,l)}i!==null&&r!==null&&zI(n,r,i)}function zI(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 w(-301,!1);r.push(t[o],i)}}function QI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ZI(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&&_e(f)&&(c=f,QI(e,n,p)),Oa(fi(n,t),e,f.type)}tE(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=Yf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=_n(n.mergedAttrs,f.hostAttrs),KI(e,n,t,d,f),eE(d,f,o),s!==null&&s.has(f)){let[g,I]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,I+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++}YI(e,n,i)}function YI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Ad(0,t,o,r),Ad(1,t,o,r),kd(t,r,!1);else{let i=n.get(o);Rd(0,t,i,r),Rd(1,t,i,r),kd(t,r,!0)}}}function Ad(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),_p(t,i)}}function Rd(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),_p(t,s)}}function _p(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function kd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Tc(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 KI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new Gt(i,_e(o),Lr,null);e.blueprint[r]=s,n[r]=s,JI(e,t,r,Yf(e,n,o.hostVars,J),o)}function JI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;XI(s)!=a&&s.push(a),s.push(n,r,i)}}function XI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function eE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;_e(t)&&(n[""]=e)}}function tE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Bc(e,t,n,r,o,i,s,a){let c=t[y],l=c.consts,u=fe(l,s),d=Xt(c,e,n,r,u);return i&&Tp(c,t,d,fe(l,a),o),d.mergedAttrs=_n(d.mergedAttrs,d.attrs),d.attrs!==null&&yi(d,d.attrs,!1),d.mergedAttrs!==null&&yi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function $c(e,t){af(e,t),zs(t)&&e.queries.elementEnd(t)}function nE(e,t,n,r,o,i){let s=t.consts,a=fe(s,o),c=Xt(t,e,n,r,a);if(c.mergedAttrs=_n(c.mergedAttrs,c.attrs),i!=null){let l=fe(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&yi(c,c.attrs,!1),c.mergedAttrs!==null&&yi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Uc(e){return Np(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 Np(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Pn(e,t,n){return e[t]=n}function Sp(e,t){return e[t]}function ce(e,t,n){if(n===J)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Nn(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function xp(e,t,n,r,o){let i=Nn(e,t,n,r);return ce(e,t+2,o)||i}function Ap(e,t,n,r,o,i){let s=Nn(e,t,n,r);return Nn(e,t+2,o,i)||s}function si(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Fy(o,i);let s=je(e)?ye(e.index,t):t;Pi(s,5);let a=t[$],c=Od(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Od(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Od(e,t,n,r){let o=v(null);try{return A(S.OutputStart,t,n),n(r)!==!1}catch(i){return jc(e,i),!1}finally{A(S.OutputEnd,t,n),v(o)}}function Rp(e,t,n,r,o,i,s,a){let c=yn(e),l=!1,u=null;if(!r&&c&&(u=oE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=de(e,n),p=r?r(d):d;Vy(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!rE(i)){let h=r?g=>r(me(g[e.index])):e.index;kp(h,t,n,i,a,f,!1)}}return l}function rE(e){return e.startsWith("animation")||e.startsWith("transition")}function oE(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[gn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function kp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ea(t):null,c=Xs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Pd(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);kp(e.index,a,t,o,i,d,!0)}var Ja=Symbol("BINDING");function Op(e){return e.debugInfo?.className||e.type.name||null}var Xa=class extends ji{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ze(t);return new Sn(n,this.ngModule)}};function iE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ni.SignalBased)!==0};return o&&(i.transform=o),i})}function sE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function aE(e,t,n){let r=t instanceof le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Tn(n,r):n}function cE(e){let t=e.get(Sr,null);if(t===null)throw new w(407,!1);let n=e.get(wp,null),r=e.get(De,null),o=e.get(Jt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function lE(e,t){let n=Pp(e);return Uf(t,n,n==="svg"?tr:n==="math"?Qs:null)}function uE(e){if(e?.toLowerCase()==="script")throw new w(905,!1)}function Pp(e){return(e.selectors[0][0]||"div").toLowerCase()}var Sn=class extends Fi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=iE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=sE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Vv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(S.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,l=aE(c,o||this.ngModule,t),u=cE(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Op(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=dE(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?dI(l,o,a.encapsulation,n):lE(a,l);uE(u?.tagName);let d=s?.some(Ld)||i?.some(h=>typeof h!="function"&&h.bindings.some(Ld)),p=Mc(null,c,null,512|Zf(a),null,null,t,l,n,null,kf(u,n,!0));p[R]=u,zo(p);let f=null;try{let h=Bc(R,p,2,"#host",()=>c.directiveRegistry,!0,0);Gf(l,u,h),Mn(u,p),ki(c,p,h),Cc(c,h,p),$c(c,h),r!==void 0&&pE(h,this.ngContentSelectors,r),f=ye(h.index,p),p[$]=f[$],Vc(c,p,null)}catch(h){throw f!==null&&La(f),La(p),h}finally{A(S.DynamicComponentEnd),Qo()}return new vi(this.componentType,p,!!d)}};function dE(e,t,n,r){let o=e?["ng-version","21.2.25"]:Hv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ja].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[Ja].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=cr(d);c.push(p)}return _c(0,null,fE(i,s),1,a,c,null,null,null,[o],null)}function fE(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 Ld(e){let t=e[Ja].kind;return t==="input"||t==="twoWay"}var vi=class extends bp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=In(n[y],R),this.location=Rn(this._tNode,n),this.instance=ye(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new It(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=Oi(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=ye(r.index,o);Pi(s,1)}get injector(){return new qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function pE(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 Vi=(()=>{class e{static __NG_ELEMENT_ID__=hE}return e})();function hE(){let e=H();return Lp(e,m())}var ec=class e extends Vi{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Rn(this._hostTNode,this._hostLView)}get injector(){return new qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=yc(this._hostTNode,this._hostLView);if(uf(t)){let n=ui(t,this._hostLView),r=li(t),o=n[y].data[r+8];return new qt(o,n)}else return new qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Fd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=mi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Qt(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!iy(t),l;if(c)l=n;else{let I=n||{};l=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef,s=I.directives,a=I.bindings}let u=c?t:new Sn(ze(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(le,null);T&&(i=T)}let p=ze(u.componentType??{}),f=mi(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,Qt(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Vu(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new e(c,c[re],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return On(s,o,i,r),t.attachToViewContainerRef(),js(ba(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Fd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);r&&(lr(ba(this._lContainer),n),Ai(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);return r&&lr(ba(this._lContainer),n)!=null?new It(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Fd(e){return e[dr]}function ba(e){return e[dr]||(e[dr]=[])}function Lp(e,t){let n,r=t[e.index];return Te(r)?n=r:(n=Ip(r,t,null,e),t[e.index]=n,Nc(t,n)),mE(n,t,e,r),new ec(n,e,t)}function gE(e,t){let n=e[P],r=n.createComment(""),o=de(t,e),i=n.parentNode(o);return hi(n,i,r,n.nextSibling(o),!1),r}var mE=vE,yE=()=>!1;function Fp(e,t,n){return yE(e,t,n)}function vE(e,t,n,r){if(e[ft])return;let o;n.type&8?o=me(r):o=gE(t,n),e[ft]=o}var tc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},nc=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++)qc(t,n).matches!==null&&this.queries[n].setDirty()}},Ii=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=bE(t):this.predicate=t}},rc=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)}},oc=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,IE(n,i)),this.matchTNodeWithReadOption(t,n,oi(n,t,i,!1,!1))}else r===Nr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,oi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===kr||o===Vi||o===Nr&&n.type&4)this.addMatch(n.index,-2);else{let i=oi(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 IE(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 EE(e,t){return e.type&11?Rn(e,t):e.type&4?Li(e,t):null}function DE(e,t,n,r){return n===-1?EE(t,e):n===-2?CE(e,t,r):br(e,e[y],n,t)}function CE(e,t,n){if(n===kr)return Rn(t,e);if(n===Nr)return Li(t,e);if(n===Vi)return Lp(t,e)}function jp(e,t,n,r){let o=t[Fe].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(DE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ic(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=jp(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=V;d<u.length;d++){let p=u[d];p[lt]===p[U]&&ic(p[y],p,l,r)}if(u[Bt]!==null){let d=u[Bt];for(let p=0;p<d.length;p++){let f=d[p];ic(f[y],f,l,r)}}}}}return r}function Wc(e,t){return e[Fe].queries[t].queryList}function Vp(e,t,n){let r=new pi((n&4)===4);return Bu(e,t,r,r.destroy),(t[Fe]??=new nc).queries.push(new tc(r))-1}function Hp(e,t,n){let r=k();return r.firstCreatePass&&($p(r,new Ii(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Vp(r,m(),t)}function Bp(e,t,n,r){let o=k();if(o.firstCreatePass){let i=H();$p(o,new Ii(t,n,r),i.index),wE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Vp(o,m(),n)}function bE(e){return e.split(",").map(t=>t.trim())}function $p(e,t,n){e.queries===null&&(e.queries=new rc),e.queries.track(new oc(t,n))}function wE(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 qc(e,t){return e.queries.getByIndex(t)}function Up(e,t){let n=e[y],r=qc(n,t);return r.crossesNgTemplate?ic(n,e,t,[]):jp(n,e,r,t)}function Gc(e,t,n){let r,o=Yn(()=>{r._dirtyCounter();let i=TE(r,e);if(t&&i===void 0)throw new w(-951,!1);return i});return r=o[B],r._dirtyCounter=yt(0),r._flatValue=void 0,o}function zc(e){return Gc(!0,!1,e)}function Qc(e){return Gc(!0,!0,e)}function Zc(e){return Gc(!1,!1,e)}function Wp(e,t){let n=e[B];n._lView=m(),n._queryIndex=t,n._queryList=Wc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function TE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:te;let o=Wc(n,r),i=Up(n,r);return o.reset(i,Ef),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Ei=class{};var xr=class extends Ei{injector;componentFactoryResolver=new Xa(this);instance=null;constructor(t){super();let n=new Ot([...t.providers,{provide:Ei,useValue:this},{provide:ji,useValue:this.componentFactoryResolver}],t.parent||hn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yc(e,t,n=null){return new xr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _E=(()=>{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=jo(!1,n.type),o=r.length>0?Yc([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(Oe(le))})}return e})();function ME(e){return Rr(()=>{let t=qp(e),n=G(q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(_E).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||zt.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&$e("NgStandalone"),Gp(n);let r=e.dependencies;return n.directiveDefs=jd(r,NE),n.pipeDefs=jd(r,Os),n.id=OE(n),n})}function NE(e){return ze(e)||cr(e)}function SE(e){return Rr(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xE(e,t){if(e==null)return Ce;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=Ni.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function AE(e){if(e==null)return Ce;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function RE(e){return Rr(()=>{let t=qp(e);return Gp(t),t})}function kE(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function qp(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||Ce,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:xE(e.inputs,t),outputs:AE(e.outputs),debugInfo:null}}function Gp(e){e.features?.forEach(t=>t(e))}function jd(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 OE(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 PE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=LE,n.hostDirectives=r?e.map(sc):[e]):r?n.hostDirectives.unshift(...e.map(sc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function LE(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,zp(s,t,r),o.set(s,[a,t.length-1])}i===0&&_e(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 zp(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)Vd(sc(i),t,n)}else Vd(r,t,n)}function Vd(e,t,n){let r=cr(e.directive);FE(r.declaredInputs,e.inputs),zp(r,t,n),n.set(r,e),t.push(r)}function sc(e){return typeof e=="function"?{directive:z(e),inputs:Ce,outputs:Ce}:{directive:z(e.directive),inputs:Hd(e.inputs),outputs:Hd(e.outputs)}}function Hd(e){if(e===void 0||e.length===0)return Ce;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function FE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function jE(e){return Object.getPrototypeOf(e.prototype).constructor}function Qp(e){let t=jE(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,sr)?t[sr]:void 0,s=Object.hasOwn(t,ar)?t[ar]:void 0;if(_e(e))o=i??s;else{if(i)throw new w(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=wa(e.inputs),c.declaredInputs=wa(e.declaredInputs),c.outputs=wa(e.outputs);let l=o.hostBindings;l&&UE(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&BE(e,u),d&&$E(e,d),VE(e,o),Du(e.outputs,o.outputs),_e(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===Qp&&(n=!1)}}t=Object.getPrototypeOf(t)}HE(r)}function VE(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 HE(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=_n(o.hostAttrs,n=_n(n,o.hostAttrs))}}function wa(e){return e===Ce?{}:e===te?[]:e}function BE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function $E(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function UE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Zp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=_n(e.mergedAttrs,e.attrs);let u=e.tView=_c(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),Ut(e,!1);let c=qE(n,t,e,r);Zo()&&kc(n,t,c,e),Mn(c,t);let l=Ip(c,t,c,e);t[r+R]=l,Nc(t,l),Fp(l,e,t)}function WE(e,t,n,r,o,i,s,a,c,l,u){let d=n+R,p;return t.firstCreatePass?(p=Xt(t,d,4,s||null,a||null),Wo()&&Tp(t,e,p,fe(t.consts,l),Pc),af(t,p)):p=t.data[d],Zp(p,e,t,n,r,o,i,c),yn(p)&&ki(t,e,p),l!=null&&Pr(e,p,u),p}function Zt(e,t,n,r,o,i,s,a,c,l,u){let d=n+R,p;if(t.firstCreatePass){if(p=Xt(t,d,4,s||null,a||null),l!=null){let f=fe(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 Zp(p,e,t,n,r,o,i,c),l!=null&&Pr(e,p,u),p}function Yp(e,t,n,r,o,i,s,a){let c=m(),l=k(),u=fe(l.consts,i);return WE(c,l,e,t,n,r,o,u,void 0,s,a),Yp}function Kp(e,t,n,r,o,i,s,a){let c=m(),l=k(),u=fe(l.consts,i);return Zt(c,l,e,t,n,r,o,u,void 0,s,a),Kp}var qE=GE;function GE(e,t,n,r){return mr(!0),t[P].createComment("")}var ae=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ae||{}),Bd=0,zE=1,W=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(W||{}),Jp=(function(e){return e[e.Initial=-1]="Initial",e})(Jp||{}),QE=0,Hi=1;var ZE=4,YE=5,KE=6,JE=7,Ta=8,XE=9,Kc=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Kc||{});function Xp(e,t,n){let r=th(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function ai(e,t){let n=th(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function eh(e){ai(1,e),ai(0,e),ai(2,e)}function th(e){let t=ZE;return e===1?t=YE:e===2&&(t=XE),t}function Bi(e){return e+1}function Ln(e,t){let n=e[y],r=Bi(t.index);return e[r]}function eD(e,t,n){let r=e[y],o=Bi(t);e[o]=n}function Fn(e,t){let n=Bi(t.index);return e.data[n]}function tD(e,t,n){let r=Bi(t);e.data[r]=n}function nD(e,t,n){let r=t[y],o=Fn(r,n);switch(e){case W.Complete:return o.primaryTmplIndex;case W.Loading:return o.loadingTmplIndex;case W.Error:return o.errorTmplIndex;case W.Placeholder:return o.placeholderTmplIndex;default:return null}}function $d(e,t){return t===W.Placeholder?e.placeholderBlockConfig?.[Bd]??null:t===W.Loading?e.loadingBlockConfig?.[Bd]??null:null}function rD(e){return e.loadingBlockConfig?.[zE]??null}function Ud(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 oD(e,t){let n=t.primaryTmplIndex+R;return In(e,n)}function iD(e,t){let n=t.get(cD),r=()=>n.remove(e);return n.add(e),r}var sD=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,aD=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,cD=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=E(Y);requestIdleCallbackFn=sD().bind(globalThis);cancelIdleCallbackFn=aD().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 lD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Yc(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 nh=new x("");function _a(e,t,n){return e.get(lD).getOrCreateInjector(t,e,n,"")}function uD(e,t,n){if(e instanceof Tn){let o=e.injector,i=e.parentInjector,s=_a(i,t,n);return new Tn(o,s)}let r=e.get(le);if(r!==e){let o=_a(r,t,n);return new Tn(e,o)}return _a(e,t,n)}function vt(e,t,n,r=!1){let o=n[U],i=o[y];if(pt(o))return;let s=Ln(o,t),a=s[Hi],c=s[JE];if(!(c!==null&&e<c)&&Wd(a,e)&&Wd(s[QE]??-1,e)){let l=Fn(i,t),d=!r&&!0&&(rD(l)!==null||$d(l,W.Loading)!==null||$d(l,W.Placeholder))?hD:fD;try{d(e,s,n,t,o)}catch(p){jc(o,p)}}}function dD(e,t){let n=e[dt]?.findIndex(o=>o.data[Ec]===t[Hi])??-1;return{dehydratedView:n>-1?e[dt][n]:null,dehydratedViewIx:n}}function fD(e,t,n,r,o){A(S.DeferBlockStateStart);let i=nD(e,o,r);if(i!==null){t[Hi]=e;let s=o[y],a=i+R,c=In(s,a),l=0;Hc(n,l);let u;if(e===W.Complete){let h=Fn(s,r),g=h.providers;g&&g.length>0&&(u=uD(o[oe],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=dD(n,t),f=kn(o,c,null,{injector:u,dehydratedView:d});if(On(n,f,l,Qt(c,d)),Pi(f,2),p>-1&&n[dt]?.splice(p,1),(e===W.Complete||e===W.Error)&&Array.isArray(t[Ta])){for(let h of t[Ta])h();t[Ta]=null}}A(S.DeferBlockStateEnd)}function Wd(e,t){return e<t}function pD(e,t){let n=e[t.index];vt(W.Placeholder,t,n)}function qd(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ae.COMPLETE?vt(W.Complete,t,n):e.loadingState===ae.FAILED&&vt(W.Error,t,n)})}var hD=null;function rh(e){return typeof e=="function"&&e[B]!==void 0}function Jc(e){return rh(e)&&typeof e.set=="function"}var oh=new x("");function Xc(e){return!!e&&typeof e.then=="function"}function ih(e){return!!e&&typeof e.subscribe=="function"}var sh=new x("");var el=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(sh,{optional:!0})??[];injector=E(he);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Vo(this.injector,o);if(Xc(i))n.push(i);else if(ih(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})(),ah=new x("");function ch(){ps(()=>{let e="";throw new w(600,e)})}function lh(e){return e.isBoundToModule}var gD=10;var Fr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(mt);afterRenderManager=E(xi);zonelessEnabled=E(Cn);rootEffectScheduler=E(Ko);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new K;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(gt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ae(n=>!n))}constructor(){E(Jt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=he.NULL){return this._injector.get(Y).run(()=>{A(S.BootstrapComponentStart);let s=n instanceof Fi;if(!this._injector.get(el).done){let h="";throw new w(405,h)}let c;s?c=n:c=this._injector.get(ji).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=lh(c)?void 0:this._injector.get(Ei),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(oh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Cr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(S.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(S.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Si.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw A(S.ChangeDetectionEnd),new w(101,!1);let n=v(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),A(S.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<gD;){A(S.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{A(S.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!pr(o))continue;let i=r&&!this.zonelessEnabled?0:1;gp(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})=>pr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Cr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ah,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Cr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(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 Cr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function mD(e){let t=m(),n=H();if(pD(t,n),!dh(0,t))return;let r=t[oe],o=Ln(t,n),i=e(()=>yD(0,t,n),r);Xp(0,o,i)}function uh(e,t,n){let r=t[oe],o=t[y];if(e.loadingState!==ae.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Ln(t,n),s=oD(o,e);e.loadingState=ae.IN_PROGRESS,ai(1,i);let a=e.dependencyResolverFn,c=r.get(vr).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 g=l[h];if(g.status==="fulfilled"){let I=g.value,T=ze(I)||cr(I);if(T)p.push(T);else{let L=Os(I);L&&f.push(L)}}else{u=!0,d=g.reason instanceof Error?g.reason:new Error(String(g.reason));break}}if(u){if(e.loadingState=ae.FAILED,e.errorTmplIndex===null){let g="",I=new w(-750,g);jc(t,I)}}else{e.loadingState=ae.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Ud(h.directiveRegistry,p);let g=p.map(T=>T.type),I=jo(!1,...g);e.providers=I}f.length>0&&(h.pipeRegistry=Ud(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ae.COMPLETE,c()}),e.loadingPromise)}function dh(e,t){return t[oe].get(nh,null,{optional:!0})?.behavior!==Kc.Manual}function yD(e,t,n){let r=t[y],o=t[n.index];if(!dh(e,t))return;let i=Ln(t,n),s=Fn(r,n);switch(eh(i),s.loadingState){case ae.NOT_STARTED:vt(W.Loading,n,o),uh(s,t,n),s.loadingState===ae.IN_PROGRESS&&qd(s,n,o);break;case ae.IN_PROGRESS:vt(W.Loading,n,o),qd(s,n,o);break;case ae.COMPLETE:vt(W.Complete,n,o);break;case ae.FAILED:vt(W.Error,n,o);break;default:}}function vD(e,t,n){return e===0?Gd(t,n):e===2?!Gd(t,n):!0}function ID(e){return e!=null&&(e&1)===1}function Gd(e,t){let n=e[oe],r=Fn(e[y],t),o=Dc(n),i=ID(r.flags),a=Ln(e,t)[KE]!==null;return!(i&&a&&o)}function ED(e,t,n,r,o,i,s,a,c,l){let u=m(),d=k(),p=e+R,f=Zt(u,d,e,null,0,0),h=u[oe],g=Dc(h);if(d.firstCreatePass){$e("NgDefer");let jn={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ae.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,jn,a,s),tD(d,p,jn)}let I=u[p];Fp(I,f,u);let T=null,L=null;if(I[dt]?.length>0){let jn=I[dt][0].data;L=jn[Ic]??null,T=jn[Ec]}let Dt=[null,Jp.Initial,null,null,null,null,L,T,null,null];eD(u,p,Dt);let Qi=null;L!==null&&g&&(Qi=h.get(Rf),Qi.add(L,{lView:u,tNode:f,lContainer:I}));let bl=()=>{eh(Dt),L!==null&&Qi?.cleanup([L])};Xp(0,Dt,()=>Js(u,bl)),Uo(u,bl)}function DD(){let e=m(),t=H();vD(0,e,t)&&mD(iD)}function fh(e,t){let n=m(),r=Ye();if(ce(n,r,t)){let o=k(),i=Wt();if(Oi(i,o,n,e,t))je(i)&&cp(n,i.index);else{let a=de(i,n);lp(n[P],a,null,i.value,e,t,null)}}return fh}function ph(e,t,n,r){let o=m(),i=Ye();if(ce(o,i,t)){let s=k(),a=Wt();vI(a,o,e,t,n,r)}return ph}var ac=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 Ma(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=Ma(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],g=Ma(a,f,l,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,l--;continue}let I=n(s,u),T=n(a,f),L=n(s,d);if(Object.is(L,T)){let Dt=n(l,h);Object.is(Dt,I)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Di,i??=Qd(e,s,a,n),cc(e,o,s,L))e.updateValue(s,d),s++,a++;else if(i.has(L))o.set(I,e.detach(s)),a--;else{let Dt=e.create(s,t[s]);e.attach(s,Dt),s++,a++}}for(;s<=l;)zd(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=Ma(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Di,i??=Qd(e,s,a,n);let h=n(s,p);if(cc(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 g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!u.done;)zd(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 cc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function zd(e,t,n,r,o){if(cc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Qd(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 Di=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 bD(e,t,n,r,o,i,s,a){$e("NgControlFlow");let c=m(),l=k(),u=fe(l.consts,i);return Zt(c,l,e,t,n,r,o,u,256,s,a),tl}function tl(e,t,n,r,o,i,s,a){$e("NgControlFlow");let c=m(),l=k(),u=fe(l.consts,i);return Zt(c,l,e,t,n,r,o,u,512,s,a),tl}function wD(e,t){$e("NgControlFlow");let n=m(),r=Ye(),o=n[r]!==J?n[r]:-1,i=o!==-1?Ci(n,R+o):void 0,s=0;if(ce(n,r,e)){let a=v(null);try{if(i!==void 0&&Hc(i,s),e!==-1){let c=R+e,l=Ci(n,c),u=fc(n[y],c),d=Cp(l,u,n),p=kn(n,u,t,{dehydratedView:d});On(l,p,s,Qt(u,d))}}finally{v(a)}}else if(i!==void 0){let a=Ep(i,s);a!==void 0&&(a[$]=t)}}var lc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function TD(e){return e}function _D(e,t){return t}var uc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function MD(e,t,n,r,o,i,s,a,c,l,u,d,p){$e("NgControlFlow");let f=m(),h=k(),g=c!==void 0,I=m(),T=a?s.bind(I[ie][$]):s,L=new uc(g,T);I[R+e]=L,Zt(f,h,e+1,t,n,r,o,fe(h.consts,i),256),g&&Zt(f,h,e+2,c,l,u,d,fe(h.consts,p),512)}var dc=class extends ac{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-V}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[Ft];this.needsIndexUpdate||=t!==this.length,On(this.lContainer,n,t,Qt(this.templateTNode,r)),SD(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xD(this.lContainer,t),AD(this.lContainer,t)}create(t,n){let r=mi(this.lContainer,this.templateTNode.tView.ssrId);return kn(this.hostLView,this.templateTNode,new lc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Ai(t[y],t)}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return RD(this.lContainer,t)}};function ND(e){let t=v(null),n=pe();try{let r=m(),o=r[y],i=r[n],s=n+1,a=Ci(r,s);if(i.liveCollection===void 0){let l=fc(o,s);i.liveCollection=new dc(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(CD(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Ye(),u=c.length===0;if(ce(r,l,u)){let d=n+2,p=Ci(r,d);if(u){let f=fc(o,d),h=Cp(p,f,r),g=kn(r,f,void 0,{dehydratedView:h});On(p,g,0,Qt(f,h))}else o.firstUpdatePass&&HI(p),Hc(p,0)}}}finally{v(t)}}function Ci(e,t){return e[t]}function SD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[ut]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[oe];Kv(i,o),wr.delete(r[Qe]),o.detachedLeaveAnimationFns=void 0}}function xD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[ut]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function AD(e,t){return Mr(e,t)}function RD(e,t){return Ep(e,t)}function fc(e,t){return In(e,t)}function hh(e,t,n){let r=m(),o=Ye();if(ce(r,o,t)){let i=k(),s=Wt();sp(s,r,e,t,r[P],n)}return hh}function pc(e,t,n,r,o){Oi(t,e,n,o?"class":"style",r)}function bi(e,t,n,r){let o=m(),i=o[y],s=e+R,a=i.firstCreatePass?Bc(s,o,2,t,Pc,Wo(),n,r):i.data[s];if(je(a)){let c=o[we].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Op(l),()=>(Zd(e,t,o,a,r),bi))}}return Zd(e,t,o,a,r),bi}function Zd(e,t,n,r,o){if(Lc(r,n,e,t,yh),yn(r)){let i=n[y];ki(i,n,r),Cc(i,r,n)}o!=null&&Pr(n,r)}function nl(){let e=k(),t=H(),n=Fc(t);return e.firstCreatePass&&$c(e,n),ra(n)&&oa(),ta(),n.classesWithoutHost!=null&&fy(n)&&pc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&py(n)&&pc(e,n,m(),n.stylesWithoutHost,!1),nl}function gh(e,t,n,r){return bi(e,t,n,r),nl(),gh}function rl(e,t,n,r){let o=m(),i=o[y],s=e+R,a=i.firstCreatePass?nE(s,i,2,t,n,r):i.data[s];return Lc(a,o,e,t,yh),r!=null&&Pr(o,a),rl}function ol(){let e=H(),t=Fc(e);return ra(t)&&oa(),ta(),ol}function mh(e,t,n,r){return rl(e,t,n,r),ol(),mh}var yh=(e,t,n,r,o)=>(mr(!0),Uf(t[P],r,pa()));function il(e,t,n){let r=m(),o=r[y],i=e+R,s=o.firstCreatePass?Bc(i,r,8,"ng-container",Pc,Wo(),t,n):o.data[i];if(Lc(s,r,e,"ng-container",kD),yn(s)){let a=r[y];ki(a,r,s),Cc(a,s,r)}return n!=null&&Pr(r,s),il}function sl(){let e=k(),t=H(),n=Fc(t);return e.firstCreatePass&&$c(e,n),sl}function vh(e,t,n){return il(e,t,n),sl(),vh}var kD=(e,t,n,r,o)=>(mr(!0),vv(t[P],""));function OD(){return m()}function Ih(e,t,n){let r=m(),o=Ye();if(ce(r,o,t)){let i=k(),s=Wt();ap(s,r,e,t,r[P],n)}return Ih}var Ir=void 0;function PD(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var LD=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ir,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ir,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Ir,Ir,Ir],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",PD],Na=Object.create(null);function FD(e){let t=jD(e),n=Yd(t);if(n)return n;let r=t.split("-")[0];if(n=Yd(r),n)return n;if(r==="en")return LD;throw new w(701,!1)}function Yd(e){if(!(e in Na)){let t=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.ng.common.locales[e];return t!==void 0&&(Na[e]=t),t}return Na[e]}var Eh=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(Eh||{});function jD(e){return e.toLowerCase().replace(/_/g,"-")}var jr="en-US";var VD=jr;function Dh(e){typeof e=="string"&&(VD=e.toLowerCase().replace(/_/g,"-"))}function Ch(e,t,n){let r=m(),o=k(),i=H();return wh(o,r,r[P],i,e,t,n),Ch}function bh(e,t,n){let r=m(),o=k(),i=H();return(i.type&3||n)&&Rp(i,o,r,n,r[P],e,t,si(i,r,t)),bh}function wh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=si(r,t,i),Rp(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??=si(r,t,i),Pd(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=si(r,t,i),Pd(r,t,d,o,o,c)}}function HD(e=1){return td(e)}function BD(e,t){let n=null,r=Ov(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Qf(e,i,!0):Fv(r,i))return o}return n}function $D(e){let t=m()[ie][re];if(!t.projection){let n=e?e.length:1,r=t.projection=Nu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?BD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function UD(e,t=0,n,r,o,i){let s=m(),a=k(),c=r?e+1:null;c!==null&&Zt(s,a,c,r,o,i,null,n);let l=Xt(a,R+e,16,null,n||null);l.projection===null&&(l.projection=t),aa();let d=!s[Ft]||na();s[ie][re].projection[l.projection]===null&&c!==null?WD(s,a,c):d&&!Ti(l)&&cI(a,s,l)}function WD(e,t,n){let r=R+n,o=t.data[r],i=e[r],s=mi(i,o.tView.ssrId),a=kn(e,o,void 0,{dehydratedView:s});On(i,a,0,Qt(o,s))}function Th(e,t,n,r){return Bp(e,t,n,r),Th}function _h(e,t,n){return Hp(e,t,n),_h}function qD(e){let t=m(),n=k(),r=Go();gr(r+1);let o=qc(n,r);if(e.dirty&&ju(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Up(t,r);e.reset(i,Ef),e.notifyOnChanges()}return!0}return!1}function GD(){return Wc(m(),Go())}function Mh(e,t,n,r,o){return Wp(t,Bp(e,n,r,o)),Mh}function Nh(e,t,n,r){return Wp(e,Hp(t,n,r)),Nh}function zD(e=1){gr(Go()+e)}function QD(e){let t=ca();return En(t,R+e)}function ti(e,t){return e<<17|t<<2}function Yt(e){return e>>17&32767}function ZD(e){return(e&2)==2}function YD(e,t){return e&131071|t<<17}function hc(e){return e|2}function xn(e){return(e&131068)>>2}function Sa(e,t){return e&-131069|t<<2}function KD(e){return(e&1)===1}function gc(e){return e|1}function JD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Yt(s),c=xn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||pn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Yt(e[a+1]);e[r+1]=ti(p,a),p!==0&&(e[p+1]=Sa(e[p+1],r)),e[a+1]=YD(e[a+1],r)}else e[r+1]=ti(a,0),a!==0&&(e[a+1]=Sa(e[a+1],r)),a=r;else e[r+1]=ti(c,0),a===0?a=r:e[c+1]=Sa(e[c+1],r),c=r;l&&(e[r+1]=hc(e[r+1])),Kd(e,u,r,!0),Kd(e,u,r,!1),XD(t,u,e,r,i),s=ti(a,c),i?t.classBindings=s:t.styleBindings=s}function XD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&pn(i,t)>=0&&(n[r+1]=gc(n[r+1]))}function Kd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Yt(o):xn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];eC(c,t)&&(a=!0,e[s+1]=r?gc(l):hc(l)),s=r?Yt(l):xn(l)}a&&(e[n+1]=r?hc(o):gc(o))}function eC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?pn(e,t)>=0:!1}var Z={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Sh(e){return e.substring(Z.key,Z.keyEnd)}function tC(e){return e.substring(Z.value,Z.valueEnd)}function nC(e){return Rh(e),xh(e,An(e,0,Z.textEnd))}function xh(e,t){let n=Z.textEnd;return n===t?-1:(t=Z.keyEnd=oC(e,Z.key=t,n),An(e,t,n))}function rC(e){return Rh(e),Ah(e,An(e,0,Z.textEnd))}function Ah(e,t){let n=Z.textEnd,r=Z.key=An(e,t,n);return n===r?-1:(r=Z.keyEnd=iC(e,r,n),r=Jd(e,r,n,58),r=Z.value=An(e,r,n),r=Z.valueEnd=sC(e,r,n),Jd(e,r,n,59))}function Rh(e){Z.key=0,Z.keyEnd=0,Z.value=0,Z.valueEnd=0,Z.textEnd=e.length}function An(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function oC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function iC(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Jd(e,t,n,r){return t=An(e,t,n),t<n&&t++,t}function sC(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=Xd(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Xd(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Xd(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 kh(e,t,n){return Ph(e,t,n,!1),kh}function Oh(e,t){return Ph(e,t,null,!0),Oh}function aC(e){Lh(Vh,cC,e,!1)}function cC(e,t){for(let n=rC(t);n>=0;n=Ah(t,n))Vh(e,Sh(t),tC(t))}function lC(e){Lh(mC,uC,e,!0)}function uC(e,t){for(let n=nC(t);n>=0;n=xh(t,n))ur(e,Sh(t),!0)}function Ph(e,t,n,r){let o=m(),i=k(),s=hr(2);if(i.firstUpdatePass&&jh(i,e,s,r),t!==J&&ce(o,s,t)){let a=i.data[pe()];Hh(i,a,o,o[P],e,o[s+1]=vC(t,n),r,s)}}function Lh(e,t,n,r){let o=k(),i=hr(2);o.firstUpdatePass&&jh(o,null,i,r);let s=m();if(n!==J&&ce(s,i,n)){let a=o.data[pe()];if(Bh(a,r)&&!Fh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ao(c,n||"")),pc(o,a,s,n,r)}else yC(o,a,s,s[P],s[i+1],s[i+1]=gC(e,t,n),r,i)}}function Fh(e,t){return t>=e.expandoStartIndex}function jh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[pe()],s=Fh(e,n);Bh(i,r)&&t===null&&!s&&(t=!1),t=dC(o,i,t,r),JD(o,i,t,n,s,r)}}function dC(e,t,n,r){let o=Ku(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xa(null,e,t,n,r),n=Ar(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xa(o,e,t,n,r),i===null){let c=fC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=xa(null,e,t,c[1],r),c=Ar(c,t.attrs,r),pC(e,t,r,c))}else i=hC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function fC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(xn(r)!==0)return e[Yt(r)]}function pC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Yt(o)]=r}function hC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ar(r,s,n)}return Ar(r,t.attrs,n)}function xa(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=Ar(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Ar(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]),ur(e,s,n?!0:t[++i]))}return e===void 0?null:e}function gC(e,t,n){if(n==null||n==="")return te;let r=[],o=Kt(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 Vh(e,t,n){ur(e,t,Kt(n))}function mC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ur(e,r,n)}function yC(e,t,n,r,o,i,s,a){o===J&&(o=te);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,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Hh(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Hh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=KD(l)?ef(c,t,n,o,xn(l),s):void 0;if(!wi(u)){wi(i)||ZD(l)&&(i=ef(c,null,n,o,a,s));let d=Zs(pe(),n);uI(r,s,d,o,i)}}function ef(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===J&&(p=d?te:void 0);let f=d?Fo(p,r):u===r?p:void 0;if(l&&!wi(f)&&(f=Fo(c,r)),wi(f)&&(a=f,s))return a;let h=e[o+1];o=s?Yt(h):xn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Fo(c,r))}return a}function wi(e){return e!==void 0}function vC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=xo(Kt(e)))),e}function Bh(e,t){return(e.flags&(t?8:16))!==0}function IC(e,t=""){let n=m(),r=k(),o=e+R,i=r.firstCreatePass?Xt(r,o,1,t,null):r.data[o],s=EC(r,n,i,t);n[o]=s,Zo()&&kc(r,n,s,i),Ut(i,!1)}var EC=(e,t,n,r)=>(mr(!0),mv(t[P],r));function $h(e,t,n,r=""){return ce(e,Ye(),n)?t+Le(n)+r:J}function DC(e,t,n,r,o,i=""){let s=ua(),a=Nn(e,s,n,o);return hr(2),a?t+Le(n)+r+Le(o)+i:J}function CC(e,t,n,r,o,i,s,a=""){let c=ua(),l=xp(e,c,n,o,s);return hr(3),l?t+Le(n)+r+Le(o)+i+Le(s)+a:J}function Uh(e){return al("",e),Uh}function al(e,t,n){let r=m(),o=$h(r,e,t,n);return o!==J&&cl(r,pe(),o),al}function Wh(e,t,n,r,o){let i=m(),s=DC(i,e,t,n,r,o);return s!==J&&cl(i,pe(),s),Wh}function qh(e,t,n,r,o,i,s){let a=m(),c=CC(a,e,t,n,r,o,i,s);return c!==J&&cl(a,pe(),c),qh}function cl(e,t,n){let r=Zs(t,e);yv(e[P],r,n)}function Gh(e,t,n){Jc(t)&&(t=t());let r=m(),o=Ye();if(ce(r,o,t)){let i=k(),s=Wt();sp(s,r,e,t,r[P],n)}return Gh}function bC(e,t){let n=Jc(e);return n&&e.set(t),n}function zh(e,t){let n=m(),r=k(),o=H();return wh(r,n,n[P],o,e,t),zh}var Qh={};function Zh(e){$e("NgLet");let t=k(),n=m(),r=e+R,o=Xt(t,r,128,null,null);return Ut(o,!1),fr(t,n,r,Qh),Zh}function wC(e){let t=k(),n=m(),r=pe();return fr(t,n,r,e),e}function TC(e){let t=ca(),n=En(t,R+e);if(n===Qh)throw new w(314,!1);return n}function _C(e,t,n=""){return $h(m(),e,t,n)}function tf(e,t,n){let r=k();r.firstCreatePass&&Yh(t,r.data,r.blueprint,_e(e),n)}function Yh(e,t,n,r,o){if(e=z(e),Array.isArray(e))for(let i=0;i<e.length;i++)Yh(e[i],t,n,r,o);else{let i=k(),s=m(),a=H(),c=kt(e)?e:z(e.provide),l=Ws(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(kt(e)||!e.multi){let f=new Gt(l,o,Lr,null),h=Ra(c,t,o?u:u+p,d);h===-1?(Oa(fi(a,s),i,c),Aa(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=Ra(c,t,u+p,d),h=Ra(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){Oa(fi(a,s),i,c);let T=SC(o?NC:MC,n.length,o,r,l,e);!o&&I&&(n[h].providerFactory=T),Aa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Kh(n[o?h:f],l,!o&&r);Aa(i,e,f>-1?f:h,T)}!o&&r&&I&&n[h].componentProviders++}}}function Aa(e,t,n,r){let o=kt(t),i=ku(t);if(o||i){let c=(i?z(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 Kh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ra(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function MC(e,t,n,r,o){return mc(this.multi,[])}function NC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=br(r,r[y],this.providerFactory.index,o);s=c.slice(0,a),mc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],mc(i,s);return s}function mc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function SC(e,t,n,r,o,i){let s=new Gt(e,n,Lr,null);return s.multi=[],s.index=t,s.componentProviders=0,Kh(s,o,r&&!n),s}function xC(e,t){return n=>{n.providersResolver=(r,o)=>tf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>tf(r,o?o(t):t,!0))}}function AC(e,t){let n=Ve()+e,r=m();return r[n]===J?Pn(r,n,t()):Sp(r,n)}function RC(e,t,n){return Jh(m(),Ve(),e,t,n)}function kC(e,t,n,r){return Xh(m(),Ve(),e,t,n,r)}function OC(e,t,n,r,o){return eg(m(),Ve(),e,t,n,r,o)}function PC(e,t,n,r,o,i,s){return FC(m(),Ve(),e,t,n,r,o,i)}function LC(e,t,n,r,o,i,s,a){let c=Ve()+e,l=m(),u=Ap(l,c,n,r,o,i);return Nn(l,c+4,s,a)||u?Pn(l,c+6,t(n,r,o,i,s,a)):Sp(l,c+6)}function $i(e,t){let n=e[t];return n===J?void 0:n}function Jh(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?Pn(e,s+1,i?r.call(i,o):r(o)):$i(e,s+1)}function Xh(e,t,n,r,o,i,s){let a=t+n;return Nn(e,a,o,i)?Pn(e,a+2,s?r.call(s,o,i):r(o,i)):$i(e,a+2)}function eg(e,t,n,r,o,i,s,a){let c=t+n;return xp(e,c,o,i,s)?Pn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):$i(e,c+3)}function FC(e,t,n,r,o,i,s,a,c){let l=t+n;return Ap(e,l,o,i,s,a)?Pn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):$i(e,l+4)}function jC(e,t){let n=k(),r,o=e+R;n.firstCreatePass?(r=VC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=st(r.type,!0)),s,a=ne(Lr);try{let c=di(!1),l=i();return di(c),fr(n,m(),o,l),l}finally{ne(a)}}function VC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function HC(e,t,n){let r=e+R,o=m(),i=En(o,r);return ll(o,r)?Jh(o,Ve(),t,i.transform,n,i):i.transform(n)}function BC(e,t,n,r){let o=e+R,i=m(),s=En(i,o);return ll(i,o)?Xh(i,Ve(),t,s.transform,n,r,s):s.transform(n,r)}function $C(e,t,n,r,o){let i=e+R,s=m(),a=En(s,i);return ll(s,i)?eg(s,Ve(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function ll(e,t){return e[y].data[t].pure}function UC(e,t){return Li(e,t)}var tg=(()=>{class e{applicationErrorHandler=E(mt);appRef=E(Fr);taskService=E(gt);ngZone=E(Y);zonelessEnabled=E(Cn);tracing=E(Jt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(rr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(Yo,{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?ad:ma;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(rr+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 ng(){return[{provide:De,useExisting:tg},{provide:Y,useClass:or},{provide:Cn,useValue:!0}]}function WC(){return typeof $localize<"u"&&$localize.locale||jr}var ul=new x("",{factory:()=>E(ul,{optional:!0,skipSelf:!0})||WC()});var Ui=class{destroyed=!1;listeners=null;errorHandler=E(Ge,{optional:!0});destroyRef=E(He);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new w(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(ir(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 Ne(e){return mu(e)}function Et(e,t){return Yn(e,t?.equal)}var qC=e=>e;function dl(e,t){if(typeof e=="function"){let n=vs(e,qC,t?.equal);return rg(n,t?.debugName)}else{let n=vs(e.source,e.computation,e.equal);return rg(n,e.debugName)}}function rg(e,t){let n=e[B],r=e;return r.set=o=>hu(n,o),r.update=o=>gu(n,o),r.asReadonly=yr.bind(e),r}function GC(e){let t=e.request,n=e.params??t??(()=>null);return new Wi(n,QC(e),e.defaultValue,e.equal?zC(e.equal):void 0,e.debugName,e.injector??E(he))}var fl=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=yr,this.isLoading=Et(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Et(()=>this.status()==="error");update(t){this.set(t(Ne(this.value)))}isValueDefined=Et(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Et(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},Wi=class extends fl{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,r,o,i,s,a){super(Et(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!pl(c))throw new qi(this.error());return c.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.extRequest=dl({source:t,computation:c=>({request:c,reload:0})}),this.state=dl({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:og(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=Ia(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(vr),this.unregisterOnDestroy=s.get(He).onDestroy(()=>this.destroy()),this.status=Et(()=>og(this.state()),void 0),this.error=Et(()=>{let c=this.state().stream?.();return c&&!pl(c)?c.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=Ne(this.error),r=Ne(this.state);if(!n){let o=Ne(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:yt({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=Ne(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return Hr(this,null,function*(){let t=this.extRequest(),{status:n,previousStatus:r}=Ne(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield Ne(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Ne(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Ne(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:yt({error:gl(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){Ne(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function zC(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function QC(e){return ZC(e)?e.stream:t=>Hr(null,null,function*(){try{return yt({value:yield e.loader(t)},void 0)}catch(n){return yt({error:gl(n)},void 0)}})}function ZC(e){return!!e.stream}function og(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return pl(e.stream())?"resolved":"error";default:return e.status}}function pl(e){return e.error===void 0}function gl(e){return YC(e)?e:new hl(e)}function YC(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var qi=class extends Error{constructor(t){super(t.message,{cause:t})}},hl=class extends Error{constructor(t){super(String(t),{cause:t})}};var dg=Symbol("InputSignalNode#UNSET"),KC=G(q({},Kn),{transformFn:void 0,applyValueToInputSignal(e,t){xt(e,t)}});function fg(e,t){let n=Object.create(KC);n.value=e,n.transformFn=t?.transform;function r(){if(nt(n),n.value===dg){let o=null;throw new w(-950,o)}return n.value}return r[B]=n,r}var ig=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>If(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},t0=(()=>{let e=new x("");return e.__NG_ELEMENT_ID__=t=>{let n=H();if(n===null)throw new w(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new w(-204,!1)},e})();function n0(e){return new Ui}function sg(e,t){return fg(e,t)}function JC(e){return fg(dg,e)}var r0=(sg.required=JC,sg);function ag(e,t){return zc(t)}function XC(e,t){return Qc(t)}var o0=(ag.required=XC,ag);function i0(e,t){return Zc(t)}function cg(e,t){return zc(t)}function eb(e,t){return Qc(t)}var s0=(cg.required=eb,cg);function a0(e,t){return Zc(t)}var tb=(()=>{class e{zone=E(Y);changeDetectionScheduler=E(De);applicationRef=E(Fr);applicationErrorHandler=E(mt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nb=new x("",{factory:()=>!1});function rb({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Y(G(q({},pg()),{scheduleInRootZone:t})),[{provide:Cn,useValue:!1},{provide:Y,useFactory:e},{provide:Lt,multi:!0,useFactory:()=>{let n=E(tb,{optional:!0});return()=>n.initialize()}},{provide:Lt,multi:!0,useFactory:()=>{let n=E(ob);return()=>{n.initialize()}}},{provide:Yo,useValue:t??ga}]}function c0(e){let t=e?.scheduleInRootZone,n=rb({ngZoneFactory:()=>{let r=pg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&$e("NgZone_CoalesceEvent"),new Y(r)},scheduleInRootZone:t});return Bs([{provide:nb,useValue:!0},n])}function pg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ob=(()=>{class e{subscription=new j;initialized=!1;zone=E(Y);pendingTasks=E(gt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yl=new x(""),ib=new x("");function Vr(e){return!e.moduleRef}function sb(e){let t=Vr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{Vr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(mt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Vr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(yl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(yl);s.add(i),e.moduleRef.onDestroy(()=>{Cr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return cb(r,n,()=>{let i=t.get(gt),s=i.add(),a=t.get(el);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ul,jr);if(Dh(c||jr),!t.get(ib,!0))return Vr(e)?t.get(Fr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vr(e)){let u=t.get(Fr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return ab?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var ab;function cb(e,t,n){try{let r=n();return Xc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Gi=null;function lb(e=[],t){return he.create({name:t,providers:[{provide:Us,useValue:"platform"},{provide:yl,useValue:new Set([()=>Gi=null])},...e]})}function ub(e=[]){if(Gi)return Gi;let t=lb(e);return Gi=t,ch(),db(t),t}function db(e){let t=e.get(Mf,null);Vo(e,()=>{t?.forEach(n=>n())})}function l0(){return!1}var fb=1e4;var u0=fb-1e3;var d0=(()=>{class e{static __NG_ELEMENT_ID__=pb}return e})();function pb(e){return hb(H(),m(),(e&16)===16)}function hb(e,t,n){if(je(e)&&!n){let r=ye(e.index,t);return new It(r,r)}else if(e.type&175){let r=t[ie];return new It(r,t)}return null}var vl=class{supports(t){return Uc(t)}create(t){return new Il(t)}},gb=(e,t)=>t,Il=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||gb}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<lg(r,o,i)?n:r,a=lg(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=[]),!Uc(t))throw new w(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 El(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 zi),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 zi),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}},El=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}},Dl=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}},zi=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Dl,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 lg(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function ug(){return new mb([new vl])}var mb=(()=>{class e{factories;static \u0275prov=Q({token:e,providedIn:"root",factory:ug});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=E(e,{optional:!0,skipSelf:!0});return e.create(n,r||ug())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new w(901,!1)}}return e})();function f0(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;A(S.BootstrapApplicationStart);try{let i=o?.injector??ub(r),s=[ng(),ld,...n||[]],a=new xr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return sb({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{A(S.BootstrapApplicationEnd)}}function p0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function h0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ml=Symbol("NOT_SET"),hg=new Set,yb=G(q({},Kn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ml,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!==ml&&!ln(this))return this.signal;try{for(let o of this.cleanup??hg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ue(this),r;try{r=this.userFn.apply(null,t)}finally{rt(this,n)}return(this.value===ml||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Cl=class extends Tr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(He),s),this.scheduler=o;for(let a of xc){let c=n[a];if(c===void 0)continue;let l=Object.create(yb);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(nt(l),l.value),l.signal[B]=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??hg)n()}finally{ot(t)}}};function g0(e,t){let n=t?.injector??E(he),r=n.get(De),o=n.get(xi),i=n.get(Jt,null,{optional:!0});o.impl??=n.get(Ac);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Dn,null,{optional:!0}),c=new Cl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function m0(e,t){let n=ze(e),r=t.elementInjector||hn();return new Sn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{j as a,N as b,ts as c,K as d,Bn as e,Un as f,ns as g,wg as h,Tg as i,Gn as j,xe as k,kg as l,Og as m,Pg as n,vg as o,Ae as p,Ug as q,mo as r,qg as s,Gg as t,zn as u,zg as v,Qg as w,yo as x,eu as y,ss as z,Zg as A,Yg as B,nu as C,Kg as D,Jg as E,ru as F,em as G,tm as H,nm as I,cs as J,rm as K,om as L,im as M,ou as N,sm as O,am as P,iu as Q,w as R,Ro as S,Q as T,Cu as U,x as V,Oe as W,E as X,Bs as Y,Us as Z,le as _,Vo as $,ee as aa,Wu as ba,qu as ca,nd as da,rd as ea,he as fa,ha as ga,He as ha,We as ia,Y as ja,Ge as ka,yt as la,vr as ma,Ia as na,sy as oa,wy as pa,If as qa,kr as ra,pi as sa,Ay as ta,Ry as ua,Mf as va,Oy as wa,Py as xa,Ly as ya,zt as za,Kt as Aa,Mi as Ba,qy as Ca,Gy as Da,zy as Ea,Qy as Fa,Zy as Ga,bc as Ha,$f as Ia,Cv as Ja,bv as Ka,wv as La,Mv as Ma,Nv as Na,Wv as Oa,gi as Pa,wr as Qa,Jt as Ra,Qv as Sa,Nr as Ta,Sr as Ua,WI as Va,Lr as Wa,GI as Xa,Vi as Ya,Ei as Za,ME as _a,SE as $a,RE as ab,kE as bb,PE as cb,Qp as db,Yp as eb,Kp as fb,rh as gb,Xc as hb,Fr as ib,ED as jb,DD as kb,fh as lb,ph as mb,bD as nb,wD as ob,TD as pb,_D as qb,MD as rb,ND as sb,hh as tb,bi as ub,nl as vb,gh as wb,rl as xb,ol as yb,mh as zb,il as Ab,sl as Bb,vh as Cb,OD as Db,Ih as Eb,FD as Fb,Eh as Gb,Ch as Hb,bh as Ib,HD as Jb,$D as Kb,UD as Lb,Th as Mb,_h as Nb,qD as Ob,GD as Pb,Mh as Qb,Nh as Rb,zD as Sb,QD as Tb,kh as Ub,Oh as Vb,aC as Wb,lC as Xb,IC as Yb,Uh as Zb,al as _b,Wh as $b,qh as ac,Gh as bc,bC as cc,zh as dc,Zh as ec,wC as fc,TC as gc,_C as hc,xC as ic,AC as jc,RC as kc,kC as lc,OC as mc,PC as nc,LC as oc,jC as pc,HC as qc,BC as rc,$C as sc,UC as tc,ul as uc,Ne as vc,Et as wc,dl as xc,GC as yc,ig as zc,t0 as Ac,n0 as Bc,r0 as Cc,o0 as Dc,i0 as Ec,s0 as Fc,a0 as Gc,c0 as Hc,l0 as Ic,d0 as Jc,mb as Kc,f0 as Lc,p0 as Mc,h0 as Nc,g0 as Oc,m0 as Pc};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ct(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(C(r))try{r()}catch(i){t=i instanceof Br?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Tl(i)}catch(s){t=t??[],s instanceof Br?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Br(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Tl(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)&&Ct(n,t)}remove(t){let{_finalizers:n}=this;n&&Ct(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var Zi=j.EMPTY;function $r(e){return e instanceof j||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function Tl(e){C(e)?e():e.unsubscribe()}var ve={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var tn={setTimeout(e,t,...n){let{delegate:r}=tn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=tn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ur(e){tn.setTimeout(()=>{let{onUnhandledError:t}=ve;if(t)t(e);else throw e})}function Vn(){}var _l=Yi("C",void 0,void 0);function Ml(e){return Yi("E",void 0,e)}function Nl(e){return Yi("N",e,void 0)}function Yi(e,t,n){return{kind:e,value:t,error:n}}var bt=null;function nn(e){if(ve.useDeprecatedSynchronousErrorHandling){let t=!bt;if(t&&(bt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=bt;if(bt=null,n)throw r}}else e()}function Sl(e){ve.useDeprecatedSynchronousErrorHandling&&bt&&(bt.errorThrown=!0,bt.error=e)}var wt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,$r(t)&&t.add(this)):this.destination=vg}static create(t,n,r){return new Ie(t,n,r)}next(t){this.isStopped?Ji(Nl(t),this):this._next(t)}error(t){this.isStopped?Ji(Ml(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ji(_l,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()}}},mg=Function.prototype.bind;function Ki(e,t){return mg.call(e,t)}var Xi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Wr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Wr(r)}else Wr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Wr(n)}}},Ie=class extends wt{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ve.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ki(t.next,i),error:t.error&&Ki(t.error,i),complete:t.complete&&Ki(t.complete,i)}):o=t}this.destination=new Xi(o)}};function Wr(e){ve.useDeprecatedSynchronousErrorHandling?Sl(e):Ur(e)}function yg(e){throw e}function Ji(e,t){let{onStoppedNotification:n}=ve;n&&tn.setTimeout(()=>n(e,t))}var vg={closed:!0,next:Vn,error:yg,complete:Vn};function Ig(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Ie({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new wl)}});e.subscribe(i)})}var rn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ee(e){return e}function xl(e){return e.length===0?Ee:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Dg(n)?n:new Ie(n,r,o);return nn(()=>{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=Al(r),new r((o,i)=>{let s=new Ie({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)}[rn](){return this}pipe(...n){return xl(n)(this)}toPromise(n){return n=Al(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 Al(e){var t;return(t=e??ve.Promise)!==null&&t!==void 0?t:Promise}function Eg(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function Dg(e){return e&&e instanceof wt||Eg(e)&&$r(e)}function es(e){return C(e?.lift)}function _(e){return t=>{if(es(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function b(e,t,n,r,o){return new Hn(e,t,n,r,o)}var Hn=class extends wt{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 Rl(){return _((e,t)=>{let n=null;e._refCount++;let r=b(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ts=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,es(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(b(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return Rl()(this)}};var on={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=on;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=on;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=on;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var kl=en(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new qr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new kl}next(n){nn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){nn(()=>{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(){nn(()=>{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?Zi:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,Ct(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new qr(t,n),e})(),qr=class extends K{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:Zi}};var Bn=class extends K{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 $n={now(){return($n.delegate||Date).now()},delegate:void 0};var Un=class extends K{constructor(t=1/0,n=1/0,r=$n){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ns=class extends K{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(t){let{hasError:n,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;n?t.error(i):(s||a)&&(r&&t.next(o),t.complete())}next(t){this.isStopped||(this._value=t,this._hasValue=!0)}complete(){let{_hasValue:t,_value:n,_isComplete:r}=this;r||(this._isComplete=!0,t&&super.next(n),super.complete())}};var Gr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var Wn={setInterval(e,t,...n){let{delegate:r}=Wn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Wn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Xe=class extends Gr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Wn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Wn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Ct(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Cg=1,rs,os={};function Ol(e){return e in os?(delete os[e],!0):!1}var Pl={setImmediate(e){let t=Cg++;return os[t]=!0,rs||(rs=Promise.resolve()),rs.then(()=>Ol(t)&&e()),t},clearImmediate(e){Ol(e)}};var{setImmediate:bg,clearImmediate:wg}=Pl,qn={setImmediate(...e){let{delegate:t}=qn;return(t?.setImmediate||bg)(...e)},clearImmediate(e){let{delegate:t}=qn;return(t?.clearImmediate||wg)(e)},delegate:void 0};var zr=class extends Xe{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=qn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(qn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var sn=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};sn.now=$n.now;var et=class extends sn{constructor(t,n=sn.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Qr=class extends et{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Tg=new Qr(zr);var Tt=new et(Xe),Ll=Tt;var Zr=class extends Xe{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=on.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(on.cancelAnimationFrame(n),t._scheduled=void 0)}};var Yr=class extends et{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var _g=new Yr(Zr);var Gn=new N(e=>e.complete());function Kr(e){return e&&C(e.schedule)}function is(e){return e[e.length-1]}function Jr(e){return C(is(e))?e.pop():void 0}function Se(e){return Kr(is(e))?e.pop():void 0}function Fl(e,t){return typeof is(e)=="number"?e.pop():t}function Vl(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 jl(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _t(e){return this instanceof _t?(this.v=e,this):new _t(e)}function Hl(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(g){return new Promise(function(I,T){i.push([f,g,I,T])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof _t?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Bl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof jl=="function"?jl(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 Xr=e=>e&&typeof e.length=="number"&&typeof e!="function";function eo(e){return C(e?.then)}function to(e){return C(e[rn])}function no(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function ro(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 Mg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var oo=Mg();function io(e){return C(e?.[oo])}function so(e){return Hl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield _t(n.read());if(o)return yield _t(void 0);yield yield _t(r)}}finally{n.releaseLock()}})}function ao(e){return C(e?.getReader)}function O(e){if(e instanceof N)return e;if(e!=null){if(to(e))return Ng(e);if(Xr(e))return Sg(e);if(eo(e))return xg(e);if(no(e))return $l(e);if(io(e))return Ag(e);if(ao(e))return Rg(e)}throw ro(e)}function Ng(e){return new N(t=>{let n=e[rn]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Sg(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function xg(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ur)})}function Ag(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function $l(e){return new N(t=>{kg(e,t).catch(n=>t.error(n))})}function Rg(e){return $l(so(e))}function kg(e,t){var n,r,o,i;return Vl(this,void 0,void 0,function*(){try{for(n=Bl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function se(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function co(e,t=0){return _((n,r)=>{n.subscribe(b(r,o=>se(r,e,()=>r.next(o),t),()=>se(r,e,()=>r.complete(),t),o=>se(r,e,()=>r.error(o),t)))})}function lo(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ul(e,t){return O(e).pipe(lo(t),co(t))}function Wl(e,t){return O(e).pipe(lo(t),co(t))}function ql(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Gl(e,t){return new N(n=>{let r;return se(n,t,()=>{r=e[oo](),se(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>C(r?.return)&&r.return()})}function uo(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{se(n,t,()=>{let r=e[Symbol.asyncIterator]();se(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function zl(e,t){return uo(so(e),t)}function Ql(e,t){if(e!=null){if(to(e))return Ul(e,t);if(Xr(e))return ql(e,t);if(eo(e))return Wl(e,t);if(no(e))return uo(e,t);if(io(e))return Gl(e,t);if(ao(e))return zl(e,t)}throw ro(e)}function xe(e,t){return t?Ql(e,t):O(e)}function Og(...e){let t=Se(e);return xe(e,t)}function Pg(e,t){let n=C(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Lg(e){return!!e&&(e instanceof N||C(e.lift)&&C(e.subscribe))}function Zl(e){return e instanceof Date&&!isNaN(e)}function Ae(e,t){return _((n,r)=>{let o=0;n.subscribe(b(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Fg}=Array;function jg(e,t){return Fg(t)?e(...t):e(t)}function fo(e){return Ae(t=>jg(e,t))}var{isArray:Vg}=Array,{getPrototypeOf:Hg,prototype:Bg,keys:$g}=Object;function po(e){if(e.length===1){let t=e[0];if(Vg(t))return{args:t,keys:null};if(Ug(t)){let n=$g(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Ug(e){return e&&typeof e=="object"&&Hg(e)===Bg}function ho(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Wg(...e){let t=Se(e),n=Jr(e),{args:r,keys:o}=po(e);if(r.length===0)return xe([],t);let i=new N(qg(r,t,o?s=>ho(o,s):Ee));return n?i.pipe(fo(n)):i}function qg(e,t,n=Ee){return r=>{Yl(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Yl(t,()=>{let l=xe(e[c],t),u=!1;l.subscribe(b(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Yl(e,t,n){e?se(n,e,t):t()}function Kl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;O(n(g,u++)).subscribe(b(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let T=c.shift();s?se(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(b(t,f,()=>{d=!0,p()})),()=>{a?.()}}function an(e,t,n=1/0){return C(t)?an((r,o)=>Ae((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>Kl(r,o,e,n)))}function go(e=1/0){return an(Ee,e)}function Jl(){return go(1)}function mo(...e){return Jl()(xe(e,Se(e)))}function Gg(e){return new N(t=>{O(e()).subscribe(t)})}function zg(...e){let t=Jr(e),{args:n,keys:r}=po(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;O(n[u]).subscribe(b(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?ho(r,a):a),i.complete())}))}});return t?o.pipe(fo(t)):o}function zn(e=0,t,n=Ll){let r=-1;return t!=null&&(Kr(t)?n=t:r=t),new N(o=>{let i=Zl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Qg(e=0,t=Tt){return e<0&&(e=0),zn(e,e,t)}function Zg(...e){let t=Se(e),n=Fl(e,1/0),r=e;return r.length?r.length===1?O(r[0]):go(n)(xe(r,t)):Gn}function yo(e,t){return _((n,r)=>{let o=0;n.subscribe(b(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Xl(e){return _((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(b(n,l=>{r=!0,o=l,i||O(e(l)).subscribe(i=b(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function eu(e,t=Tt){return Xl(()=>zn(e,t))}function ss(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(b(n,void 0,void 0,s=>{i=O(e(s,ss(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function tu(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(b(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Yg(e,t){return _(tu(e,t,arguments.length>=2,!1,!0))}function Kg(e,t){return C(t)?an(e,t,1):an(e,1)}function nu(e,t=Tt){return _((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(b(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Jg(e){return e<=0?()=>Gn:_((t,n)=>{let r=0;t.subscribe(b(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Xg(e){return Ae(()=>e)}function ru(e,t=Ee){return e=e??em,_((n,r)=>{let o,i=!0;n.subscribe(b(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function em(e,t){return e===t}function ou(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function tm(e,t,n,r){return _((o,i)=>{let s;!t||typeof t=="function"?s=t:{duration:n,element:s,connector:r}=t;let a=new Map,c=h=>{a.forEach(h),h(i)},l=h=>c(g=>g.error(h)),u=0,d=!1,p=new Hn(i,h=>{try{let g=e(h),I=a.get(g);if(!I){a.set(g,I=r?r():new K);let T=f(g,I);if(i.next(T),n){let L=b(I,()=>{I.complete(),L?.unsubscribe()},void 0,void 0,()=>a.delete(g));p.add(O(n(T)).subscribe(L))}}I.next(s?s(h):h)}catch(g){l(g)}},()=>c(h=>h.complete()),l,()=>a.clear(),()=>(d=!0,u===0));o.subscribe(p);function f(h,g){let I=new N(T=>{u++;let L=g.subscribe(T);return()=>{L.unsubscribe(),--u===0&&d&&p.unsubscribe()}});return I.key=h,I}})}function nm(){return _((e,t)=>{let n,r=!1;e.subscribe(b(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function cs(e={}){let{connector:t=()=>new K,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 g=s;f(),g?.unsubscribe()};return _((g,I)=>{l++,!d&&!u&&p();let T=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=as(h,o))}),T.subscribe(I),!s&&l>0&&(s=new Ie({next:L=>T.next(L),error:L=>{d=!0,p(),a=as(f,n,L),T.error(L)},complete:()=>{u=!0,p(),a=as(f,r),T.complete()}}),O(g).subscribe(s))})(i)}}function as(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ie({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function rm(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,cs({connector:()=>new Un(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function om(e){return yo((t,n)=>e<=n)}function im(...e){let t=Se(e);return _((n,r)=>{(t?mo(e,n,t):mo(e,n)).subscribe(r)})}function iu(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(b(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=b(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function sm(e){return _((t,n)=>{O(e).subscribe(b(n,()=>n.complete(),Vn)),!n.closed&&t.subscribe(n)})}function am(e,t=!1){return _((n,r)=>{let o=0;n.subscribe(b(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function su(e,t,n){let r=C(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(b(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)}))}):Ee}var X=null,vo=!1,ls=1,cm=null,B=Symbol("SIGNAL");function v(e){let t=X;return X=e,t}function Io(){return X}var tt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function nt(e){if(vo)throw new Error("");if(X===null)return;X.consumerOnSignalRead(e);let t=X.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=X.recomputing;if(r&&(n=t!==void 0?t.nextProducer:X.producers,n!==void 0&&n.producer===e)){X.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===X&&(!r||um(o,X)))return;let i=un(X),s={producer:e,consumer:X,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};X.producersTail=s,t!==void 0?t.nextProducer=s:X.producers=s,i&&uu(e,s)}function au(){ls++}function St(e){if(!(un(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ls)){if(!e.producerMustRecompute(e)&&!ln(e)){cn(e);return}e.producerRecomputeValue(e),cn(e)}}function us(e){if(e.consumers===void 0)return;let t=vo;vo=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||lm(r)}}finally{vo=t}}function ds(){return X?.consumerAllowSignalWrites!==!1}function lm(e){e.dirty=!0,us(e),e.consumerMarkedDirty?.(e)}function cn(e){e.dirty=!1,e.lastCleanEpoch=ls}function Ue(e){return e&&cu(e),v(e)}function cu(e){e.producersTail=void 0,e.recomputing=!0}function rt(e,t){v(t),e&&lu(e)}function lu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(un(e))do n=fs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function ln(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(St(n),r!==n.version))return!0}return!1}function ot(e){if(un(e)){let t=e.producers;for(;t!==void 0;)t=fs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function uu(e,t){let n=e.consumersTail,r=un(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)uu(o.producer,o)}function fs(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,!un(t)){let i=t.producers;for(;i!==void 0;)i=fs(i)}return n}function un(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Qn(e){cm?.(e)}function um(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Zn(e,t){return Object.is(e,t)}function Yn(e,t){let n=Object.create(dm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(St(n),nt(n),n.value===Re)throw n.error;return n.value};return r[B]=n,Qn(n),r}var Mt=Symbol("UNSET"),Nt=Symbol("COMPUTING"),Re=Symbol("ERRORED"),dm=G(q({},tt),{value:Mt,dirty:!0,error:null,equal:Zn,kind:"computed",producerMustRecompute(e){return e.value===Mt||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("");let t=e.value;e.value=Nt;let n=Ue(e),r,o=!1;try{r=e.computation(),v(null),o=t!==Mt&&t!==Re&&r!==Re&&e.equal(t,r)}catch(i){r=Re,e.error=i}finally{rt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function fm(){throw new Error}var du=fm;function fu(e){du(e)}function ps(e){du=e}var pm=null;function hs(e,t){let n=Object.create(Kn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>pu(n);return r[B]=n,Qn(n),[r,s=>xt(n,s),s=>Eo(n,s)]}function pu(e){return nt(e),e.value}function xt(e,t){ds()||fu(e),e.equal(e.value,t)||(e.value=t,hm(e))}function Eo(e,t){ds()||fu(e),xt(e,t(e.value))}var Kn=G(q({},tt),{equal:Zn,value:void 0,kind:"signal"});function hm(e){e.version++,au(),us(e),pm?.(e)}var gs=G(q({},tt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ms(e){if(e.dirty=!1,e.version>0&&!ln(e))return;e.version++;let t=Ue(e);try{e.cleanup(),e.fn()}finally{rt(e,t)}}var ys;function Do(){return ys}function ke(e){let t=ys;return ys=e,t}var hu=Symbol("NotFound");function dn(e){return e===hu||e?.name==="\u0275NotFound"}function vs(e,t,n){let r=Object.create(gm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(St(r),nt(r),r.value===Re)throw r.error;return r.value};return i[B]=r,Qn(r),i}function gu(e,t){St(e),xt(e,t),cn(e)}function mu(e,t){if(St(e),e.value===Re)throw e.error;Eo(e,t),cn(e)}var gm=G(q({},tt),{value:Mt,dirty:!0,error:null,equal:Zn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Mt||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("");let t=e.value;e.value=Nt;let n=Ue(e),r,o=!1;try{let i=e.source(),s=t!==Mt&&t!==Re,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,v(null),o=s&&r!==Re&&e.equal(t,r)}catch(i){r=Re,e.error=i}finally{rt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function yu(e){let t=v(null);try{return e()}finally{v(t)}}var So="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(t,n){super(ir(t,n)),this.code=t}};function mm(e){return`NG0${Math.abs(e)}`}function ir(e,t){return`${mm(e)}${t?": "+t:""}`}var Pe=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("")}function Cu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(xo).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 Ao(e,t){return e?t?`${e} ${t}`:e:t||""}var ym=F({__forward_ref__:F});function Ro(e){return e.__forward_ref__=Ro,e}function z(e){return As(e)?e():e}function As(e){return typeof e=="function"&&e.hasOwnProperty(ym)&&e.__forward_ref__===Ro}function Q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bu(e){return{providers:e.providers||[],imports:e.imports||[]}}function ko(e){return vm(e,Oo)}function vm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Im(e){let t=e?.[Oo]??null;return t||null}function Es(e){return e&&e.hasOwnProperty(wo)?e[wo]:null}var Oo=F({\u0275prov:F}),wo=F({\u0275inj:F}),x=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 Rs(e){return e&&!!e.\u0275providers}var sr=F({\u0275cmp:F}),ar=F({\u0275dir:F}),ks=F({\u0275pipe:F});var Xn=F({\u0275fac:F}),Pt=F({__NG_ELEMENT_ID__:F}),vu=F({__NG_ENV_ID__:F});function ze(e){return Ps(e,"@Component"),e[sr]||null}function cr(e){return Ps(e,"@Directive"),e[ar]||null}function Os(e){return Ps(e,"@Pipe"),e[ks]||null}function Ps(e,t){if(e==null)throw new w(-919,!1)}function Le(e){return typeof e=="string"?e:e==null?"":String(e)}var wu=F({ngErrorCode:F}),Em=F({ngErrorMessage:F}),Dm=F({ngTokenPath:F});function Ls(e,t){return Tu("",-200,t)}function Po(e,t){throw new w(-201,!1)}function Tu(e,t,n){let r=new w(t,e);return r[wu]=t,r[Em]=e,n&&(r[Dm]=n),r}function Cm(e){return e[wu]}var Ds;function _u(){return Ds}function ne(e){let t=Ds;return Ds=e,t}function Fs(e,t,n){let r=ko(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 bm={},At=bm,wm="__NG_DI_FLAG__",Cs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Rt(n)||0;try{return this.injector.get(t,r&8?null:At,r)}catch(o){if(dn(o))return o;throw o}}};function Tm(e,t=0){let n=Do();if(n===void 0)throw new w(-203,!1);if(n===null)return Fs(e,void 0,t);{let r=_m(t),o=n.retrieve(e,r);if(dn(o)){if(r.optional)return null;throw o}return o}}function Oe(e,t=0){return(_u()||Tm)(z(e),t)}function E(e,t){return Oe(e,Rt(t))}function Rt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _m(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function bs(e){let t=[];for(let n=0;n<e.length;n++){let r=z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Mm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Oe(o,i))}else t.push(Oe(r))}return t}function Mm(e){return e[wm]}function st(e,t){let n=e.hasOwnProperty(Xn);return n?e[Xn]:null}function Mu(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 Nu(e){return e.flat(Number.POSITIVE_INFINITY)}function Lo(e,t){e.forEach(n=>Array.isArray(n)?Lo(n,t):t(n))}function js(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function lr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Su(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function xu(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 ur(e,t,n){let r=pn(e,t);return r>=0?e[r|1]=n:(r=~r,xu(e,r,t,n)),r}function Fo(e,t){let n=pn(e,t);if(n>=0)return e[n|1]}function pn(e,t){return Nm(e,t,1)}function Nm(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 Ce={},te=[],Lt=new x(""),Vs=new x("",-1),Hs=new x(""),er=class{get(t,n=At){if(n===At){let o=Tu("",-201);throw o.name="\u0275NotFound",o}return n}};function Bs(e){return{\u0275providers:e}}function Au(...e){return{\u0275providers:jo(!0,e),\u0275fromNgModule:!0}}function jo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Lo(t,s=>{let a=s;To(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ru(o,i),n}function Ru(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];$s(o,i=>{t(i,r)})}}function To(e,t,n,r){if(e=z(e),!e)return!1;let o=null,i=Es(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Es(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)To(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Lo(i.imports,u=>{To(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Ru(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:te},o),t({provide:Hs,useValue:o,multi:!0},o),t({provide:Lt,useValue:()=>Oe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;$s(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function $s(e,t){for(let n of e)Rs(n)&&(n=n.\u0275providers),Array.isArray(n)?$s(n,t):t(n)}var Sm=F({provide:String,useValue:F});function ku(e){return e!==null&&typeof e=="object"&&Sm in e}function xm(e){return!!(e&&e.useExisting)}function Am(e){return!!(e&&e.useFactory)}function kt(e){return typeof e=="function"}function Ou(e){return!!e.useClass}var Us=new x(""),Co={},Iu={},Is;function hn(){return Is===void 0&&(Is=new er),Is}var le=class{},Ot=class extends le{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ts(t,s=>this.processProvider(s)),this.records.set(Vs,fn(void 0,this)),o.has("environment")&&this.records.set(le,fn(void 0,this));let i=this.records.get(Us);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Hs,te,{self:!0}))}retrieve(t,n){let r=Rt(n)||0;try{return this.get(t,At,r)}catch(o){if(dn(o))return o;throw o}}destroy(){Jn(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 Jn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Jn(this);let n=ke(this),r=ne(void 0),o;try{return t()}finally{ke(n),ne(r)}}get(t,n=At,r){if(Jn(this),t.hasOwnProperty(vu))return t[vu](this);let o=Rt(r),i,s=ke(this),a=ne(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Lm(t)&&ko(t);u&&this.injectableDefInScope(u)?l=fn(ws(t),Co):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?hn():this.parent;return n=o&8&&n===At?null:n,c.get(t,n)}catch(c){let l=Cm(c);throw l===-200||l===-201?new w(l,null):c}finally{ne(a),ke(s)}}resolveInjectorInitializers(){let t=v(null),n=ke(this),r=ne(void 0),o;try{let i=this.get(Lt,te,{self:!0});for(let s of i)s()}finally{ke(n),ne(r),v(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=z(t);let n=kt(t)?t:z(t&&t.provide),r=km(t);if(!kt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=fn(void 0,Co,!0),o.factory=()=>bs(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===Iu)throw Ls("");return n.value===Co&&(n.value=Iu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Pm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=z(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ws(e){let t=ko(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof x)throw new w(-204,!1);if(e instanceof Function)return Rm(e);throw new w(-204,!1)}function Rm(e){if(e.length>0)throw new w(-204,!1);let n=Im(e);return n!==null?()=>n.factory(e):()=>new e}function km(e){if(ku(e))return fn(void 0,e.useValue);{let t=Ws(e);return fn(t,Co)}}function Ws(e,t,n){let r;if(kt(e)){let o=z(e);return st(o)||ws(o)}else if(ku(e))r=()=>z(e.useValue);else if(Am(e))r=()=>e.useFactory(...bs(e.deps||[]));else if(xm(e))r=(o,i)=>Oe(z(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=z(e&&(e.useClass||e.provide));if(Om(e))r=()=>new o(...bs(e.deps));else return st(o)||ws(o)}return r}function Jn(e){if(e.destroyed)throw new w(-205,!1)}function fn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Om(e){return!!e.deps}function Pm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Lm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ts(e,t){for(let n of e)Array.isArray(n)?Ts(n,t):n&&Rs(n)?Ts(n.\u0275providers,t):t(n)}function Vo(e,t){let n;e instanceof Ot?(Jn(e),n=e):n=new Cs(e);let r,o=ke(n),i=ne(void 0);try{return t()}finally{ke(o),ne(i)}}function Pu(){return _u()!==void 0||Do()!=null}var be=0,y=1,D=2,U=3,ge=4,re=5,Ft=6,gn=7,$=8,oe=9,we=10,P=11,mn=12,qs=13,jt=14,ie=15,lt=16,Vt=17,Fe=18,Qe=19,Gs=20,qe=21,Ho=22,at=23,ue=24,Ht=25,ut=26,R=27,Lu=1,dt=6,ft=7,dr=8,Bt=9,V=10;function Ze(e){return Array.isArray(e)&&typeof e[Lu]=="object"}function Te(e){return Array.isArray(e)&&e[Lu]===!0}function zs(e){return(e.flags&4)!==0}function je(e){return e.componentOffset>-1}function yn(e){return(e.flags&1)===1}function _e(e){return!!e.template}function vn(e){return(e[D]&512)!==0}function pt(e){return(e[D]&256)===256}var ee=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(ee||{}),bo,tr="svg",Qs="math";function Fu(){return bo||(bo={},it(ee.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),it(ee.STYLE,void 0,[["*",["style"]]]),it(ee.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),it(ee.URL,Qs,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),it(ee.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),it(ee.URL,tr,[["a",["href","xlink:href"]]]),it(ee.ATTRIBUTE_NO_BINDING,tr,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),it(ee.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),bo}function it(e,t,n){for(let[r,o]of n){let i=t&&r!=="unknown"?`:${t}:${r}`:r;i=i.toLowerCase();for(let s of o)bo[`${i}|${s.toLowerCase()}`]=e}}function ju(e,t,n){let r=Fu(),o=e.toLowerCase(),i=t.toLowerCase(),s=n&&o!=="*"&&o!=="unknown"?r[`:${n}:${o}|${i}`]:void 0,a=n?r[`:${n}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??ee.NONE}function me(e){for(;Array.isArray(e);)e=e[be];return e}function Zs(e,t){return me(t[e])}function de(e,t){return me(t[e.index])}function In(e,t){return e.data[t]}function En(e,t){return e[t]}function fr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ye(e,t){let n=t[e];return Ze(n)?n:n[be]}function Vu(e){return(e[D]&4)===4}function Bo(e){return(e[D]&128)===128}function Hu(e){return Te(e[U])}function fe(e,t){return t==null?null:e[t]}function Ys(e){e[Vt]=0}function Ks(e){e[D]&1024||(e[D]|=1024,Bo(e)&&$t(e))}function Bu(e,t){for(;e>0;)t=t[jt],e--;return t}function pr(e){return!!(e[D]&9216||e[ue]?.dirty)}function $o(e){e[we].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),pr(e)&&$t(e)}function $t(e){e[we].changeDetectionScheduler?.notify(0);let t=ct(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Bo(t)));)t=ct(t)}function Uo(e,t){if(pt(e))throw new w(911,!1);e[qe]===null&&(e[qe]=[]),e[qe].push(t)}function Js(e,t){if(e[qe]===null)return;let n=e[qe].indexOf(t);n!==-1&&e[qe].splice(n,1)}function ct(e){let t=e[U];return Te(t)?t[U]:t}function Xs(e){return e[gn]??=[]}function ea(e){return e.cleanup??=[]}function $u(e,t,n,r){let o=Xs(t);o.push(n),e.firstCreatePass&&ea(e).push(r,o.length-1)}var M={lFrame:ed(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var _s=!1;function Uu(){return M.lFrame.elementDepthCount}function Wu(){M.lFrame.elementDepthCount++}function ta(){M.lFrame.elementDepthCount--}function Wo(){return M.bindingsEnabled}function na(){return M.skipHydrationRootTNode!==null}function ra(e){return M.skipHydrationRootTNode===e}function oa(){M.skipHydrationRootTNode=null}function m(){return M.lFrame.lView}function k(){return M.lFrame.tView}function qu(e){return M.lFrame.contextLView=e,e[$]}function Gu(e){return M.lFrame.contextLView=null,e}function H(){let e=ia();for(;e!==null&&e.type===64;)e=e.parent;return e}function ia(){return M.lFrame.currentTNode}function zu(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ut(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function sa(){return M.lFrame.isParent}function aa(){M.lFrame.isParent=!1}function ca(){return M.lFrame.contextLView}function la(){return _s}function nr(e){let t=_s;return _s=e,t}function Ve(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ua(){return M.lFrame.bindingIndex}function Qu(e){return M.lFrame.bindingIndex=e}function Ye(){return M.lFrame.bindingIndex++}function hr(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Zu(){return M.lFrame.inI18n}function Yu(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,qo(t)}function Ku(){return M.lFrame.currentDirectiveIndex}function qo(e){M.lFrame.currentDirectiveIndex=e}function Ju(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Go(){return M.lFrame.currentQueryIndex}function gr(e){M.lFrame.currentQueryIndex=e}function Fm(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[re]:null}function da(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Fm(i),o===null||(i=i[jt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Xu();return r.currentTNode=t,r.lView=e,!0}function zo(e){let t=Xu(),n=e[y];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?ed(e):t}function ed(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 td(){let e=M.lFrame;return M.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var fa=td;function Qo(){let e=td();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 nd(e){return(M.lFrame.contextLView=Bu(e,M.lFrame.contextLView))[$]}function pe(){return M.lFrame.selectedIndex}function ht(e){M.lFrame.selectedIndex=e}function Wt(){let e=M.lFrame;return In(e.tView,e.selectedIndex)}function rd(){M.lFrame.currentNamespace=tr}function od(){jm()}function jm(){M.lFrame.currentNamespace=null}function pa(){return M.lFrame.currentNamespace}var id=!0;function Zo(){return id}function mr(e){id=e}function Ms(e,t=null,n=null,r){let o=sd(e,t,n,r);return o.resolveInjectorInitializers(),o}function sd(e,t=null,n=null,r,o=new Set){let i=[n||te,Au(e)],s;return new Ot(i,t||hn(),s||null,o)}var he=class e{static THROW_IF_NOT_FOUND=At;static NULL=new er;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:()=>Oe(Vs)});static __NG_ELEMENT_ID__=-1},ha=new x(""),He=(()=>{class e{static __NG_ELEMENT_ID__=Vm;static __NG_ENV_ID__=n=>n}return e})(),_o=class extends He{_lView;constructor(t){super(),this._lView=t}get destroyed(){return pt(this._lView)}onDestroy(t){let n=this._lView;return Uo(n,t),()=>Js(n,t)}};function Vm(){return new _o(m())}var ga=!1,ad=new x(""),gt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Bn(!1);debugTaskTracker=E(ad,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ns=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Pu()&&(this.destroyRef=E(He,{optional:!0})??void 0,this.pendingTasks=E(gt,{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 j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},We=Ns;function Mo(...e){}function ma(e){let t,n;function r(){e=Mo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function cd(e){return queueMicrotask(()=>e()),()=>{e=Mo}}var ya="isAngularZone",rr=ya+"_ID",Hm=0,Y=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new We(!1);onMicrotaskEmpty=new We(!1);onStable=new We(!1);onError=new We(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ga}=t;if(typeof Zone>"u")throw new w(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,Um(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ya)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Bm,Mo,Mo);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Bm={};function va(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 $m(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ma(()=>{e.callbackScheduled=!1,Ss(e),e.isCheckStableRunning=!0,va(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ss(e)}function Um(e){let t=()=>{$m(e)},n=Hm++;e._inner=e._inner.fork({name:"angular",properties:{[ya]:!0,[rr]:n,[rr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Wm(c))return r.invokeTask(i,s,a,c);try{return Eu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Du(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Eu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!qm(c)&&t(),Du(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ss(e),va(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 Ss(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Eu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Du(e){e._nesting--,va(e)}var or=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new We;onMicrotaskEmpty=new We;onStable=new We;onError=new We;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 ld(e,"__ignore_ng_zone__")}function qm(e){return ld(e,"__scheduler_tick__")}function ld(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ge=class{_console=console;handleError(t){this._console.error("ERROR",t)}},mt=new x("",{factory:()=>{let e=E(Y),t=E(le),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ge),n.handleError(r))})}}}),ud={provide:Lt,useValue:()=>{let e=E(Ge,{optional:!0})},multi:!0};function yt(e,t){let[n,r,o]=hs(e,t?.equal),i=n,s=i[B];return i.set=r,i.update=o,i.asReadonly=yr.bind(i),i}function yr(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=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__=Gm}return e})();function Gm(){return new Dn(m(),H())}var De=class{},Cn=new x("",{factory:()=>!0});var Yo=new x(""),vr=(()=>{class e{internalPendingTasks=E(gt);scheduler=E(De);errorHandler=E(mt);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 xs})}return e})(),xs=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}},No=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function Ia(e,t){let n=t?.injector??E(he),r=t?.manualCleanup!==!0?n.get(He):null,o,i=n.get(Dn,null,{optional:!0}),s=n.get(De);return i!==null?(o=Zm(i.view,s,e),r instanceof _o&&r._lView===i.view&&(r=null)):o=Ym(e,n.get(Ko),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new No(o)}var dd=G(q({},gs),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=nr(!1);try{ms(this)}finally{nr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],v(e)}}}),zm=G(q({},dd),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ot(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Qm=G(q({},dd),{consumerMarkedDirty(){this.view[D]|=8192,$t(this.view),this.notifier.notify(13)},destroy(){if(ot(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[at]?.delete(this)}});function Zm(e,t,n){let r=Object.create(Qm);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=fd(r,n),e[at]??=new Set,e[at].add(r),r.consumerMarkedDirty(r),r}function Ym(e,t,n){let r=Object.create(zm);return r.fn=fd(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 fd(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Rr(e){return{toString:e}.toString()}function iy(e){return typeof e=="function"}function rf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ci=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},sy=(()=>{let e=()=>of;return e.ngInherit=!0,e})();function of(e){return e.type.prototype.ngOnChanges&&(e.setInput=cy),ay}function ay(){let e=af(this),t=e?.current;if(t){let n=e.previous;if(n===Ce)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function cy(e,t,n,r,o){let i=this.declaredInputs[r],s=af(e)||ly(e,{previous:Ce,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ci(l&&l.currentValue,n,c===Ce),rf(e,t,o,n)}var sf="__ngSimpleChanges__";function af(e){return e[sf]||null}function ly(e,t){return e[sf]=t}var pd=[];var A=function(e,t=null,n){for(let r=0;r<pd.length;r++){let o=pd[r];o(e,t,n)}},S=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(S||{});function uy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=of(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 cf(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 ni(e,t,n){lf(e,t,3,n)}function ri(e,t,n,r){(e[D]&3)===n&&lf(e,t,n,r)}function Ea(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function lf(e,t,n,r){let o=r!==void 0?e[Vt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Vt]+=65536),(a<i||i==-1)&&(dy(e,n,t,c),e[Vt]=(e[Vt]&4294901760)+c+2),c++}function hd(e,t){A(S.LifecycleHookStart,e,t);let n=v(null);try{t.call(e)}finally{v(n),A(S.LifecycleHookEnd,e,t)}}function dy(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[Vt]>>16&&(e[D]&3)===t&&(e[D]+=16384,hd(a,i)):hd(a,i)}var wn=-1,Gt=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 fy(e){return(e.flags&8)!==0}function py(e){return(e.flags&16)!==0}function hy(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];gy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function uf(e){return e===3||e===4||e===6}function gy(e){return e.charCodeAt(0)===64}function _n(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?gd(e,n,o,null,t[++r]):gd(e,n,o,null,null))}}return e}function gd(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 df(e){return e!==wn}function li(e){return e&32767}function my(e){return e>>16}function ui(e,t){let n=my(e),r=t;for(;n>0;)r=r[jt],n--;return r}var ka=!0;function di(e){let t=ka;return ka=e,t}var yy=256,ff=yy-1,pf=5,vy=0,Be={};function Iy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Pt)&&(r=n[Pt]),r==null&&(r=n[Pt]=vy++);let o=r&ff,i=1<<o;t.data[e+(o>>pf)]|=i}function fi(e,t){let n=hf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Da(r.data,e),Da(t,null),Da(r.blueprint,null));let o=yc(e,t),i=e.injectorIndex;if(df(o)){let s=li(o),a=ui(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Da(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function yc(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=If(o),r===null)return wn;if(n++,o=o[jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return wn}function Oa(e,t,n){Iy(e,t,n)}function Ey(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(uf(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function gf(e,t,n){if(n&8||e!==void 0)return e;Po(t,"NodeInjector")}function mf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[oe],i=ne(void 0);try{return o?o.get(t,r,n&8):Fs(t,r,n&8)}finally{ne(i)}}return gf(r,t,n)}function yf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=Ty(e,t,n,r,Be);if(s!==Be)return s}let i=vf(e,t,n,r,Be);if(i!==Be)return i}return mf(t,n,r,o)}function vf(e,t,n,r,o){let i=Cy(n);if(typeof i=="function"){if(!da(t,e,r))return r&1?gf(o,n,r):mf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Po(n);else return s}finally{fa()}}else if(typeof i=="number"){let s=null,a=hf(e,t),c=wn,l=r&1?t[ie][re]:null;for((a===-1||r&4)&&(c=a===-1?yc(e,t):t[a+8],c===wn||!yd(r,!1)?a=-1:(s=t[y],a=li(c),t=ui(c,t)));a!==-1;){let u=t[y];if(md(i,a,u.data)){let d=Dy(a,t,n,s,r,l);if(d!==Be)return d}c=t[a+8],c!==wn&&yd(r,t[y].data[a+8]===l)&&md(i,a,t)?(s=u,a=li(c),t=ui(c,t)):a=-1}}return o}function Dy(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?je(a)&&ka:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=oi(a,s,n,c,l);return u!==null?br(t,s,u,a,o):Be}function oi(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&&_e(f)&&f.type===n)return c}return null}function br(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Gt){let a=i;if(a.resolving)throw Ls("");let c=di(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?ne(a.injectImpl):null,p=da(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&uy(n,s[n],t)}finally{d!==null&&ne(d),di(c),a.resolving=!1,fa()}}return i}function Cy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Pt)?e[Pt]:void 0;return typeof t=="number"?t>=0?t&ff:by:t}function md(e,t,n){let r=1<<e;return!!(n[t+(e>>pf)]&r)}function yd(e,t){return!(e&2)&&!(e&1&&t)}var qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return yf(this._tNode,this._lView,t,Rt(r),n)}};function by(){return new qt(H(),m())}function wy(e){return Rr(()=>{let t=e.prototype.constructor,n=t[Xn]||Pa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Xn]||Pa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Pa(e){return As(e)?()=>{let t=Pa(z(e));return t&&t()}:st(e)}function Ty(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!vn(s);){let a=vf(i,s,n,r|2,Be);if(a!==Be)return a;let c=i.parent;if(!c){let l=s[Gs];if(l){let u=l.get(n,Be,r&-5);if(u!==Be)return u}c=If(s),s=s[jt]}i=c}return o}function If(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[re]:null}function Ef(e){return Ey(H(),e)}function _y(){return Rn(H(),m())}function Rn(e,t){return new kr(de(e,t))}var kr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=_y}return e})();function Df(e){return e instanceof kr?e.nativeElement:e}function My(){return this._results[Symbol.iterator]()}var pi=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 K}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=Nu(t);(this._changesDetected=!Mu(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]=My};function Cf(e){return(e.flags&128)===128}var vc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(vc||{}),bf=new Map,Ny=0;function Sy(){return Ny++}function xy(e){bf.set(e[Qe],e)}function La(e){bf.delete(e[Qe])}var vd="__ngContext__";function Mn(e,t){Ze(t)?(e[vd]=t[Qe],xy(t)):e[vd]=t}function wf(e){return _f(e[mn])}function Tf(e){return _f(e[ge])}function _f(e){for(;e!==null&&!Te(e);)e=e[ge];return e}var Fa;function Ay(e){Fa=e}function Mf(){if(Fa!==void 0)return Fa;if(typeof document<"u")return document;throw new w(210,!1)}var Ry=new x("",{factory:()=>ky}),ky="ng";var Nf=new x(""),Oy=new x("",{providedIn:"platform",factory:()=>"unknown"}),Py=new x(""),Ly=new x("",{factory:()=>E(ha).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Sf="r";var Ic="di",Ec="s";var xf=!1,Af=new x("",{factory:()=>xf});var Rf=new x("");var Id=new WeakMap;function Fy(e,t){if(e==null||typeof e!="object")return;let n=Id.get(e);n||(n=new WeakSet,Id.set(e,n)),n.add(t)}var jy=(e,t,n,r)=>{};function Vy(e,t,n,r){jy(e,t,n,r)}var kf=new x("");function Ti(e){return(e.flags&32)===32}var Hy=()=>null;function Of(e,t,n=!1){return Hy(e,t,n)}function Dc(e){return e.get(Rf,!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];gr(i),a.contentQueries(2,t[s],s)}}}finally{v(r)}}}function ja(e,t,n){gr(0);let r=v(null);try{t(e,n)}finally{v(r)}}function Cc(e,t,n){if(zs(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 zt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(zt||{});var By="svg",$y="math",Uy={"http://www.w3.org/2000/svg":By,"http://www.w3.org/1998/Math/MathML":$y},Jo;function Wy(){if(Jo===void 0&&(Jo=null,Pe.trustedTypes))try{Jo=Pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Jo}function _i(e){return Wy()?.createHTML(e)||e}var Xo;function Lf(){if(Xo===void 0&&(Xo=null,Pe.trustedTypes))try{Xo=Pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Xo}function Ed(e){return Lf()?.createHTML(e)||e}function Dd(e){return Lf()?.createScriptURL(e)||e}var Ke=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${So})`}},Va=class extends Ke{getTypeName(){return"HTML"}},Ha=class extends Ke{getTypeName(){return"Style"}},Ba=class extends Ke{getTypeName(){return"Script"}},$a=class extends Ke{getTypeName(){return"URL"}},Ua=class extends Ke{getTypeName(){return"ResourceURL"}};function Kt(e){return e instanceof Ke?e.changingThisBreaksApplicationSecurity:e}function Mi(e,t){let n=Ff(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${So})`)}return n===t}function Ff(e){return e instanceof Ke&&e.getTypeName()||null}function qy(e){return new Va(e)}function Gy(e){return new Ha(e)}function zy(e){return new Ba(e)}function Qy(e){return new $a(e)}function Zy(e){return new Ua(e)}function Yy(e){let t=new qa(e);return Ky()?new Wa(t):t}var Wa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(_i(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},qa=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=_i(t),n}};function Ky(){try{return!!new window.DOMParser().parseFromString(_i(""),"text/html")}catch(e){return!1}}var Jy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bc(e){return e=String(e),e.match(Jy)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Or(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var jf=Je("area,br,col,hr,img,wbr"),Vf=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Hf=Je("rp,rt"),Xy=Or(Hf,Vf),ev=Or(Vf,Je("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),tv=Or(Hf,Je("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cd=Or(jf,ev,tv,Xy),Bf=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nv=Je("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),rv=Je("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),ov=Or(Bf,nv,rv),iv=Je("script,style,template"),Ga=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=cv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=av(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=bd(t).toLowerCase();if(!Cd.hasOwnProperty(n))return this.sanitizedSomething=!0,!iv.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(!ov.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Bf[a]&&(c=bc(c)),this.buf.push(" ",s,'="',wd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=bd(t).toLowerCase();Cd.hasOwnProperty(n)&&!jf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(wd(t))}};function sv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function av(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $f(t);return t}function cv(e){let t=e.firstChild;if(t&&sv(e,t))throw $f(t);return t}function bd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function $f(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var lv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uv=/([^\#-~ |!])/g;function wd(e){return e.replace(/&/g,"&amp;").replace(lv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(uv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ei;function Uf(e,t){let n=null;try{ei=ei||Yy(e);let r=t?String(t):"";n=ei.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=ei.getInertBodyElement(r)}while(r!==i);let a=new Ga().sanitizeChildren(Td(n)||n);return _i(a)}finally{if(n){let r=Td(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Td(e){return"content"in e&&dv(e)?e.content:null}function dv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var fv=/^>|^->|<!--|-->|--!>|<!-$/g,pv=/(<|>)/g,hv="\u200B$1\u200B";function gv(e){return e.replace(fv,t=>t.replace(pv,hv))}function mv(e,t){return e.createText(t)}function yv(e,t,n){e.setValue(t,n)}function vv(e,t){return e.createComment(gv(t))}function Wf(e,t,n){return e.createElement(t,n)}function hi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function qf(e,t,n){e.appendChild(t,n)}function _d(e,t,n,r,o){r!==null?hi(e,t,n,r,o):qf(e,t,n)}function Gf(e,t,n,r){e.removeChild(null,t,n,r)}function Iv(e,t,n){e.setAttribute(t,"style",n)}function Ev(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&hy(e,t,r),o!==null&&Ev(e,t,o),i!==null&&Iv(e,t,i)}function Dv(e,t=!0){if(e[0]!=":")return[null,e];let n=e.indexOf(":",1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Cv(e,t,n){if(t!==void 0&&n!==void 0&&Tv(t,n)!==ee.HTML)return e;let r=wc();return r?Ed(r.sanitize(ee.HTML,e)||""):Mi(e,"HTML")?Ed(Kt(e)):Uf(Mf(),Le(e))}function bv(e){let t=wc();return t?t.sanitize(ee.URL,e)||"":Mi(e,"URL")?Kt(e):bc(Le(e))}function wv(e){let t=wc();if(t)return Dd(t.sanitize(ee.RESOURCE_URL,e)||"");if(Mi(e,"ResourceURL"))return Dd(Kt(e));throw new w(904,!1)}function wc(){let e=m();return e&&e[we].sanitizer}function Tv(e,t){let[n,r]=_v(e);return ju(r,t,n)}function _v(e){e=e.toLowerCase();let t=Dv(e,!1);if(t[0])return t;let r=pe()===-1?null:Wt(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=de(r,m());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&Uy[s]}}return[o,e]}function Mv(e){return e.ownerDocument.defaultView}function Nv(e){return e.ownerDocument}function Sv(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 Qf="ng-template";function xv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Sv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Tc(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 Tc(e){return e.type===4&&e.value!==Qf}function Av(e,t,n){let r=e.type===4&&!n?Qf:e.value;return t===r}function Rv(e,t,n){let r=4,o=e.attrs,i=o!==null?Pv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Me(r)&&!Me(c))return!1;if(s&&Me(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Av(e,c,n)||c===""&&t.length===1){if(Me(r))return!1;s=!0}}else if(r&8){if(o===null||!xv(e,o,c,n)){if(Me(r))return!1;s=!0}}else{let l=t[++a],u=kv(c,o,Tc(e),n);if(u===-1){if(Me(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Me(r))return!1;s=!0}}}}return Me(r)||s}function Me(e){return(e&1)===0}function kv(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 Zf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Rv(e,t[r],n))return!0;return!1}function Ov(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Pv(e){for(let t=0;t<e.length;t++){let n=e[t];if(uf(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 Fv(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 Md(e,t){return e?":not("+t.trim()+")":t}function jv(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!==""&&!Me(s)&&(t+=Md(i,o),o=""),r=s,i=i||!Me(r);n++}return o!==""&&(t+=Md(i,o)),t}function Vv(e){return e.map(jv).join(",")}function Hv(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(!Me(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var J={};function _c(e,t,n,r,o,i,s,a,c,l,u){let d=R+r,p=d+o,f=Bv(d,p),h=typeof l=="function"?l():l;return f[y]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Bv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:J);return n}function $v(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=_c(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Mc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[be]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),Ys(d),d[U]=d[jt]=e,d[$]=n,d[we]=s||e&&e[we],d[P]=a||e&&e[P],d[oe]=c||e&&e[oe]||null,d[re]=i,d[Qe]=Sy(),d[Ft]=u,d[Gs]=l,d[ie]=t.type==2?e[ie]:d,d}function Uv(e,t,n){let r=de(t,e),o=$v(n),i=e[we].rendererFactory,s=Nc(e,Mc(e,o,null,Yf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Yf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Kf(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 Nc(e,t){return e[mn]?e[qs][ge]=t:e[mn]=t,e[qs]=t,t}function Wv(e=1){Jf(k(),m(),pe()+e,!1)}function Jf(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ni(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ri(t,i,0,n)}ht(n)}var Ni=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ni||{});function za(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ni.SignalBased)!==0&&(c=t[i][B]),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):rf(t,c,i,r)}finally{v(o)}}var gi=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(gi||{}),qv;function Sc(e,t){return qv(e,t)}var CR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Qa=new WeakMap,Er=new WeakSet;function Gv(e,t){let n=Qa.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Er.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function zv(e,t){let n=Qa.get(e);n?n.includes(t)||n.push(t):Qa.set(e,[t])}var wr=new Set,Si=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Si||{}),Jt=new x(""),Nd=new Set;function $e(e){Nd.has(e)||(Nd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var xi=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),xc=[0,1,2,3],Ac=(()=>{class e{ngZone=E(Y);scheduler=E(De);errorHandler=E(Ge,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){E(Jt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&A(S.AfterRenderHooksStart),this.executing=!0;for(let r of xc)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&A(S.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Ht]??=[]).push(n),$t(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(Si.AFTER_NEXT_RENDER,n):n()}static \u0275prov=Q({token:e,providedIn:"root",factory:()=>new e})}return e})(),Tr=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Ht];t&&(this.view[Ht]=t.filter(n=>n!==this))}};function Qv(e,t){let n=t?.injector??E(he);return $e("NgAfterNextRender"),Yv(e,n,t,!0)}function Zv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Yv(e,t,n,r){let o=t.get(xi);o.impl??=t.get(Ac);let i=t.get(Jt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(He):null,a=t.get(Dn,null,{optional:!0}),c=new Tr(o.impl,Zv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Xf=new x("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:E(le)})});function ep(e,t,n){let r=e.get(Xf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Kv(e,t){let n=e.get(Xf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Jv(e,t){for(let[n,r]of t)ep(e,r.animateFns)}function Sd(e,t,n,r){let o=e?.[ut]?.enter;t!==null&&o&&o.has(n.index)&&Jv(r,o)}function bn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Te(o)?c=o:Ze(o)&&(l=!0,o=o[be]);let u=me(o);e===0&&r!==null?(Sd(a,r,i,n),s==null?qf(t,r,u):hi(t,r,u,s||null,!0)):e===1&&r!==null?(Sd(a,r,i,n),hi(t,r,u,s||null,!0),Gv(i,u)):e===2?(a?.[ut]?.leave?.has(i.index)&&zv(i,u),Er.delete(u),xd(a,i,n,d=>{if(Er.has(u)){Er.delete(u);return}Gf(t,u,l,d)})):e===3&&(Er.delete(u),xd(a,i,n,()=>{t.destroyNode(u)})),c!=null&&lI(t,e,n,c,i,r,s)}}function Xv(e,t){tp(e,t),t[be]=null,t[re]=null}function eI(e,t,n,r,o,i){r[be]=o,r[re]=t,Ri(e,r,n,1,o,i)}function tp(e,t){t[we].changeDetectionScheduler?.notify(9),Ri(e,t,t[P],2,null,null)}function tI(e){let t=e[mn];if(!t)return Ca(e[y],e);for(;t;){let n=null;if(Ze(t))n=t[mn];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)Ze(t)&&Ca(t[y],t),t=t[U];t===null&&(t=e),Ze(t)&&Ca(t[y],t),n=t&&t[ge]}t=n}}function Rc(e,t){let n=e[Bt],r=n.indexOf(t);n.splice(r,1)}function Ai(e,t){if(pt(t))return;let n=t[P];n.destroyNode&&Ri(e,t,n,3,null,null),tI(t)}function Ca(e,t){if(pt(t))return;let n=v(null);try{t[D]&=-129,t[D]|=256,t[ue]&&ot(t[ue]),oI(e,t),rI(e,t),t[y].type===1&&t[P].destroy();let r=t[lt];if(r!==null&&Te(t[U])){r!==t[U]&&Rc(r,t);let o=t[Fe];o!==null&&o.detachView(e)}La(t)}finally{v(n)}}function xd(e,t,n,r){let o=e?.[ut];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&wr.add(e[Qe]),ep(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),nI(e,r)}else e&&wr.delete(e[Qe]),r(!1)},o)}function nI(e,t){let n=e[ut]?.running;if(n){n.then(()=>{e[ut].running=void 0,wr.delete(e[Qe]),t(!0)});return}t(!1)}function rI(e,t){let n=e.cleanup,r=t[gn];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[gn]=null);let o=t[qe];if(o!==null){t[qe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[at];if(i!==null){t[at]=null;for(let s of i)s.destroy()}}function oI(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 Gt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];A(S.LifecycleHookStart,a,c);try{c.call(a)}finally{A(S.LifecycleHookEnd,a,c)}}else{A(S.LifecycleHookStart,o,i);try{i.call(o)}finally{A(S.LifecycleHookEnd,o,i)}}}}}function np(e,t,n){return iI(e,t.parent,n)}function iI(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[be];if(je(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===zt.None||o===zt.Emulated)return null}return de(r,n)}function rp(e,t,n){return aI(e,t,n)}function sI(e,t,n){return e.type&40?de(e,n):null}var aI=sI,Ad;function kc(e,t,n,r){let o=np(e,r,t),i=t[P],s=r.parent||t[re],a=rp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)_d(i,o,n[c],a,!1);else _d(i,o,n,a,!1);Ad!==void 0&&Ad(i,r,t,n,o)}function Dr(e,t){if(t!==null){let n=t.type;if(n&3)return de(t,e);if(n&4)return Za(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Dr(e,r);{let o=e[t.index];return Te(o)?Za(-1,o):me(o)}}else{if(n&128)return Dr(e,t.next);if(n&32)return Sc(t,e)()||me(e[t.index]);{let r=op(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ct(e[ie]);return Dr(o,r)}else return Dr(e,t.next)}}}return null}function op(e,t){if(t!==null){let r=e[ie][re],o=t.projection;return r.projection[o]}return null}function Za(e,t){let n=V+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Dr(r,o)}return t[ft]}function Oc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[oe];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Mn(me(c),r),n.flags|=2),!Ti(n))if(l&8)Oc(e,t,n.child,r,o,i,!1),bn(t,e,a,o,c,n,i,r);else if(l&32){let u=Sc(n,r),d;for(;d=u();)bn(t,e,a,o,d,n,i,r);bn(t,e,a,o,c,n,i,r)}else l&16?ip(e,t,r,n,o,i):bn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ri(e,t,n,r,o,i){Oc(n,r,e.firstChild,t,o,i,!1)}function cI(e,t,n){let r=t[P],o=np(e,n,t),i=n.parent||t[re],s=rp(i,n,t);ip(r,0,t,n,o,s)}function ip(e,t,n,r,o,i){let s=n[ie],c=s[re].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];bn(t,e,n[oe],o,u,r,i,n)}else{let l=c,u=s[U];Cf(r)&&(l.flags|=128),Oc(e,t,l,u,o,i,!0)}}function lI(e,t,n,r,o,i,s){let a=r[ft],c=me(r);a!==c&&bn(t,e,n,i,a,o,s);for(let l=V;l<r.length;l++){let u=r[l];Ri(u[y],u,e,t,i,a)}}function uI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:gi.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=gi.Important),e.setStyle(n,r,o,i))}}function sp(e,t,n,r,o){let i=pe(),s=r&2;try{ht(-1),s&&t.length>R&&Jf(e,t,R,!1);let a=s?S.TemplateUpdateStart:S.TemplateCreateStart;A(a,o,n),n(r,o)}finally{ht(i);let a=s?S.TemplateUpdateEnd:S.TemplateCreateEnd;A(a,o,n)}}function ki(e,t,n){gI(e,t,n),(n.flags&64)===64&&mI(e,t,n)}function Pr(e,t,n=de){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 dI(e,t,n,r){let i=r.get(Af,xf)||n===zt.ShadowDom||n===zt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return fI(s),s}function fI(e){pI(e)}var pI=()=>null;function hI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function ap(e,t,n,r,o,i){let s=t[y];if(Oi(e,s,t,n,r)){je(e)&&lp(t,e.index);return}e.type&3&&(n=hI(n)),cp(e,t,n,r,o,i)}function cp(e,t,n,r,o,i){if(e.type&3){let s=de(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function lp(e,t){let n=ye(t,e);n[D]&16||(n[D]|=64)}function gI(e,t,n){let r=n.directiveStart,o=n.directiveEnd;je(n)&&Uv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||fi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=br(t,e,s,n);if(Mn(c,t),i!==null&&II(t,s-r,c,a,n,i),_e(a)){let l=ye(n.index,t);l[$]=br(t,e,s,n)}}}function mI(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ku();try{ht(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];qo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&yI(c,l)}}finally{ht(-1),qo(s)}}function yI(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Pc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Zf(t,i.selectors,!1)&&(r??=[],_e(i)?r.unshift(i):r.push(i))}return r}function vI(e,t,n,r,o,i){let s=de(e,t);up(t[P],s,i,e.value,n,r,o)}function up(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Le(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function II(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];za(r,n,c,l)}}function Lc(e,t,n,r,o){let i=R+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,Ut(e,!0);let c=e.type===2;return c?(zf(t[P],a,e),(Uu()===0||yn(e))&&Mn(a,t),Wu()):Mn(a,t),Zo()&&(!c||!Ti(e))&&kc(s,t,a,e),e}function Fc(e){let t=e;return sa()?aa():(t=t.parent,Ut(t,!1)),t}function jc(e,t){let n=e[oe];if(!n)return;let r;try{r=n.get(mt,null)}catch(o){r=null}r?.(t)}function Oi(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];za(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];za(u,l,r,o),a=!0}return a}function EI(e,t){let n=ye(t,e),r=n[y];DI(r,n);let o=n[be];o!==null&&n[Ft]===null&&(n[Ft]=Of(o,n[oe])),A(S.ComponentStart);try{Vc(r,n,n[$])}finally{A(S.ComponentEnd,n[$])}}function DI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Vc(e,t,n){zo(t);try{let r=e.viewQuery;r!==null&&ja(1,r,n);let o=e.template;o!==null&&sp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Fe]?.finishViewCreation(e),e.staticContentQueries&&Pf(e,t),e.staticViewQueries&&ja(2,e.viewQuery,n);let i=e.components;i!==null&&CI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,Qo()}}function CI(e,t){for(let n=0;n<t.length;n++)EI(e,t[n])}function kn(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=Mc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[lt]=l;let u=e[Fe];return u!==null&&(c[Fe]=u.createEmbeddedView(i)),Vc(i,c,n),c}finally{v(o)}}function Qt(e,t){return!t||t.firstChild===null||Cf(e)}function _r(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(me(i)),Te(i)&&dp(i,r);let s=n.type;if(s&8)_r(e,t,n.child,r);else if(s&32){let a=Sc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=op(t,n);if(Array.isArray(a))r.push(...a);else{let c=ct(t[ie]);_r(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function dp(e,t){for(let n=V;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&_r(r[y],r,o,t)}e[ft]!==e[be]&&t.push(e[ft])}function fp(e){if(e[Ht]!==null){for(let t of e[Ht])t.impl.addSequence(t);e[Ht].length=0}}var pp=[];function bI(e){return e[ue]??wI(e)}function wI(e){let t=pp.pop()??Object.create(_I);return t.lView=e,t}function TI(e){e.lView[ue]!==e&&(e.lView=null,pp.push(e))}var _I=G(q({},tt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{$t(e.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function MI(e){let t=e[ue]??Object.create(NI);return t.lView=e,t}var NI=G(q({},tt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ct(e.lView);for(;t&&!hp(t[y]);)t=ct(t);t&&Ks(t)},consumerOnSignalRead(){this.lView[ue]=this}});function hp(e){return e.type!==2}function gp(e){if(e[at]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[at])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var SI=100;function mp(e,t=0){let r=e[we].rendererFactory,o=!1;o||r.begin?.();try{xI(e,t)}finally{o||r.end?.()}}function xI(e,t){let n=la();try{nr(!0),Ya(e,t);let r=0;for(;pr(e);){if(r===SI)throw new w(103,!1);r++,Ya(e,1)}}finally{nr(n)}}function AI(e,t,n,r){if(pt(t))return;let o=t[D],i=!1,s=!1;zo(t);let a=!0,c=null,l=null;i||(hp(e)?(l=bI(t),c=Ue(l)):Io()===null?(a=!1,l=MI(t),c=Ue(l)):t[ue]&&(ot(t[ue]),t[ue]=null));try{Ys(t),Qu(e.bindingStartIndex),n!==null&&sp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ni(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ri(t,f,0,null),Ea(t,0)}if(s||RI(t),gp(t),yp(t,0),e.contentQueries!==null&&Pf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ni(t,f)}else{let f=e.contentHooks;f!==null&&ri(t,f,1),Ea(t,1)}OI(e,t);let d=e.components;d!==null&&Ip(t,d,0);let p=e.viewQuery;if(p!==null&&ja(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ni(t,f)}else{let f=e.viewHooks;f!==null&&ri(t,f,2),Ea(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ho]){for(let f of t[Ho])f();t[Ho]=null}i||(fp(t),t[D]&=-73)}catch(u){throw i||$t(t),u}finally{l!==null&&(rt(l,c),a&&TI(l)),Qo()}}function yp(e,t){for(let n=wf(e);n!==null;n=Tf(n))for(let r=V;r<n.length;r++){let o=n[r];vp(o,t)}}function RI(e){for(let t=wf(e);t!==null;t=Tf(t)){if(!(t[D]&2))continue;let n=t[Bt];for(let r=0;r<n.length;r++){let o=n[r];Ks(o)}}}function kI(e,t,n){A(S.ComponentStart);let r=ye(t,e);try{vp(r,n)}finally{A(S.ComponentEnd,r[$])}}function vp(e,t){Bo(e)&&Ya(e,t)}function Ya(e,t){let r=e[y],o=e[D],i=e[ue],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ln(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)AI(r,e,r.template,e[$]);else if(o&8192){let a=v(null);try{gp(e),yp(e,1);let c=r.components;c!==null&&Ip(e,c,1),fp(e)}finally{v(a)}}}function Ip(e,t,n){for(let r=0;r<t.length;r++)kI(e,t[r],n)}function OI(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)ht(~o);else{let i=o,s=n[++r],a=n[++r];Yu(s,i);let c=t[i];A(S.HostBindingsUpdateStart,c);try{a(2,c)}finally{A(S.HostBindingsUpdateEnd,c)}}}}finally{ht(-1)}}function Pi(e,t){let n=la()?64:1088;for(e[we].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=ct(e);if(vn(e)&&!r)return e;e=r}return null}function Ep(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Dp(e,t){let n=V+t;if(n<e.length)return e[n]}function On(e,t,n,r=!0){let o=t[y];if(PI(o,t,e,n),r){let s=Za(n,e),a=t[P],c=a.parentNode(e[ft]);c!==null&&eI(o,e[re],a,t,c,s)}let i=t[Ft];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Hc(e,t){let n=Mr(e,t);return n!==void 0&&Ai(n[y],n),n}function Mr(e,t){if(e.length<=V)return;let n=V+t,r=e[n];if(r){let o=r[lt];o!==null&&o!==e&&Rc(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=lr(e,V+t);Xv(r[y],r);let s=i[Fe];s!==null&&s.detachView(i[y]),r[U]=null,r[ge]=null,r[D]&=-129}return r}function PI(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-V?(t[ge]=n[o],js(n,V+r,t)):(n.push(t),t[ge]=null),t[U]=n;let s=t[lt];s!==null&&n!==s&&Cp(s,t);let a=t[Fe];a!==null&&a.insertView(e),$o(t),t[D]|=128}function Cp(e,t){let n=e[Bt],r=t[U];if(Ze(r))e[D]|=2;else{let o=r[U][ie];t[ie]!==o&&(e[D]|=2)}n===null?e[Bt]=[t]:n.push(t)}var It=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return _r(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[$]}set context(t){this._lView[$]=t}get destroyed(){return pt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(Te(t)){let n=t[dr],r=n?n.indexOf(this):-1;r>-1&&(Mr(t,r),lr(n,r))}this._attachedToViewContainer=!1}Ai(this._lView[y],this._lView)}onDestroy(t){Uo(this._lView,t)}markForCheck(){Pi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){$o(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,mp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=vn(this._lView),n=this._lView[lt];n!==null&&!t&&Rc(n,this._lView),tp(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;let n=vn(this._lView),r=this._lView[lt];r!==null&&!n&&Cp(r,this._lView),$o(this._lView)}};var Nr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=LI;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=kn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new It(i)}}return e})();function LI(){return Li(H(),m())}function Li(e,t){return e.type&4?new Nr(t,e,Rn(e,t)):null}function Xt(e,t,n,r,o){let i=e.data[t];if(i===null)i=FI(e,t,n,r,o),Zu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=zu();i.injectorIndex=s===null?-1:s.injectorIndex}return Ut(i,!0),i}function FI(e,t,n,r,o){let i=ia(),s=sa(),a=s?i:i&&i.parent,c=e.data[t]=VI(e,a,n,t,r,o);return jI(e,c,i,s),c}function jI(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 VI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return na()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:pa(),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 HI(e){let t=e[dt]??[],r=e[U][P],o=[];for(let i of t)i.data[Ic]!==void 0?o.push(i):BI(i,r);e[dt]=o}function BI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Sf];for(;n<o;){let i=r.nextSibling;Gf(t,r,!1),r=i,n++}}}var $I=()=>null,UI=()=>null;function mi(e,t){return $I(e,t)}function bp(e,t,n){return UI(e,t,n)}var wp=class{},Fi=class{},Ka=class{resolveComponentFactory(t){throw new w(917,!1)}},ji=class{static NULL=new Ka},Sr=class{},WI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qI()}return e})();function qI(){let e=m(),t=H(),n=ye(t.index,e);return(Ze(n)?n:e)[P]}var Tp=(()=>{class e{static \u0275prov=Q({token:e,providedIn:"root",factory:()=>null})}return e})();var ii={},Tn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ii,r);return o!==ii||n===ii?o:this.parentInjector.get(t,n,r)}};function yi(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=Ao(o,a);else if(i==2){let c=a,l=t[++s];r=Ao(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Lr(e,t=0){let n=m();if(n===null)return Oe(e,t);let r=H();return yf(r,n,z(e),t)}function GI(){let e="invalid";throw new Error(e)}function _p(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}ZI(e,t,n,a,i,c,l)}i!==null&&r!==null&&zI(n,r,i)}function zI(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 w(-301,!1);r.push(t[o],i)}}function QI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function ZI(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&&_e(f)&&(c=f,QI(e,n,p)),Oa(fi(n,t),e,f.type)}tE(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=Kf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=_n(n.mergedAttrs,f.hostAttrs),KI(e,n,t,d,f),eE(d,f,o),s!==null&&s.has(f)){let[g,I]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,I+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++}YI(e,n,i)}function YI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Rd(0,t,o,r),Rd(1,t,o,r),Od(t,r,!1);else{let i=n.get(o);kd(0,t,i,r),kd(1,t,i,r),Od(t,r,!0)}}}function Rd(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),Mp(t,i)}}function kd(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),Mp(t,s)}}function Mp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Od(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Tc(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 KI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new Gt(i,_e(o),Lr,null);e.blueprint[r]=s,n[r]=s,JI(e,t,r,Kf(e,n,o.hostVars,J),o)}function JI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;XI(s)!=a&&s.push(a),s.push(n,r,i)}}function XI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function eE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;_e(t)&&(n[""]=e)}}function tE(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Bc(e,t,n,r,o,i,s,a){let c=t[y],l=c.consts,u=fe(l,s),d=Xt(c,e,n,r,u);return i&&_p(c,t,d,fe(l,a),o),d.mergedAttrs=_n(d.mergedAttrs,d.attrs),d.attrs!==null&&yi(d,d.attrs,!1),d.mergedAttrs!==null&&yi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function $c(e,t){cf(e,t),zs(t)&&e.queries.elementEnd(t)}function nE(e,t,n,r,o,i){let s=t.consts,a=fe(s,o),c=Xt(t,e,n,r,a);if(c.mergedAttrs=_n(c.mergedAttrs,c.attrs),i!=null){let l=fe(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&yi(c,c.attrs,!1),c.mergedAttrs!==null&&yi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Uc(e){return Sp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Np(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 Sp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Pn(e,t,n){return e[t]=n}function xp(e,t){return e[t]}function ce(e,t,n){if(n===J)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Nn(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function Ap(e,t,n,r,o){let i=Nn(e,t,n,r);return ce(e,t+2,o)||i}function Rp(e,t,n,r,o,i){let s=Nn(e,t,n,r);return Nn(e,t+2,o,i)||s}function si(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&Fy(o,i);let s=je(e)?ye(e.index,t):t;Pi(s,5);let a=t[$],c=Pd(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Pd(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Pd(e,t,n,r){let o=v(null);try{return A(S.OutputStart,t,n),n(r)!==!1}catch(i){return jc(e,i),!1}finally{A(S.OutputEnd,t,n),v(o)}}function kp(e,t,n,r,o,i,s,a){let c=yn(e),l=!1,u=null;if(!r&&c&&(u=oE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=de(e,n),p=r?r(d):d;Vy(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!rE(i)){let h=r?g=>r(me(g[e.index])):e.index;Op(h,t,n,i,a,f,!1)}}return l}function rE(e){return e.startsWith("animation")||e.startsWith("transition")}function oE(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[gn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Op(e,t,n,r,o,i,s){let a=t.firstCreatePass?ea(t):null,c=Xs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Ld(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);Op(e.index,a,t,o,i,d,!0)}var Ja=Symbol("BINDING");function Pp(e){return e.debugInfo?.className||e.type.name||null}var Xa=class extends ji{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ze(t);return new Sn(n,this.ngModule)}};function iE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ni.SignalBased)!==0};return o&&(i.transform=o),i})}function sE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function aE(e,t,n){let r=t instanceof le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Tn(n,r):n}function cE(e){let t=e.get(Sr,null);if(t===null)throw new w(407,!1);let n=e.get(Tp,null),r=e.get(De,null),o=e.get(Jt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function lE(e,t){let n=Lp(e);return Wf(t,n,n==="svg"?tr:n==="math"?Qs:null)}function uE(e){if(e?.toLowerCase()==="script")throw new w(905,!1)}function Lp(e){return(e.selectors[0][0]||"div").toLowerCase()}var Sn=class extends Fi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=iE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=sE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Vv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(S.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,l=aE(c,o||this.ngModule,t),u=cE(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(Pp(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=dE(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?dI(l,o,a.encapsulation,n):lE(a,l);uE(u?.tagName);let d=s?.some(Fd)||i?.some(h=>typeof h!="function"&&h.bindings.some(Fd)),p=Mc(null,c,null,512|Yf(a),null,null,t,l,n,null,Of(u,n,!0));p[R]=u,zo(p);let f=null;try{let h=Bc(R,p,2,"#host",()=>c.directiveRegistry,!0,0);zf(l,u,h),Mn(u,p),ki(c,p,h),Cc(c,h,p),$c(c,h),r!==void 0&&pE(h,this.ngContentSelectors,r),f=ye(h.index,p),p[$]=f[$],Vc(c,p,null)}catch(h){throw f!==null&&La(f),La(p),h}finally{A(S.DynamicComponentEnd),Qo()}return new vi(this.componentType,p,!!d)}};function dE(e,t,n,r){let o=e?["ng-version","21.2.25"]:Hv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Ja].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[Ja].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=cr(d);c.push(p)}return _c(0,null,fE(i,s),1,a,c,null,null,null,[o],null)}function fE(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 Fd(e){let t=e[Ja].kind;return t==="input"||t==="twoWay"}var vi=class extends wp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=In(n[y],R),this.location=Rn(this._tNode,n),this.instance=ye(this._tNode.index,n)[$],this.hostView=this.changeDetectorRef=new It(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=Oi(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=ye(r.index,o);Pi(s,1)}get injector(){return new qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function pE(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 Vi=(()=>{class e{static __NG_ELEMENT_ID__=hE}return e})();function hE(){let e=H();return Fp(e,m())}var ec=class e extends Vi{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Rn(this._hostTNode,this._hostLView)}get injector(){return new qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=yc(this._hostTNode,this._hostLView);if(df(t)){let n=ui(t,this._hostLView),r=li(t),o=n[y].data[r+8];return new qt(o,n)}else return new qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=jd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=mi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Qt(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!iy(t),l;if(c)l=n;else{let I=n||{};l=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef,s=I.directives,a=I.bindings}let u=c?t:new Sn(ze(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(le,null);T&&(i=T)}let p=ze(u.componentType??{}),f=mi(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,Qt(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Hu(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new e(c,c[re],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return On(s,o,i,r),t.attachToViewContainerRef(),js(ba(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=jd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);r&&(lr(ba(this._lContainer),n),Ai(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);return r&&lr(ba(this._lContainer),n)!=null?new It(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function jd(e){return e[dr]}function ba(e){return e[dr]||(e[dr]=[])}function Fp(e,t){let n,r=t[e.index];return Te(r)?n=r:(n=Ep(r,t,null,e),t[e.index]=n,Nc(t,n)),mE(n,t,e,r),new ec(n,e,t)}function gE(e,t){let n=e[P],r=n.createComment(""),o=de(t,e),i=n.parentNode(o);return hi(n,i,r,n.nextSibling(o),!1),r}var mE=vE,yE=()=>!1;function jp(e,t,n){return yE(e,t,n)}function vE(e,t,n,r){if(e[ft])return;let o;n.type&8?o=me(r):o=gE(t,n),e[ft]=o}var tc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},nc=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++)qc(t,n).matches!==null&&this.queries[n].setDirty()}},Ii=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=bE(t):this.predicate=t}},rc=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)}},oc=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,IE(n,i)),this.matchTNodeWithReadOption(t,n,oi(n,t,i,!1,!1))}else r===Nr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,oi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===kr||o===Vi||o===Nr&&n.type&4)this.addMatch(n.index,-2);else{let i=oi(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 IE(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 EE(e,t){return e.type&11?Rn(e,t):e.type&4?Li(e,t):null}function DE(e,t,n,r){return n===-1?EE(t,e):n===-2?CE(e,t,r):br(e,e[y],n,t)}function CE(e,t,n){if(n===kr)return Rn(t,e);if(n===Nr)return Li(t,e);if(n===Vi)return Fp(t,e)}function Vp(e,t,n,r){let o=t[Fe].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(DE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ic(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Vp(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=V;d<u.length;d++){let p=u[d];p[lt]===p[U]&&ic(p[y],p,l,r)}if(u[Bt]!==null){let d=u[Bt];for(let p=0;p<d.length;p++){let f=d[p];ic(f[y],f,l,r)}}}}}return r}function Wc(e,t){return e[Fe].queries[t].queryList}function Hp(e,t,n){let r=new pi((n&4)===4);return $u(e,t,r,r.destroy),(t[Fe]??=new nc).queries.push(new tc(r))-1}function Bp(e,t,n){let r=k();return r.firstCreatePass&&(Up(r,new Ii(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Hp(r,m(),t)}function $p(e,t,n,r){let o=k();if(o.firstCreatePass){let i=H();Up(o,new Ii(t,n,r),i.index),wE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Hp(o,m(),n)}function bE(e){return e.split(",").map(t=>t.trim())}function Up(e,t,n){e.queries===null&&(e.queries=new rc),e.queries.track(new oc(t,n))}function wE(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 qc(e,t){return e.queries.getByIndex(t)}function Wp(e,t){let n=e[y],r=qc(n,t);return r.crossesNgTemplate?ic(n,e,t,[]):Vp(n,e,r,t)}function Gc(e,t,n){let r,o=Yn(()=>{r._dirtyCounter();let i=TE(r,e);if(t&&i===void 0)throw new w(-951,!1);return i});return r=o[B],r._dirtyCounter=yt(0),r._flatValue=void 0,o}function zc(e){return Gc(!0,!1,e)}function Qc(e){return Gc(!0,!0,e)}function Zc(e){return Gc(!1,!1,e)}function qp(e,t){let n=e[B];n._lView=m(),n._queryIndex=t,n._queryList=Wc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function TE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:te;let o=Wc(n,r),i=Wp(n,r);return o.reset(i,Df),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Ei=class{};var xr=class extends Ei{injector;componentFactoryResolver=new Xa(this);instance=null;constructor(t){super();let n=new Ot([...t.providers,{provide:Ei,useValue:this},{provide:ji,useValue:this.componentFactoryResolver}],t.parent||hn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yc(e,t,n=null){return new xr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _E=(()=>{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=jo(!1,n.type),o=r.length>0?Yc([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(Oe(le))})}return e})();function ME(e){return Rr(()=>{let t=Gp(e),n=G(q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===vc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(_E).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||zt.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&$e("NgStandalone"),zp(n);let r=e.dependencies;return n.directiveDefs=Vd(r,NE),n.pipeDefs=Vd(r,Os),n.id=OE(n),n})}function NE(e){return ze(e)||cr(e)}function SE(e){return Rr(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xE(e,t){if(e==null)return Ce;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=Ni.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function AE(e){if(e==null)return Ce;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function RE(e){return Rr(()=>{let t=Gp(e);return zp(t),t})}function kE(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Gp(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||Ce,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:xE(e.inputs,t),outputs:AE(e.outputs),debugInfo:null}}function zp(e){e.features?.forEach(t=>t(e))}function Vd(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 OE(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 PE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=LE,n.hostDirectives=r?e.map(sc):[e]):r?n.hostDirectives.unshift(...e.map(sc)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function LE(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,Qp(s,t,r),o.set(s,[a,t.length-1])}i===0&&_e(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 Qp(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)Hd(sc(i),t,n)}else Hd(r,t,n)}function Hd(e,t,n){let r=cr(e.directive);FE(r.declaredInputs,e.inputs),Qp(r,t,n),n.set(r,e),t.push(r)}function sc(e){return typeof e=="function"?{directive:z(e),inputs:Ce,outputs:Ce}:{directive:z(e.directive),inputs:Bd(e.inputs),outputs:Bd(e.outputs)}}function Bd(e){if(e===void 0||e.length===0)return Ce;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function FE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function jE(e){return Object.getPrototypeOf(e.prototype).constructor}function Zp(e){let t=jE(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,sr)?t[sr]:void 0,s=Object.hasOwn(t,ar)?t[ar]:void 0;if(_e(e))o=i??s;else{if(i)throw new w(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=wa(e.inputs),c.declaredInputs=wa(e.declaredInputs),c.outputs=wa(e.outputs);let l=o.hostBindings;l&&UE(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&BE(e,u),d&&$E(e,d),VE(e,o),Cu(e.outputs,o.outputs),_e(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===Zp&&(n=!1)}}t=Object.getPrototypeOf(t)}HE(r)}function VE(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 HE(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=_n(o.hostAttrs,n=_n(n,o.hostAttrs))}}function wa(e){return e===Ce?{}:e===te?[]:e}function BE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function $E(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function UE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Yp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=_n(e.mergedAttrs,e.attrs);let u=e.tView=_c(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),Ut(e,!1);let c=qE(n,t,e,r);Zo()&&kc(n,t,c,e),Mn(c,t);let l=Ep(c,t,c,e);t[r+R]=l,Nc(t,l),jp(l,e,t)}function WE(e,t,n,r,o,i,s,a,c,l,u){let d=n+R,p;return t.firstCreatePass?(p=Xt(t,d,4,s||null,a||null),Wo()&&_p(t,e,p,fe(t.consts,l),Pc),cf(t,p)):p=t.data[d],Yp(p,e,t,n,r,o,i,c),yn(p)&&ki(t,e,p),l!=null&&Pr(e,p,u),p}function Zt(e,t,n,r,o,i,s,a,c,l,u){let d=n+R,p;if(t.firstCreatePass){if(p=Xt(t,d,4,s||null,a||null),l!=null){let f=fe(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 Yp(p,e,t,n,r,o,i,c),l!=null&&Pr(e,p,u),p}function Kp(e,t,n,r,o,i,s,a){let c=m(),l=k(),u=fe(l.consts,i);return WE(c,l,e,t,n,r,o,u,void 0,s,a),Kp}function Jp(e,t,n,r,o,i,s,a){let c=m(),l=k(),u=fe(l.consts,i);return Zt(c,l,e,t,n,r,o,u,void 0,s,a),Jp}var qE=GE;function GE(e,t,n,r){return mr(!0),t[P].createComment("")}var ae=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ae||{}),$d=0,zE=1,W=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(W||{}),Xp=(function(e){return e[e.Initial=-1]="Initial",e})(Xp||{}),QE=0,Hi=1;var ZE=4,YE=5,KE=6,JE=7,Ta=8,XE=9,Kc=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Kc||{});function eh(e,t,n){let r=nh(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function ai(e,t){let n=nh(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function th(e){ai(1,e),ai(0,e),ai(2,e)}function nh(e){let t=ZE;return e===1?t=YE:e===2&&(t=XE),t}function Bi(e){return e+1}function Ln(e,t){let n=e[y],r=Bi(t.index);return e[r]}function eD(e,t,n){let r=e[y],o=Bi(t);e[o]=n}function Fn(e,t){let n=Bi(t.index);return e.data[n]}function tD(e,t,n){let r=Bi(t);e.data[r]=n}function nD(e,t,n){let r=t[y],o=Fn(r,n);switch(e){case W.Complete:return o.primaryTmplIndex;case W.Loading:return o.loadingTmplIndex;case W.Error:return o.errorTmplIndex;case W.Placeholder:return o.placeholderTmplIndex;default:return null}}function Ud(e,t){return t===W.Placeholder?e.placeholderBlockConfig?.[$d]??null:t===W.Loading?e.loadingBlockConfig?.[$d]??null:null}function rD(e){return e.loadingBlockConfig?.[zE]??null}function Wd(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function oD(e,t){let n=t.primaryTmplIndex+R;return In(e,n)}function iD(e,t){let n=t.get(cD),r=()=>n.remove(e);return n.add(e),r}var sD=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,aD=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,cD=(()=>{class e{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=E(Y);requestIdleCallbackFn=sD().bind(globalThis);cancelIdleCallbackFn=aD().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 lD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Yc(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 rh=new x("");function _a(e,t,n){return e.get(lD).getOrCreateInjector(t,e,n,"")}function uD(e,t,n){if(e instanceof Tn){let o=e.injector,i=e.parentInjector,s=_a(i,t,n);return new Tn(o,s)}let r=e.get(le);if(r!==e){let o=_a(r,t,n);return new Tn(e,o)}return _a(e,t,n)}function vt(e,t,n,r=!1){let o=n[U],i=o[y];if(pt(o))return;let s=Ln(o,t),a=s[Hi],c=s[JE];if(!(c!==null&&e<c)&&qd(a,e)&&qd(s[QE]??-1,e)){let l=Fn(i,t),d=!r&&!0&&(rD(l)!==null||Ud(l,W.Loading)!==null||Ud(l,W.Placeholder))?hD:fD;try{d(e,s,n,t,o)}catch(p){jc(o,p)}}}function dD(e,t){let n=e[dt]?.findIndex(o=>o.data[Ec]===t[Hi])??-1;return{dehydratedView:n>-1?e[dt][n]:null,dehydratedViewIx:n}}function fD(e,t,n,r,o){A(S.DeferBlockStateStart);let i=nD(e,o,r);if(i!==null){t[Hi]=e;let s=o[y],a=i+R,c=In(s,a),l=0;Hc(n,l);let u;if(e===W.Complete){let h=Fn(s,r),g=h.providers;g&&g.length>0&&(u=uD(o[oe],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=dD(n,t),f=kn(o,c,null,{injector:u,dehydratedView:d});if(On(n,f,l,Qt(c,d)),Pi(f,2),p>-1&&n[dt]?.splice(p,1),(e===W.Complete||e===W.Error)&&Array.isArray(t[Ta])){for(let h of t[Ta])h();t[Ta]=null}}A(S.DeferBlockStateEnd)}function qd(e,t){return e<t}function pD(e,t){let n=e[t.index];vt(W.Placeholder,t,n)}function Gd(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ae.COMPLETE?vt(W.Complete,t,n):e.loadingState===ae.FAILED&&vt(W.Error,t,n)})}var hD=null;function oh(e){return typeof e=="function"&&e[B]!==void 0}function Jc(e){return oh(e)&&typeof e.set=="function"}var ih=new x("");function Xc(e){return!!e&&typeof e.then=="function"}function sh(e){return!!e&&typeof e.subscribe=="function"}var ah=new x("");var el=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=E(ah,{optional:!0})??[];injector=E(he);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Vo(this.injector,o);if(Xc(i))n.push(i);else if(sh(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})(),ch=new x("");function lh(){ps(()=>{let e="";throw new w(600,e)})}function uh(e){return e.isBoundToModule}var gD=10;var Fr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=E(mt);afterRenderManager=E(xi);zonelessEnabled=E(Cn);rootEffectScheduler=E(Ko);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new K;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=E(gt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ae(n=>!n))}constructor(){E(Jt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=E(le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=he.NULL){return this._injector.get(Y).run(()=>{A(S.BootstrapComponentStart);let s=n instanceof Fi;if(!this._injector.get(el).done){let h="";throw new w(405,h)}let c;s?c=n:c=this._injector.get(ji).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=uh(c)?void 0:this._injector.get(Ei),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(ih,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Cr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(S.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(S.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Si.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw A(S.ChangeDetectionEnd),new w(101,!1);let n=v(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),A(S.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<gD;){A(S.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{A(S.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!pr(o))continue;let i=r&&!this.zonelessEnabled?0:1;mp(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})=>pr(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Cr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ch,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Cr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(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 Cr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function mD(e){let t=m(),n=H();if(pD(t,n),!fh(0,t))return;let r=t[oe],o=Ln(t,n),i=e(()=>yD(0,t,n),r);eh(0,o,i)}function dh(e,t,n){let r=t[oe],o=t[y];if(e.loadingState!==ae.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Ln(t,n),s=oD(o,e);e.loadingState=ae.IN_PROGRESS,ai(1,i);let a=e.dependencyResolverFn,c=r.get(vr).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 g=l[h];if(g.status==="fulfilled"){let I=g.value,T=ze(I)||cr(I);if(T)p.push(T);else{let L=Os(I);L&&f.push(L)}}else{u=!0,d=g.reason instanceof Error?g.reason:new Error(String(g.reason));break}}if(u){if(e.loadingState=ae.FAILED,e.errorTmplIndex===null){let g="",I=new w(-750,g);jc(t,I)}}else{e.loadingState=ae.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Wd(h.directiveRegistry,p);let g=p.map(T=>T.type),I=jo(!1,...g);e.providers=I}f.length>0&&(h.pipeRegistry=Wd(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ae.COMPLETE,c()}),e.loadingPromise)}function fh(e,t){return t[oe].get(rh,null,{optional:!0})?.behavior!==Kc.Manual}function yD(e,t,n){let r=t[y],o=t[n.index];if(!fh(e,t))return;let i=Ln(t,n),s=Fn(r,n);switch(th(i),s.loadingState){case ae.NOT_STARTED:vt(W.Loading,n,o),dh(s,t,n),s.loadingState===ae.IN_PROGRESS&&Gd(s,n,o);break;case ae.IN_PROGRESS:vt(W.Loading,n,o),Gd(s,n,o);break;case ae.COMPLETE:vt(W.Complete,n,o);break;case ae.FAILED:vt(W.Error,n,o);break;default:}}function vD(e,t,n){return e===0?zd(t,n):e===2?!zd(t,n):!0}function ID(e){return e!=null&&(e&1)===1}function zd(e,t){let n=e[oe],r=Fn(e[y],t),o=Dc(n),i=ID(r.flags),a=Ln(e,t)[KE]!==null;return!(i&&a&&o)}function ED(e,t,n,r,o,i,s,a,c,l){let u=m(),d=k(),p=e+R,f=Zt(u,d,e,null,0,0),h=u[oe],g=Dc(h);if(d.firstCreatePass){$e("NgDefer");let jn={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ae.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,jn,a,s),tD(d,p,jn)}let I=u[p];jp(I,f,u);let T=null,L=null;if(I[dt]?.length>0){let jn=I[dt][0].data;L=jn[Ic]??null,T=jn[Ec]}let Dt=[null,Xp.Initial,null,null,null,null,L,T,null,null];eD(u,p,Dt);let Qi=null;L!==null&&g&&(Qi=h.get(kf),Qi.add(L,{lView:u,tNode:f,lContainer:I}));let bl=()=>{th(Dt),L!==null&&Qi?.cleanup([L])};eh(0,Dt,()=>Js(u,bl)),Uo(u,bl)}function DD(){let e=m(),t=H();vD(0,e,t)&&mD(iD)}function ph(e,t){let n=m(),r=Ye();if(ce(n,r,t)){let o=k(),i=Wt();if(Oi(i,o,n,e,t))je(i)&&lp(n,i.index);else{let a=de(i,n);up(n[P],a,null,i.value,e,t,null)}}return ph}function hh(e,t,n,r){let o=m(),i=Ye();if(ce(o,i,t)){let s=k(),a=Wt();vI(a,o,e,t,n,r)}return hh}var ac=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 Ma(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=Ma(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],g=Ma(a,f,l,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,l--;continue}let I=n(s,u),T=n(a,f),L=n(s,d);if(Object.is(L,T)){let Dt=n(l,h);Object.is(Dt,I)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Di,i??=Zd(e,s,a,n),cc(e,o,s,L))e.updateValue(s,d),s++,a++;else if(i.has(L))o.set(I,e.detach(s)),a--;else{let Dt=e.create(s,t[s]);e.attach(s,Dt),s++,a++}}for(;s<=l;)Qd(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=Ma(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Di,i??=Zd(e,s,a,n);let h=n(s,p);if(cc(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 g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!u.done;)Qd(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 cc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Qd(e,t,n,r,o){if(cc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Zd(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 Di=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 bD(e,t,n,r,o,i,s,a){$e("NgControlFlow");let c=m(),l=k(),u=fe(l.consts,i);return Zt(c,l,e,t,n,r,o,u,256,s,a),tl}function tl(e,t,n,r,o,i,s,a){$e("NgControlFlow");let c=m(),l=k(),u=fe(l.consts,i);return Zt(c,l,e,t,n,r,o,u,512,s,a),tl}function wD(e,t){$e("NgControlFlow");let n=m(),r=Ye(),o=n[r]!==J?n[r]:-1,i=o!==-1?Ci(n,R+o):void 0,s=0;if(ce(n,r,e)){let a=v(null);try{if(i!==void 0&&Hc(i,s),e!==-1){let c=R+e,l=Ci(n,c),u=fc(n[y],c),d=bp(l,u,n),p=kn(n,u,t,{dehydratedView:d});On(l,p,s,Qt(u,d))}}finally{v(a)}}else if(i!==void 0){let a=Dp(i,s);a!==void 0&&(a[$]=t)}}var lc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function TD(e){return e}function _D(e,t){return t}var uc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function MD(e,t,n,r,o,i,s,a,c,l,u,d,p){$e("NgControlFlow");let f=m(),h=k(),g=c!==void 0,I=m(),T=a?s.bind(I[ie][$]):s,L=new uc(g,T);I[R+e]=L,Zt(f,h,e+1,t,n,r,o,fe(h.consts,i),256),g&&Zt(f,h,e+2,c,l,u,d,fe(h.consts,p),512)}var dc=class extends ac{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-V}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[Ft];this.needsIndexUpdate||=t!==this.length,On(this.lContainer,n,t,Qt(this.templateTNode,r)),SD(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xD(this.lContainer,t),AD(this.lContainer,t)}create(t,n){let r=mi(this.lContainer,this.templateTNode.tView.ssrId);return kn(this.hostLView,this.templateTNode,new lc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Ai(t[y],t)}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return RD(this.lContainer,t)}};function ND(e){let t=v(null),n=pe();try{let r=m(),o=r[y],i=r[n],s=n+1,a=Ci(r,s);if(i.liveCollection===void 0){let l=fc(o,s);i.liveCollection=new dc(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(CD(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Ye(),u=c.length===0;if(ce(r,l,u)){let d=n+2,p=Ci(r,d);if(u){let f=fc(o,d),h=bp(p,f,r),g=kn(r,f,void 0,{dehydratedView:h});On(p,g,0,Qt(f,h))}else o.firstUpdatePass&&HI(p),Hc(p,0)}}}finally{v(t)}}function Ci(e,t){return e[t]}function SD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[ut]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[oe];Kv(i,o),wr.delete(r[Qe]),o.detachedLeaveAnimationFns=void 0}}function xD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[ut]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function AD(e,t){return Mr(e,t)}function RD(e,t){return Dp(e,t)}function fc(e,t){return In(e,t)}function gh(e,t,n){let r=m(),o=Ye();if(ce(r,o,t)){let i=k(),s=Wt();ap(s,r,e,t,r[P],n)}return gh}function pc(e,t,n,r,o){Oi(t,e,n,o?"class":"style",r)}function bi(e,t,n,r){let o=m(),i=o[y],s=e+R,a=i.firstCreatePass?Bc(s,o,2,t,Pc,Wo(),n,r):i.data[s];if(je(a)){let c=o[we].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(Pp(l),()=>(Yd(e,t,o,a,r),bi))}}return Yd(e,t,o,a,r),bi}function Yd(e,t,n,r,o){if(Lc(r,n,e,t,vh),yn(r)){let i=n[y];ki(i,n,r),Cc(i,r,n)}o!=null&&Pr(n,r)}function nl(){let e=k(),t=H(),n=Fc(t);return e.firstCreatePass&&$c(e,n),ra(n)&&oa(),ta(),n.classesWithoutHost!=null&&fy(n)&&pc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&py(n)&&pc(e,n,m(),n.stylesWithoutHost,!1),nl}function mh(e,t,n,r){return bi(e,t,n,r),nl(),mh}function rl(e,t,n,r){let o=m(),i=o[y],s=e+R,a=i.firstCreatePass?nE(s,i,2,t,n,r):i.data[s];return Lc(a,o,e,t,vh),r!=null&&Pr(o,a),rl}function ol(){let e=H(),t=Fc(e);return ra(t)&&oa(),ta(),ol}function yh(e,t,n,r){return rl(e,t,n,r),ol(),yh}var vh=(e,t,n,r,o)=>(mr(!0),Wf(t[P],r,pa()));function il(e,t,n){let r=m(),o=r[y],i=e+R,s=o.firstCreatePass?Bc(i,r,8,"ng-container",Pc,Wo(),t,n):o.data[i];if(Lc(s,r,e,"ng-container",kD),yn(s)){let a=r[y];ki(a,r,s),Cc(a,s,r)}return n!=null&&Pr(r,s),il}function sl(){let e=k(),t=H(),n=Fc(t);return e.firstCreatePass&&$c(e,n),sl}function Ih(e,t,n){return il(e,t,n),sl(),Ih}var kD=(e,t,n,r,o)=>(mr(!0),vv(t[P],""));function OD(){return m()}function Eh(e,t,n){let r=m(),o=Ye();if(ce(r,o,t)){let i=k(),s=Wt();cp(s,r,e,t,r[P],n)}return Eh}var Ir=void 0;function PD(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var LD=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ir,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ir,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Ir,Ir,Ir],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",PD],Na=Object.create(null);function FD(e){let t=jD(e),n=Kd(t);if(n)return n;let r=t.split("-")[0];if(n=Kd(r),n)return n;if(r==="en")return LD;throw new w(701,!1)}function Kd(e){if(!(e in Na)){let t=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.ng.common.locales[e];return t!==void 0&&(Na[e]=t),t}return Na[e]}var Dh=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(Dh||{});function jD(e){return e.toLowerCase().replace(/_/g,"-")}var jr="en-US";var VD=jr;function Ch(e){typeof e=="string"&&(VD=e.toLowerCase().replace(/_/g,"-"))}function bh(e,t,n){let r=m(),o=k(),i=H();return Th(o,r,r[P],i,e,t,n),bh}function wh(e,t,n){let r=m(),o=k(),i=H();return(i.type&3||n)&&kp(i,o,r,n,r[P],e,t,si(i,r,t)),wh}function Th(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=si(r,t,i),kp(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??=si(r,t,i),Ld(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=si(r,t,i),Ld(r,t,d,o,o,c)}}function HD(e=1){return nd(e)}function BD(e,t){let n=null,r=Ov(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Zf(e,i,!0):Fv(r,i))return o}return n}function $D(e){let t=m()[ie][re];if(!t.projection){let n=e?e.length:1,r=t.projection=Su(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?BD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function UD(e,t=0,n,r,o,i){let s=m(),a=k(),c=r?e+1:null;c!==null&&Zt(s,a,c,r,o,i,null,n);let l=Xt(a,R+e,16,null,n||null);l.projection===null&&(l.projection=t),aa();let d=!s[Ft]||na();s[ie][re].projection[l.projection]===null&&c!==null?WD(s,a,c):d&&!Ti(l)&&cI(a,s,l)}function WD(e,t,n){let r=R+n,o=t.data[r],i=e[r],s=mi(i,o.tView.ssrId),a=kn(e,o,void 0,{dehydratedView:s});On(i,a,0,Qt(o,s))}function _h(e,t,n,r){return $p(e,t,n,r),_h}function Mh(e,t,n){return Bp(e,t,n),Mh}function qD(e){let t=m(),n=k(),r=Go();gr(r+1);let o=qc(n,r);if(e.dirty&&Vu(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Wp(t,r);e.reset(i,Df),e.notifyOnChanges()}return!0}return!1}function GD(){return Wc(m(),Go())}function Nh(e,t,n,r,o){return qp(t,$p(e,n,r,o)),Nh}function Sh(e,t,n,r){return qp(e,Bp(t,n,r)),Sh}function zD(e=1){gr(Go()+e)}function QD(e){let t=ca();return En(t,R+e)}function ti(e,t){return e<<17|t<<2}function Yt(e){return e>>17&32767}function ZD(e){return(e&2)==2}function YD(e,t){return e&131071|t<<17}function hc(e){return e|2}function xn(e){return(e&131068)>>2}function Sa(e,t){return e&-131069|t<<2}function KD(e){return(e&1)===1}function gc(e){return e|1}function JD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Yt(s),c=xn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||pn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Yt(e[a+1]);e[r+1]=ti(p,a),p!==0&&(e[p+1]=Sa(e[p+1],r)),e[a+1]=YD(e[a+1],r)}else e[r+1]=ti(a,0),a!==0&&(e[a+1]=Sa(e[a+1],r)),a=r;else e[r+1]=ti(c,0),a===0?a=r:e[c+1]=Sa(e[c+1],r),c=r;l&&(e[r+1]=hc(e[r+1])),Jd(e,u,r,!0),Jd(e,u,r,!1),XD(t,u,e,r,i),s=ti(a,c),i?t.classBindings=s:t.styleBindings=s}function XD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&pn(i,t)>=0&&(n[r+1]=gc(n[r+1]))}function Jd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Yt(o):xn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];eC(c,t)&&(a=!0,e[s+1]=r?gc(l):hc(l)),s=r?Yt(l):xn(l)}a&&(e[n+1]=r?hc(o):gc(o))}function eC(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?pn(e,t)>=0:!1}var Z={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xh(e){return e.substring(Z.key,Z.keyEnd)}function tC(e){return e.substring(Z.value,Z.valueEnd)}function nC(e){return kh(e),Ah(e,An(e,0,Z.textEnd))}function Ah(e,t){let n=Z.textEnd;return n===t?-1:(t=Z.keyEnd=oC(e,Z.key=t,n),An(e,t,n))}function rC(e){return kh(e),Rh(e,An(e,0,Z.textEnd))}function Rh(e,t){let n=Z.textEnd,r=Z.key=An(e,t,n);return n===r?-1:(r=Z.keyEnd=iC(e,r,n),r=Xd(e,r,n,58),r=Z.value=An(e,r,n),r=Z.valueEnd=sC(e,r,n),Xd(e,r,n,59))}function kh(e){Z.key=0,Z.keyEnd=0,Z.value=0,Z.valueEnd=0,Z.textEnd=e.length}function An(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function oC(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function iC(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Xd(e,t,n,r){return t=An(e,t,n),t<n&&t++,t}function sC(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=ef(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ef(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ef(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 Oh(e,t,n){return Lh(e,t,n,!1),Oh}function Ph(e,t){return Lh(e,t,null,!0),Ph}function aC(e){Fh(Hh,cC,e,!1)}function cC(e,t){for(let n=rC(t);n>=0;n=Rh(t,n))Hh(e,xh(t),tC(t))}function lC(e){Fh(mC,uC,e,!0)}function uC(e,t){for(let n=nC(t);n>=0;n=Ah(t,n))ur(e,xh(t),!0)}function Lh(e,t,n,r){let o=m(),i=k(),s=hr(2);if(i.firstUpdatePass&&Vh(i,e,s,r),t!==J&&ce(o,s,t)){let a=i.data[pe()];Bh(i,a,o,o[P],e,o[s+1]=vC(t,n),r,s)}}function Fh(e,t,n,r){let o=k(),i=hr(2);o.firstUpdatePass&&Vh(o,null,i,r);let s=m();if(n!==J&&ce(s,i,n)){let a=o.data[pe()];if($h(a,r)&&!jh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ao(c,n||"")),pc(o,a,s,n,r)}else yC(o,a,s,s[P],s[i+1],s[i+1]=gC(e,t,n),r,i)}}function jh(e,t){return t>=e.expandoStartIndex}function Vh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[pe()],s=jh(e,n);$h(i,r)&&t===null&&!s&&(t=!1),t=dC(o,i,t,r),JD(o,i,t,n,s,r)}}function dC(e,t,n,r){let o=Ju(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xa(null,e,t,n,r),n=Ar(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xa(o,e,t,n,r),i===null){let c=fC(e,t,r);c!==void 0&&Array.isArray(c)&&(c=xa(null,e,t,c[1],r),c=Ar(c,t.attrs,r),pC(e,t,r,c))}else i=hC(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function fC(e,t,n){let r=n?t.classBindings:t.styleBindings;if(xn(r)!==0)return e[Yt(r)]}function pC(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Yt(o)]=r}function hC(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Ar(r,s,n)}return Ar(r,t.attrs,n)}function xa(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=Ar(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Ar(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]),ur(e,s,n?!0:t[++i]))}return e===void 0?null:e}function gC(e,t,n){if(n==null||n==="")return te;let r=[],o=Kt(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 Hh(e,t,n){ur(e,t,Kt(n))}function mC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ur(e,r,n)}function yC(e,t,n,r,o,i,s,a){o===J&&(o=te);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,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Bh(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Bh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=KD(l)?tf(c,t,n,o,xn(l),s):void 0;if(!wi(u)){wi(i)||ZD(l)&&(i=tf(c,null,n,o,a,s));let d=Zs(pe(),n);uI(r,s,d,o,i)}}function tf(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===J&&(p=d?te:void 0);let f=d?Fo(p,r):u===r?p:void 0;if(l&&!wi(f)&&(f=Fo(c,r)),wi(f)&&(a=f,s))return a;let h=e[o+1];o=s?Yt(h):xn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Fo(c,r))}return a}function wi(e){return e!==void 0}function vC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=xo(Kt(e)))),e}function $h(e,t){return(e.flags&(t?8:16))!==0}function IC(e,t=""){let n=m(),r=k(),o=e+R,i=r.firstCreatePass?Xt(r,o,1,t,null):r.data[o],s=EC(r,n,i,t);n[o]=s,Zo()&&kc(r,n,s,i),Ut(i,!1)}var EC=(e,t,n,r)=>(mr(!0),mv(t[P],r));function Uh(e,t,n,r=""){return ce(e,Ye(),n)?t+Le(n)+r:J}function DC(e,t,n,r,o,i=""){let s=ua(),a=Nn(e,s,n,o);return hr(2),a?t+Le(n)+r+Le(o)+i:J}function CC(e,t,n,r,o,i,s,a=""){let c=ua(),l=Ap(e,c,n,o,s);return hr(3),l?t+Le(n)+r+Le(o)+i+Le(s)+a:J}function Wh(e){return al("",e),Wh}function al(e,t,n){let r=m(),o=Uh(r,e,t,n);return o!==J&&cl(r,pe(),o),al}function qh(e,t,n,r,o){let i=m(),s=DC(i,e,t,n,r,o);return s!==J&&cl(i,pe(),s),qh}function Gh(e,t,n,r,o,i,s){let a=m(),c=CC(a,e,t,n,r,o,i,s);return c!==J&&cl(a,pe(),c),Gh}function cl(e,t,n){let r=Zs(t,e);yv(e[P],r,n)}function zh(e,t,n){Jc(t)&&(t=t());let r=m(),o=Ye();if(ce(r,o,t)){let i=k(),s=Wt();ap(s,r,e,t,r[P],n)}return zh}function bC(e,t){let n=Jc(e);return n&&e.set(t),n}function Qh(e,t){let n=m(),r=k(),o=H();return Th(r,n,n[P],o,e,t),Qh}var Zh={};function Yh(e){$e("NgLet");let t=k(),n=m(),r=e+R,o=Xt(t,r,128,null,null);return Ut(o,!1),fr(t,n,r,Zh),Yh}function wC(e){let t=k(),n=m(),r=pe();return fr(t,n,r,e),e}function TC(e){let t=ca(),n=En(t,R+e);if(n===Zh)throw new w(314,!1);return n}function _C(e,t,n=""){return Uh(m(),e,t,n)}function nf(e,t,n){let r=k();r.firstCreatePass&&Kh(t,r.data,r.blueprint,_e(e),n)}function Kh(e,t,n,r,o){if(e=z(e),Array.isArray(e))for(let i=0;i<e.length;i++)Kh(e[i],t,n,r,o);else{let i=k(),s=m(),a=H(),c=kt(e)?e:z(e.provide),l=Ws(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(kt(e)||!e.multi){let f=new Gt(l,o,Lr,null),h=Ra(c,t,o?u:u+p,d);h===-1?(Oa(fi(a,s),i,c),Aa(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=Ra(c,t,u+p,d),h=Ra(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){Oa(fi(a,s),i,c);let T=SC(o?NC:MC,n.length,o,r,l,e);!o&&I&&(n[h].providerFactory=T),Aa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Jh(n[o?h:f],l,!o&&r);Aa(i,e,f>-1?f:h,T)}!o&&r&&I&&n[h].componentProviders++}}}function Aa(e,t,n,r){let o=kt(t),i=Ou(t);if(o||i){let c=(i?z(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 Jh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ra(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function MC(e,t,n,r,o){return mc(this.multi,[])}function NC(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=br(r,r[y],this.providerFactory.index,o);s=c.slice(0,a),mc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],mc(i,s);return s}function mc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function SC(e,t,n,r,o,i){let s=new Gt(e,n,Lr,null);return s.multi=[],s.index=t,s.componentProviders=0,Jh(s,o,r&&!n),s}function xC(e,t){return n=>{n.providersResolver=(r,o)=>nf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>nf(r,o?o(t):t,!0))}}function AC(e,t){let n=Ve()+e,r=m();return r[n]===J?Pn(r,n,t()):xp(r,n)}function RC(e,t,n){return Xh(m(),Ve(),e,t,n)}function kC(e,t,n,r){return eg(m(),Ve(),e,t,n,r)}function OC(e,t,n,r,o){return tg(m(),Ve(),e,t,n,r,o)}function PC(e,t,n,r,o,i,s){return FC(m(),Ve(),e,t,n,r,o,i)}function LC(e,t,n,r,o,i,s,a){let c=Ve()+e,l=m(),u=Rp(l,c,n,r,o,i);return Nn(l,c+4,s,a)||u?Pn(l,c+6,t(n,r,o,i,s,a)):xp(l,c+6)}function $i(e,t){let n=e[t];return n===J?void 0:n}function Xh(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?Pn(e,s+1,i?r.call(i,o):r(o)):$i(e,s+1)}function eg(e,t,n,r,o,i,s){let a=t+n;return Nn(e,a,o,i)?Pn(e,a+2,s?r.call(s,o,i):r(o,i)):$i(e,a+2)}function tg(e,t,n,r,o,i,s,a){let c=t+n;return Ap(e,c,o,i,s)?Pn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):$i(e,c+3)}function FC(e,t,n,r,o,i,s,a,c){let l=t+n;return Rp(e,l,o,i,s,a)?Pn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):$i(e,l+4)}function jC(e,t){let n=k(),r,o=e+R;n.firstCreatePass?(r=VC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=st(r.type,!0)),s,a=ne(Lr);try{let c=di(!1),l=i();return di(c),fr(n,m(),o,l),l}finally{ne(a)}}function VC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function HC(e,t,n){let r=e+R,o=m(),i=En(o,r);return ll(o,r)?Xh(o,Ve(),t,i.transform,n,i):i.transform(n)}function BC(e,t,n,r){let o=e+R,i=m(),s=En(i,o);return ll(i,o)?eg(i,Ve(),t,s.transform,n,r,s):s.transform(n,r)}function $C(e,t,n,r,o){let i=e+R,s=m(),a=En(s,i);return ll(s,i)?tg(s,Ve(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function ll(e,t){return e[y].data[t].pure}function UC(e,t){return Li(e,t)}var ng=(()=>{class e{applicationErrorHandler=E(mt);appRef=E(Fr);taskService=E(gt);ngZone=E(Y);zonelessEnabled=E(Cn);tracing=E(Jt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(rr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(E(Yo,{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?cd:ma;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(rr+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 rg(){return[{provide:De,useExisting:ng},{provide:Y,useClass:or},{provide:Cn,useValue:!0}]}function WC(){return typeof $localize<"u"&&$localize.locale||jr}var ul=new x("",{factory:()=>E(ul,{optional:!0,skipSelf:!0})||WC()});var Ui=class{destroyed=!1;listeners=null;errorHandler=E(Ge,{optional:!0});destroyRef=E(He);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new w(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(ir(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 Ne(e){return yu(e)}function Et(e,t){return Yn(e,t?.equal)}var qC=e=>e;function dl(e,t){if(typeof e=="function"){let n=vs(e,qC,t?.equal);return og(n,t?.debugName)}else{let n=vs(e.source,e.computation,e.equal);return og(n,e.debugName)}}function og(e,t){let n=e[B],r=e;return r.set=o=>gu(n,o),r.update=o=>mu(n,o),r.asReadonly=yr.bind(e),r}function GC(e){let t=e.request,n=e.params??t??(()=>null);return new Wi(n,QC(e),e.defaultValue,e.equal?zC(e.equal):void 0,e.debugName,e.injector??E(he))}var fl=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=yr,this.isLoading=Et(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Et(()=>this.status()==="error");update(t){this.set(t(Ne(this.value)))}isValueDefined=Et(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Et(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},Wi=class extends fl{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,r,o,i,s,a){super(Et(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!pl(c))throw new qi(this.error());return c.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.extRequest=dl({source:t,computation:c=>({request:c,reload:0})}),this.state=dl({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:ig(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=Ia(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(vr),this.unregisterOnDestroy=s.get(He).onDestroy(()=>this.destroy()),this.status=Et(()=>ig(this.state()),void 0),this.error=Et(()=>{let c=this.state().stream?.();return c&&!pl(c)?c.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=Ne(this.error),r=Ne(this.state);if(!n){let o=Ne(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:yt({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=Ne(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return Hr(this,null,function*(){let t=this.extRequest(),{status:n,previousStatus:r}=Ne(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield Ne(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Ne(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Ne(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:yt({error:gl(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){Ne(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function zC(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function QC(e){return ZC(e)?e.stream:t=>Hr(null,null,function*(){try{return yt({value:yield e.loader(t)},void 0)}catch(n){return yt({error:gl(n)},void 0)}})}function ZC(e){return!!e.stream}function ig(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return pl(e.stream())?"resolved":"error";default:return e.status}}function pl(e){return e.error===void 0}function gl(e){return YC(e)?e:new hl(e)}function YC(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var qi=class extends Error{constructor(t){super(t.message,{cause:t})}},hl=class extends Error{constructor(t){super(String(t),{cause:t})}};var fg=Symbol("InputSignalNode#UNSET"),KC=G(q({},Kn),{transformFn:void 0,applyValueToInputSignal(e,t){xt(e,t)}});function pg(e,t){let n=Object.create(KC);n.value=e,n.transformFn=t?.transform;function r(){if(nt(n),n.value===fg){let o=null;throw new w(-950,o)}return n.value}return r[B]=n,r}var sg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ef(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},n0=(()=>{let e=new x("");return e.__NG_ELEMENT_ID__=t=>{let n=H();if(n===null)throw new w(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new w(-204,!1)},e})();function r0(e){return new Ui}function ag(e,t){return pg(e,t)}function JC(e){return pg(fg,e)}var o0=(ag.required=JC,ag);function cg(e,t){return zc(t)}function XC(e,t){return Qc(t)}var i0=(cg.required=XC,cg);function s0(e,t){return Zc(t)}function lg(e,t){return zc(t)}function eb(e,t){return Qc(t)}var a0=(lg.required=eb,lg);function c0(e,t){return Zc(t)}var tb=(()=>{class e{zone=E(Y);changeDetectionScheduler=E(De);applicationRef=E(Fr);applicationErrorHandler=E(mt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nb=new x("",{factory:()=>!1});function rb({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Y(G(q({},hg()),{scheduleInRootZone:t})),[{provide:Cn,useValue:!1},{provide:Y,useFactory:e},{provide:Lt,multi:!0,useFactory:()=>{let n=E(tb,{optional:!0});return()=>n.initialize()}},{provide:Lt,multi:!0,useFactory:()=>{let n=E(ob);return()=>{n.initialize()}}},{provide:Yo,useValue:t??ga}]}function l0(e){let t=e?.scheduleInRootZone,n=rb({ngZoneFactory:()=>{let r=hg(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&$e("NgZone_CoalesceEvent"),new Y(r)},scheduleInRootZone:t});return Bs([{provide:nb,useValue:!0},n])}function hg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ob=(()=>{class e{subscription=new j;initialized=!1;zone=E(Y);pendingTasks=E(gt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var yl=new x(""),ib=new x("");function Vr(e){return!e.moduleRef}function sb(e){let t=Vr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{Vr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(mt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Vr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(yl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(yl);s.add(i),e.moduleRef.onDestroy(()=>{Cr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return cb(r,n,()=>{let i=t.get(gt),s=i.add(),a=t.get(el);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ul,jr);if(Ch(c||jr),!t.get(ib,!0))return Vr(e)?t.get(Fr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Vr(e)){let u=t.get(Fr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return ab?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var ab;function cb(e,t,n){try{let r=n();return Xc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Gi=null;function lb(e=[],t){return he.create({name:t,providers:[{provide:Us,useValue:"platform"},{provide:yl,useValue:new Set([()=>Gi=null])},...e]})}function ub(e=[]){if(Gi)return Gi;let t=lb(e);return Gi=t,lh(),db(t),t}function db(e){let t=e.get(Nf,null);Vo(e,()=>{t?.forEach(n=>n())})}function u0(){return!1}var fb=1e4;var d0=fb-1e3;var f0=(()=>{class e{static __NG_ELEMENT_ID__=pb}return e})();function pb(e){return hb(H(),m(),(e&16)===16)}function hb(e,t,n){if(je(e)&&!n){let r=ye(e.index,t);return new It(r,r)}else if(e.type&175){let r=t[ie];return new It(r,t)}return null}var vl=class{supports(t){return Uc(t)}create(t){return new Il(t)}},gb=(e,t)=>t,Il=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||gb}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<ug(r,o,i)?n:r,a=ug(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=[]),!Uc(t))throw new w(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,Np(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 El(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 zi),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 zi),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}},El=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}},Dl=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}},zi=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Dl,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 ug(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function dg(){return new mb([new vl])}var mb=(()=>{class e{factories;static \u0275prov=Q({token:e,providedIn:"root",factory:dg});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=E(e,{optional:!0,skipSelf:!0});return e.create(n,r||dg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new w(901,!1)}}return e})();function p0(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;A(S.BootstrapApplicationStart);try{let i=o?.injector??ub(r),s=[rg(),ud,...n||[]],a=new xr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return sb({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{A(S.BootstrapApplicationEnd)}}function h0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function g0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ml=Symbol("NOT_SET"),gg=new Set,yb=G(q({},Kn),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ml,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!==ml&&!ln(this))return this.signal;try{for(let o of this.cleanup??gg)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ue(this),r;try{r=this.userFn.apply(null,t)}finally{rt(this,n)}return(this.value===ml||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Cl=class extends Tr{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(He),s),this.scheduler=o;for(let a of xc){let c=n[a];if(c===void 0)continue;let l=Object.create(yb);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(nt(l),l.value),l.signal[B]=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??gg)n()}finally{ot(t)}}};function m0(e,t){let n=t?.injector??E(he),r=n.get(De),o=n.get(xi),i=n.get(Jt,null,{optional:!0});o.impl??=n.get(Ac);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Dn,null,{optional:!0}),c=new Cl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function y0(e,t){let n=ze(e),r=t.elementInjector||hn();return new Sn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}export{j as a,N as b,ts as c,K as d,Bn as e,Un as f,ns as g,Tg as h,_g as i,Gn as j,xe as k,Og as l,Pg as m,Lg as n,Ig as o,Ae as p,Wg as q,mo as r,Gg as s,zg as t,zn as u,Qg as v,Zg as w,yo as x,eu as y,ss as z,Yg as A,Kg as B,nu as C,Jg as D,Xg as E,ru as F,ou as G,tm as H,nm as I,cs as J,rm as K,om as L,im as M,iu as N,sm as O,am as P,su as Q,w as R,Ro as S,Q as T,bu as U,x as V,Oe as W,E as X,Bs as Y,Us as Z,le as _,Vo as $,ee as aa,qu as ba,Gu as ca,rd as da,od as ea,he as fa,ha as ga,He as ha,We as ia,Y as ja,Ge as ka,yt as la,vr as ma,Ia as na,sy as oa,wy as pa,Ef as qa,kr as ra,pi as sa,Ay as ta,Ry as ua,Nf as va,Oy as wa,Py as xa,Ly as ya,zt as za,Kt as Aa,Mi as Ba,qy as Ca,Gy as Da,zy as Ea,Qy as Fa,Zy as Ga,bc as Ha,Uf as Ia,Cv as Ja,bv as Ka,wv as La,Mv as Ma,Nv as Na,Wv as Oa,gi as Pa,wr as Qa,Jt as Ra,Qv as Sa,Nr as Ta,Sr as Ua,WI as Va,Lr as Wa,GI as Xa,Vi as Ya,Ei as Za,ME as _a,SE as $a,RE as ab,kE as bb,PE as cb,Zp as db,Kp as eb,Jp as fb,oh as gb,Xc as hb,Fr as ib,ED as jb,DD as kb,ph as lb,hh as mb,bD as nb,wD as ob,TD as pb,_D as qb,MD as rb,ND as sb,gh as tb,bi as ub,nl as vb,mh as wb,rl as xb,ol as yb,yh as zb,il as Ab,sl as Bb,Ih as Cb,OD as Db,Eh as Eb,FD as Fb,Dh as Gb,bh as Hb,wh as Ib,HD as Jb,$D as Kb,UD as Lb,_h as Mb,Mh as Nb,qD as Ob,GD as Pb,Nh as Qb,Sh as Rb,zD as Sb,QD as Tb,Oh as Ub,Ph as Vb,aC as Wb,lC as Xb,IC as Yb,Wh as Zb,al as _b,qh as $b,Gh as ac,zh as bc,bC as cc,Qh as dc,Yh as ec,wC as fc,TC as gc,_C as hc,xC as ic,AC as jc,RC as kc,kC as lc,OC as mc,PC as nc,LC as oc,jC as pc,HC as qc,BC as rc,$C as sc,UC as tc,ul as uc,Ne as vc,Et as wc,dl as xc,GC as yc,sg as zc,n0 as Ac,r0 as Bc,o0 as Cc,i0 as Dc,s0 as Ec,a0 as Fc,c0 as Gc,l0 as Hc,u0 as Ic,f0 as Jc,mb as Kc,p0 as Lc,h0 as Mc,g0 as Nc,m0 as Oc,y0 as Pc};