marketplacepos 3.19.2 → 3.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/Marketplace/3rdpartylicenses.txt +12 -12
  2. package/Marketplace/{chunk-O5MOPAT5.js → chunk-2E5AKA74.js} +1 -1
  3. package/Marketplace/chunk-2FRMUOJY.js +15 -0
  4. package/Marketplace/chunk-2IPIJK2G.js +3 -0
  5. package/Marketplace/{chunk-CTKEWRX4.js → chunk-2SC3HO66.js} +1 -1
  6. package/Marketplace/{chunk-CHPESC5O.js → chunk-33L2SBIN.js} +1 -1
  7. package/Marketplace/{chunk-ZUFS67DO.js → chunk-3C3HZUVS.js} +1 -1
  8. package/Marketplace/chunk-3N6XAMWC.js +9 -0
  9. package/Marketplace/chunk-47PEHCOU.js +1 -0
  10. package/Marketplace/{chunk-3XWOT6GZ.js → chunk-4CEFDQPI.js} +1 -1
  11. package/Marketplace/chunk-4FQD6BPW.js +1 -0
  12. package/Marketplace/chunk-4HJKBF53.js +52 -0
  13. package/Marketplace/{chunk-JKF36COK.js → chunk-5HY6FBUD.js} +1 -1
  14. package/Marketplace/{chunk-S36U4I4O.js → chunk-65RMQ5Q5.js} +1 -1
  15. package/Marketplace/{chunk-G7LXKOFQ.js → chunk-6GEJ3JBA.js} +1 -1
  16. package/Marketplace/{chunk-ATJPUUZQ.js → chunk-6UDYSYXW.js} +1 -1
  17. package/Marketplace/chunk-6YZZMLBK.js +1 -0
  18. package/Marketplace/{chunk-45SYAAZ4.js → chunk-75WAI35P.js} +1 -1
  19. package/Marketplace/{chunk-AHA2WBEK.js → chunk-7V2SU4MA.js} +1 -1
  20. package/Marketplace/{chunk-WVKDNFEM.js → chunk-7VKIP3Z6.js} +2 -2
  21. package/Marketplace/{chunk-K6H25CD6.js → chunk-7YWHTN3X.js} +1 -1
  22. package/Marketplace/{chunk-W3POM6UQ.js → chunk-A37OKNC2.js} +1 -1
  23. package/Marketplace/{chunk-VJZE4EZL.js → chunk-AELHARHX.js} +2 -2
  24. package/Marketplace/{chunk-EZGXPLQL.js → chunk-B7M6LU2N.js} +1 -1
  25. package/Marketplace/{chunk-4URWFKAM.js → chunk-BGWVHGAY.js} +1 -1
  26. package/Marketplace/{chunk-M4JG6342.js → chunk-BTY6PS53.js} +1 -1
  27. package/Marketplace/chunk-BZPMSXEO.js +9 -0
  28. package/Marketplace/{chunk-4QK7Y7R2.js → chunk-C6QIBOCB.js} +1 -1
  29. package/Marketplace/{chunk-3TNPJNQS.js → chunk-CJILX5R7.js} +1 -1
  30. package/Marketplace/{chunk-PYBQPNRY.js → chunk-D6L7HUOY.js} +1 -1
  31. package/Marketplace/{chunk-3ZQBMP7R.js → chunk-D76K4RZ7.js} +1 -1
  32. package/Marketplace/{chunk-GXHE2CDH.js → chunk-DQIP7MCZ.js} +1 -1
  33. package/Marketplace/{chunk-73DE2GZF.js → chunk-DYLT6RRK.js} +1 -1
  34. package/Marketplace/{chunk-GP6U42SV.js → chunk-E5BOLHDG.js} +1 -1
  35. package/Marketplace/{chunk-3UKBESDQ.js → chunk-EGYILQWG.js} +1 -1
  36. package/Marketplace/{chunk-6NTRXLMW.js → chunk-EIBGI6U2.js} +1 -1
  37. package/Marketplace/{chunk-LOACFIKK.js → chunk-F3EDUNVA.js} +1 -1
  38. package/Marketplace/{chunk-WLZGBUKM.js → chunk-FASNJB4B.js} +1 -1
  39. package/Marketplace/{chunk-WHRVZ53L.js → chunk-FBEZ6G62.js} +1 -1
  40. package/Marketplace/{chunk-X4WLRMDP.js → chunk-FTHTFVHH.js} +1 -1
  41. package/Marketplace/{chunk-XNGU3O4O.js → chunk-GNY5TY3R.js} +1 -1
  42. package/Marketplace/{chunk-RVVTVU4B.js → chunk-GQG2K3LS.js} +1 -1
  43. package/Marketplace/{chunk-ZSG7RVPO.js → chunk-HBSHLUOQ.js} +1 -1
  44. package/Marketplace/{chunk-2ORPFPW3.js → chunk-HCJ6C5OR.js} +1 -1
  45. package/Marketplace/{chunk-ZQ3CAWGU.js → chunk-HDGZM2AD.js} +1 -1
  46. package/Marketplace/{chunk-PBJG5QAA.js → chunk-HHIG3XFB.js} +1 -1
  47. package/Marketplace/{chunk-LGATMK2R.js → chunk-I46XIYM4.js} +1 -1
  48. package/Marketplace/{chunk-NVF24LK5.js → chunk-JHYIHRQH.js} +1 -1
  49. package/Marketplace/{chunk-WH3FZ3VM.js → chunk-JY3L4RUM.js} +1 -1
  50. package/Marketplace/{chunk-2ZA6UFQW.js → chunk-KKF4E65G.js} +1 -1
  51. package/Marketplace/chunk-KNSXWGUH.js +1 -0
  52. package/Marketplace/{chunk-44IWQ2WK.js → chunk-KZ6AD6KW.js} +1 -1
  53. package/Marketplace/{chunk-KGSUB5OH.js → chunk-L4BFVIW5.js} +1 -1
  54. package/Marketplace/{chunk-VZHIFACR.js → chunk-MKJON4UM.js} +1 -1
  55. package/Marketplace/{chunk-3ORAGDUV.js → chunk-MZNSPLFO.js} +1 -1
  56. package/Marketplace/{chunk-N3CZPKYT.js → chunk-NB5APARM.js} +1 -1
  57. package/Marketplace/{chunk-ENK2D3NZ.js → chunk-NFIQK65F.js} +1 -1
  58. package/Marketplace/chunk-NSDVX6AU.js +2 -0
  59. package/Marketplace/{chunk-OIQXRKAG.js → chunk-OTR5MBON.js} +1 -1
  60. package/Marketplace/{chunk-BTXJZOGD.js → chunk-PTFQX4VB.js} +1 -1
  61. package/Marketplace/{chunk-ACYUSHMS.js → chunk-PYD2YWAN.js} +1 -1
  62. package/Marketplace/{chunk-NF2ANZGK.js → chunk-QYY5XVLP.js} +1 -1
  63. package/Marketplace/chunk-R5MHJOZZ.js +1 -0
  64. package/Marketplace/{chunk-LVFJFYVO.js → chunk-RDSLGGC4.js} +1 -1
  65. package/Marketplace/{chunk-Y3534N3T.js → chunk-RKDWCZPO.js} +1 -1
  66. package/Marketplace/{chunk-4ULJZM2I.js → chunk-SQTY2CZY.js} +1 -1
  67. package/Marketplace/{chunk-FMYZSZEX.js → chunk-ULELZXI5.js} +1 -1
  68. package/Marketplace/{chunk-R6PEAOIJ.js → chunk-V64ZU2C6.js} +1 -1
  69. package/Marketplace/{chunk-ONKOEBKR.js → chunk-VBCIYCOF.js} +1 -1
  70. package/Marketplace/{chunk-ZLI5KKPV.js → chunk-W57V36EE.js} +1 -1
  71. package/Marketplace/{chunk-4YCZLOHQ.js → chunk-WKSTGJK5.js} +1 -1
  72. package/Marketplace/{chunk-I7OLAB5O.js → chunk-WTMUHE4V.js} +1 -1
  73. package/Marketplace/chunk-XJ5KSQQC.js +1 -0
  74. package/Marketplace/{chunk-UIZ56VQJ.js → chunk-XL3FRVDQ.js} +1 -1
  75. package/Marketplace/{chunk-LV34VUJQ.js → chunk-XUSY2QT2.js} +1 -1
  76. package/Marketplace/chunk-YVTEU2IF.js +14 -0
  77. package/Marketplace/chunk-YY7DO436.js +1 -0
  78. package/Marketplace/chunk-ZA7FXMFZ.js +3 -0
  79. package/Marketplace/chunk-ZIZWZZ4E.js +8 -0
  80. package/Marketplace/{chunk-7YTFSMJP.js → chunk-ZQ5HCQYU.js} +1 -1
  81. package/Marketplace/{chunk-UEV7LKHN.js → chunk-ZUGM3AVV.js} +1 -1
  82. package/Marketplace/chunk-ZX3SBNZT.js +3 -0
  83. package/Marketplace/index.html +3 -3
  84. package/Marketplace/{main-4MSULW4F.js → main-MTWAOJOA.js} +1 -1
  85. package/package.json +1 -1
  86. package/Marketplace/chunk-6UK5EDKC.js +0 -5
  87. package/Marketplace/chunk-7K3GXZTT.js +0 -9
  88. package/Marketplace/chunk-ANKBJ6LX.js +0 -1
  89. package/Marketplace/chunk-CDTWKL3P.js +0 -1
  90. package/Marketplace/chunk-HSFUKC7R.js +0 -8
  91. package/Marketplace/chunk-KH5XAWRL.js +0 -1
  92. package/Marketplace/chunk-KRKQFGMS.js +0 -1
  93. package/Marketplace/chunk-NEQN5BMS.js +0 -15
  94. package/Marketplace/chunk-RVYVBC3W.js +0 -2
  95. package/Marketplace/chunk-WJ7K2RPV.js +0 -1
  96. package/Marketplace/chunk-XXJWUGOI.js +0 -22
  97. package/Marketplace/chunk-YJRFHXEU.js +0 -3
@@ -0,0 +1,8 @@
1
+ import{a as D,b as Y,i as Wn,k as uf,l as ri,m as lf,n as df}from"./chunk-GNOSNGXM.js";function T(t){return typeof t=="function"}function Wa(t){return T(t?.lift)}function S(t){return e=>{if(Wa(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function en(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var oi=en(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
2
+ ${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=r});function En(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var X=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(T(n))try{n()}catch(i){e=i instanceof oi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ff(i)}catch(s){e=e??[],s instanceof oi?e=[...e,...s.errors]:e.push(s)}}if(e)throw new oi(e)}}add(e){var r;if(e&&e!==this)if(this.closed)ff(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&En(r,e)}remove(e){let{_finalizers:r}=this;r&&En(r,e),e instanceof t&&e._removeParent(this)}};X.EMPTY=(()=>{let t=new X;return t.closed=!0,t})();var Za=X.EMPTY;function ii(t){return t instanceof X||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function ff(t){T(t)?t():t.unsubscribe()}var Xe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Zn={setTimeout(t,e,...r){let{delegate:n}=Zn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Zn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function si(t){Zn.setTimeout(()=>{let{onUnhandledError:e}=Xe;if(e)e(t);else throw t})}function et(){}var hf=Ya("C",void 0,void 0);function pf(t){return Ya("E",void 0,t)}function gf(t){return Ya("N",t,void 0)}function Ya(t,e,r){return{kind:t,value:e,error:r}}var In=null;function Yn(t){if(Xe.useDeprecatedSynchronousErrorHandling){let e=!In;if(e&&(In={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=In;if(In=null,r)throw n}}else t()}function mf(t){Xe.useDeprecatedSynchronousErrorHandling&&In&&(In.errorThrown=!0,In.error=t)}var Cn=class extends X{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ii(e)&&e.add(this)):this.destination=Yy}static create(e,r,n){return new xt(e,r,n)}next(e){this.isStopped?Ka(gf(e),this):this._next(e)}error(e){this.isStopped?Ka(pf(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ka(hf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Wy=Function.prototype.bind;function Qa(t,e){return Wy.call(t,e)}var Ja=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){ai(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){ai(n)}else ai(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ai(r)}}},xt=class extends Cn{constructor(e,r,n){super();let o;if(T(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Xe.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Qa(e.next,i),error:e.error&&Qa(e.error,i),complete:e.complete&&Qa(e.complete,i)}):o=e}this.destination=new Ja(o)}};function ai(t){Xe.useDeprecatedSynchronousErrorHandling?mf(t):si(t)}function Zy(t){throw t}function Ka(t,e){let{onStoppedNotification:r}=Xe;r&&Zn.setTimeout(()=>r(t,e))}var Yy={closed:!0,next:et,error:Zy,complete:et};function M(t,e,r,n,o){return new Xa(t,e,r,n,o)}var Xa=class extends Cn{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function R(t,e){return S((r,n)=>{let o=0;r.subscribe(M(n,i=>{n.next(t.call(e,i,o++))}))})}function ne(t,e){return S((r,n)=>{let o=0;r.subscribe(M(n,i=>t.call(e,i,o++)&&n.next(i)))})}var Qn=t=>t&&typeof t.length=="number"&&typeof t!="function";function ci(t){return T(t?.then)}var Kn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ge(t){return t}function ec(...t){return tc(t)}function tc(t){return t.length===0?ge:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var k=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Ky(r)?r:new xt(r,n,o);return Yn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=vf(n),new n((o,i)=>{let s=new xt({next:a=>{try{r(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Kn](){return this}pipe(...r){return tc(r)(this)}toPromise(r){return r=vf(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function vf(t){var e;return(e=t??Xe.Promise)!==null&&e!==void 0?e:Promise}function Qy(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function Ky(t){return t&&t instanceof Cn||Qy(t)&&ii(t)}function ui(t){return T(t[Kn])}function li(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function di(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Jy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fi=Jy();function hi(t){return T(t?.[fi])}function pi(t){return lf(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield ri(r.read());if(o)return yield ri(void 0);yield yield ri(n)}}finally{r.releaseLock()}})}function gi(t){return T(t?.getReader)}function L(t){if(t instanceof k)return t;if(t!=null){if(ui(t))return Xy(t);if(Qn(t))return eD(t);if(ci(t))return tD(t);if(li(t))return yf(t);if(hi(t))return nD(t);if(gi(t))return rD(t)}throw di(t)}function Xy(t){return new k(e=>{let r=t[Kn]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function eD(t){return new k(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function tD(t){return new k(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,si)})}function nD(t){return new k(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function yf(t){return new k(e=>{oD(t,e).catch(r=>e.error(r))})}function rD(t){return yf(pi(t))}function oD(t,e){var r,n,o,i;return uf(this,void 0,void 0,function*(){try{for(r=df(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function we(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Df(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},h=y=>u<n?p(y):c.push(y),p=y=>{i&&e.next(y),u++;let m=!1;L(r(y,l++)).subscribe(M(e,v=>{o?.(v),i?h(v):e.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&u<n;){let v=c.shift();s?we(e,s,()=>p(v)):p(v)}f()}catch(v){e.error(v)}}))};return t.subscribe(M(e,h,()=>{d=!0,f()})),()=>{a?.()}}function ee(t,e,r=1/0){return T(e)?ee((n,o)=>R((i,s)=>e(n,i,o,s))(L(t(n,o))),r):(typeof e=="number"&&(r=e),S((n,o)=>Df(n,o,t,r)))}function lt(t,e){return T(e)?ee(t,e,1):ee(t,1)}var wf=en(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class t extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new mi(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new wf}next(r){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?Za:(this.currentObservers=null,i.push(r),new X(()=>{this.currentObservers=null,En(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new k;return r.source=this,r}}return t.create=(e,r)=>new mi(e,r),t})(),mi=class extends re{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Za}};var qr={now(){return(qr.delegate||Date).now()},delegate:void 0};var Wr=class extends re{constructor(e=1/0,r=1/0,n=qr){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;r||(n.push(e),!o&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=n?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),r}_trimBuffer(){let{_bufferSize:e,_timestampProvider:r,_buffer:n,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){let s=r.now(),a=0;for(let c=1;c<n.length&&n[c]<=s;c+=2)a=c;a&&n.splice(0,a+1)}}};function rc(t={}){let{connector:e=()=>new re,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,l=d=!1},p=()=>{let y=s;h(),y?.unsubscribe()};return S((y,m)=>{u++,!d&&!l&&f();let v=c=c??e();m.add(()=>{u--,u===0&&!d&&!l&&(a=nc(p,o))}),v.subscribe(m),!s&&u>0&&(s=new xt({next:F=>v.next(F),error:F=>{d=!0,f(),a=nc(h,r,F),v.error(F)},complete:()=>{l=!0,f(),a=nc(h,n),v.complete()}}),L(y).subscribe(s))})(i)}}function nc(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new xt({next:()=>{n.unsubscribe(),t()}});return L(e(...r)).subscribe(n)}function Ef(t,e,r){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:r}=t:n=t??1/0,rc({connector:()=>new Wr(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function se(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?S((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(M(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):ge}function Jn(){return S((t,e)=>{let r=null;t._refCount++;let n=M(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Xn=class extends k{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Wa(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new X;let r=this.getSubject();e.add(this.source.subscribe(M(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=X.EMPTY)}return e}refCount(){return Jn()(this)}};var er={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=er;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let o=e(i=>{r=void 0,t(i)});return new X(()=>r?.(o))},requestAnimationFrame(...t){let{delegate:e}=er;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=er;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var me=class extends re{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var vi=class extends X{constructor(e,r){super()}schedule(e,r=0){return this}};var Zr={setInterval(t,e,...r){let{delegate:n}=Zr;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Zr;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var dt=class extends vi{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(e,r,n=0){return Zr.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Zr.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,En(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var iD=1,oc,ic={};function If(t){return t in ic?(delete ic[t],!0):!1}var Cf={setImmediate(t){let e=iD++;return ic[e]=!0,oc||(oc=Promise.resolve()),oc.then(()=>If(e)&&t()),e},clearImmediate(t){If(t)}};var{setImmediate:sD,clearImmediate:aD}=Cf,Yr={setImmediate(...t){let{delegate:e}=Yr;return(e?.setImmediate||sD)(...t)},clearImmediate(t){let{delegate:e}=Yr;return(e?.clearImmediate||aD)(t)},delegate:void 0};var yi=class extends dt{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Yr.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(Yr.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var tr=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};tr.now=qr.now;var ft=class extends tr{constructor(e,r=tr.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Di=class extends ft{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var cD=new Di(yi);var ht=new ft(dt),sc=ht;var wi=class extends dt{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var Ei=class extends ft{};var uD=new Ei(wi);var Ii=class extends dt{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=er.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(er.cancelAnimationFrame(r),e._scheduled=void 0)}};var Ci=class extends ft{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var lD=new Ci(Ii);var Se=new k(t=>t.complete());function bi(t){return t&&T(t.schedule)}function ac(t){return t[t.length-1]}function nr(t){return T(ac(t))?t.pop():void 0}function pt(t){return bi(ac(t))?t.pop():void 0}function bf(t,e){return typeof ac(t)=="number"?t.pop():e}function Qr(t,e=0){return S((r,n)=>{r.subscribe(M(n,o=>we(n,t,()=>n.next(o),e),()=>we(n,t,()=>n.complete(),e),o=>we(n,t,()=>n.error(o),e)))})}function Kr(t,e=0){return S((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Mf(t,e){return L(t).pipe(Kr(e),Qr(e))}function Sf(t,e){return L(t).pipe(Kr(e),Qr(e))}function Tf(t,e){return new k(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function xf(t,e){return new k(r=>{let n;return we(r,e,()=>{n=t[fi](),we(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>T(n?.return)&&n.return()})}function Mi(t,e){if(!t)throw new Error("Iterable cannot be null");return new k(r=>{we(r,e,()=>{let n=t[Symbol.asyncIterator]();we(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function _f(t,e){return Mi(pi(t),e)}function Nf(t,e){if(t!=null){if(ui(t))return Mf(t,e);if(Qn(t))return Tf(t,e);if(ci(t))return Sf(t,e);if(li(t))return Mi(t,e);if(hi(t))return xf(t,e);if(gi(t))return _f(t,e)}throw di(t)}function Q(t,e){return e?Nf(t,e):L(t)}function x(...t){let e=pt(t);return Q(t,e)}function rr(t,e){let r=T(t)?t:()=>t,n=o=>o.error(r());return new k(e?o=>e.schedule(n,0,o):n)}function cc(t){return!!t&&(t instanceof k||T(t.lift)&&T(t.subscribe))}var _t=en(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Si(t){return t instanceof Date&&!isNaN(t)}var dD=en(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function fD(t,e){let{first:r,each:n,with:o=hD,scheduler:i=e??ht,meta:s=null}=Si(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return S((a,c)=>{let u,l,d=null,f=0,h=p=>{l=we(c,i,()=>{try{u.unsubscribe(),L(o({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(y){c.error(y)}},p)};u=a.subscribe(M(c,p=>{l?.unsubscribe(),f++,c.next(d=p),n>0&&h(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!f&&h(r!=null?typeof r=="number"?r:+r-i.now():n)})}function hD(t){throw new dD(t)}var{isArray:pD}=Array;function gD(t,e){return pD(e)?t(...e):t(e)}function or(t){return R(e=>gD(t,e))}var{isArray:mD}=Array,{getPrototypeOf:vD,prototype:yD,keys:DD}=Object;function Ti(t){if(t.length===1){let e=t[0];if(mD(e))return{args:e,keys:null};if(wD(e)){let r=DD(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function wD(t){return t&&typeof t=="object"&&vD(t)===yD}function xi(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function Jr(...t){let e=pt(t),r=nr(t),{args:n,keys:o}=Ti(t);if(n.length===0)return Q([],e);let i=new k(ED(n,e,o?s=>xi(o,s):ge));return r?i.pipe(or(r)):i}function ED(t,e,r=ge){return n=>{Af(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Af(e,()=>{let u=Q(t[c],e),l=!1;u.subscribe(M(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Af(t,e,r){t?we(r,t,e):e()}function gt(t=1/0){return ee(ge,t)}function Rf(){return gt(1)}function ir(...t){return Rf()(Q(t,pt(t)))}function _i(t){return new k(e=>{L(t()).subscribe(e)})}function ID(...t){let e=nr(t),{args:r,keys:n}=Ti(t),o=new k(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;L(r[l]).subscribe(M(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(n?xi(n,a):a),i.complete())}))}});return e?o.pipe(or(e)):o}var CD=["addListener","removeListener"],bD=["addEventListener","removeEventListener"],MD=["on","off"];function uc(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return uc(t,e,r).pipe(or(n));let[o,i]=xD(t)?bD.map(s=>a=>t[s](e,a,r)):SD(t)?CD.map(Of(t,e)):TD(t)?MD.map(Of(t,e)):[];if(!o&&Qn(t))return ee(s=>uc(s,e,r))(L(t));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Of(t,e){return r=>n=>t[r](e,n)}function SD(t){return T(t.addListener)&&T(t.removeListener)}function TD(t){return T(t.on)&&T(t.off)}function xD(t){return T(t.addEventListener)&&T(t.removeEventListener)}function Xr(t=0,e,r=sc){let n=-1;return e!=null&&(bi(e)?r=e:n=e),new k(o=>{let i=Si(t)?+t-r.now():t;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function _D(t=0,e=ht){return t<0&&(t=0),Xr(t,t,e)}function ND(...t){let e=pt(t),r=bf(t,1/0),n=t;return n.length?n.length===1?L(n[0]):gt(r)(Q(n,e)):Se}function Pf(t,e){return(r,n)=>!t.call(e,r,n)}function AD(t,e,r){return[ne(e,r)(L(t)),ne(Pf(e,r))(L(t))]}function Ff(t){return S((e,r)=>{let n=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let u=o;o=null,r.next(u)}s&&r.complete()},c=()=>{i=null,s&&r.complete()};e.subscribe(M(r,u=>{n=!0,o=u,i||L(t(u)).subscribe(i=M(r,a,c))},()=>{s=!0,(!n||!i||i.closed)&&r.complete()}))})}function RD(t,e=ht){return Ff(()=>Xr(t,e))}function Nt(t){return S((e,r)=>{let n=null,o=!1,i;n=e.subscribe(M(r,void 0,void 0,s=>{i=L(t(s,Nt(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function kf(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(M(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function OD(t){return S((e,r)=>{let n=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let a=o;o=null,r.next(a)}};e.subscribe(M(r,a=>{i?.unsubscribe(),n=!0,o=a,i=M(r,s,et),L(t(a)).subscribe(i)},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function Lf(t,e=ht){return S((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l<u){o=this.schedule(void 0,u-l),n.add(o);return}a()}r.subscribe(M(n,u=>{i=u,s=e.now(),o||(o=e.schedule(c,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function tn(t){return S((e,r)=>{let n=!1;e.subscribe(M(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function At(t){return t<=0?()=>Se:S((e,r)=>{let n=0;e.subscribe(M(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function PD(){return S((t,e)=>{t.subscribe(M(e,et))})}function lc(t){return R(()=>t)}function FD(t,e=ge){return t=t??kD,S((r,n)=>{let o,i=!0;r.subscribe(M(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function kD(t,e){return t===e}function Ni(t=LD){return S((e,r)=>{let n=!1;e.subscribe(M(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function LD(){return new _t}function jD(t,e){return S((r,n)=>{let o=0;r.subscribe(M(n,i=>{t.call(e,i,o++,r)||(n.next(!1),n.complete())},()=>{n.next(!0),n.complete()}))})}function nn(t){return S((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function mt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ne((o,i)=>t(o,i,n)):ge,At(1),r?tn(e):Ni(()=>new _t))}function sr(t){return t<=0?()=>Se:S((e,r)=>{let n=[];e.subscribe(M(r,o=>{n.push(o),t<n.length&&n.shift()},()=>{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function dc(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ne((o,i)=>t(o,i,n)):ge,sr(1),r?tn(e):Ni(()=>new _t))}function Ai(t,e){return S(kf(t,e,arguments.length>=2,!0))}function VD(t){return ne((e,r)=>t<=r)}function fc(...t){let e=pt(t);return S((r,n)=>{(e?ir(t,r,e):ir(t,r)).subscribe(n)})}function de(t,e){return S((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(M(n,c=>{o?.unsubscribe();let u=0,l=i++;L(t(c,l)).subscribe(o=M(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function UD(t,e){return T(e)?de(()=>t,e):de(()=>t)}function Ri(t){return S((e,r)=>{L(t).subscribe(M(r,()=>r.complete(),et)),!r.closed&&e.subscribe(r)})}function $D(t,e=!1){return S((r,n)=>{let o=0;r.subscribe(M(n,i=>{let s=t(i,o++);(s||e)&&n.next(i),!s&&n.complete()}))})}function BD(...t){let e=nr(t);return S((r,n)=>{let o=t.length,i=new Array(o),s=t.map(()=>!1),a=!1;for(let c=0;c<o;c++)L(t[c]).subscribe(M(n,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ge))&&(s=null))},et));r.subscribe(M(n,c=>{if(a){let u=[c,...i];n.next(e?e(...u):u)}}))})}function jf(t,e){return Object.is(t,e)}var ae=null,eo=!1,Oi=1,Le=Symbol("SIGNAL");function j(t){let e=ae;return ae=t,e}function Vf(){return ae}function HD(){return eo}var ar={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Fi(t){if(eo)throw new Error("");if(ae===null)return;ae.consumerOnSignalRead(t);let e=ae.nextProducerIndex++;if(Ui(ae),e<ae.producerNode.length&&ae.producerNode[e]!==t&&to(ae)){let r=ae.producerNode[e];Vi(r,ae.producerIndexOfThis[e])}ae.producerNode[e]!==t&&(ae.producerNode[e]=t,ae.producerIndexOfThis[e]=to(ae)?zf(t,ae,e):0),ae.producerLastReadVersion[e]=t.version}function zD(){Oi++}function Uf(t){if(!(to(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Oi)){if(!t.producerMustRecompute(t)&&!Li(t)){t.dirty=!1,t.lastCleanEpoch=Oi;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Oi}}function $f(t){if(t.liveConsumerNode===void 0)return;let e=eo;eo=!0;try{for(let r of t.liveConsumerNode)r.dirty||Hf(r)}finally{eo=e}}function Bf(){return ae?.consumerAllowSignalWrites!==!1}function Hf(t){t.dirty=!0,$f(t),t.consumerMarkedDirty?.(t)}function no(t){return t&&(t.nextProducerIndex=0),j(t)}function ki(t,e){if(j(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(to(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Vi(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Li(t){Ui(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(Uf(r),n!==r.version))return!0}return!1}function ji(t){if(Ui(t),to(t))for(let e=0;e<t.producerNode.length;e++)Vi(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function zf(t,e,r){if(Gf(t),t.liveConsumerNode.length===0&&qf(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=zf(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function Vi(t,e){if(Gf(t),t.liveConsumerNode.length===1&&qf(t))for(let n=0;n<t.producerNode.length;n++)Vi(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];Ui(o),o.producerIndexOfThis[n]=e}}function to(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Ui(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Gf(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function qf(t){return t.producerNode!==void 0}function mc(t){let e=Object.create(GD);e.computation=t;let r=()=>{if(Uf(e),Fi(e),e.value===Pi)throw e.error;return e.value};return r[Le]=e,r}var hc=Symbol("UNSET"),pc=Symbol("COMPUTING"),Pi=Symbol("ERRORED"),GD=Y(D({},ar),{value:hc,dirty:!0,error:null,equal:jf,producerMustRecompute(t){return t.value===hc||t.value===pc},producerRecomputeValue(t){if(t.value===pc)throw new Error("Detected cycle in computations.");let e=t.value;t.value=pc;let r=no(t),n;try{n=t.computation()}catch(o){n=Pi,t.error=o}finally{ki(t,r)}if(e!==hc&&e!==Pi&&n!==Pi&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function qD(){throw new Error}var Wf=qD;function Zf(){Wf()}function Yf(t){Wf=t}var WD=null;function Qf(t){let e=Object.create(vc);e.value=t;let r=()=>(Fi(e),e.value);return r[Le]=e,r}function $i(t,e){Bf()||Zf(),t.equal(t.value,e)||(t.value=e,ZD(t))}function Kf(t,e){Bf()||Zf(),$i(t,e(t.value))}var vc=Y(D({},ar),{equal:jf,value:void 0});function ZD(t){t.version++,zD(),$f(t),WD?.()}function Jf(t,e,r){let n=Object.create(YD);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let o=c=>{n.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(ji(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=gc)}let a=()=>{if(n.fn===null)return;if(HD())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Li(n))return;n.hasRun=!0;let c=no(n);try{n.cleanupFn(),n.cleanupFn=gc,n.fn(o)}finally{ki(n,c)}};return n.ref={notify:()=>Hf(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Le]:n},n.ref}var gc=()=>{},YD=Y(D({},ar),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:gc});var Yh="https://g.co/ng/security#xss",w=class extends Error{constructor(e,r){super(xs(e,r)),this.code=e}};function xs(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Qh=Symbol("InputSignalNode#UNSET"),QD=Y(D({},vc),{transformFn:void 0,applyValueToInputSignal(t,e){$i(t,e)}});function Kh(t,e){let r=Object.create(QD);r.value=t,r.transformFn=e?.transform;function n(){if(Fi(r),r.value===Qh)throw new w(-950,!1);return r.value}return n[Le]=r,n}function go(t){return{toString:t}.toString()}var Bi="__parameters__";function KD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Jh(t,e,r){return go(()=>{let n=KD(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Bi)?c[Bi]:Object.defineProperty(c,Bi,{value:[]})[Bi];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var ue=globalThis;function q(t){for(let e in t)if(t[e]===q)return e;throw Error("Could not find renamed property on target object.")}function JD(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function _e(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(_e).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
4
+ `);return r===-1?e:e.substring(0,r)}function Rc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var XD=q({__forward_ref__:q});function Xh(t){return t.__forward_ref__=Xh,t.toString=function(){return _e(this())},t}function ve(t){return ep(t)?t():t}function ep(t){return typeof t=="function"&&t.hasOwnProperty(XD)&&t.__forward_ref__===Xh}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ln(t){return{providers:t.providers||[],imports:t.imports||[]}}function _s(t){return Xf(t,np)||Xf(t,rp)}function tp(t){return _s(t)!==null}function Xf(t,e){return t.hasOwnProperty(e)?t[e]:null}function ew(t){let e=t&&(t[np]||t[rp]);return e||null}function eh(t){return t&&(t.hasOwnProperty(th)||t.hasOwnProperty(tw))?t[th]:null}var np=q({\u0275prov:q}),th=q({\u0275inj:q}),rp=q({ngInjectableDef:q}),tw=q({ngInjectorDef:q}),E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function op(t){return t&&!!t.\u0275providers}var nw=q({\u0275cmp:q}),rw=q({\u0275dir:q}),ow=q({\u0275pipe:q}),iw=q({\u0275mod:q}),ns=q({\u0275fac:q}),ro=q({__NG_ELEMENT_ID__:q}),nh=q({__NG_ENV_ID__:q});function Tn(t){return typeof t=="string"?t:t==null?"":String(t)}function sw(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Tn(t)}function aw(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function Hu(t,e){throw new w(-201,!1)}var P=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(P||{}),Oc;function ip(){return Oc}function Oe(t){let e=Oc;return Oc=t,e}function sp(t,e,r){let n=_s(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&P.Optional)return null;if(e!==void 0)return e;Hu(t,"Injector")}var cw={},io=cw,Pc="__NG_DI_FLAG__",rs="ngTempTokenPath",uw="ngTokenPath",lw=/\n/gm,dw="\u0275",rh="__source",dr;function fw(){return dr}function rn(t){let e=dr;return dr=t,e}function hw(t,e=P.Default){if(dr===void 0)throw new w(-203,!1);return dr===null?sp(t,void 0,e):dr.get(t,e&P.Optional?null:void 0,e)}function C(t,e=P.Default){return(ip()||hw)(ve(t),e)}function g(t,e=P.Default){return C(t,Ns(e))}function Ns(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Fc(t){let e=[];for(let r=0;r<t.length;r++){let n=ve(t[r]);if(Array.isArray(n)){if(n.length===0)throw new w(900,!1);let o,i=P.Default;for(let s=0;s<n.length;s++){let a=n[s],c=pw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}e.push(C(o,i))}else e.push(C(n))}return e}function ap(t,e){return t[Pc]=e,t.prototype[Pc]=e,t}function pw(t){return t[Pc]}function gw(t,e,r,n){let o=t[rs];throw e[rh]&&o.unshift(e[rh]),t.message=mw(`
5
+ `+t.message,o,r,n),t[uw]=o,t[rs]=null,t}function mw(t,e,r,n=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==dw?t.slice(2):t;let o=_e(e);if(Array.isArray(e))o=e.map(_e).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):_e(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(lw,`
7
+ `)}`}var mo=ap(Jh("Optional"),8);var As=ap(Jh("SkipSelf"),4);function xn(t,e){let r=t.hasOwnProperty(ns);return r?t[ns]:null}function vw(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],i=e[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function yw(t){return t.flat(Number.POSITIVE_INFINITY)}function zu(t,e){t.forEach(r=>Array.isArray(r)?zu(r,e):e(r))}function cp(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function os(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Dw(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function ww(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function vo(t,e,r){let n=yo(t,e);return n>=0?t[n|1]=r:(n=~n,ww(t,n,e,r)),n}function yc(t,e){let r=yo(t,e);if(r>=0)return t[r|1]}function yo(t,e){return Ew(t,e,1)}function Ew(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<<r];if(e===s)return i<<r;s>e?o=i:n=i+1}return~(o<<r)}var Rt={},Te=[],hr=new E(""),up=new E("",-1),lp=new E(""),is=class{get(e,r=io){if(r===io){let n=new Error(`NullInjectorError: No provider for ${_e(e)}!`);throw n.name="NullInjectorError",n}return r}},dp=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(dp||{}),Dt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Dt||{}),an=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(an||{});function Iw(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function kc(t,e,r){let n=0;for(;n<r.length;){let o=r[n];if(typeof o=="number"){if(o!==0)break;n++;let i=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,i)}else{let i=o,s=r[++n];Cw(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function fp(t){return t===3||t===4||t===6}function Cw(t){return t.charCodeAt(0)===64}function so(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?oh(t,r,o,null,e[++n]):oh(t,r,o,null,null))}}return t}function oh(t,e,r,n,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===r){if(n===null){o!==null&&(t[i+1]=o);return}else if(n===t[i+1]){t[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,r),n!==null&&t.splice(i++,0,n),o!==null&&t.splice(i++,0,o)}var hp="ng-template";function bw(t,e,r,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&Iw(e[o+1].toLowerCase(),r,0)!==-1)return!0}else if(Gu(t))return!1;if(o=e.indexOf(1,o),o>-1){let i;for(;++o<e.length&&typeof(i=e[o])=="string";)if(i.toLowerCase()===r)return!0}return!1}function Gu(t){return t.type===4&&t.value!==hp}function Mw(t,e,r){let n=t.type===4&&!r?hp:t.value;return e===n}function Sw(t,e,r){let n=4,o=t.attrs,i=o!==null?_w(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!tt(n)&&!tt(c))return!1;if(s&&tt(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!Mw(t,c,r)||c===""&&e.length===1){if(tt(n))return!1;s=!0}}else if(n&8){if(o===null||!bw(t,o,c,r)){if(tt(n))return!1;s=!0}}else{let u=e[++a],l=Tw(c,o,Gu(t),r);if(l===-1){if(tt(n))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(tt(n))return!1;s=!0}}}}return tt(n)||s}function tt(t){return(t&1)===0}function Tw(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Nw(e,t)}function pp(t,e,r=!1){for(let n=0;n<e.length;n++)if(Sw(t,e[n],r))return!0;return!1}function xw(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function _w(t){for(let e=0;e<t.length;e++){let r=t[e];if(fp(r))return e}return t.length}function Nw(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function Aw(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function ih(t,e){return t?":not("+e.trim()+")":e}function Rw(t){let e=t[0],r=1,n=2,o="",i=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!tt(s)&&(e+=ih(i,o),o=""),n=s,i=i||!tt(n);r++}return o!==""&&(e+=ih(i,o)),e}function Ow(t){return t.map(Rw).join(",")}function Pw(t){let e=[],r=[],n=1,o=2;for(;n<t.length;){let i=t[n];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++n]):o===8&&r.push(i);else{if(!tt(o))break;o=i}n++}return{attrs:e,classes:r}}function gp(t){return go(()=>{let e=Dp(t),r=Y(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===dp.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Dt.Emulated,styles:t.styles||Te,_:null,schemas:t.schemas||null,tView:null,id:""});wp(r);let n=t.dependencies;return r.directiveDefs=ah(n,!1),r.pipeDefs=ah(n,!0),r.id=Lw(r),r})}function Fw(t){return Ot(t)||qu(t)}function kw(t){return t!==null}function dn(t){return go(()=>({type:t.type,bootstrap:t.bootstrap||Te,declarations:t.declarations||Te,imports:t.imports||Te,exports:t.exports||Te,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function sh(t,e){if(t==null)return Rt;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=an.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==an.None?[n,a]:n,e[i]=s):r[i]=n}return r}function We(t){return go(()=>{let e=Dp(t);return wp(e),e})}function Do(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ot(t){return t[nw]||null}function qu(t){return t[rw]||null}function mp(t){return t[ow]||null}function vp(t){let e=Ot(t)||qu(t)||mp(t);return e!==null?e.standalone:!1}function yp(t,e){let r=t[iw]||null;if(!r&&e===!0)throw new Error(`Type ${_e(t)} does not have '\u0275mod' property.`);return r}function Dp(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Rt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Te,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:sh(t.inputs,e),outputs:sh(t.outputs),debugInfo:null}}function wp(t){t.features?.forEach(e=>e(t))}function ah(t,e){if(!t)return null;let r=e?mp:Fw;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(kw)}function Lw(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Rs(t){return{\u0275providers:t}}function jw(...t){return{\u0275providers:Ep(!0,t),\u0275fromNgModule:!0}}function Ep(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return zu(e,s=>{let a=s;Lc(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Ip(o,i),r}function Ip(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];Wu(o,i=>{e(i,n)})}}function Lc(t,e,r,n){if(t=ve(t),!t)return!1;let o=null,i=eh(t),s=!i&&Ot(t);if(!i&&!s){let c=t.ngModule;if(i=eh(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Lc(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{zu(i.imports,l=>{Lc(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Ip(u,e)}if(!a){let u=xn(o)||(()=>new o);e({provide:o,useFactory:u,deps:Te},o),e({provide:lp,useValue:o,multi:!0},o),e({provide:hr,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;Wu(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function Wu(t,e){for(let r of t)op(r)&&(r=r.\u0275providers),Array.isArray(r)?Wu(r,e):e(r)}var Vw=q({provide:String,useValue:q});function Cp(t){return t!==null&&typeof t=="object"&&Vw in t}function Uw(t){return!!(t&&t.useExisting)}function $w(t){return!!(t&&t.useFactory)}function pr(t){return typeof t=="function"}function Bw(t){return!!t.useClass}var Os=new E(""),Yi={},Hw={},Dc;function Ps(){return Dc===void 0&&(Dc=new is),Dc}var Ie=class{},ao=class extends Ie{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Vc(e,s=>this.processProvider(s)),this.records.set(up,cr(void 0,this)),o.has("environment")&&this.records.set(Ie,cr(void 0,this));let i=this.records.get(Os);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(lp,Te,P.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=j(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),j(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=rn(this),n=Oe(void 0),o;try{return e()}finally{rn(r),Oe(n)}}get(e,r=io,n=P.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(nh))return e[nh](this);n=Ns(n);let o,i=rn(this),s=Oe(void 0);try{if(!(n&P.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=Zw(e)&&_s(e);u&&this.injectableDefInScope(u)?c=cr(jc(e),Yi):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&P.Self?Ps():this.parent;return r=n&P.Optional&&r===io?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[rs]=a[rs]||[]).unshift(_e(e)),i)throw a;return gw(a,e,"R3InjectorError",this.source)}else throw a}finally{Oe(s),rn(i)}}resolveInjectorInitializers(){let e=j(null),r=rn(this),n=Oe(void 0),o;try{let i=this.get(hr,Te,P.Self);for(let s of i)s()}finally{rn(r),Oe(n),j(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(_e(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=ve(e);let r=pr(e)?e:ve(e&&e.provide),n=Gw(e);if(!pr(e)&&e.multi===!0){let o=this.records.get(r);o||(o=cr(void 0,Yi,!0),o.factory=()=>Fc(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=j(null);try{return r.value===Yi&&(r.value=Hw,r.value=r.factory()),typeof r.value=="object"&&r.value&&Ww(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{j(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ve(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function jc(t){let e=_s(t),r=e!==null?e.factory:xn(t);if(r!==null)return r;if(t instanceof E)throw new w(204,!1);if(t instanceof Function)return zw(t);throw new w(204,!1)}function zw(t){if(t.length>0)throw new w(204,!1);let r=ew(t);return r!==null?()=>r.factory(t):()=>new t}function Gw(t){if(Cp(t))return cr(void 0,t.useValue);{let e=bp(t);return cr(e,Yi)}}function bp(t,e,r){let n;if(pr(t)){let o=ve(t);return xn(o)||jc(o)}else if(Cp(t))n=()=>ve(t.useValue);else if($w(t))n=()=>t.useFactory(...Fc(t.deps||[]));else if(Uw(t))n=()=>C(ve(t.useExisting));else{let o=ve(t&&(t.useClass||t.provide));if(qw(t))n=()=>new o(...Fc(t.deps));else return xn(o)||jc(o)}return n}function cr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function qw(t){return!!t.deps}function Ww(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Zw(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function Vc(t,e){for(let r of t)Array.isArray(r)?Vc(r,e):r&&op(r)?Vc(r.\u0275providers,e):e(r)}function je(t,e){t instanceof ao&&t.assertNotDestroyed();let r,n=rn(t),o=Oe(void 0);try{return e()}finally{rn(n),Oe(o)}}function Mp(){return ip()!==void 0||fw()!=null}function Zu(t){if(!Mp())throw new w(-203,!1)}function Yw(t){let e=ue.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Qw(t){return typeof t=="function"}var Ct=0,N=1,_=2,Ce=3,nt=4,Fe=5,gr=6,ss=7,De=8,mr=9,wt=10,K=11,co=12,ch=13,xr=14,Pe=15,_n=16,ur=17,Pt=18,Fs=19,Sp=20,on=21,Qi=22,qe=23,fe=25,Yu=1;var Nn=7,as=8,vr=9,Ee=10,cs=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(cs||{});function sn(t){return Array.isArray(t)&&typeof t[Yu]=="object"}function jt(t){return Array.isArray(t)&&t[Yu]===!0}function Qu(t){return(t.flags&4)!==0}function ks(t){return t.componentOffset>-1}function Ls(t){return(t.flags&1)===1}function Ft(t){return!!t.template}function Uc(t){return(t[_]&512)!==0}var $c=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Tp(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Vt(){return xp}function xp(t){return t.type.prototype.ngOnChanges&&(t.setInput=Jw),Kw}Vt.ngInherit=!0;function Kw(){let t=Np(this),e=t?.current;if(e){let r=t.previous;if(r===Rt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Jw(t,e,r,n,o){let i=this.declaredInputs[n],s=Np(t)||Xw(t,{previous:Rt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new $c(u&&u.currentValue,r,c===Rt),Tp(t,e,o,r)}var _p="__ngSimpleChanges__";function Np(t){return t[_p]||null}function Xw(t,e){return t[_p]=e}var uh=null;var vt=function(t,e,r){uh?.(t,e,r)},Ap="svg",eE="math";function Et(t){for(;Array.isArray(t);)t=t[Ct];return t}function tE(t){for(;Array.isArray(t);){if(typeof t[Yu]=="object")return t;t=t[Ct]}return null}function Rp(t,e){return Et(e[t])}function Ze(t,e){return Et(e[t.index])}function Ku(t,e){return t.data[e]}function Ju(t,e){return t[e]}function fn(t,e){let r=e[t];return sn(r)?r:r[Ct]}function nE(t){return(t[_]&4)===4}function Xu(t){return(t[_]&128)===128}function rE(t){return jt(t[Ce])}function cn(t,e){return e==null?null:t[e]}function Op(t){t[ur]=0}function Pp(t){t[_]&1024||(t[_]|=1024,Xu(t)&&js(t))}function oE(t,e){for(;t>0;)e=e[xr],t--;return e}function uo(t){return!!(t[_]&9216||t[qe]?.dirty)}function Bc(t){t[wt].changeDetectionScheduler?.notify(7),t[_]&64&&(t[_]|=1024),uo(t)&&js(t)}function js(t){t[wt].changeDetectionScheduler?.notify(0);let e=An(t);for(;e!==null&&!(e[_]&8192||(e[_]|=8192,!Xu(e)));)e=An(e)}function Fp(t,e){if((t[_]&256)===256)throw new w(911,!1);t[on]===null&&(t[on]=[]),t[on].push(e)}function iE(t,e){if(t[on]===null)return;let r=t[on].indexOf(e);r!==-1&&t[on].splice(r,1)}function An(t){let e=t[Ce];return jt(e)?e[Ce]:e}var A={lFrame:Hp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var kp=!1;function sE(){return A.lFrame.elementDepthCount}function aE(){A.lFrame.elementDepthCount++}function cE(){A.lFrame.elementDepthCount--}function Lp(){return A.bindingsEnabled}function jp(){return A.skipHydrationRootTNode!==null}function uE(t){return A.skipHydrationRootTNode===t}function lE(){A.skipHydrationRootTNode=null}function b(){return A.lFrame.lView}function W(){return A.lFrame.tView}function yL(t){return A.lFrame.contextLView=t,t[De]}function DL(t){return A.lFrame.contextLView=null,t}function he(){let t=Vp();for(;t!==null&&t.type===64;)t=t.parent;return t}function Vp(){return A.lFrame.currentTNode}function dE(){let t=A.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Vn(t,e){let r=A.lFrame;r.currentTNode=t,r.isParent=e}function el(){return A.lFrame.isParent}function tl(){A.lFrame.isParent=!1}function fE(){return A.lFrame.contextLView}function Up(){return kp}function lh(t){kp=t}function Ye(){let t=A.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function hE(){return A.lFrame.bindingIndex}function pE(t){return A.lFrame.bindingIndex=t}function hn(){return A.lFrame.bindingIndex++}function nl(t){let e=A.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function gE(){return A.lFrame.inI18n}function mE(t,e){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=t,Hc(e)}function vE(){return A.lFrame.currentDirectiveIndex}function Hc(t){A.lFrame.currentDirectiveIndex=t}function rl(t){let e=A.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ol(){return A.lFrame.currentQueryIndex}function Vs(t){A.lFrame.currentQueryIndex=t}function yE(t){let e=t[N];return e.type===2?e.declTNode:e.type===1?t[Fe]:null}function $p(t,e,r){if(r&P.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&P.Host);)if(o=yE(i),o===null||(i=i[xr],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=A.lFrame=Bp();return n.currentTNode=e,n.lView=t,!0}function il(t){let e=Bp(),r=t[N];A.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Bp(){let t=A.lFrame,e=t===null?null:t.child;return e===null?Hp(t):e}function Hp(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function zp(){let t=A.lFrame;return A.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Gp=zp;function sl(){let t=zp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function DE(t){return(A.lFrame.contextLView=oE(t,A.lFrame.contextLView))[De]}function Ut(){return A.lFrame.selectedIndex}function Rn(t){A.lFrame.selectedIndex=t}function Un(){let t=A.lFrame;return Ku(t.tView,t.selectedIndex)}function wL(){A.lFrame.currentNamespace=Ap}function EL(){wE()}function wE(){A.lFrame.currentNamespace=null}function EE(){return A.lFrame.currentNamespace}var qp=!0;function Us(){return qp}function $s(t){qp=t}function IE(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=xp(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function Bs(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let i=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),c&&(t.viewHooks??=[]).push(-r,c),u&&((t.viewHooks??=[]).push(r,u),(t.viewCheckHooks??=[]).push(r,u)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function Ki(t,e,r){Wp(t,e,3,r)}function Ji(t,e,r,n){(t[_]&3)===r&&Wp(t,e,r,n)}function wc(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function Wp(t,e,r,n){let o=n!==void 0?t[ur]&65535:0,i=n??-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[ur]+=65536),(a<i||i==-1)&&(CE(t,r,e,c),t[ur]=(t[ur]&4294901760)+c+2),c++}function dh(t,e){vt(4,t,e);let r=j(null);try{e.call(t)}finally{j(r),vt(5,t,e)}}function CE(t,e,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=t[s];o?t[_]>>14<t[ur]>>16&&(t[_]&3)===e&&(t[_]+=16384,dh(a,i)):dh(a,i)}var fr=-1,On=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function bE(t){return t instanceof On}function ME(t){return(t.flags&8)!==0}function SE(t){return(t.flags&16)!==0}var Ec={},zc=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=Ns(n);let o=this.injector.get(e,Ec,n);return o!==Ec||r===Ec?o:this.parentInjector.get(e,r,n)}};function Zp(t){return t!==fr}function us(t){return t&32767}function TE(t){return t>>16}function ls(t,e){let r=TE(t),n=e;for(;r>0;)n=n[xr],r--;return n}var Gc=!0;function ds(t){let e=Gc;return Gc=t,e}var xE=256,Yp=xE-1,Qp=5,_E=0,yt={};function NE(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(ro)&&(n=r[ro]),n==null&&(n=r[ro]=_E++);let o=n&Yp,i=1<<o;e.data[t+(o>>Qp)]|=i}function fs(t,e){let r=Kp(t,e);if(r!==-1)return r;let n=e[N];n.firstCreatePass&&(t.injectorIndex=e.length,Ic(n.data,t),Ic(e,null),Ic(n.blueprint,null));let o=al(t,e),i=t.injectorIndex;if(Zp(o)){let s=us(o),a=ls(o,e),c=a[N].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function Ic(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Kp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function al(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=ng(o),n===null)return fr;if(r++,o=o[xr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return fr}function qc(t,e,r){NE(t,e,r)}function AE(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(fp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<n&&typeof r[o]=="string";)o++;else{if(i===e)return r[o+1];o=o+2}}}return null}function Jp(t,e,r){if(r&P.Optional||t!==void 0)return t;Hu(e,"NodeInjector")}function Xp(t,e,r,n){if(r&P.Optional&&n===void 0&&(n=null),!(r&(P.Self|P.Host))){let o=t[mr],i=Oe(void 0);try{return o?o.get(e,n,r&P.Optional):sp(e,n,r&P.Optional)}finally{Oe(i)}}return Jp(n,e,r)}function eg(t,e,r,n=P.Default,o){if(t!==null){if(e[_]&2048&&!(n&P.Self)){let s=FE(t,e,r,n,yt);if(s!==yt)return s}let i=tg(t,e,r,n,yt);if(i!==yt)return i}return Xp(e,r,n,o)}function tg(t,e,r,n,o){let i=OE(r);if(typeof i=="function"){if(!$p(e,t,n))return n&P.Host?Jp(o,r,n):Xp(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&P.Optional))Hu(r);else return s}finally{Gp()}}else if(typeof i=="number"){let s=null,a=Kp(t,e),c=fr,u=n&P.Host?e[Pe][Fe]:null;for((a===-1||n&P.SkipSelf)&&(c=a===-1?al(t,e):e[a+8],c===fr||!hh(n,!1)?a=-1:(s=e[N],a=us(c),e=ls(c,e)));a!==-1;){let l=e[N];if(fh(i,a,l.data)){let d=RE(a,e,r,s,n,u);if(d!==yt)return d}c=e[a+8],c!==fr&&hh(n,e[N].data[a+8]===u)&&fh(i,a,e)?(s=l,a=us(c),e=ls(c,e)):a=-1}}return o}function RE(t,e,r,n,o,i){let s=e[N],a=s.data[t+8],c=n==null?ks(a)&&Gc:n!=s&&(a.type&3)!==0,u=o&P.Host&&i===a,l=Xi(a,s,r,c,u);return l!==null?Pn(e,s,l,a):yt}function Xi(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let p=s[h];if(h<c&&r===p||h>=c&&p.type===r)return h}if(o){let h=s[c];if(h&&Ft(h)&&h.type===r)return c}return null}function Pn(t,e,r,n){let o=t[r],i=e.data;if(bE(o)){let s=o;s.resolving&&aw(sw(i[r]));let a=ds(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Oe(s.injectImpl):null,l=$p(t,n,P.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&IE(r,i[r],e)}finally{u!==null&&Oe(u),ds(a),s.resolving=!1,Gp()}}return o}function OE(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ro)?t[ro]:void 0;return typeof e=="number"?e>=0?e&Yp:PE:e}function fh(t,e,r){let n=1<<t;return!!(r[e+(t>>Qp)]&n)}function hh(t,e){return!(t&P.Self)&&!(t&P.Host&&e)}var Sn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return eg(this._tNode,this._lView,e,Ns(n),r)}};function PE(){return new Sn(he(),b())}function cl(t){return go(()=>{let e=t.prototype.constructor,r=e[ns]||Wc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[ns]||Wc(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wc(t){return ep(t)?()=>{let e=Wc(ve(t));return e&&e()}:xn(t)}function FE(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=tg(i,s,r,n|P.Self,yt);if(a!==yt)return a;let c=i.parent;if(!c){let u=s[Sp];if(u){let l=u.get(r,yt,n);if(l!==yt)return l}c=ng(s),s=s[xr]}i=c}return o}function ng(t){let e=t[N],r=e.type;return r===2?e.declTNode:r===1?t[Fe]:null}function ul(t){return AE(he(),t)}function ph(t,e=null,r=null,n){let o=rg(t,e,r,n);return o.resolveInjectorInitializers(),o}function rg(t,e=null,r=null,n,o=new Set){let i=[r||Te,jw(t)];return n=n||(typeof t=="object"?void 0:_e(t)),new ao(i,e||Ps(),n||null,o)}var Mn=class Mn{static create(e,r){if(Array.isArray(e))return ph({name:""},r,e,"");{let n=e.name??"";return ph({name:n},e.parent,e.providers,n)}}};Mn.THROW_IF_NOT_FOUND=io,Mn.NULL=new is,Mn.\u0275prov=I({token:Mn,providedIn:"any",factory:()=>C(up)}),Mn.__NG_ELEMENT_ID__=-1;var Ne=Mn;var kE=new E("");kE.__NG_ELEMENT_ID__=t=>{let e=he();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(t&P.Optional)return null;throw new w(204,!1)};var LE="ngOriginalError";function Cc(t){return t[LE]}var rt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Cc(e);for(;r&&Cc(r);)r=Cc(r);return r||null}},og=new E("",{providedIn:"root",factory:()=>g(rt).handleError.bind(void 0)}),Hs=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=jE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Zc=class extends Hs{constructor(e){super(),this._lView=e}onDestroy(e){return Fp(this._lView,e),()=>iE(this._lView,e)}};function jE(){return new Zc(b())}function gh(t,e){return Kh(t,e)}function VE(t){return Kh(Qh,t)}var IL=(gh.required=VE,gh);function UE(){return _r(he(),b())}function _r(t,e){return new Qe(Ze(t,e))}var Qe=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=UE;let t=e;return t})();function ig(t){return t instanceof Qe?t.nativeElement:t}var bt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new me(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Yc=class extends re{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Mp()&&(this.destroyRef=g(Hs,{optional:!0})??void 0,this.pendingTasks=g(bt,{optional:!0})??void 0)}emit(e){let r=j(null);try{super.next(e)}finally{j(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;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 e instanceof X&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},ye=Yc;function $E(){return this._results[Symbol.iterator]()}var Qc=class t{get changes(){return this._changes??=new ye}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=$E)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=yw(e);(this._changesDetected=!vw(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function sg(t){return(t.flags&128)===128}var ag=new Map,BE=0;function HE(){return BE++}function zE(t){ag.set(t[Fs],t)}function GE(t){ag.delete(t[Fs])}var mh="__ngContext__";function un(t,e){sn(e)?(t[mh]=e[Fs],zE(e)):t[mh]=e}function cg(t){return lg(t[co])}function ug(t){return lg(t[nt])}function lg(t){for(;t!==null&&!jt(t);)t=t[nt];return t}var Kc;function dg(t){Kc=t}function fg(){if(Kc!==void 0)return Kc;if(typeof document<"u")return document;throw new w(210,!1)}var zs=new E("",{providedIn:"root",factory:()=>qE}),qE="ng",ll=new E(""),ot=new E("",{providedIn:"platform",factory:()=>"unknown"});var CL=new E(""),dl=new E("",{providedIn:"root",factory:()=>fg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),fl={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},hg=new E("",{providedIn:"root",factory:()=>fl});var WE="h",ZE="b";var YE=()=>null;function hl(t,e,r=!1){return YE(t,e,r)}var pg=!1,QE=new E("",{providedIn:"root",factory:()=>pg});var Hi;function KE(){if(Hi===void 0&&(Hi=null,ue.trustedTypes))try{Hi=ue.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Hi}function Gs(t){return KE()?.createHTML(t)||t}var zi;function gg(){if(zi===void 0&&(zi=null,ue.trustedTypes))try{zi=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return zi}function vh(t){return gg()?.createHTML(t)||t}function yh(t){return gg()?.createScriptURL(t)||t}var kt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Yh})`}},Jc=class extends kt{getTypeName(){return"HTML"}},Xc=class extends kt{getTypeName(){return"Style"}},eu=class extends kt{getTypeName(){return"Script"}},tu=class extends kt{getTypeName(){return"URL"}},nu=class extends kt{getTypeName(){return"ResourceURL"}};function ke(t){return t instanceof kt?t.changingThisBreaksApplicationSecurity:t}function $t(t,e){let r=JE(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Yh})`)}return r===e}function JE(t){return t instanceof kt&&t.getTypeName()||null}function mg(t){return new Jc(t)}function vg(t){return new Xc(t)}function yg(t){return new eu(t)}function Dg(t){return new tu(t)}function wg(t){return new nu(t)}function XE(t){let e=new ou(t);return eI()?new ru(e):e}var ru=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Gs(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},ou=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Gs(e),r}};function eI(){try{return!!new window.DOMParser().parseFromString(Gs(""),"text/html")}catch{return!1}}var tI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qs(t){return t=String(t),t.match(tI)?t:"unsafe:"+t}function Bt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function wo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var Eg=Bt("area,br,col,hr,img,wbr"),Ig=Bt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Cg=Bt("rp,rt"),nI=wo(Cg,Ig),rI=wo(Ig,Bt("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")),oI=wo(Cg,Bt("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")),Dh=wo(Eg,rI,oI,nI),bg=Bt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),iI=Bt("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"),sI=Bt("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"),aI=wo(bg,iI,sI),cI=Bt("script,style,template"),iu=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,o=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){o.push(r),r=dI(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=lI(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=wh(e).toLowerCase();if(!Dh.hasOwnProperty(r))return this.sanitizedSomething=!0,!cI.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o<n.length;o++){let i=n.item(o),s=i.name,a=s.toLowerCase();if(!aI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;bg[a]&&(c=qs(c)),this.buf.push(" ",s,'="',Eh(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=wh(e).toLowerCase();Dh.hasOwnProperty(r)&&!Eg.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(Eh(e))}};function uI(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function lI(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Mg(e);return e}function dI(t){let e=t.firstChild;if(e&&uI(t,e))throw Mg(e);return e}function wh(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Mg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var fI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hI=/([^\#-~ |!])/g;function Eh(t){return t.replace(/&/g,"&amp;").replace(fI,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(hI,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Gi;function pl(t,e){let r=null;try{Gi=Gi||XE(t);let n=e?String(e):"";r=Gi.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=Gi.getInertBodyElement(n)}while(n!==i);let a=new iu().sanitizeChildren(Ih(r)||r);return Gs(a)}finally{if(r){let n=Ih(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Ih(t){return"content"in t&&pI(t)?t.content:null}function pI(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var it=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(it||{});function bL(t){let e=gl();return e?vh(e.sanitize(it.HTML,t)||""):$t(t,"HTML")?vh(ke(t)):pl(fg(),Tn(t))}function gI(t){let e=gl();return e?e.sanitize(it.URL,t)||"":$t(t,"URL")?ke(t):qs(Tn(t))}function mI(t){let e=gl();if(e)return yh(e.sanitize(it.RESOURCE_URL,t)||"");if($t(t,"ResourceURL"))return yh(ke(t));throw new w(904,!1)}function vI(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?mI:gI}function Sg(t,e,r){return vI(e,r)(t)}function gl(){let t=b();return t&&t[wt].sanitizer}var yI=/^>|^->|<!--|-->|--!>|<!-$/g,DI=/(<|>)/g,wI="\u200B$1\u200B";function EI(t){return t.replace(yI,e=>e.replace(DI,wI))}function ML(t){return t.ownerDocument}function Tg(t){return t instanceof Function?t():t}function xg(t){return(t??g(Ne)).get(ot)==="browser"}var It=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(It||{}),II;function ml(t,e){return II(t,e)}function lr(t,e,r,n,o){if(n!=null){let i,s=!1;jt(n)?i=n:sn(n)&&(s=!0,n=n[Ct]);let a=Et(n);t===0&&r!==null?o==null?Og(e,r,a):hs(e,r,a,o||null,!0):t===1&&r!==null?hs(e,r,a,o||null,!0):t===2?LI(e,a,s):t===3&&e.destroyNode(a),i!=null&&VI(e,t,i,r,o)}}function CI(t,e){return t.createText(e)}function bI(t,e,r){t.setValue(e,r)}function MI(t,e){return t.createComment(EI(e))}function _g(t,e,r){return t.createElement(e,r)}function SI(t,e){Ng(t,e),e[Ct]=null,e[Fe]=null}function TI(t,e,r,n,o,i){n[Ct]=o,n[Fe]=e,Ys(t,n,r,1,o,i)}function Ng(t,e){e[wt].changeDetectionScheduler?.notify(8),Ys(t,e,e[K],2,null,null)}function xI(t){let e=t[co];if(!e)return bc(t[N],t);for(;e;){let r=null;if(sn(e))r=e[co];else{let n=e[Ee];n&&(r=n)}if(!r){for(;e&&!e[nt]&&e!==t;)sn(e)&&bc(e[N],e),e=e[Ce];e===null&&(e=t),sn(e)&&bc(e[N],e),r=e&&e[nt]}e=r}}function _I(t,e,r,n){let o=Ee+n,i=r.length;n>0&&(r[o-1][nt]=e),n<i-Ee?(e[nt]=r[o],cp(r,Ee+n,e)):(r.push(e),e[nt]=null),e[Ce]=r;let s=e[_n];s!==null&&r!==s&&Ag(s,e);let a=e[Pt];a!==null&&a.insertView(t),Bc(e),e[_]|=128}function Ag(t,e){let r=t[vr],n=e[Ce];if(sn(n))t[_]|=cs.HasTransplantedViews;else{let o=n[Ce][Pe];e[Pe]!==o&&(t[_]|=cs.HasTransplantedViews)}r===null?t[vr]=[e]:r.push(e)}function vl(t,e){let r=t[vr],n=r.indexOf(e);r.splice(n,1)}function lo(t,e){if(t.length<=Ee)return;let r=Ee+e,n=t[r];if(n){let o=n[_n];o!==null&&o!==t&&vl(o,n),e>0&&(t[r-1][nt]=n[nt]);let i=os(t,Ee+e);SI(n[N],n);let s=i[Pt];s!==null&&s.detachView(i[N]),n[Ce]=null,n[nt]=null,n[_]&=-129}return n}function Ws(t,e){if(!(e[_]&256)){let r=e[K];r.destroyNode&&Ys(t,e,r,3,null,null),xI(e)}}function bc(t,e){if(e[_]&256)return;let r=j(null);try{e[_]&=-129,e[_]|=256,e[qe]&&ji(e[qe]),AI(t,e),NI(t,e),e[N].type===1&&e[K].destroy();let n=e[_n];if(n!==null&&jt(e[Ce])){n!==e[Ce]&&vl(n,e);let o=e[Pt];o!==null&&o.detachView(t)}GE(e)}finally{j(r)}}function NI(t,e){let r=t.cleanup,n=e[ss];if(r!==null)for(let i=0;i<r.length-1;i+=2)if(typeof r[i]=="string"){let s=r[i+3];s>=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[ss]=null);let o=e[on];if(o!==null){e[on]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function AI(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=e[r[n]];if(!(o instanceof On)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];vt(4,a,c);try{c.call(a)}finally{vt(5,a,c)}}else{vt(4,o,i);try{i.call(o)}finally{vt(5,o,i)}}}}}function Rg(t,e,r){return RI(t,e.parent,r)}function RI(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[Ct];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Dt.None||i===Dt.Emulated)return null}return Ze(n,r)}}function hs(t,e,r,n,o){t.insertBefore(e,r,n,o)}function Og(t,e,r){t.appendChild(e,r)}function Ch(t,e,r,n,o){n!==null?hs(t,e,r,n,o):Og(t,e,r)}function OI(t,e,r,n){t.removeChild(e,r,n)}function yl(t,e){return t.parentNode(e)}function PI(t,e){return t.nextSibling(e)}function Pg(t,e,r){return kI(t,e,r)}function FI(t,e,r){return t.type&40?Ze(t,r):null}var kI=FI,bh;function Zs(t,e,r,n){let o=Rg(t,n,e),i=e[K],s=n.parent||e[Fe],a=Pg(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)Ch(i,o,r[c],a,!1);else Ch(i,o,r,a,!1);bh!==void 0&&bh(i,n,e,r,o)}function es(t,e){if(e!==null){let r=e.type;if(r&3)return Ze(e,t);if(r&4)return su(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return es(t,n);{let o=t[e.index];return jt(o)?su(-1,o):Et(o)}}else{if(r&32)return ml(e,t)()||Et(t[e.index]);{let n=Fg(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=An(t[Pe]);return es(o,n)}else return es(t,e.next)}}}return null}function Fg(t,e){if(e!==null){let n=t[Pe][Fe],o=e.projection;return n.projection[o]}return null}function su(t,e){let r=Ee+t+1;if(r<e.length){let n=e[r],o=n[N].firstChild;if(o!==null)return es(n,o)}return e[Nn]}function LI(t,e,r){let n=yl(t,e);n&&OI(t,n,e,r)}function Dl(t,e,r,n,o,i,s){for(;r!=null;){if(r.type===128){r=r.next;continue}let a=n[r.index],c=r.type;if(s&&e===0&&(a&&un(Et(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)Dl(t,e,r.child,n,o,i,!1),lr(e,t,o,a,i);else if(c&32){let u=ml(r,n),l;for(;l=u();)lr(e,t,o,l,i);lr(e,t,o,a,i)}else c&16?kg(t,e,n,r,o,i):lr(e,t,o,a,i);r=s?r.projectionNext:r.next}}function Ys(t,e,r,n,o,i){Dl(r,n,t.firstChild,e,o,i,!1)}function jI(t,e,r){let n=e[K],o=Rg(t,r,e),i=r.parent||e[Fe],s=Pg(i,r,e);kg(n,0,e,r,o,s)}function kg(t,e,r,n,o,i){let s=r[Pe],c=s[Fe].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];lr(e,t,o,l,i)}else{let u=c,l=s[Ce];sg(n)&&(u.flags|=128),Dl(t,e,u,l,o,i,!0)}}function VI(t,e,r,n,o){let i=r[Nn],s=Et(r);i!==s&&lr(e,t,n,i,o);for(let a=Ee;a<r.length;a++){let c=r[a];Ys(c[N],c,t,e,n,i)}}function UI(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:It.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=It.Important),t.setStyle(r,n,o,i))}}function $I(t,e,r){t.setAttribute(e,"style",r)}function Lg(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function jg(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&kc(t,e,n),o!==null&&Lg(t,e,o),i!==null&&$I(t,e,i)}var Ae={};function SL(t=1){Vg(W(),b(),Ut()+t,!1)}function Vg(t,e,r,n){if(!n)if((e[_]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Ki(e,i,r)}else{let i=t.preOrderHooks;i!==null&&Ji(e,i,0,r)}Rn(r)}function V(t,e=P.Default){let r=b();if(r===null)return C(t,e);let n=he();return eg(n,r,ve(t),e)}function Ug(){let t="invalid";throw new Error(t)}function $g(t,e,r,n,o,i){let s=j(null);try{let a=null;o&an.SignalBased&&(a=e[n][Le]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&an.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):Tp(e,a,n,i)}finally{j(s)}}function BI(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)Rn(~o);else{let i=o,s=r[++n],a=r[++n];mE(s,i);let c=e[i];a(2,c)}}}finally{Rn(-1)}}function Qs(t,e,r,n,o,i,s,a,c,u,l){let d=e.blueprint.slice();return d[Ct]=o,d[_]=n|4|128|8|64,(u!==null||t&&t[_]&2048)&&(d[_]|=2048),Op(d),d[Ce]=d[xr]=t,d[De]=r,d[wt]=s||t&&t[wt],d[K]=a||t&&t[K],d[mr]=c||t&&t[mr]||null,d[Fe]=i,d[Fs]=HE(),d[gr]=l,d[Sp]=u,d[Pe]=e.type==2?t[Pe]:d,d}function Nr(t,e,r,n,o){let i=t.data[e];if(i===null)i=HI(t,e,r,n,o),gE()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=dE();i.injectorIndex=s===null?-1:s.injectorIndex}return Vn(i,!0),i}function HI(t,e,r,n,o){let i=Vp(),s=el(),a=s?i:i&&i.parent,c=t.data[e]=YI(t,a,r,e,n,o);return t.firstChild===null&&(t.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Bg(t,e,r,n){if(r===0)return-1;let o=e.length;for(let i=0;i<r;i++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Hg(t,e,r,n,o){let i=Ut(),s=n&2;try{Rn(-1),s&&e.length>fe&&Vg(t,e,fe,!1),vt(s?2:0,o),r(n,o)}finally{Rn(i),vt(s?3:1,o)}}function wl(t,e,r){if(Qu(e)){let n=j(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=r[s];a.contentQueries(1,c,s)}}}finally{j(n)}}}function El(t,e,r){Lp()&&(tC(t,e,r,Ze(r,e)),(r.flags&64)===64&&qg(t,e,r))}function Il(t,e,r=Ze){let n=e.localNames;if(n!==null){let o=e.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(e,t):t[s];t[o++]=a}}}function zg(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Cl(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Cl(t,e,r,n,o,i,s,a,c,u,l){let d=fe+n,f=d+o,h=zI(d,f),p=typeof u=="function"?u():u;return h[N]={type:t,blueprint:h,template:r,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:p,incompleteFirstPass:!1,ssrId:l}}function zI(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Ae);return r}function GI(t,e,r,n){let i=n.get(QE,pg)||r===Dt.ShadowDom,s=t.selectRootElement(e,i);return qI(s),s}function qI(t){WI(t)}var WI=()=>null;function ZI(t,e,r,n){let o=Yg(e);o.push(r),t.firstCreatePass&&Qg(t).push(n,o.length-1)}function YI(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return jp()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Mh(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=an.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?Sh(n,r,u,a,c):Sh(n,r,u,a)}return n}function Sh(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function QI(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l<o;l++){let d=i[l],f=r?r.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;c=Mh(0,d.inputs,l,c,h),u=Mh(1,d.outputs,l,u,p);let y=c!==null&&s!==null&&!Gu(e)?fC(c,l,s):null;a.push(y)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function KI(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Ar(t,e,r,n,o,i,s,a){let c=Ze(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(Ml(t,r,l,n,o),ks(e)&&JI(r,e.index)):e.type&3?(n=KI(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(c,n,o)):e.type&12}function JI(t,e){let r=fn(e,t);r[_]&16||(r[_]|=64)}function bl(t,e,r,n){if(Lp()){let o=n===null?null:{"":-1},i=rC(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Gg(t,e,r,s,o,a),o&&oC(r,n,o)}r.mergedAttrs=so(r.mergedAttrs,r.attrs)}function Gg(t,e,r,n,o,i){for(let u=0;u<n.length;u++)qc(fs(r,e),t,n[u].type);sC(r,t.data.length,n.length);for(let u=0;u<n.length;u++){let l=n[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=Bg(t,e,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=so(r.mergedAttrs,l.hostAttrs),aC(t,r,e,c,l),iC(c,l,o),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}QI(t,r,i)}function XI(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;eC(s)!=a&&s.push(a),s.push(r,n,i)}}function eC(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function tC(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;ks(r)&&cC(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||fs(r,e),un(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let c=t.data[a],u=Pn(e,t,a,r);if(un(u,e),s!==null&&dC(e,a-o,u,c,r,s),Ft(c)){let l=fn(r.index,e);l[De]=Pn(e,t,a,r)}}}function qg(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=vE();try{Rn(i);for(let a=n;a<o;a++){let c=t.data[a],u=e[a];Hc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&nC(c,u)}}finally{Rn(-1),Hc(s)}}function nC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function rC(t,e){let r=t.directiveRegistry,n=null,o=null;if(r)for(let i=0;i<r.length;i++){let s=r[i];if(pp(e,s.selectors,!1))if(n||(n=[]),Ft(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;au(t,e,c)}else n.unshift(s),au(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function au(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function oC(t,e,r){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=r[e[o+1]];if(i==null)throw new w(-301,!1);n.push(e[o],i)}}}function iC(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Ft(e)&&(r[""]=t)}}function sC(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function aC(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=xn(o.type,!0)),s=new On(i,Ft(o),V);t.blueprint[n]=s,r[n]=s,XI(t,e,n,Bg(t,r,o.hostVars,Ae),o)}function cC(t,e,r){let n=Ze(e,t),o=zg(r),i=t[wt].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Ks(t,Qs(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function uC(t,e,r,n,o,i){let s=Ze(t,e);lC(e[K],s,i,t.value,r,n,o)}function lC(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?Tn(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function dC(t,e,r,n,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];$g(n,r,c,u,l,d)}}function fC(t,e,r){let n=null,o=0;for(;o<r.length;){let i=r[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){n===null&&(n=[]);let s=t[i];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(i,s[a+1],s[a+2],r[o+1]);break}}o+=2}return n}function Wg(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function Zg(t,e){let r=t.contentQueries;if(r!==null){let n=j(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=t.data[s];Vs(i),a.contentQueries(2,e[s],s)}}}finally{j(n)}}}function Ks(t,e){return t[co]?t[ch][nt]=e:t[co]=e,t[ch]=e,e}function cu(t,e,r){Vs(0);let n=j(null);try{e(t,r)}finally{j(n)}}function Yg(t){return t[ss]??=[]}function Qg(t){return t.cleanup??=[]}function Kg(t,e,r){return(t===null||Ft(t))&&(r=tE(r[e.index])),r[K]}function Jg(t,e){let r=t[mr],n=r?r.get(rt,null):null;n&&n.handleError(e)}function Ml(t,e,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],c=r[i++],u=e[s],l=t.data[s];$g(l,u,n,a,c,o)}}function Xg(t,e,r){let n=Rp(e,t);bI(t[K],n,r)}function hC(t,e){let r=fn(e,t),n=r[N];pC(n,r);let o=r[Ct];o!==null&&r[gr]===null&&(r[gr]=hl(o,r[mr])),Sl(n,r,r[De])}function pC(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function Sl(t,e,r){il(e);try{let n=t.viewQuery;n!==null&&cu(1,n,r);let o=t.template;o!==null&&Hg(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),e[Pt]?.finishViewCreation(t),t.staticContentQueries&&Zg(t,e),t.staticViewQueries&&cu(2,t.viewQuery,r);let i=t.components;i!==null&&gC(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[_]&=-5,sl()}}function gC(t,e){for(let r=0;r<e.length;r++)hC(t,e[r])}function Eo(t,e,r,n){let o=j(null);try{let i=e.tView,a=t[_]&4096?4096:16,c=Qs(t,i,r,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),u=t[e.index];c[_n]=u;let l=t[Pt];return l!==null&&(c[Pt]=l.createEmbeddedView(i)),Sl(i,c,r),c}finally{j(o)}}function em(t,e){let r=Ee+e;if(r<t.length)return t[r]}function yr(t,e){return!e||e.firstChild===null||sg(t)}function Io(t,e,r,n=!0){let o=e[N];if(_I(o,e,t,r),n){let s=su(r,t),a=e[K],c=yl(a,t[Nn]);c!==null&&TI(o,t[Fe],a,e,c,s)}let i=e[gr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function tm(t,e){let r=lo(t,e);return r!==void 0&&Ws(r[N],r),r}function ps(t,e,r,n,o=!1){for(;r!==null;){if(r.type===128){r=o?r.projectionNext:r.next;continue}let i=e[r.index];i!==null&&n.push(Et(i)),jt(i)&&mC(i,n);let s=r.type;if(s&8)ps(t,e,r.child,n);else if(s&32){let a=ml(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Fg(e,r);if(Array.isArray(a))n.push(...a);else{let c=An(e[Pe]);ps(c[N],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function mC(t,e){for(let r=Ee;r<t.length;r++){let n=t[r],o=n[N].firstChild;o!==null&&ps(n[N],n,o,e)}t[Nn]!==t[Ct]&&e.push(t[Nn])}var nm=[];function vC(t){return t[qe]??yC(t)}function yC(t){let e=nm.pop()??Object.create(wC);return e.lView=t,e}function DC(t){t.lView[qe]!==t&&(t.lView=null,nm.push(t))}var wC=Y(D({},ar),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{js(t.lView)},consumerOnSignalRead(){this.lView[qe]=this}});function EC(t){let e=t[qe]??Object.create(IC);return e.lView=t,e}var IC=Y(D({},ar),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=An(t.lView);for(;e&&!rm(e[N]);)e=An(e);e&&Pp(e)},consumerOnSignalRead(){this.lView[qe]=this}});function rm(t){return t.type!==2}var CC=100;function om(t,e=!0,r=0){let n=t[wt],o=n.rendererFactory,i=!1;i||o.begin?.();try{bC(t,r)}catch(s){throw e&&Jg(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function bC(t,e){let r=Up();try{lh(!0),uu(t,e);let n=0;for(;uo(t);){if(n===CC)throw new w(103,!1);n++,uu(t,1)}}finally{lh(r)}}function MC(t,e,r,n){let o=e[_];if((o&256)===256)return;let i=!1,s=!1;!i&&e[wt].inlineEffectRunner?.flush(),il(e);let a=!0,c=null,u=null;i||(rm(t)?(u=vC(e),c=no(u)):Vf()===null?(a=!1,u=EC(e),c=no(u)):e[qe]&&(ji(e[qe]),e[qe]=null));try{Op(e),pE(t.bindingStartIndex),r!==null&&Hg(t,e,r,2,n);let l=(o&3)===3;if(!i)if(l){let h=t.preOrderCheckHooks;h!==null&&Ki(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Ji(e,h,0,null),wc(e,0)}if(s||SC(e),im(e,0),t.contentQueries!==null&&Zg(t,e),!i)if(l){let h=t.contentCheckHooks;h!==null&&Ki(e,h)}else{let h=t.contentHooks;h!==null&&Ji(e,h,1),wc(e,1)}BI(t,e);let d=t.components;d!==null&&am(e,d,0);let f=t.viewQuery;if(f!==null&&cu(2,f,n),!i)if(l){let h=t.viewCheckHooks;h!==null&&Ki(e,h)}else{let h=t.viewHooks;h!==null&&Ji(e,h,2),wc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Qi]){for(let h of e[Qi])h();e[Qi]=null}i||(e[_]&=-73)}catch(l){throw i||js(e),l}finally{u!==null&&(ki(u,c),a&&DC(u)),sl()}}function im(t,e){for(let r=cg(t);r!==null;r=ug(r))for(let n=Ee;n<r.length;n++){let o=r[n];sm(o,e)}}function SC(t){for(let e=cg(t);e!==null;e=ug(e)){if(!(e[_]&cs.HasTransplantedViews))continue;let r=e[vr];for(let n=0;n<r.length;n++){let o=r[n];Pp(o)}}}function TC(t,e,r){let n=fn(e,t);sm(n,r)}function sm(t,e){Xu(t)&&uu(t,e)}function uu(t,e){let n=t[N],o=t[_],i=t[qe],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&Li(i)),s||=!1,i&&(i.dirty=!1),t[_]&=-9217,s)MC(n,t,n.template,t[De]);else if(o&8192){im(t,1);let a=n.components;a!==null&&am(t,a,1)}}function am(t,e,r){for(let n=0;n<e.length;n++)TC(t,e[n],r)}function Tl(t,e){let r=Up()?64:1088;for(t[wt].changeDetectionScheduler?.notify(e);t;){t[_]|=r;let n=An(t);if(Uc(t)&&!n)return t;t=n}return null}var Fn=class{get rootNodes(){let e=this._lView,r=e[N];return ps(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[De]}set context(e){this._lView[De]=e}get destroyed(){return(this._lView[_]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ce];if(jt(e)){let r=e[as],n=r?r.indexOf(this):-1;n>-1&&(lo(e,n),os(r,n))}this._attachedToViewContainer=!1}Ws(this._lView[N],this._lView)}onDestroy(e){Fp(this._lView,e)}markForCheck(){Tl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Bc(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,om(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Uc(this._lView),r=this._lView[_n];r!==null&&!e&&vl(r,this._lView),Ng(this._lView[N],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e;let r=Uc(this._lView),n=this._lView[_n];n!==null&&!r&&Ag(n,this._lView),Bc(this._lView)}},kn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=NC;let t=e;return t})(),xC=kn,_C=class extends xC{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=Eo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Fn(o)}};function NC(){return Js(he(),b())}function Js(t,e){return t.type&4?new _C(e,t,_r(t,e)):null}var xL=new RegExp(`^(\\d+)*(${ZE}|${WE})*(.*)`);var AC=()=>null;function Dr(t,e){return AC(t,e)}var wr=class{},cm=new E("",{providedIn:"root",factory:()=>!1});var um=new E(""),lu=class{},gs=class{};function RC(t){let e=Error(`No component factory found for ${_e(t)}.`);return e[OC]=t,e}var OC="ngComponent";var du=class{resolveComponentFactory(e){throw RC(e)}},Zl=class Zl{};Zl.NULL=new du;var Er=Zl,Ir=class{},pn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>PC();let t=e;return t})();function PC(){let t=b(),e=he(),r=fn(e.index,t);return(sn(r)?r:t)[K]}var FC=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Th=new Set;function st(t){Th.has(t)||(Th.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function lm(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof ue.requestAnimationFrame=="function"&&ue.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function xh(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function _h(...t){}var G=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,jC(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,kC,_h,_h);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},kC={};function xl(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function LC(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{lm(()=>{t.callbackScheduled=!1,fu(t),t.isCheckStableRunning=!0,xl(t),t.isCheckStableRunning=!1})}),fu(t))}function jC(t){let e=()=>{LC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(VC(a))return r.invokeTask(o,i,s,a);try{return Nh(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Ah(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Nh(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!UC(a)&&e(),Ah(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,fu(t),xl(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function fu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Nh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ah(t){t._nesting--,xl(t)}var ms=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function VC(t){return dm(t,"__ignore_ng_zone__")}function UC(t){return dm(t,"__scheduler_tick__")}function dm(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function $C(t="zone.js",e){return t==="noop"?new ms:t==="zone.js"?new G(e):t}var xe=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(xe||{}),fm={destroy(){}};function BC(t,e){!e&&Zu(BC);let r=e?.injector??g(Ne);return xg(r)?(st("NgAfterRender"),hm(t,r,!1,e?.phase??xe.MixedReadWrite)):fm}function Xs(t,e){!e&&Zu(Xs);let r=e?.injector??g(Ne);return xg(r)?(st("NgAfterNextRender"),hm(t,r,!0,e?.phase??xe.MixedReadWrite)):fm}function HC(t,e){if(t instanceof Function)switch(e){case xe.EarlyRead:return{earlyRead:t};case xe.Write:return{write:t};case xe.MixedReadWrite:return{mixedReadWrite:t};case xe.Read:return{read:t}}return t}function hm(t,e,r,n){let o=HC(t,n),i=e.get(_l),s=i.handler??=new pu,a=[],c=[],u=()=>{for(let h of c)s.unregister(h);l()},l=e.get(Hs).onDestroy(u),d=0,f=(h,p)=>{if(!p)return;let y=r?(...v)=>{d--,d<1&&u(),p(...v)}:p,m=je(e,()=>new hu(h,a,y));s.register(m),c.push(m),d++};return f(xe.EarlyRead,o.earlyRead),f(xe.Write,o.write),f(xe.MixedReadWrite,o.mixedReadWrite),f(xe.Read,o.read),{destroy:u}}var hu=class{constructor(e,r,n){this.phase=e,this.pipelinedArgs=r,this.callbackFn=n,this.zone=g(G),this.errorHandler=g(rt,{optional:!0}),g(wr,{optional:!0})?.notify(6)}invoke(){try{let e=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,e)}catch(e){this.errorHandler?.handleError(e)}}},pu=class{constructor(){this.executingCallbacks=!1,this.buckets={[xe.EarlyRead]:new Set,[xe.Write]:new Set,[xe.MixedReadWrite]:new Set,[xe.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},_l=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function vs(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=Rc(o,a);else if(i==2){let c=a,u=e[++s];n=Rc(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var ys=class extends Er{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Ot(e);return new Ln(r,this.ngModule)}};function Rh(t,e){let r=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let o=t[n];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:an.None;e?r.push({propName:s,templateName:n,isSignal:(a&an.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function zC(t){let e=t.toLowerCase();return e==="svg"?Ap:e==="math"?eE:null}var Ln=class extends gs{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Rh(e.inputs,!0);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Rh(this.componentDef.outputs,!1)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=Ow(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){let i=j(null);try{o=o||this.ngModule;let s=o instanceof Ie?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new zc(e,s):e,c=a.get(Ir,null);if(c===null)throw new w(407,!1);let u=a.get(FC,null),l=a.get(_l,null),d=a.get(wr,null),f={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",y=n?GI(h,n,this.componentDef.encapsulation,a):_g(h,p,zC(p)),m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let v=null;y!==null&&(v=hl(y,a,!0));let F=Cl(0,null,null,1,0,null,null,null,null,null,null),z=Qs(null,F,null,m,null,null,f,h,a,null,v);il(z);let U,Me;try{let ie=this.componentDef,Ge,qn=null;ie.findHostDirectiveDefs?(Ge=[],qn=new Map,ie.findHostDirectiveDefs(ie,Ge,qn),Ge.push(ie)):Ge=[ie];let Gy=GC(z,y),qy=qC(Gy,y,ie,Ge,z,f,h);Me=Ku(F,fe),y&&YC(h,ie,y,n),r!==void 0&&QC(Me,this.ngContentSelectors,r),U=ZC(qy,ie,Ge,qn,z,[KC]),Sl(F,z,null)}finally{sl()}return new gu(this.componentType,U,_r(Me,z),z,Me)}finally{j(i)}}},gu=class extends lu{constructor(e,r,n,o,i){super(),this.location=n,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Fn(o,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let i=this._rootLView;Ml(i[N],i,o,e,r),this.previousInputValues.set(e,r);let s=fn(this._tNode.index,i);Tl(s,1)}}get injector(){return new Sn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function GC(t,e){let r=t[N],n=fe;return t[n]=e,Nr(r,n,2,"#host",null)}function qC(t,e,r,n,o,i,s){let a=o[N];WC(n,t,e,s);let c=null;e!==null&&(c=hl(e,o[mr]));let u=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=Qs(o,zg(r),null,l,o[t.index],t,i,u,null,null,c);return a.firstCreatePass&&au(a,t,n.length-1),Ks(o,d),o[t.index]=d}function WC(t,e,r,n){for(let o of t)e.mergedAttrs=so(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(vs(e,e.mergedAttrs,!0),r!==null&&jg(n,r,e))}function ZC(t,e,r,n,o,i){let s=he(),a=o[N],c=Ze(s,o);Gg(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=Pn(o,a,d,s);un(f,o)}qg(a,o,s),c&&un(c,o);let u=Pn(o,a,s.directiveStart+s.componentOffset,s);if(t[De]=o[De]=u,i!==null)for(let l of i)l(u,e);return wl(a,s,o),u}function YC(t,e,r,n){if(n)kc(t,r,["ng-version","18.1.1"]);else{let{attrs:o,classes:i}=Pw(e.selectors[0]);o&&kc(t,r,o),i&&i.length>0&&Lg(t,r,i.join(" "))}}function QC(t,e,r){let n=t.projection=[];for(let o=0;o<e.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function KC(){let t=he();Bs(b()[N],t)}var Mt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=JC;let t=e;return t})();function JC(){let t=he();return gm(t,b())}var XC=Mt,pm=class extends XC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return _r(this._hostTNode,this._hostLView)}get injector(){return new Sn(this._hostTNode,this._hostLView)}get parentInjector(){let e=al(this._hostTNode,this._hostLView);if(Zp(e)){let r=ls(e,this._hostLView),n=us(e),o=r[N].data[n+8];return new Sn(o,r)}else return new Sn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Oh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ee}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Dr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,yr(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!Qw(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?e:new Ln(Ot(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?u:this.parentInjector).get(Ie,null);y&&(i=y)}let l=Ot(c.componentType??{}),d=Dr(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,yr(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(rE(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[Ce],u=new pm(c,c[Fe],c[Ce]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return Io(s,o,i,n),e.attachToViewContainerRef(),cp(Mc(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Oh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=lo(this._lContainer,r);n&&(os(Mc(this._lContainer),r),Ws(n[N],n))}detach(e){let r=this._adjustIndex(e,-1),n=lo(this._lContainer,r);return n&&os(Mc(this._lContainer),r)!=null?new Fn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Oh(t){return t[as]}function Mc(t){return t[as]||(t[as]=[])}function gm(t,e){let r,n=e[t.index];return jt(n)?r=n:(r=Wg(n,e,null,t),e[t.index]=r,Ks(e,r)),tb(r,e,t,n),new pm(r,t,e)}function eb(t,e){let r=t[K],n=r.createComment(""),o=Ze(e,t),i=yl(r,o);return hs(r,i,n,PI(r,o),!1),n}var tb=ob,nb=()=>!1;function rb(t,e,r){return nb(t,e,r)}function ob(t,e,r,n){if(t[Nn])return;let o;r.type&8?o=Et(n):o=eb(e,r),t[Nn]=o}var mu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},vu=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i<n;i++){let s=r.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)Al(e,r).matches!==null&&this.queries[r].setDirty()}},Ds=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=lb(e):this.predicate=e}},yu=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(e,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Du=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(e,r,ib(r,i)),this.matchTNodeWithReadOption(e,r,Xi(r,e,i,!1,!1))}else n===kn?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Xi(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===Qe||o===Mt||o===kn&&r.type&4)this.addMatch(r.index,-2);else{let i=Xi(r,e,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function ib(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function sb(t,e){return t.type&11?_r(t,e):t.type&4?Js(t,e):null}function ab(t,e,r,n){return r===-1?sb(e,t):r===-2?cb(t,e,n):Pn(t,t[N],r,e)}function cb(t,e,r){if(r===Qe)return _r(e,t);if(r===kn)return Js(e,t);if(r===Mt)return gm(e,t)}function mm(t,e,r,n){let o=e[Pt].queries[n];if(o.matches===null){let i=t.data,s=r.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(ab(e,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function wu(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=mm(t,e,o,r);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)n.push(s[a/2]);else{let u=i[a+1],l=e[-c];for(let d=Ee;d<l.length;d++){let f=l[d];f[_n]===f[Ce]&&wu(f[N],f,u,n)}if(l[vr]!==null){let d=l[vr];for(let f=0;f<d.length;f++){let h=d[f];wu(h[N],h,u,n)}}}}}return n}function Nl(t,e){return t[Pt].queries[e].queryList}function vm(t,e,r){let n=new Qc((r&4)===4);return ZI(t,e,n,n.destroy),(e[Pt]??=new vu).queries.push(new mu(n))-1}function ub(t,e,r){let n=W();return n.firstCreatePass&&(Dm(n,new Ds(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),vm(n,b(),e)}function ym(t,e,r,n){let o=W();if(o.firstCreatePass){let i=he();Dm(o,new Ds(e,r,n),i.index),db(o,t),(r&2)===2&&(o.staticContentQueries=!0)}return vm(o,b(),r)}function lb(t){return t.split(",").map(e=>e.trim())}function Dm(t,e,r){t.queries===null&&(t.queries=new yu),t.queries.track(new Du(e,r))}function db(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Al(t,e){return t.queries.getByIndex(e)}function wm(t,e){let r=t[N],n=Al(r,e);return n.crossesNgTemplate?wu(r,t,e,[]):mm(r,t,n,e)}function fb(t){return typeof t=="function"&&t[Le]!==void 0}function hb(t,e){st("NgSignals");let r=Qf(t),n=r[Le];return e?.equal&&(n.equal=e.equal),r.set=o=>$i(n,o),r.update=o=>Kf(n,o),r.asReadonly=pb.bind(r),r}function pb(){let t=this[Le];if(t.readonlyFn===void 0){let e=()=>this();e[Le]=t,t.readonlyFn=e}return t.readonlyFn}function Em(t){return fb(t)&&typeof t.set=="function"}function Im(t,e){let r,n=mc(()=>{r._dirtyCounter();let o=yb(r,t);if(e&&o===void 0)throw new w(-951,!1);return o});return r=n[Le],r._dirtyCounter=hb(0),r._flatValue=void 0,n}function gb(){return Im(!0,!1)}function mb(){return Im(!0,!0)}function vb(t,e){let r=t[Le];r._lView=b(),r._queryIndex=e,r._queryList=Nl(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(n=>n+1))}function yb(t,e){let r=t._lView,n=t._queryIndex;if(r===void 0||n===void 0||r[_]&4)return e?void 0:Te;let o=Nl(r,n),i=wm(r,n);return o.reset(i,ig),e?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function Ph(t,e){return gb()}function Db(t,e){return mb()}var NL=(Ph.required=Db,Ph);function wb(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(bb))}return i}return ws.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[u+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Mb(i));e.push(c)}),Ib(),Promise.all(e).then(()=>{})}var ws=new Map,Eb=new Set;function Ib(){let t=ws;return ws=new Map,t}function Cb(){return ws.size===0}function bb(t){return typeof t=="string"?t:t.text()}function Mb(t){Eb.delete(t)}function Sb(t){return Object.getPrototypeOf(t.prototype).constructor}function Tb(t){let e=Sb(t.type),r=!0,n=[t];for(;e;){let o;if(Ft(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=qi(t.inputs),s.inputTransforms=qi(t.inputTransforms),s.declaredInputs=qi(t.declaredInputs),s.outputs=qi(t.outputs);let a=o.hostBindings;a&&Rb(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Nb(t,c),u&&Ab(t,u),xb(t,o),JD(t.outputs,o.outputs),Ft(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(t),a===Tb&&(r=!1)}}e=Object.getPrototypeOf(e)}_b(n)}function xb(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function _b(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=so(o.hostAttrs,r=so(r,o.hostAttrs))}}function qi(t){return t===Rt?{}:t===Te?[]:t}function Nb(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function Ab(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function Rb(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function AL(t){let e=r=>{let n=(Array.isArray(t)?t:t()).map(o=>typeof o=="function"?{directive:ve(o),inputs:Rt,outputs:Rt}:{directive:ve(o.directive),inputs:Fh(o.inputs),outputs:Fh(o.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=Cm,r.hostDirectives=n):r.hostDirectives.unshift(...n)};return e.ngInherit=!0,e}function Cm(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let o=qu(n.directive);Ob(o.declaredInputs,n.inputs),Cm(o,e,r),r.set(o,n),e.push(o)}}function Fh(t){if(t===void 0||t.length===0)return Rt;let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}function Ob(t,e){for(let r in e)if(e.hasOwnProperty(r)){let n=e[r],o=t[r];t[n]=o}}function ea(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}t.inputTransforms=r}var Lt=class{},fo=class{};function bm(t,e){return new ho(t,e??null,[])}var ho=class extends Lt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ys(this);let o=yp(e);this._bootstrapComponents=Tg(o.bootstrap),this._r3Injector=rg(e,r,[{provide:Lt,useValue:this},{provide:Er,useValue:this.componentFactoryResolver},...n],_e(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Es=class extends fo{constructor(e){super(),this.moduleType=e}create(e){return new ho(this.moduleType,e,[])}};function Pb(t,e,r){return new ho(t,e,r)}var Eu=class extends Lt{constructor(e){super(),this.componentFactoryResolver=new ys(this),this.instance=null;let r=new ao([...e.providers,{provide:Lt,useValue:this},{provide:Er,useValue:this.componentFactoryResolver}],e.parent||Ps(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function ta(t,e,r=null){return new Eu({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function Mm(t){return Rl(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Fb(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function Rl(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function St(t,e,r){return t[e]=r}function Co(t,e){return t[e]}function be(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Cr(t,e,r,n){let o=be(t,e,r);return be(t,e+1,n)||o}function Sm(t,e,r,n,o){let i=Cr(t,e,r,n);return be(t,e+2,o)||i}function br(t,e,r,n,o,i){let s=Cr(t,e,r,n);return Cr(t,e+2,o,i)||s}function kb(t){return(t.flags&32)===32}function Lb(t,e,r,n,o,i,s,a,c){let u=e.consts,l=Nr(e,t,4,s||null,a||null);bl(e,r,l,cn(u,c)),Bs(e,l);let d=l.tView=Cl(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function Is(t,e,r,n,o,i,s,a,c,u){let l=r+fe,d=e.firstCreatePass?Lb(l,e,t,n,o,i,s,a,c):e.data[l];Vn(d,!1);let f=Vb(e,t,d,r);Us()&&Zs(e,t,f,d),un(f,t);let h=Wg(f,t,f,d);return t[l]=h,Ks(t,h),rb(h,d,t),Ls(d)&&El(e,t,d),c!=null&&Il(t,d,u),d}function jb(t,e,r,n,o,i,s,a){let c=b(),u=W(),l=cn(u.consts,i);return Is(c,u,t,e,r,n,o,l,s,a),jb}var Vb=Ub;function Ub(t,e,r,n){return $s(!0),e[K].createComment("")}function Ol(t,e,r,n){let o=b(),i=hn();if(be(o,i,e)){let s=W(),a=Un();uC(a,o,t,e,r,n)}return Ol}function Pl(t,e,r,n){return be(t,hn(),r)?e+Tn(r)+n:Ae}function Tm(t,e,r,n,o,i){let s=hE(),a=Cr(t,s,r,o);return nl(2),a?e+Tn(r)+n+Tn(o)+i:Ae}function Wi(t,e){return t<<17|e<<2}function jn(t){return t>>17&32767}function $b(t){return(t&2)==2}function Bb(t,e){return t&131071|e<<17}function Iu(t){return t|2}function Mr(t){return(t&131068)>>2}function Sc(t,e){return t&-131069|e<<2}function Hb(t){return(t&1)===1}function Cu(t){return t|1}function zb(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=jn(s),c=Mr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||yo(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=jn(t[a+1]);t[n+1]=Wi(f,a),f!==0&&(t[f+1]=Sc(t[f+1],n)),t[a+1]=Bb(t[a+1],n)}else t[n+1]=Wi(a,0),a!==0&&(t[a+1]=Sc(t[a+1],n)),a=n;else t[n+1]=Wi(c,0),a===0?a=n:t[c+1]=Sc(t[c+1],n),c=n;u&&(t[n+1]=Iu(t[n+1])),kh(t,l,n,!0),kh(t,l,n,!1),Gb(e,l,t,n,i),s=Wi(a,c),i?e.classBindings=s:e.styleBindings=s}function Gb(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&yo(i,e)>=0&&(r[n+1]=Cu(r[n+1]))}function kh(t,e,r,n){let o=t[r+1],i=e===null,s=n?jn(o):Mr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];qb(c,e)&&(a=!0,t[s+1]=n?Cu(u):Iu(u)),s=n?jn(u):Mr(u)}a&&(t[r+1]=n?Iu(o):Cu(o))}function qb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?yo(t,e)>=0:!1}var ce={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xm(t){return t.substring(ce.key,ce.keyEnd)}function Wb(t){return t.substring(ce.value,ce.valueEnd)}function Zb(t){return Am(t),_m(t,Sr(t,0,ce.textEnd))}function _m(t,e){let r=ce.textEnd;return r===e?-1:(e=ce.keyEnd=Qb(t,ce.key=e,r),Sr(t,e,r))}function Yb(t){return Am(t),Nm(t,Sr(t,0,ce.textEnd))}function Nm(t,e){let r=ce.textEnd,n=ce.key=Sr(t,e,r);return r===n?-1:(n=ce.keyEnd=Kb(t,n,r),n=Lh(t,n,r,58),n=ce.value=Sr(t,n,r),n=ce.valueEnd=Jb(t,n,r),Lh(t,n,r,59))}function Am(t){ce.key=0,ce.keyEnd=0,ce.value=0,ce.valueEnd=0,ce.textEnd=t.length}function Sr(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function Qb(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function Kb(t,e,r){let n;for(;e<r&&((n=t.charCodeAt(e))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function Lh(t,e,r,n){return e=Sr(t,e,r),e<r&&e++,e}function Jb(t,e,r){let n=-1,o=-1,i=-1,s=e,a=s;for(;s<r;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=jh(t,c,s,r):e===s-4&&i===85&&o===82&&n===76&&c===40?a=s=jh(t,41,s,r):c>32&&(a=s),i=o,o=n,n=c&-33}return a}function jh(t,e,r,n){let o=-1,i=r;for(;i<n;){let s=t.charCodeAt(i++);if(s==e&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Xb(t,e,r){let n=b(),o=hn();if(be(n,o,e)){let i=W(),s=Un();Ar(i,s,n,t,e,n[K],r,!1)}return Xb}function bu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";Ml(t,r,i[s],s,n)}function Fl(t,e,r){return Om(t,e,r,!1),Fl}function e0(t,e){return Om(t,e,null,!0),e0}function RL(t){kl(km,t0,t,!1)}function t0(t,e){for(let r=Yb(e);r>=0;r=Nm(e,r))km(t,xm(e),Wb(e))}function OL(t){kl(a0,Rm,t,!0)}function Rm(t,e){for(let r=Zb(e);r>=0;r=_m(e,r))vo(t,xm(e),!0)}function Om(t,e,r,n){let o=b(),i=W(),s=nl(2);if(i.firstUpdatePass&&Fm(i,t,s,n),e!==Ae&&be(o,s,e)){let a=i.data[Ut()];Lm(i,a,o,o[K],t,o[s+1]=u0(e,r),n,s)}}function kl(t,e,r,n){let o=W(),i=nl(2);o.firstUpdatePass&&Fm(o,null,i,n);let s=b();if(r!==Ae&&be(s,i,r)){let a=o.data[Ut()];if(jm(a,n)&&!Pm(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Rc(c,r||"")),bu(o,a,s,r,n)}else c0(o,a,s,s[K],s[i+1],s[i+1]=s0(t,e,r),n,i)}}function Pm(t,e){return e>=t.expandoStartIndex}function Fm(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[Ut()],s=Pm(t,r);jm(i,n)&&e===null&&!s&&(e=!1),e=n0(o,i,e,n),zb(o,i,e,r,s,n)}}function n0(t,e,r,n){let o=rl(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Tc(null,t,e,r,n),r=po(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Tc(o,t,e,r,n),i===null){let c=r0(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Tc(null,t,e,c[1],n),c=po(c,e.attrs,n),o0(t,e,n,c))}else i=i0(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function r0(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Mr(n)!==0)return t[jn(n)]}function o0(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[jn(o)]=n}function i0(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=po(n,s,r)}return po(n,e.attrs,r)}function Tc(t,e,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=e[a],n=po(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function po(t,e,r){let n=r?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),vo(t,s,r?!0:e[++i]))}return t===void 0?null:t}function s0(t,e,r){if(r==null||r==="")return Te;let n=[],o=ke(r);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(n,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(n,i,o[i]);else typeof o=="string"&&e(n,o);return n}function km(t,e,r){vo(t,e,ke(r))}function a0(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&vo(t,n,r)}function c0(t,e,r,n,o,i,s,a){o===Ae&&(o=Te);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,h=u<i.length?i[u+1]:void 0,p=null,y;l===d?(c+=2,u+=2,f!==h&&(p=d,y=h)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,y=h),p!==null&&Lm(t,e,r,n,p,y,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Lm(t,e,r,n,o,i,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=Hb(u)?Vh(c,e,r,o,Mr(u),s):void 0;if(!Cs(l)){Cs(i)||$b(u)&&(i=Vh(c,null,r,o,a,s));let d=Rp(Ut(),r);UI(n,s,d,o,i)}}function Vh(t,e,r,n,o,i){let s=e===null,a;for(;o>0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===Ae&&(f=d?Te:void 0);let h=d?yc(f,n):l===n?f:void 0;if(u&&!Cs(h)&&(h=yc(c,n)),Cs(h)&&(a=h,s))return a;let p=t[o+1];o=s?jn(p):Mr(p)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=yc(c,n))}return a}function Cs(t){return t!==void 0}function u0(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=_e(ke(t)))),t}function jm(t,e){return(t.flags&(e?8:16))!==0}function PL(t,e,r){let n=b(),o=Pl(n,t,e,r);kl(vo,Rm,o,!0)}function FL(){return b()[Pe][De]}var Mu=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),o=Math.max(e,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(e,r){this.attach(r,this.detach(e))}};function xc(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function l0(t,e,r){let n,o,i=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;i<=s&&i<=c;){let u=t.at(i),l=e[i],d=xc(i,u,i,l,r);if(d!==0){d<0&&t.updateValue(i,l),i++;continue}let f=t.at(s),h=e[c],p=xc(s,f,c,h,r);if(p!==0){p<0&&t.updateValue(s,h),s--,c--;continue}let y=r(i,u),m=r(s,f),v=r(i,l);if(Object.is(v,m)){let F=r(c,h);Object.is(F,y)?(t.swap(i,s),t.updateValue(s,h),c--,s--):t.move(s,i),t.updateValue(i,l),i++;continue}if(n??=new bs,o??=$h(t,i,s,r),Su(t,n,i,v))t.updateValue(i,l),i++,s++;else if(o.has(v))n.set(y,t.detach(i)),s--;else{let F=t.create(i,e[i]);t.attach(i,F),i++,s++}}for(;i<=c;)Uh(t,n,r,i,e[i]),i++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=t.at(i),d=u.value,f=xc(i,l,i,d,r);if(f!==0)f<0&&t.updateValue(i,d),i++,u=c.next();else{n??=new bs,o??=$h(t,i,s,r);let h=r(i,d);if(Su(t,n,i,h))t.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(h))t.attach(i,t.create(i,d)),i++,s++,u=c.next();else{let p=r(i,l);n.set(p,t.detach(i)),s--}}}for(;!u.done;)Uh(t,n,r,t.length,u.value),u=c.next()}for(;i<=s;)t.destroy(t.detach(s--));n?.forEach(c=>{t.destroy(c)})}function Su(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Uh(t,e,r,n,o){if(Su(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function $h(t,e,r,n){let o=new Set;for(let i=e;i<=r;i++)o.add(n(i,t.at(i)));return o}var bs=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,r)}}};function kL(t,e){st("NgControlFlow");let r=b(),n=hn(),o=r[n]!==Ae?r[n]:-1,i=o!==-1?Ms(r,fe+o):void 0,s=0;if(be(r,n,t)){let a=j(null);try{if(i!==void 0&&tm(i,s),t!==-1){let c=fe+t,u=Ms(r,c),l=Nu(r[N],c),d=Dr(u,l.tView.ssrId),f=Eo(r,l,e,{dehydratedView:d});Io(u,f,s,yr(l,d))}}finally{j(a)}}else if(i!==void 0){let a=em(i,s);a!==void 0&&(a[De]=e)}}var Tu=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-Ee}};function LL(t){return t}function jL(t,e){return e}var xu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function VL(t,e,r,n,o,i,s,a,c,u,l,d,f){st("NgControlFlow");let h=b(),p=W(),y=c!==void 0,m=b(),v=a?s.bind(m[Pe][De]):s,F=new xu(y,v);m[fe+t]=F,Is(h,p,t+1,e,r,n,o,cn(p.consts,i)),y&&Is(h,p,t+2,c,u,l,d,cn(p.consts,f))}var _u=class extends Mu{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ee}at(e){return this.getLView(e)[De].$implicit}attach(e,r){let n=r[gr];this.needsIndexUpdate||=e!==this.length,Io(this.lContainer,r,e,yr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,d0(this.lContainer,e)}create(e,r){let n=Dr(this.lContainer,this.templateTNode.tView.ssrId),o=Eo(this.hostLView,this.templateTNode,new Tu(this.lContainer,r,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),o}destroy(e){Ws(e[N],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[De].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[De].$index=e}getLView(e){return f0(this.lContainer,e)}};function UL(t){let e=j(null),r=Ut();try{let n=b(),o=n[N],i=n[r],s=r+1,a=Ms(n,s);if(i.liveCollection===void 0){let u=Nu(o,s);i.liveCollection=new _u(a,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(l0(c,t,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=hn(),l=c.length===0;if(be(n,u,l)){let d=r+2,f=Ms(n,d);if(l){let h=Nu(o,d),p=Dr(f,h.tView.ssrId),y=Eo(n,h,void 0,{dehydratedView:p});Io(f,y,0,yr(h,p))}else tm(f,0)}}}finally{j(e)}}function Ms(t,e){return t[e]}function d0(t,e){return lo(t,e)}function f0(t,e){return em(t,e)}function Nu(t,e){return Ku(t,e)}function h0(t,e,r,n,o,i){let s=e.consts,a=cn(s,o),c=Nr(e,t,2,n,a);return bl(e,r,c,cn(s,i)),c.attrs!==null&&vs(c,c.attrs,!1),c.mergedAttrs!==null&&vs(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Vm(t,e,r,n){let o=b(),i=W(),s=fe+t,a=o[K],c=i.firstCreatePass?h0(s,i,o,e,r,n):i.data[s],u=p0(i,o,c,a,e,t);o[s]=u;let l=Ls(c);return Vn(c,!0),jg(a,u,c),!kb(c)&&Us()&&Zs(i,o,u,c),sE()===0&&un(u,o),aE(),l&&(El(i,o,c),wl(i,c,o)),n!==null&&Il(o,c),Vm}function Um(){let t=he();el()?tl():(t=t.parent,Vn(t,!1));let e=t;uE(e)&&lE(),cE();let r=W();return r.firstCreatePass&&(Bs(r,t),Qu(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&ME(e)&&bu(r,e,b(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&SE(e)&&bu(r,e,b(),e.stylesWithoutHost,!1),Um}function Ll(t,e,r,n){return Vm(t,e,r,n),Um(),Ll}var p0=(t,e,r,n,o,i)=>($s(!0),_g(n,o,EE()));function g0(t,e,r,n,o){let i=e.consts,s=cn(i,n),a=Nr(e,t,8,"ng-container",s);s!==null&&vs(a,s,!0);let c=cn(i,o);return bl(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function $m(t,e,r){let n=b(),o=W(),i=t+fe,s=o.firstCreatePass?g0(i,o,n,e,r):o.data[i];Vn(s,!0);let a=v0(o,n,s,t);return n[i]=a,Us()&&Zs(o,n,a,s),un(a,n),Ls(s)&&(El(o,n,s),wl(o,s,n)),r!=null&&Il(n,s),$m}function Bm(){let t=he(),e=W();return el()?tl():(t=t.parent,Vn(t,!1)),e.firstCreatePass&&(Bs(e,t),Qu(t)&&e.queries.elementEnd(t)),Bm}function m0(t,e,r){return $m(t,e,r),Bm(),m0}var v0=(t,e,r,n)=>($s(!0),MI(e[K],""));function $L(){return b()}function y0(t,e,r){let n=b(),o=hn();if(be(n,o,e)){let i=W(),s=Un();Ar(i,s,n,t,e,n[K],r,!0)}return y0}function D0(t,e,r){let n=b(),o=hn();if(be(n,o,e)){let i=W(),s=Un(),a=rl(i.data),c=Kg(a,s,n);Ar(i,s,n,t,e,c,r,!0)}return D0}var bn=void 0;function w0(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var E0=["en",[["a","p"],["AM","PM"],bn],[["AM","PM"],bn,bn],[["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"]],bn,[["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"]],bn,[["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 a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",bn,"{1} 'at' {0}",bn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",w0],_c={};function Ve(t){let e=I0(t),r=Bh(e);if(r)return r;let n=e.split("-")[0];if(r=Bh(n),r)return r;if(n==="en")return E0;throw new w(701,!1)}function Bh(t){return t in _c||(_c[t]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[t]),_c[t]}var te=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(te||{});function I0(t){return t.toLowerCase().replace(/_/g,"-")}var Ss="en-US";var C0=Ss;function b0(t){typeof t=="string"&&(C0=t.toLowerCase().replace(/_/g,"-"))}var M0=(t,e,r)=>{};function jl(t,e,r,n){let o=b(),i=W(),s=he();return Vl(i,o,o[K],s,t,e,n),jl}function S0(t,e){let r=he(),n=b(),o=W(),i=rl(o.data),s=Kg(i,r,n);return Vl(o,n,s,r,t,e),S0}function T0(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===r&&o[i+1]===n){let a=e[ss],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Vl(t,e,r,n,o,i,s){let a=Ls(n),u=t.firstCreatePass&&Qg(t),l=e[De],d=Yg(e),f=!0;if(n.type&3||s){let y=Ze(n,e),m=s?s(y):y,v=d.length,F=s?U=>s(Et(U[n.index])):n.index,z=null;if(!s&&a&&(z=T0(t,e,o,n.index)),z!==null){let U=z.__ngLastListenerFn__||z;U.__ngNextListenerFn__=i,z.__ngLastListenerFn__=i,f=!1}else{i=zh(n,e,l,i),M0(y,o,i);let U=r.listen(m,o,i);d.push(i,U),u&&u.push(o,F,v,v+1)}}else i=zh(n,e,l,i);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let y=p.length;if(y)for(let m=0;m<y;m+=2){let v=p[m],F=p[m+1],Me=e[v][F].subscribe(i),ie=d.length;d.push(i,Me),u&&u.push(o,n.index,ie,-(ie+1))}}}function Hh(t,e,r,n){let o=j(null);try{return vt(6,e,r),r(n)!==!1}catch(i){return Jg(t,i),!1}finally{vt(7,e,r),j(o)}}function zh(t,e,r,n){return function o(i){if(i===Function)return n;let s=t.componentOffset>-1?fn(t.index,e):e;Tl(s,5);let a=Hh(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Hh(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function BL(t=1){return DE(t)}function x0(t,e){let r=null,n=xw(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?pp(t,i,!0):Aw(n,i))return o}return r}function HL(t){let e=b()[Pe][Fe];if(!e.projection){let r=t?t.length:1,n=e.projection=Dw(r,null),o=n.slice(),i=e.child;for(;i!==null;){if(i.type!==128){let s=t?x0(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i)}i=i.next}}}function zL(t,e=0,r,n,o,i){let s=b(),a=W(),c=n?t+1:null;c!==null&&Is(s,a,c,n,o,i,null,r);let u=Nr(a,fe+t,16,null,r||null);u.projection===null&&(u.projection=e),tl();let d=!s[gr]||jp();s[Pe][Fe].projection[u.projection]===null&&c!==null?_0(s,a,c):d&&(u.flags&32)!==32&&jI(a,s,u)}function _0(t,e,r){let n=fe+r,o=e.data[n],i=t[n],s=Dr(i,o.tView.ssrId),a=Eo(t,o,void 0,{dehydratedView:s});Io(i,a,0,yr(o,s))}function N0(t,e,r){return Hm(t,"",e,"",r),N0}function Hm(t,e,r,n,o){let i=b(),s=Pl(i,e,r,n);if(s!==Ae){let a=W(),c=Un();Ar(a,c,i,t,s,i[K],o,!1)}return Hm}function A0(t,e,r,n,o,i,s){let a=b(),c=Tm(a,e,r,n,o,i);if(c!==Ae){let u=W(),l=Un();Ar(u,l,a,t,c,a[K],s,!1)}return A0}function zm(t,e,r,n){ym(t,e,r,n)}function GL(t,e,r){ub(t,e,r)}function Gm(t){let e=b(),r=W(),n=ol();Vs(n+1);let o=Al(r,n);if(t.dirty&&nE(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=wm(e,n);t.reset(i,ig),t.notifyOnChanges()}return!0}return!1}function qm(){return Nl(b(),ol())}function qL(t,e,r,n,o){vb(e,ym(t,r,n,o))}function WL(t=1){Vs(ol()+t)}function R0(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function ZL(t){let e=fE();return Ju(e,fe+t)}function YL(t,e=""){let r=b(),n=W(),o=t+fe,i=n.firstCreatePass?Nr(n,o,1,e,null):n.data[o],s=O0(n,r,i,e,t);r[o]=s,Us()&&Zs(n,r,s,i),Vn(i,!1)}var O0=(t,e,r,n,o)=>($s(!0),CI(e[K],n));function P0(t){return Wm("",t,""),P0}function Wm(t,e,r){let n=b(),o=Pl(n,t,e,r);return o!==Ae&&Xg(n,Ut(),o),Wm}function F0(t,e,r,n,o){let i=b(),s=Tm(i,t,e,r,n,o);return s!==Ae&&Xg(i,Ut(),s),F0}function k0(t,e,r){Em(e)&&(e=e());let n=b(),o=hn();if(be(n,o,e)){let i=W(),s=Un();Ar(i,s,n,t,e,n[K],r,!1)}return k0}function QL(t,e){let r=Em(t);return r&&t.set(e),r}function L0(t,e){let r=b(),n=W(),o=he();return Vl(n,r,r[K],o,t,e),L0}function j0(t,e,r){let n=W();if(n.firstCreatePass){let o=Ft(t);Au(r,n.data,n.blueprint,o,!0),Au(e,n.data,n.blueprint,o,!1)}}function Au(t,e,r,n,o){if(t=ve(t),Array.isArray(t))for(let i=0;i<t.length;i++)Au(t[i],e,r,n,o);else{let i=W(),s=b(),a=he(),c=pr(t)?t:ve(t.provide),u=bp(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(pr(t)||!t.multi){let h=new On(u,o,V),p=Ac(c,e,o?l:l+f,d);p===-1?(qc(fs(a,s),i,c),Nc(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{let h=Ac(c,e,l+f,d),p=Ac(c,e,l,l+f),y=h>=0&&r[h],m=p>=0&&r[p];if(o&&!m||!o&&!y){qc(fs(a,s),i,c);let v=$0(o?U0:V0,r.length,o,n,u);!o&&m&&(r[p].providerFactory=v),Nc(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(v),s.push(v)}else{let v=Zm(r[o?p:h],u,!o&&n);Nc(i,t,h>-1?h:p,v)}!o&&n&&m&&r[p].componentProviders++}}}function Nc(t,e,r,n){let o=pr(e),i=Bw(e);if(o||i){let c=(i?ve(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function Zm(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Ac(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function V0(t,e,r,n){return Ru(this.multi,[])}function U0(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Pn(r,r[N],this.providerFactory.index,n);i=a.slice(0,s),Ru(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Ru(o,i);return i}function Ru(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function $0(t,e,r,n,o){let i=new On(t,r,V);return i.multi=[],i.index=e,i.componentProviders=0,Zm(i,o,n&&!r),i}function KL(t,e=[]){return r=>{r.providersResolver=(n,o)=>j0(n,o?o(t):t,e)}}var B0=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=Ep(!1,n.type),i=o.length>0?ta([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(C(Ie))});let t=e;return t})();function Ym(t){st("NgStandalone"),t.getStandaloneInjector=e=>e.get(B0).getOrCreateStandaloneInjector(t)}function JL(t,e,r){let n=Ye()+t,o=b();return o[n]===Ae?St(o,n,r?e.call(r):e()):Co(o,n)}function XL(t,e,r,n){return Qm(b(),Ye(),t,e,r,n)}function ej(t,e,r,n,o){return Km(b(),Ye(),t,e,r,n,o)}function tj(t,e,r,n,o,i){return H0(b(),Ye(),t,e,r,n,o,i)}function nj(t,e,r,n,o,i,s){return z0(b(),Ye(),t,e,r,n,o,i,s)}function rj(t,e,r,n,o,i,s,a){let c=Ye()+t,u=b(),l=br(u,c,r,n,o,i);return be(u,c+4,s)||l?St(u,c+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):Co(u,c+5)}function oj(t,e,r,n,o,i,s,a,c){let u=Ye()+t,l=b(),d=br(l,u,r,n,o,i);return Cr(l,u+4,s,a)||d?St(l,u+6,c?e.call(c,r,n,o,i,s,a):e(r,n,o,i,s,a)):Co(l,u+6)}function ij(t,e,r,n,o,i,s,a,c,u){let l=Ye()+t,d=b(),f=br(d,l,r,n,o,i);return Sm(d,l+4,s,a,c)||f?St(d,l+7,u?e.call(u,r,n,o,i,s,a,c):e(r,n,o,i,s,a,c)):Co(d,l+7)}function sj(t,e,r,n,o,i,s,a,c,u,l){let d=Ye()+t,f=b(),h=br(f,d,r,n,o,i);return br(f,d+4,s,a,c,u)||h?St(f,d+8,l?e.call(l,r,n,o,i,s,a,c,u):e(r,n,o,i,s,a,c,u)):Co(f,d+8)}function aj(t,e,r,n){return G0(b(),Ye(),t,e,r,n)}function bo(t,e){let r=t[e];return r===Ae?void 0:r}function Qm(t,e,r,n,o,i){let s=e+r;return be(t,s,o)?St(t,s+1,i?n.call(i,o):n(o)):bo(t,s+1)}function Km(t,e,r,n,o,i,s){let a=e+r;return Cr(t,a,o,i)?St(t,a+2,s?n.call(s,o,i):n(o,i)):bo(t,a+2)}function H0(t,e,r,n,o,i,s,a){let c=e+r;return Sm(t,c,o,i,s)?St(t,c+3,a?n.call(a,o,i,s):n(o,i,s)):bo(t,c+3)}function z0(t,e,r,n,o,i,s,a,c){let u=e+r;return br(t,u,o,i,s,a)?St(t,u+4,c?n.call(c,o,i,s,a):n(o,i,s,a)):bo(t,u+4)}function G0(t,e,r,n,o,i){let s=e+r,a=!1;for(let c=0;c<o.length;c++)be(t,s++,o[c])&&(a=!0);return a?St(t,s,n.apply(i,o)):bo(t,s)}function cj(t,e){let r=W(),n,o=t+fe;r.firstCreatePass?(n=q0(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=xn(n.type,!0)),s,a=Oe(V);try{let c=ds(!1),u=i();return ds(c),R0(r,b(),o,u),u}finally{Oe(a)}}function q0(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function uj(t,e,r){let n=t+fe,o=b(),i=Ju(o,n);return Jm(o,n)?Qm(o,Ye(),e,i.transform,r,i):i.transform(r)}function lj(t,e,r,n){let o=t+fe,i=b(),s=Ju(i,o);return Jm(i,o)?Km(i,Ye(),e,s.transform,r,n,s):s.transform(r,n)}function Jm(t,e){return t[N].data[e].pure}function dj(t,e){return Js(t,e)}var Zi=null;function W0(t){Zi!==null&&(t.defaultEncapsulation!==Zi.defaultEncapsulation||t.preserveWhitespaces!==Zi.preserveWhitespaces)||(Zi=t)}var Tr=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}},fj=new Tr("18.1.1");var na=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Ul=new E(""),Mo=new E(""),ra=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,$l||(Z0(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(C(G),C(oa),C(Mo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),oa=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return $l?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function Z0(t){$l=t}var $l;function Rr(t){return!!t&&typeof t.then=="function"}function Bl(t){return!!t&&typeof t.subscribe=="function"}var ia=new E(""),Xm=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=g(ia,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Rr(s))n.push(s);else if(Bl(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),sa=new E("");function Y0(){Yf(()=>{throw new w(600,!1)})}function Q0(t){return t.isBoundToModule}var K0=10;function J0(t,e,r){try{let n=r();return Rr(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function ev(t,e){return Array.isArray(e)?e.reduce(ev,t):D(D({},t),e)}var gn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(og),this.afterRenderEffectManager=g(_l),this.zonelessEnabled=g(cm),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=g(bt).hasPendingTasks.pipe(R(n=>!n)),this._injector=g(Ie)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof gs;if(!this._injector.get(Xm).done){let h=!i&&vp(n),p=!1;throw new w(405,p)}let a;i?a=n:a=this._injector.get(Er).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Q0(a)?void 0:this._injector.get(Lt),u=o||a.selector,l=a.create(Ne.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Ul,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ts(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new w(101,!1);let o=j(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,j(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(Ir,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<K0;){let a=i===0;if(n||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:u}of this._views)X0(c,u,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>uo(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>uo(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;ts(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(sa,[]);[...this._bootstrapListeners,...o].forEach(i=>i(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ts(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}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ts(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function X0(t,e,r,n){if(!r&&!uo(t))return;om(t,e,r&&!n?0:1)}var Ou=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},aa=(()=>{let e=class e{compileModuleSync(n){return new Es(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=yp(n),s=Tg(i.declarations).reduce((a,c)=>{let u=Ot(c);return u&&a.push(new Ln(u)),a},[]);return new Ou(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eM=new E("");function tM(t,e,r){let n=new Es(r);return Promise.resolve(n)}function Gh(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var nM=(()=>{let e=class e{constructor(){this.zone=g(G),this.changeDetectionScheduler=g(wr),this.applicationRef=g(gn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function rM({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new G(tv()),[{provide:G,useFactory:t},{provide:hr,multi:!0,useFactory:()=>{let r=g(nM,{optional:!0});return()=>r.initialize()}},{provide:hr,multi:!0,useFactory:()=>{let r=g(iM);return()=>{r.initialize()}}},{provide:og,useFactory:oM},e===!0?{provide:um,useValue:!0}:[]]}function oM(){let t=g(G),e=g(rt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function tv(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var iM=(()=>{let e=class e{constructor(){this.subscription=new X,this.initialized=!1,this.zone=g(G),this.pendingTasks=g(bt)}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(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var sM=(()=>{let e=class e{constructor(){this.appRef=g(gn),this.taskService=g(bt),this.ngZone=g(G),this.zonelessEnabled=g(cm),this.disableScheduling=g(um,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new X,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ms||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?xh:lm;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&G.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function aM(){return typeof $localize<"u"&&$localize.locale||Ss}var So=new E("",{providedIn:"root",factory:()=>g(So,P.Optional|P.SkipSelf)||aM()});var nv=new E(""),rv=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=$C(o?.ngZone,tv({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=Pb(n.moduleType,this.injector,[...rM({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:wr,useExisting:sM}]),c=a.injector.get(rt,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{ts(this._modules,a),u.unsubscribe()})}),J0(c,i,()=>{let u=a.injector.get(Xm);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(So,Ss);return b0(l||Ss),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=ev({},o);return tM(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(gn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new w(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(nv,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(C(Ne))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),oo=null,ov=new E("");function cM(t){if(oo&&!oo.get(ov,!1))throw new w(400,!1);Y0(),oo=t;let e=t.get(rv);return dM(t),e}function Hl(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=iv();if(!s||s.injector.get(ov,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):cM(uM(a,n))}return lM(o)}}function uM(t=[],e){return Ne.create({name:e,providers:[{provide:Os,useValue:"platform"},{provide:nv,useValue:new Set([()=>oo=null])},...t]})}function lM(t){let e=iv();if(!e)throw new w(401,!1);return e}function iv(){return oo?.get(rv)??null}function dM(t){t.get(ll,null)?.forEach(r=>r())}function hj(){return!1}var Ht=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=fM;let t=e;return t})();function fM(t){return hM(he(),b(),(t&16)===16)}function hM(t,e,r){if(ks(t)&&!r){let n=fn(t.index,e);return new Fn(n,n)}else if(t.type&175){let n=e[Pe];return new Fn(n,e)}return null}var Pu=class{constructor(){}supports(e){return Mm(e)}create(e){return new Fu(e)}},pM=(t,e)=>e,Fu=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||pM}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex<qh(n,o,i)?r:n,a=qh(s,o,i),c=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let f=0;f<u;f++){let h=f<i.length?i[f]:i[f]=0,p=h+f;l<=p&&p<u&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!Mm(e))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,i,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,i,s,a)),Object.is(r.item,i)||this._addIdentityChange(r,i)),r=r._next}else o=0,Fb(e,a=>{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new ku(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ts),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ts),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ku=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Lu=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Ts=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Lu,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function qh(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n<r.length&&(o=r[n]),n+e+o}var ju=class{constructor(){}supports(e){return e instanceof Map||Rl(e)}create(){return new Vu}},Vu=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Rl(e)))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,r);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let n=new Uu(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},Uu=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Wh(){return new zl([new Pu])}var zl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Wh()),deps:[[e,new As,new mo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:Wh});let t=e;return t})();function Zh(){return new Gl([new ju])}var Gl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Zh()),deps:[[e,new As,new mo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:Zh});let t=e;return t})();var sv=Hl(null,"core",[]),av=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(C(gn))},e.\u0275mod=dn({type:e}),e.\u0275inj=ln({});let t=e;return t})();var cv=new E("");function zt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ql(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function pj(t,e){st("NgSignals");let r=mc(t);return e?.equal&&(r[Le].equal=e.equal),r}function Wl(t){let e=j(null);try{return t()}finally{j(e)}}var gM=new E("",{providedIn:"root",factory:()=>g(mM)}),mM=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new $u});let t=e;return t})(),$u=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(bt),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},Bu=class{constructor(e,r,n,o,i,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=i,this.watcher=Jf(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(rt,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function vM(t,e){st("NgSignals"),!e?.injector&&Zu(vM);let r=e?.injector??g(Ne),n=e?.manualCleanup!==!0?r.get(Hs):null,o=new Bu(r.get(gM),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),i=r.get(Ht,null,{optional:!0});return!i||!(i._lView[_]&8)?o.watcher.notify():(i._lView[Qi]??=[]).push(o.watcher.notify),o}function gj(t,e){let r=Ot(t),n=e.elementInjector||Ps();return new Ln(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function uv(t){let e=Ot(t);if(!e)return null;let r=new Ln(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var yv=null;function $n(){return yv}function Dv(t){yv??=t}var va=class{};var le=new E(""),ad=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(DM),providedIn:"platform"});let t=e;return t})(),wv=new E(""),DM=(()=>{let e=class e extends ad{constructor(){super(),this._doc=g(le),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $n().getBaseHref(this._doc)}onPopState(n){let o=$n().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=$n().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function cd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function lv(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function qt(t){return t&&t[0]!=="?"?"?"+t:t}var Yt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(ud),providedIn:"root"});let t=e;return t})(),Ev=new E(""),ud=(()=>{let e=class e extends Yt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(le).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return cd(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+qt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+qt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+qt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(C(ad),C(Ev,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Iv=(()=>{let e=class e extends Yt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=cd(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+qt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(C(ad),C(Ev,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Pr=(()=>{let e=class e{constructor(n){this._subject=new ye,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=IM(lv(dv(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+qt(o))}normalize(n){return e.stripTrailingSlash(EM(this._basePath,dv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=qt,e.joinWithSlash=cd,e.stripTrailingSlash=lv,e.\u0275fac=function(o){return new(o||e)(C(Yt))},e.\u0275prov=I({token:e,factory:()=>wM(),providedIn:"root"});let t=e;return t})();function wM(){return new Pr(C(Yt))}function EM(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function dv(t){return t.replace(/\/index.html$/,"")}function IM(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Cv=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Cv||{});var Re=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Re||{}),Z=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Z||{}),Ue=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Ue||{}),$e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function CM(t){return Ve(t)[te.LocaleId]}function bM(t,e,r){let n=Ve(t),o=[n[te.DayPeriodsFormat],n[te.DayPeriodsStandalone]],i=Ke(o,e);return Ke(i,r)}function MM(t,e,r){let n=Ve(t),o=[n[te.DaysFormat],n[te.DaysStandalone]],i=Ke(o,e);return Ke(i,r)}function SM(t,e,r){let n=Ve(t),o=[n[te.MonthsFormat],n[te.MonthsStandalone]],i=Ke(o,e);return Ke(i,r)}function TM(t,e){let n=Ve(t)[te.Eras];return Ke(n,e)}function ua(t,e){let r=Ve(t);return Ke(r[te.DateFormat],e)}function la(t,e){let r=Ve(t);return Ke(r[te.TimeFormat],e)}function da(t,e){let n=Ve(t)[te.DateTimeFormat];return Ke(n,e)}function Wt(t,e){let r=Ve(t),n=r[te.NumberSymbols][e];if(typeof n>"u"){if(e===$e.CurrencyDecimal)return r[te.NumberSymbols][$e.Decimal];if(e===$e.CurrencyGroup)return r[te.NumberSymbols][$e.Group]}return n}function xM(t,e){return Ve(t)[te.NumberFormats][e]}function bv(t){if(!t[te.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[te.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function _M(t){let e=Ve(t);return bv(e),(e[te.ExtraData][2]||[]).map(n=>typeof n=="string"?Yl(n):[Yl(n[0]),Yl(n[1])])}function NM(t,e,r){let n=Ve(t);bv(n);let o=[n[te.ExtraData][0],n[te.ExtraData][1]],i=Ke(o,e)||[];return Ke(i,r)||[]}function Ke(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Yl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var AM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,fa={},RM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Zt=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Zt||{}),B=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(B||{}),$=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}($||{});function OM(t,e,r,n){let o=BM(t);e=Gt(r,e)||e;let s=[],a;for(;e;)if(a=RM.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=o.getTimezoneOffset();n&&(c=Sv(n,c),o=$M(o,n,!0));let u="";return s.forEach(l=>{let d=VM(l);u+=d?d(o,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ya(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Gt(t,e){let r=CM(t);if(fa[r]??={},fa[r][e])return fa[r][e];let n="";switch(e){case"shortDate":n=ua(t,Ue.Short);break;case"mediumDate":n=ua(t,Ue.Medium);break;case"longDate":n=ua(t,Ue.Long);break;case"fullDate":n=ua(t,Ue.Full);break;case"shortTime":n=la(t,Ue.Short);break;case"mediumTime":n=la(t,Ue.Medium);break;case"longTime":n=la(t,Ue.Long);break;case"fullTime":n=la(t,Ue.Full);break;case"short":let o=Gt(t,"shortTime"),i=Gt(t,"shortDate");n=ha(da(t,Ue.Short),[o,i]);break;case"medium":let s=Gt(t,"mediumTime"),a=Gt(t,"mediumDate");n=ha(da(t,Ue.Medium),[s,a]);break;case"long":let c=Gt(t,"longTime"),u=Gt(t,"longDate");n=ha(da(t,Ue.Long),[c,u]);break;case"full":let l=Gt(t,"fullTime"),d=Gt(t,"fullDate");n=ha(da(t,Ue.Full),[l,d]);break}return n&&(fa[r][e]=n),n}function ha(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function at(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),i+s}function PM(t,e){return at(t,3).substring(0,e)}function oe(t,e,r=0,n=!1,o=!1){return function(i,s){let a=FM(t,i);if((r>0||a>-r)&&(a+=r),t===B.Hours)a===0&&r===-12&&(a=12);else if(t===B.FractionalSeconds)return PM(a,e);let c=Wt(s,$e.MinusSign);return at(a,e,c,n,o)}}function FM(t,e){switch(t){case B.FullYear:return e.getFullYear();case B.Month:return e.getMonth();case B.Date:return e.getDate();case B.Hours:return e.getHours();case B.Minutes:return e.getMinutes();case B.Seconds:return e.getSeconds();case B.FractionalSeconds:return e.getMilliseconds();case B.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function J(t,e,r=Re.Format,n=!1){return function(o,i){return kM(o,i,t,e,r,n)}}function kM(t,e,r,n,o,i){switch(r){case $.Months:return SM(e,o,n)[t.getMonth()];case $.Days:return MM(e,o,n)[t.getDay()];case $.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let u=_M(e),l=NM(e,o,n),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,y=s>=h.hours&&a>=h.minutes,m=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(y&&m)return!0}else if(y||m)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return bM(e,o,n)[s<12?0:1];case $.Eras:return TM(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function pa(t){return function(e,r,n){let o=-1*n,i=Wt(r,$e.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Zt.Short:return(o>=0?"+":"")+at(s,2,i)+at(Math.abs(o%60),2,i);case Zt.ShortGMT:return"GMT"+(o>=0?"+":"")+at(s,1,i);case Zt.Long:return"GMT"+(o>=0?"+":"")+at(s,2,i)+":"+at(Math.abs(o%60),2,i);case Zt.Extended:return n===0?"Z":(o>=0?"+":"")+at(s,2,i)+":"+at(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var LM=0,ma=4;function jM(t){let e=ya(t,LM,1).getDay();return ya(t,0,1+(e<=ma?ma:ma+7)-e)}function Mv(t){let e=t.getDay(),r=e===0?-3:ma-e;return ya(t.getFullYear(),t.getMonth(),t.getDate()+r)}function Ql(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=Mv(r),s=jM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return at(o,t,Wt(n,$e.MinusSign))}}function ga(t,e=!1){return function(r,n){let i=Mv(r).getFullYear();return at(i,t,Wt(n,$e.MinusSign),e)}}var Kl={};function VM(t){if(Kl[t])return Kl[t];let e;switch(t){case"G":case"GG":case"GGG":e=J($.Eras,Z.Abbreviated);break;case"GGGG":e=J($.Eras,Z.Wide);break;case"GGGGG":e=J($.Eras,Z.Narrow);break;case"y":e=oe(B.FullYear,1,0,!1,!0);break;case"yy":e=oe(B.FullYear,2,0,!0,!0);break;case"yyy":e=oe(B.FullYear,3,0,!1,!0);break;case"yyyy":e=oe(B.FullYear,4,0,!1,!0);break;case"Y":e=ga(1);break;case"YY":e=ga(2,!0);break;case"YYY":e=ga(3);break;case"YYYY":e=ga(4);break;case"M":case"L":e=oe(B.Month,1,1);break;case"MM":case"LL":e=oe(B.Month,2,1);break;case"MMM":e=J($.Months,Z.Abbreviated);break;case"MMMM":e=J($.Months,Z.Wide);break;case"MMMMM":e=J($.Months,Z.Narrow);break;case"LLL":e=J($.Months,Z.Abbreviated,Re.Standalone);break;case"LLLL":e=J($.Months,Z.Wide,Re.Standalone);break;case"LLLLL":e=J($.Months,Z.Narrow,Re.Standalone);break;case"w":e=Ql(1);break;case"ww":e=Ql(2);break;case"W":e=Ql(1,!0);break;case"d":e=oe(B.Date,1);break;case"dd":e=oe(B.Date,2);break;case"c":case"cc":e=oe(B.Day,1);break;case"ccc":e=J($.Days,Z.Abbreviated,Re.Standalone);break;case"cccc":e=J($.Days,Z.Wide,Re.Standalone);break;case"ccccc":e=J($.Days,Z.Narrow,Re.Standalone);break;case"cccccc":e=J($.Days,Z.Short,Re.Standalone);break;case"E":case"EE":case"EEE":e=J($.Days,Z.Abbreviated);break;case"EEEE":e=J($.Days,Z.Wide);break;case"EEEEE":e=J($.Days,Z.Narrow);break;case"EEEEEE":e=J($.Days,Z.Short);break;case"a":case"aa":case"aaa":e=J($.DayPeriods,Z.Abbreviated);break;case"aaaa":e=J($.DayPeriods,Z.Wide);break;case"aaaaa":e=J($.DayPeriods,Z.Narrow);break;case"b":case"bb":case"bbb":e=J($.DayPeriods,Z.Abbreviated,Re.Standalone,!0);break;case"bbbb":e=J($.DayPeriods,Z.Wide,Re.Standalone,!0);break;case"bbbbb":e=J($.DayPeriods,Z.Narrow,Re.Standalone,!0);break;case"B":case"BB":case"BBB":e=J($.DayPeriods,Z.Abbreviated,Re.Format,!0);break;case"BBBB":e=J($.DayPeriods,Z.Wide,Re.Format,!0);break;case"BBBBB":e=J($.DayPeriods,Z.Narrow,Re.Format,!0);break;case"h":e=oe(B.Hours,1,-12);break;case"hh":e=oe(B.Hours,2,-12);break;case"H":e=oe(B.Hours,1);break;case"HH":e=oe(B.Hours,2);break;case"m":e=oe(B.Minutes,1);break;case"mm":e=oe(B.Minutes,2);break;case"s":e=oe(B.Seconds,1);break;case"ss":e=oe(B.Seconds,2);break;case"S":e=oe(B.FractionalSeconds,1);break;case"SS":e=oe(B.FractionalSeconds,2);break;case"SSS":e=oe(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=pa(Zt.Short);break;case"ZZZZZ":e=pa(Zt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=pa(Zt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=pa(Zt.Long);break;default:return null}return Kl[t]=e,e}function Sv(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function UM(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function $M(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=Sv(e,o);return UM(t,n*(i-o))}function BM(t){if(fv(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return ya(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(AM))return HM(n)}let e=new Date(t);if(!fv(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function HM(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,c,u),e}function fv(t){return t instanceof Date&&!isNaN(t.valueOf())}var zM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,hv=22,Da=".",To="0",GM=";",qM=",",Jl="#";function WM(t,e,r,n,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=Wt(r,$e.Infinity);else{let u=KM(t);s&&(u=QM(u));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let F=i.match(zM);if(F===null)throw new Error(`${i} is not a valid digit info`);let z=F[1],U=F[3],Me=F[5];z!=null&&(l=Xl(z)),U!=null&&(d=Xl(U)),Me!=null?f=Xl(Me):U!=null&&d>f&&(f=d)}JM(u,d,f);let h=u.digits,p=u.integerLen,y=u.exponent,m=[];for(c=h.every(F=>!F);p<l;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?m=h.splice(p,h.length):(m=h,h=[0]);let v=[];for(h.length>=e.lgSize&&v.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)v.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(Wt(r,n)),m.length&&(a+=Wt(r,o)+m.join("")),y&&(a+=Wt(r,$e.Exponential)+"+"+y)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function ZM(t,e,r){let n=xM(e,Cv.Decimal),o=YM(n,Wt(e,$e.MinusSign));return WM(t,o,e,$e.Group,$e.Decimal,r)}function YM(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(GM),o=n[0],i=n[1],s=o.indexOf(Da)!==-1?o.split(Da):[o.substring(0,o.lastIndexOf(To)+1),o.substring(o.lastIndexOf(To)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf(Jl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===To?r.minFrac=r.maxFrac=l+1:d===Jl?r.maxFrac=l+1:r.posSuf+=d}let u=a.split(qM);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-r.posPre.length-r.posSuf.length,d=i.indexOf(Jl);r.negPre=i.substring(0,d).replace(/'/g,""),r.negSuf=i.slice(d+l).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function QM(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function KM(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(Da))>-1&&(e=e.replace(Da,"")),(i=e.search(/e/i))>0?(o<0&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):o<0&&(o=e.length),i=0;e.charAt(i)===To;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===To;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>hv&&(n=n.splice(0,hv-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function JM(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,o=n.length-t.integerLen,i=Math.min(Math.max(e,o),r),s=i+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{o=Math.max(0,o),t.integerLen=1,n.length=Math.max(1,s=i+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o<Math.max(0,i);o++)n.push(0);let c=i!==0,u=e+t.integerLen,l=n.reduceRight(function(d,f,h,p){return f=f+d,p[h]=f<10?f:f-10,c&&(p[h]===0&&h>=u?p.pop():c=!1),f>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Xl(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function wa(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var ed=/\s+/,pv=[],Rj=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=pv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ed):pv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ed):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(ed).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(V(Qe),V(pn))},e.\u0275dir=We({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),Oj=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let o=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=bm(this.ngComponentOutletNgModule,gv(o)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(gv(o)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[o,i]of this._inputsUsed)i?(n.setInput(o,this.ngComponentOutletInputs[o]),this._inputsUsed.set(o,!1)):(n.setInput(o,void 0),this._inputsUsed.delete(o))}};e.\u0275fac=function(o){return new(o||e)(V(Mt))},e.\u0275dir=We({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Vt]});let t=e;return t})();function gv(t){return t.get(Lt).injector}var td=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Pj=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new td(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),mv(c,i)}});for(let i=0,s=o.length;i<s;i++){let c=o.get(i).context;c.index=i,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);mv(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(V(Mt),V(kn),V(zl))},e.\u0275dir=We({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function mv(t,e){t.context.$implicit=e.item}var Fj=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new nd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){vv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){vv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(V(Mt),V(kn))},e.\u0275dir=We({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),nd=class{constructor(){this.$implicit=null,this.ngIf=null}};function vv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${_e(e)}'.`)}var kj=(()=>{let e=class e{constructor(n,o,i){this._ngEl=n,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[i,s]=n.split("."),a=i.indexOf("-")===-1?void 0:It.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(V(Qe),V(Gl),V(pn))},e.\u0275dir=We({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),Lj=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(V(Mt))},e.\u0275dir=We({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Vt]});let t=e;return t})();function ld(t,e){return new w(2100,!1)}var rd=class{createSubscription(e,r){return Wl(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){Wl(()=>e.unsubscribe())}},od=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},XM=new od,eS=new rd,jj=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(Rr(n))return XM;if(Bl(n))return eS;throw ld(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(V(Ht,16))},e.\u0275pipe=Do({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var tS="mediumDate",nS=new E(""),rS=new E(""),Vj=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){if(n==null||n===""||n!==n)return null;try{let a=o??this.defaultOptions?.dateFormat??tS,c=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return OM(n,a,s||this.locale,c)}catch(a){throw ld(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(V(So,16),V(nS,24),V(rS,24))},e.\u0275pipe=Do({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var Uj=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Do({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var $j=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!oS(n))return null;i||=this._locale;try{let s=iS(n);return ZM(s,i,o)}catch(s){throw ld(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(V(So,16))},e.\u0275pipe=Do({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function oS(t){return!(t==null||t===""||t!==t)}function iS(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Tv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=dn({type:e}),e.\u0275inj=ln({});let t=e;return t})(),dd="browser",sS="server";function aS(t){return t===dd}function xo(t){return t===sS}var xv=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>aS(g(ot))?new id(g(le),window):new sd});let t=e;return t})(),id=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=cS(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function cS(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var sd=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Or=class{},uS="20";function lS(t){return/^https?:\/\//.test(t)}function dS(t){if(!(typeof t=="string")||t.trim()==="")return!1;try{let r=new URL(t);return!0}catch{return!1}}function fS(t){return t.endsWith("/")?t.slice(0,-1):t}function hS(t){return t.startsWith("/")?t.slice(1):t}var _v=t=>t.src,Nv=new E("",{providedIn:"root",factory:()=>_v});function pS(t,e){return function(n){return dS(n)||gS(n,e||[]),n=fS(n),[{provide:Nv,useValue:s=>(lS(s.src)&&mS(n,s.src),t(n,Y(D({},s),{src:hS(s.src)})))}]}}function gS(t,e){throw new w(2959,!1)}function mS(t,e){throw new w(2959,!1)}var Bj=pS(vS,void 0);function vS(t,e){let r=new URL(`${t}/${e.src}`);return r.searchParams.set("auto","format"),e.width&&r.searchParams.set("w",e.width.toString()),e.isPlaceholder&&r.searchParams.set("q",uS),r.href}var yS=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),DS=(()=>{let e=class e{constructor(){this.preloadedImages=g(yS),this.document=g(le)}createPreloadLinkTag(n,o,i,s){if(this.preloadedImages.has(o))return;this.preloadedImages.add(o);let a=n.createElement("link");n.setAttribute(a,"as","image"),n.setAttribute(a,"href",o),n.setAttribute(a,"rel","preload"),n.setAttribute(a,"fetchpriority","high"),s&&n.setAttribute(a,"imageSizes",s),i&&n.setAttribute(a,"imageSrcset",i),n.appendChild(this.document.head,a)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var wS=/^((\s*\d+w\s*(,|$)){1,})$/;var ES=[1,2],IS=640;var CS=1920,bS=1080;var Hj=(()=>{let e=class e{constructor(){this.imageLoader=g(Nv),this.config=MS(g(hg)),this.renderer=g(pn),this.imgElement=g(Qe).nativeElement,this.injector=g(Ne),this.isServer=xo(g(ot)),this.preloadLinkCreator=g(DS),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){st("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let o=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&o&&i&&o!==i&&this.injector.get(G).runOutsideAngular(()=>{this.lcpObserver?.updateImage(o,i)})}}callImageLoader(n){let o=n;return this.loaderParams&&(o.loaderParams=this.loaderParams),this.imageLoader(o)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=wS.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let s=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,o=n;return this.sizes?.trim()==="100vw"&&(o=n.filter(s=>s>=IS)),o.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let o=this.getRewrittenSrc();this.setHostAttribute("src",o);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return ES.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>CS||this.height>bS),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==_v&&!n}generatePlaceholder(n){let{placeholderResolution:o}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:o,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let o=()=>{let a=this.injector.get(Ht);i(),s(),this.placeholder=!1,a.markForCheck()},i=this.renderer.listen(n,"load",o),s=this.renderer.listen(n,"error",o)}ngOnDestroy(){}setHostAttribute(n,o){this.renderer.setAttribute(this.imgElement,n,o)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=We({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(o,i){o&2&&Fl("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",SS],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",ql],height:[2,"height","height",ql],loading:"loading",priority:[2,"priority","priority",zt],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",zt],fill:[2,"fill","fill",zt],placeholder:[2,"placeholder","placeholder",TS],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[ea,Vt]});let t=e;return t})();function MS(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},fl,t,e)}function SS(t){return typeof t=="string"?t:ke(t)}function TS(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:zt(t)}var No=class{},Ia=class{},Qt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
+ `).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var hd=class{encodeKey(e){return Rv(e)}encodeValue(e){return Rv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function xS(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var _S=/%(\d[a-f0-9])/gi,NS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Rv(t){return encodeURIComponent(t).replace(_S,(e,r)=>NS[r]??e)}function Ea(t){return`${t}`}var vn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new hd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=xS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(Ea):[Ea(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Ea(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(Ea(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var pd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function AS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ov(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Pv(t){return typeof Blob<"u"&&t instanceof Blob}function Fv(t){return typeof FormData<"u"&&t instanceof FormData}function RS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var _o=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(AS(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Qt,this.context??=new pd,!this.params)this.params=new vn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Ov(this.body)||Pv(this.body)||Fv(this.body)||RS(this.body)?this.body:this.body instanceof vn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Fv(this.body)?null:Pv(this.body)?this.body.type||null:Ov(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof vn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},yn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(yn||{}),Ao=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Qt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ca=class t extends Ao{constructor(e={}){super(e),this.type=yn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ro=class t extends Ao{constructor(e={}){super(e),this.type=yn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},mn=class extends Ao{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Uv=200,OS=204;function fd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var PS=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof _o)s=n;else{let u;i.headers instanceof Qt?u=i.headers:u=new Qt(i.headers);let l;i.params&&(i.params instanceof vn?l=i.params:l=new vn({fromObject:i.params})),s=new _o(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=x(s).pipe(lt(u=>this.handler.handle(u)));if(n instanceof _o||i.observe==="events")return a;let c=a.pipe(ne(u=>u instanceof Ro));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(R(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(R(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new vn().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,fd(i,o))}post(n,o,i={}){return this.request("POST",n,fd(i,o))}put(n,o,i={}){return this.request("PUT",n,fd(i,o))}};e.\u0275fac=function(o){return new(o||e)(C(No))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),FS=/^\)\]\}',?\n/,kS="X-Request-URL";function kv(t){if(t.url)return t.url;let e=kS.toLocaleLowerCase();return t.headers.get(e)}var LS=(()=>{let e=class e{constructor(){this.fetchImpl=g(gd,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(G)}handle(n){return new k(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(md,s=>o.error(new mn({error:s}))),()=>i.abort()})}doRequest(n,o,i){return Wn(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:o},s)));jS(p),i.next({type:yn.Sent}),a=yield p}catch(p){i.error(new mn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let c=new Qt(a.headers),u=a.statusText,l=kv(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&i.next(new Ca({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),y=[],m=a.body.getReader(),v=0,F,z,U=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Wn(this,null,function*(){for(;;){let{done:ie,value:Ge}=yield m.read();if(ie)break;if(y.push(Ge),v+=Ge.length,n.reportProgress){z=n.responseType==="text"?(z??"")+(F??=new TextDecoder).decode(Ge,{stream:!0}):void 0;let qn=()=>i.next({type:yn.DownloadProgress,total:p?+p:void 0,loaded:v,partialText:z});U?U.run(qn):qn()}}}));let Me=this.concatChunks(y,v);try{let ie=a.headers.get("Content-Type")??"";f=this.parseBody(n,Me,ie)}catch(ie){i.error(new mn({error:ie,headers:new Qt(a.headers),status:a.status,statusText:a.statusText,url:kv(a)??n.urlWithParams}));return}}d===0&&(d=f?Uv:0),d>=200&&d<300?(i.next(new Ro({body:f,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new mn({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(FS,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),n.headers.has("Accept")||(o.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),gd=class{};function md(){}function jS(t){t.then(md,md)}function $v(t,e){return e(t)}function VS(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function US(t,e,r){return(n,o)=>je(r,()=>e(n,i=>t(i,o)))}var $S=new E(""),vd=new E(""),BS=new E(""),Bv=new E("",{providedIn:"root",factory:()=>!0});function HS(){let t=null;return(e,r)=>{t===null&&(t=(g($S,{optional:!0})??[]).reduceRight(VS,$v));let n=g(bt);if(g(Bv)){let i=n.add();return t(e,r).pipe(nn(()=>n.remove(i)))}else return t(e,r)}}var Lv=(()=>{let e=class e extends No{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(bt),this.contributeToStability=g(Bv)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(vd),...this.injector.get(BS,[])]));this.chain=o.reduceRight((i,s)=>US(i,s,this.injector),$v)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(nn(()=>this.pendingTasks.remove(o)))}else return this.chain(n,o=>this.backend.handle(o))}};e.\u0275fac=function(o){return new(o||e)(C(Ia),C(Ie))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var zS=/^\)\]\}',?\n/;function GS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var jv=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new w(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?Q(o.\u0275loadImpl()):x(null)).pipe(de(()=>new k(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((m,v)=>a.setRequestHeader(m,v.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let m=n.detectContentTypeHeader();m!==null&&a.setRequestHeader("Content-Type",m)}if(n.responseType){let m=n.responseType.toLowerCase();a.responseType=m!=="json"?m:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let m=a.statusText||"OK",v=new Qt(a.getAllResponseHeaders()),F=GS(a)||n.url;return u=new Ca({headers:v,status:a.status,statusText:m,url:F}),u},d=()=>{let{headers:m,status:v,statusText:F,url:z}=l(),U=null;v!==OS&&(U=typeof a.response>"u"?a.responseText:a.response),v===0&&(v=U?Uv:0);let Me=v>=200&&v<300;if(n.responseType==="json"&&typeof U=="string"){let ie=U;U=U.replace(zS,"");try{U=U!==""?JSON.parse(U):null}catch(Ge){U=ie,Me&&(Me=!1,U={error:Ge,text:U})}}Me?(s.next(new Ro({body:U,headers:m,status:v,statusText:F,url:z||void 0})),s.complete()):s.error(new mn({error:U,headers:m,status:v,statusText:F,url:z||void 0}))},f=m=>{let{url:v}=l(),F=new mn({error:m,status:a.status||0,statusText:a.statusText||"Unknown Error",url:v||void 0});s.error(F)},h=!1,p=m=>{h||(s.next(l()),h=!0);let v={type:yn.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),n.responseType==="text"&&a.responseText&&(v.partialText=a.responseText),s.next(v)},y=m=>{let v={type:yn.UploadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),s.next(v)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",y)),a.send(c),s.next({type:yn.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",y)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(C(Or))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Hv=new E(""),qS="XSRF-TOKEN",WS=new E("",{providedIn:"root",factory:()=>qS}),ZS="X-XSRF-TOKEN",YS=new E("",{providedIn:"root",factory:()=>ZS}),ba=class{},QS=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=wa(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(C(le),C(ot),C(WS))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function KS(t,e){let r=t.url.toLowerCase();if(!g(Hv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(ba).getToken(),o=g(YS);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var zv=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(zv||{});function JS(t,e){return{\u0275kind:t,\u0275providers:e}}function rV(...t){let e=[PS,jv,Lv,{provide:No,useExisting:Lv},{provide:Ia,useFactory:()=>g(LS,{optional:!0})??g(jv)},{provide:vd,useValue:KS,multi:!0},{provide:Hv,useValue:!0},{provide:ba,useClass:QS}];for(let r of t)e.push(...r.\u0275providers);return Rs(e)}var Vv=new E("");function oV(){return JS(zv.LegacyInterceptors,[{provide:Vv,useFactory:HS},{provide:vd,useExisting:Vv,multi:!0}])}var wd=class extends va{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ed=class t extends wd{static makeCurrent(){Dv(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=XS();return r==null?null:eT(r)}resetBaseElement(){Oo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return wa(document.cookie,e)}},Oo=null;function XS(){return Oo=Oo||document.querySelector("base"),Oo?Oo.getAttribute("href"):null}function eT(t){return new URL(t,document.baseURI).pathname}var Id=class{addToWindow(e){ue.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new w(5103,!1);return i},ue.getAllAngularTestabilities=()=>e.getAllTestabilities(),ue.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=ue.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?$n().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},tT=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ma=new E(""),Zv=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new w(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(C(Ma),C(G))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Po=class{constructor(e){this._doc=e}},yd="ng-app-id",Yv=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=xo(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${yd}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(yd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(yd,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(C(le),C(zs),C(dl,8),C(ot))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Dd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},bd=/%COMP%/g,Qv="%COMP%",nT=`_nghost-${Qv}`,rT=`_ngcontent-${Qv}`,oT=!0,iT=new E("",{providedIn:"root",factory:()=>oT});function sT(t){return rT.replace(bd,t)}function aT(t){return nT.replace(bd,t)}function Kv(t,e){return e.map(r=>r.replace(bd,t))}var Gv=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=xo(c),this.defaultRenderer=new Fo(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Dt.ShadowDom&&(o=Y(D({},o),{encapsulation:Dt.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Sa?i.applyToHost(n):i instanceof ko&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Dt.Emulated:s=new Sa(u,l,o,this.appId,d,a,c,f);break;case Dt.ShadowDom:return new Cd(u,l,n,o,a,c,this.nonce,f);default:s=new ko(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(C(Zv),C(Yv),C(zs),C(iT),C(le),C(ot),C(G),C(dl))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Fo=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Dd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(qv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(qv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new w(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Dd[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Dd[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(It.DashCase|It.Important)?e.style.setProperty(r,n,o&It.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&It.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=$n().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function qv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Cd=class extends Fo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Kv(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ko=class extends Fo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Kv(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Sa=class extends ko{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=sT(u),this.hostAttr=aT(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},cT=(()=>{let e=class e extends Po{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),uT=(()=>{let e=class e extends Po{constructor(n){super(n),this.delegate=g(cv,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,o,i){return this.delegate.addEventListener(n,o,i)}removeEventListener(n,o,i){return this.delegate.removeEventListener(n,o,i)}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Wv=["alt","control","meta","shift"],lT={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},dT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},fT=(()=>{let e=class e extends Po{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$n().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Wv.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=lT[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Wv.forEach(a=>{if(a!==i){let c=dT[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function hT(){Ed.makeCurrent()}function pT(){return new rt}function gT(){return dg(document),document}var mT=[{provide:ot,useValue:dd},{provide:ll,useValue:hT,multi:!0},{provide:le,useFactory:gT,deps:[]}],DV=Hl(sv,"browser",mT),vT=new E(""),yT=[{provide:Mo,useClass:Id,deps:[]},{provide:Ul,useClass:ra,deps:[G,oa,Mo]},{provide:ra,useClass:ra,deps:[G,oa,Mo]}],DT=[{provide:Os,useValue:"root"},{provide:rt,useFactory:pT,deps:[]},{provide:Ma,useClass:cT,multi:!0,deps:[le,G,ot]},{provide:Ma,useClass:fT,multi:!0,deps:[le]},{provide:Ma,useClass:uT,multi:!0},Gv,Yv,Zv,{provide:Ir,useExisting:Gv},{provide:Or,useClass:tT,deps:[]},[]],wV=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:zs,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(C(vT,12))},e.\u0275mod=dn({type:e}),e.\u0275inj=ln({providers:[...DT,...yT],imports:[Tv,av]});let t=e;return t})();var Jv=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var wT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=C(ET),i},providedIn:"root"});let t=e;return t})(),ET=(()=>{let e=class e extends wT{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case it.NONE:return o;case it.HTML:return $t(o,"HTML")?ke(o):pl(this._doc,String(o)).toString();case it.STYLE:return $t(o,"Style")?ke(o):o;case it.SCRIPT:if($t(o,"Script"))return ke(o);throw new w(5200,!1);case it.URL:return $t(o,"URL")?ke(o):qs(String(o));case it.RESOURCE_URL:if($t(o,"ResourceURL"))return ke(o);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(n){return mg(n)}bypassSecurityTrustStyle(n){return vg(n)}bypassSecurityTrustScript(n){return yg(n)}bypassSecurityTrustUrl(n){return Dg(n)}bypassSecurityTrustResourceUrl(n){return wg(n)}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var O="primary",Qo=Symbol("RouteTitle"),_d=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Ur(t){return new _d(t)}function CT(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=t[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function bT(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!Tt(t[r],e[r]))return!1;return!0}function Tt(t,e){let r=t?Nd(t):void 0,n=e?Nd(e):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!ly(t[o],e[o]))return!1;return!0}function Nd(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function ly(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((o,i)=>n[i]===o)}else return t===e}function dy(t){return t.length>0?t[t.length-1]:null}function wn(t){return cc(t)?t:Rr(t)?Q(Promise.resolve(t)):x(t)}var MT={exact:hy,subset:py},fy={exact:ST,subset:TT,ignored:()=>!0};function Xv(t,e,r){return MT[r.paths](t.root,e.root,r.matrixParams)&&fy[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function ST(t,e){return Tt(t,e)}function hy(t,e,r){if(!Hn(t.segments,e.segments)||!_a(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!hy(t.children[n],e.children[n],r))return!1;return!0}function TT(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>ly(t[r],e[r]))}function py(t,e,r){return gy(t,e,e.segments,r)}function gy(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Hn(o,r)||e.hasChildren()||!_a(o,r,n))}else if(t.segments.length===r.length){if(!Hn(t.segments,r)||!_a(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!py(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!Hn(t.segments,o)||!_a(t.segments,o,n)||!t.children[O]?!1:gy(t.children[O],e,i,n)}}function _a(t,e,r){return e.every((n,o)=>fy[r](t[o].parameters,n.parameters))}var Jt=class{constructor(e=new H([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ur(this.queryParams),this._queryParamMap}toString(){return NT.serialize(this)}},H=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Na(this)}},Bn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Ur(this.parameters),this._parameterMap}toString(){return vy(this)}};function xT(t,e){return Hn(t,e)&&t.every((r,n)=>Tt(r.parameters,e[n].parameters))}function Hn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function _T(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===O&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==O&&(r=r.concat(e(o,n)))}),r}var Ko=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new $r,providedIn:"root"});let t=e;return t})(),$r=class{parse(e){let r=new Rd(e);return new Jt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Lo(e.root,!0)}`,n=OT(e.queryParams),o=typeof e.fragment=="string"?`#${AT(e.fragment)}`:"";return`${r}${n}${o}`}},NT=new $r;function Na(t){return t.segments.map(e=>vy(e)).join("/")}function Lo(t,e){if(!t.hasChildren())return Na(t);if(e){let r=t.children[O]?Lo(t.children[O],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==O&&n.push(`${o}:${Lo(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=_T(t,(n,o)=>o===O?[Lo(t.children[O],!1)]:[`${o}:${Lo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[O]!=null?`${Na(t)}/${r[0]}`:`${Na(t)}/(${r.join("//")})`}}function my(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ta(t){return my(t).replace(/%3B/gi,";")}function AT(t){return encodeURI(t)}function Ad(t){return my(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Aa(t){return decodeURIComponent(t)}function ey(t){return Aa(t.replace(/\+/g,"%20"))}function vy(t){return`${Ad(t.path)}${RT(t.parameters)}`}function RT(t){return Object.entries(t).map(([e,r])=>`;${Ad(e)}=${Ad(r)}`).join("")}function OT(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Ta(r)}=${Ta(o)}`).join("&"):`${Ta(r)}=${Ta(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var PT=/^[^\/()?;#]+/;function Md(t){let e=t.match(PT);return e?e[0]:""}var FT=/^[^\/()?;=#]+/;function kT(t){let e=t.match(FT);return e?e[0]:""}var LT=/^[^=?&#]+/;function jT(t){let e=t.match(LT);return e?e[0]:""}var VT=/^[^&#]+/;function UT(t){let e=t.match(VT);return e?e[0]:""}var Rd=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new H([],{}):new H([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[O]=new H(e,r)),n}parseSegment(){let e=Md(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new Bn(Aa(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=kT(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Md(this.remaining);o&&(n=o,this.capture(n))}e[Aa(r)]=Aa(n)}parseQueryParam(e){let r=jT(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=UT(this.remaining);s&&(n=s,this.capture(n))}let o=ey(r),i=ey(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Md(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new w(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=O);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[O]:new H([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new w(4011,!1)}};function yy(t){return t.segments.length>0?new H([],{[O]:t}):t}function Dy(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Dy(o);if(n===O&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new H(t.segments,e);return $T(r)}function $T(t){if(t.numberOfChildren===1&&t.children[O]){let e=t.children[O];return new H(t.segments.concat(e.segments),e.children)}return t}function zn(t){return t instanceof Jt}function BT(t,e,r=null,n=null){let o=wy(t);return Ey(o,e,r,n)}function wy(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new H(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=yy(n);return e??o}function Ey(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Sd(o,o,o,r,n);let i=HT(e);if(i.toRoot())return Sd(o,o,new H([],{}),r,n);let s=zT(i,o,t),a=s.processChildren?Uo(s.segmentGroup,s.index,i.commands):Cy(s.segmentGroup,s.index,i.commands);return Sd(o,s.segmentGroup,a,r,n)}function Ra(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ho(t){return typeof t=="object"&&t!=null&&t.outlets}function Sd(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Iy(t,e,r);let a=yy(Dy(s));return new Jt(a,i,o)}function Iy(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Iy(i,e,r)}),new H(t.segments,n)}var Oa=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ra(n[0]))throw new w(4003,!1);let o=n.find(Ho);if(o&&o!==dy(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function HT(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Oa(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Oa(r,e,n)}var Lr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function zT(t,e,r){if(t.isAbsolute)return new Lr(e,!0,0);if(!r)return new Lr(e,!1,NaN);if(r.parent===null)return new Lr(r,!0,0);let n=Ra(t.commands[0])?0:1,o=r.segments.length-1+n;return GT(r,o,t.numberOfDoubleDots)}function GT(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new w(4005,!1);o=n.segments.length}return new Lr(n,!1,o-i)}function qT(t){return Ho(t[0])?t[0].outlets:{[O]:t}}function Cy(t,e,r){if(t??=new H([],{}),t.segments.length===0&&t.hasChildren())return Uo(t,e,r);let n=WT(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new H(t.segments.slice(0,n.pathIndex),{});return i.children[O]=new H(t.segments.slice(n.pathIndex),t.children),Uo(i,0,o)}else return n.match&&o.length===0?new H(t.segments,{}):n.match&&!t.hasChildren()?Od(t,e,r):n.match?Uo(t,0,o):Od(t,e,r)}function Uo(t,e,r){if(r.length===0)return new H(t.segments,{});{let n=qT(r),o={};if(Object.keys(n).some(i=>i!==O)&&t.children[O]&&t.numberOfChildren===1&&t.children[O].segments.length===0){let i=Uo(t.children[O],e,r);return new H(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Cy(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new H(t.segments,o)}}function WT(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(n>=r.length)return i;let s=t.segments[o],a=r[n];if(Ho(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ny(c,u,s))return i;n+=2}else{if(!ny(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Od(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(Ho(i)){let c=ZT(i.outlets);return new H(n,c)}if(o===0&&Ra(r[0])){let c=t.segments[e];n.push(new Bn(c.path,ty(r[0]))),o++;continue}let s=Ho(i)?i.outlets[O]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&Ra(a)?(n.push(new Bn(s,ty(a))),o+=2):(n.push(new Bn(s,{})),o++)}return new H(n,{})}function ZT(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Od(new H([],{}),0,n))}),e}function ty(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function ny(t,e,r){return t==r.path&&Tt(e,r.parameters)}var $o="imperative",pe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(pe||{}),Je=class{constructor(e,r){this.id=e,this.url=r}},Br=class extends Je{constructor(e,r,n="imperative",o=null){super(e,r),this.type=pe.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ut=class extends Je{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=pe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},He=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(He||{}),Pa=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Pa||{}),Kt=class extends Je{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=pe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Dn=class extends Je{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=pe.NavigationSkipped}},zo=class extends Je{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=pe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Fa=class extends Je{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pd=class extends Je{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fd=class extends Je{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=pe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kd=class extends Je{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ld=class extends Je{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jd=class{constructor(e){this.route=e,this.type=pe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vd=class{constructor(e){this.route=e,this.type=pe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ud=class{constructor(e){this.snapshot=e,this.type=pe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$d=class{constructor(e){this.snapshot=e,this.type=pe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bd=class{constructor(e){this.snapshot=e,this.type=pe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hd=class{constructor(e){this.snapshot=e,this.type=pe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ka=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=pe.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Go=class{},Hr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function YT(t,e){return t.providers&&!t._injector&&(t._injector=ta(t.providers,e,`Route: ${t.path}`)),t._injector??e}function ct(t){return t.outlet||O}function QT(t,e){let r=t.filter(n=>ct(n)===e);return r.push(...t.filter(n=>ct(n)!==e)),r}function Jo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var zd=class{get injector(){return Jo(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Xo(this.rootInjector),this.attachRef=null}},Xo=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new zd(this.rootInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(C(Ie))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),La=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Gd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Gd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=qd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return qd(e,this._root).map(r=>r.value)}};function Gd(t,e){if(t===e.value)return e;for(let r of e.children){let n=Gd(t,r);if(n)return n}return null}function qd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=qd(t,r);if(n.length)return n.unshift(e),n}return[]}var Be=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function kr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ja=class extends La{constructor(e,r){super(e),this.snapshot=r,tf(this,e)}toString(){return this.snapshot.toString()}};function by(t){let e=KT(t),r=new me([new Bn("",{})]),n=new me({}),o=new me({}),i=new me({}),s=new me(""),a=new Gn(r,n,i,s,o,O,t,e.root);return a.snapshot=e.root,new ja(new Be(a,[]),e)}function KT(t){let e={},r={},n={},o="",i=new jr([],e,n,o,r,O,t,null,{});return new Ua("",new Be(i,[]))}var Gn=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[Qo]))??x(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(e=>Ur(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(e=>Ur(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Va(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),o?.data),t._resolvedData)}:n={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},o&&Sy(o)&&(n.resolve[Qo]=o.title),n}var jr=class{get title(){return this.data?.[Qo]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ur(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ur(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Ua=class extends La{constructor(e,r){super(r),this.url=e,tf(this,r)}toString(){return My(this._root)}};function tf(t,e){e.value._routerState=t,e.children.forEach(r=>tf(t,r))}function My(t){let e=t.children.length>0?` { ${t.children.map(My).join(", ")} } `:"";return`${t.value}${e}`}function Td(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Tt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Tt(e.params,r.params)||t.paramsSubject.next(r.params),bT(e.url,r.url)||t.urlSubject.next(r.url),Tt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Wd(t,e){let r=Tt(t.params,e.params)&&xT(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Wd(t.parent,e.parent))}function Sy(t){return typeof t.title=="string"||t.title===null}var JT=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=O,this.activateEvents=new ye,this.deactivateEvents=new ye,this.attachEvents=new ye,this.detachEvents=new ye,this.parentContexts=g(Xo),this.location=g(Mt),this.changeDetector=g(Ht),this.inputBinder=g(Ga,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Zd(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=We({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vt]});let t=e;return t})(),Zd=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Gn?this.route:e===Xo?this.childContexts:this.parent.get(e,r)}},Ga=new E(""),ry=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Jr([o.queryParams,o.params,o.data]).pipe(de(([s,a,c],u)=>(c=D(D(D({},s),a),c),u===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=uv(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function XT(t,e,r){let n=qo(t,e._root,r?r._root:void 0);return new ja(n,e)}function qo(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=ex(t,e,r);return new Be(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>qo(t,a)),s}}let n=tx(e.value),o=e.children.map(i=>qo(t,i));return new Be(n,o)}}function ex(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return qo(t,n,o);return qo(t,n)})}function tx(t){return new Gn(new me(t.url),new me(t.params),new me(t.queryParams),new me(t.fragment),new me(t.data),t.outlet,t.component,t)}var Wo=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Ty="ngNavigationCancelingError";function $a(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=zn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=xy(!1,He.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function xy(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Ty]=!0,r.cancellationCode=e,r}function nx(t){return _y(t)&&zn(t.url)}function _y(t){return!!t&&t[Ty]}var rx=(t,e,r,n)=>R(o=>(new Yd(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Yd=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Td(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=kr(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=kr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=kr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=kr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Hd(i.value.snapshot))}),e.children.length&&this.forwardEvent(new $d(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Td(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Td(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Ba=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Vr=class{constructor(e,r){this.component=e,this.route=r}};function ox(t,e,r){let n=t._root,o=e?e._root:null;return jo(n,o,r,[n.value])}function ix(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Gr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!tp(t)?t:e.get(t):n}function jo(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=kr(e);return t.children.forEach(s=>{sx(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Bo(a,r.getContext(s),o)),o}function sx(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=ax(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ba(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?jo(t,e,a?a.children:null,n,o):jo(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Vr(a.outlet.component,s))}else s&&Bo(e,a,o),o.canActivateChecks.push(new Ba(n)),i.component?jo(t,null,a?a.children:null,n,o):jo(t,null,r,n,o);return o}function ax(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Hn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Hn(t.url,e.url)||!Tt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wd(t,e)||!Tt(t.queryParams,e.queryParams);case"paramsChange":default:return!Wd(t,e)}}function Bo(t,e,r){let n=kr(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Bo(s,e.children.getContext(i),r):Bo(s,null,r):Bo(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Vr(e.outlet.component,o)):r.canDeactivateChecks.push(new Vr(null,o)):r.canDeactivateChecks.push(new Vr(null,o))}function ei(t){return typeof t=="function"}function cx(t){return typeof t=="boolean"}function ux(t){return t&&ei(t.canLoad)}function lx(t){return t&&ei(t.canActivate)}function dx(t){return t&&ei(t.canActivateChild)}function fx(t){return t&&ei(t.canDeactivate)}function hx(t){return t&&ei(t.canMatch)}function Ny(t){return t instanceof _t||t?.name==="EmptyError"}var xa=Symbol("INITIAL_VALUE");function zr(){return de(t=>Jr(t.map(e=>e.pipe(At(1),fc(xa)))).pipe(R(e=>{for(let r of e)if(r!==!0){if(r===xa)return xa;if(r===!1||px(r))return r}return!0}),ne(e=>e!==xa),At(1)))}function px(t){return zn(t)||t instanceof Wo}function gx(t,e){return ee(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?x(Y(D({},r),{guardsResult:!0})):mx(s,n,o,t).pipe(ee(a=>a&&cx(a)?vx(n,i,t,e):x(a)),R(a=>Y(D({},r),{guardsResult:a})))})}function mx(t,e,r,n){return Q(t).pipe(ee(o=>Ix(o.component,o.route,r,e,n)),mt(o=>o!==!0,!0))}function vx(t,e,r,n){return Q(e).pipe(lt(o=>ir(Dx(o.route.parent,n),yx(o.route,n),Ex(t,o.path,r),wx(t,o.route,r))),mt(o=>o!==!0,!0))}function yx(t,e){return t!==null&&e&&e(new Bd(t)),x(!0)}function Dx(t,e){return t!==null&&e&&e(new Ud(t)),x(!0)}function wx(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let o=n.map(i=>_i(()=>{let s=Jo(e)??r,a=Gr(i,s),c=lx(a)?a.canActivate(e,t):je(s,()=>a(e,t));return wn(c).pipe(mt())}));return x(o).pipe(zr())}function Ex(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>ix(s)).filter(s=>s!==null).map(s=>_i(()=>{let a=s.guards.map(c=>{let u=Jo(s.node)??r,l=Gr(c,u),d=dx(l)?l.canActivateChild(n,t):je(u,()=>l(n,t));return wn(d).pipe(mt())});return x(a).pipe(zr())}));return x(i).pipe(zr())}function Ix(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return x(!0);let s=i.map(a=>{let c=Jo(e)??o,u=Gr(a,c),l=fx(u)?u.canDeactivate(t,e,r,n):je(c,()=>u(t,e,r,n));return wn(l).pipe(mt())});return x(s).pipe(zr())}function Cx(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return x(!0);let i=o.map(s=>{let a=Gr(s,t),c=ux(a)?a.canLoad(e,r):je(t,()=>a(e,r));return wn(c)});return x(i).pipe(zr(),Ay(n))}function Ay(t){return ec(se(e=>{if(typeof e!="boolean")throw $a(t,e)}),R(e=>e===!0))}function bx(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=Gr(s,t),c=hx(a)?a.canMatch(e,r):je(t,()=>a(e,r));return wn(c)});return x(i).pipe(zr(),Ay(n))}var Zo=class{constructor(e){this.segmentGroup=e||null}},Yo=class extends Error{constructor(e){super(),this.urlTree=e}};function Fr(t){return rr(new Zo(t))}function Mx(t){return rr(new w(4e3,!1))}function Sx(t){return rr(xy(!1,He.GuardRejected))}var Qd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return x(n);if(o.numberOfChildren>1||!o.children[O])return Mx(`${e.redirectTo}`);o=o.children[O]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:p,title:y}=o,m=je(i,()=>a({params:h,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:y}));if(m instanceof Jt)throw new Yo(m);r=m}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Yo(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Jt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new H(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new w(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},Kd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Tx(t,e,r,n,o){let i=nf(t,e,r);return i.matched?(n=YT(e,n),bx(n,e,r,o).pipe(R(s=>s===!0?i:D({},Kd)))):x(i)}function nf(t,e,r){if(e.path==="**")return xx(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},Kd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||CT)(r,t,e);if(!o)return D({},Kd);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?D(D({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function xx(t){return{matched:!0,parameters:t.length>0?dy(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function oy(t,e,r,n){return r.length>0&&Ax(t,r,n)?{segmentGroup:new H(e,Nx(n,new H(r,t.children))),slicedSegments:[]}:r.length===0&&Rx(t,r,n)?{segmentGroup:new H(t.segments,_x(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new H(t.segments,t.children),slicedSegments:r}}function _x(t,e,r,n){let o={};for(let i of r)if(qa(t,e,i)&&!n[ct(i)]){let s=new H([],{});o[ct(i)]=s}return D(D({},n),o)}function Nx(t,e){let r={};r[O]=e;for(let n of t)if(n.path===""&&ct(n)!==O){let o=new H([],{});r[ct(n)]=o}return r}function Ax(t,e,r){return r.some(n=>qa(t,e,n)&&ct(n)!==O)}function Rx(t,e,r){return r.some(n=>qa(t,e,n))}function qa(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Ox(t,e,r,n){return ct(t)!==n&&(n===O||!qa(e,r,t))?!1:nf(e,t,r).matched}function Px(t,e,r){return e.length===0&&!t.children[r]}var Jd=class{};function Fx(t,e,r,n,o,i,s="emptyOnly"){return new Xd(t,e,r,n,o,s,i).recognize()}var kx=31,Xd=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=oy(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(R(({children:r,rootSnapshot:n})=>{let o=new Be(n,r),i=new Ua("",o),s=BT(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new jr([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),O,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,O,r).pipe(R(n=>({children:n,rootSnapshot:r})),Nt(n=>{if(n instanceof Yo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Zo?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(R(s=>s instanceof Be?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return Q(i).pipe(lt(s=>{let a=n.children[s],c=QT(r,s);return this.processSegmentGroup(e,c,a,s,o)}),Ai((s,a)=>(s.push(...a),s)),tn(null),dc(),ee(s=>{if(s===null)return Fr(n);let a=Ry(s);return Lx(a),x(a)}))}processSegment(e,r,n,o,i,s,a){return Q(r).pipe(lt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe(Nt(u=>{if(u instanceof Zo)return x(null);throw u}))),mt(c=>!!c),Nt(c=>{if(Ny(c))return Px(n,o,i)?x(new Jd):Fr(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return Ox(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Fr(o):Fr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=nf(r,o,i);if(!c)return Fr(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>kx&&(this.allowRedirects=!1));let h=new jr(i,u,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,iy(o),ct(o),o.component??o._loadedComponent??null,o,sy(o)),p=Va(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);let y=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(o,y).pipe(ee(m=>this.processSegment(e,n,r,m.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=Tx(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(de(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(de(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,p=new jr(f,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,iy(n),ct(n),n.component??n._loadedComponent??null,n,sy(n)),y=Va(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(y.params),p.data=Object.freeze(y.data);let{segmentGroup:m,slicedSegments:v}=oy(r,f,h,u);if(v.length===0&&m.hasChildren())return this.processChildren(l,u,m,p).pipe(R(z=>new Be(p,z)));if(u.length===0&&v.length===0)return x(new Be(p,[]));let F=ct(n)===i;return this.processSegment(l,u,m,v,F?O:i,!0,p).pipe(R(z=>new Be(p,z instanceof Be?[z]:[])))}))):Fr(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):Cx(e,r,n,this.urlSerializer).pipe(ee(o=>o?this.configLoader.loadChildren(e,r).pipe(se(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):Sx(r))):x({routes:[],injector:e})}};function Lx(t){t.sort((e,r)=>e.value.outlet===O?-1:r.value.outlet===O?1:e.value.outlet.localeCompare(r.value.outlet))}function jx(t){let e=t.value.routeConfig;return e&&e.path===""}function Ry(t){let e=[],r=new Set;for(let n of t){if(!jx(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=Ry(n.children);e.push(new Be(n.value,o))}return e.filter(n=>!r.has(n))}function iy(t){return t.data||{}}function sy(t){return t.resolve||{}}function Vx(t,e,r,n,o,i){return ee(s=>Fx(t,e,r,n,s.extractedUrl,o,i).pipe(R(({state:a,tree:c})=>Y(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Ux(t,e){return ee(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return x(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Oy(c))s.add(u);let a=0;return Q(s).pipe(lt(c=>i.has(c)?$x(c,n,t,e):(c.data=Va(c,c.parent,t).resolve,x(void 0))),se(()=>a++),sr(1),ee(c=>a===s.size?x(r):Se))})}function Oy(t){let e=t.children.map(r=>Oy(r)).flat();return[t,...e]}function $x(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!Sy(o)&&(i[Qo]=o.title),Bx(i,t,e,n).pipe(R(s=>(t._resolvedData=s,t.data=Va(t,t.parent,r).resolve,null)))}function Bx(t,e,r,n){let o=Nd(t);if(o.length===0)return x({});let i={};return Q(o).pipe(ee(s=>Hx(t[s],e,r,n).pipe(mt(),se(a=>{if(a instanceof Wo)throw $a(new $r,a);i[s]=a}))),sr(1),lc(i),Nt(s=>Ny(s)?Se:rr(s)))}function Hx(t,e,r,n){let o=Jo(e)??n,i=Gr(t,o),s=i.resolve?i.resolve(e,r):je(o,()=>i(e,r));return wn(s)}function xd(t){return de(e=>{let r=t(e);return r?Q(r).pipe(R(()=>e)):x(e)})}var Py=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===O);return o}getResolvedTitleForRoute(n){return n.data[Qo]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(zx),providedIn:"root"});let t=e;return t})(),zx=(()=>{let e=class e extends Py{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(C(Jv))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ti=new E("",{providedIn:"root",factory:()=>({})}),Gx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=gp({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ym],decls:1,vars:0,template:function(o,i){o&1&&Ll(0,"router-outlet")},dependencies:[JT],encapsulation:2});let t=e;return t})();function rf(t){let e=t.children&&t.children.map(rf),r=e?Y(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==O&&(r.component=Gx),r}var Ha=new E(""),of=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(aa)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=wn(n.loadComponent()).pipe(R(Fy),se(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),nn(()=>{this.componentLoaders.delete(n)})),i=new Xn(o,()=>new re).pipe(Jn());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return x({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=qx(o,this.compiler,n,this.onLoadEndListener).pipe(nn(()=>{this.childrenLoaders.delete(o)})),a=new Xn(s,()=>new re).pipe(Jn());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function qx(t,e,r,n){return wn(t.loadChildren()).pipe(R(Fy),ee(o=>o instanceof fo||Array.isArray(o)?x(o):Q(e.compileModuleAsync(o))),R(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(Ha,[],{optional:!0,self:!0}).flat()),{routes:s.map(rf),injector:i}}))}function Wx(t){return t&&typeof t=="object"&&"default"in t}function Fy(t){return Wx(t)?t.default:t}var sf=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Zx),providedIn:"root"});let t=e;return t})(),Zx=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ky=new E(""),Ly=new E("");function Yx(t,e,r){let n=t.get(Ly),o=t.get(le);return t.get(G).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Qx(t))),{onViewTransitionCreated:c}=n;return c&&je(t,()=>c({transition:a,from:e,to:r})),s})}function Qx(t){return new Promise(e=>{Xs({read:()=>setTimeout(e)},{injector:t})})}var Kx=new E(""),af=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re,this.transitionAbortSubject=new re,this.configLoader=g(of),this.environmentInjector=g(Ie),this.urlSerializer=g(Ko),this.rootContexts=g(Xo),this.location=g(Pr),this.inputBindingEnabled=g(Ga,{optional:!0})!==null,this.titleStrategy=g(Py),this.options=g(ti,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(sf),this.createViewTransition=g(ky,{optional:!0}),this.navigationErrorHandler=g(Kx,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=i=>this.events.next(new jd(i)),o=i=>this.events.next(new Vd(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(Y(D(D({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new me({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:$o,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ne(s=>s.id!==0),R(s=>Y(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),de(s=>{let a=!1,c=!1;return x(s).pipe(de(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",He.SupersededByNewNavigation),Se;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?Y(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Dn(u.id,this.urlSerializer.serialize(u.rawUrl),f,Pa.IgnoredSameUrlNavigation)),u.resolve(!1),Se}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return x(u).pipe(de(f=>{let h=this.transitions?.getValue();return this.events.next(new Br(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Se:Promise.resolve(f)}),Vx(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),se(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Y(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Fa(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:y,extras:m}=u,v=new Br(f,this.urlSerializer.serialize(h),p,y);this.events.next(v);let F=by(this.rootComponentType).snapshot;return this.currentTransition=s=Y(D({},u),{targetSnapshot:F,urlAfterRedirects:h,extras:Y(D({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(s)}else{let f="";return this.events.next(new Dn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Pa.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Se}}),se(u=>{let l=new Pd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),R(u=>(this.currentTransition=s=Y(D({},u),{guards:ox(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),gx(this.environmentInjector,u=>this.events.next(u)),se(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw $a(this.urlSerializer,u.guardsResult);let l=new Fd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ne(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",He.GuardRejected),!1)),xd(u=>{if(u.guards.canActivateChecks.length)return x(u).pipe(se(l=>{let d=new kd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),de(l=>{let d=!1;return x(l).pipe(Ux(this.paramsInheritanceStrategy,this.environmentInjector),se({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",He.NoDataFromResolver)}}))}),se(l=>{let d=new Ld(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),xd(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(se(h=>{d.component=h}),R(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Jr(l(u.targetSnapshot.root)).pipe(tn(null),At(1))}),xd(()=>this.afterPreactivation()),de(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?Q(d).pipe(R(()=>s)):x(s)}),R(u=>{let l=XT(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=Y(D({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),se(()=>{this.events.next(new Go)}),rx(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),At(1),se({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ut(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ri(this.transitionAbortSubject.pipe(se(u=>{throw u}))),nn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",He.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Nt(u=>{if(c=!0,_y(u))this.events.next(new Kt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),nx(u)?this.events.next(new Hr(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new zo(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=je(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Wo){let{message:f,cancellationCode:h}=$a(this.urlSerializer,d);this.events.next(new Kt(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new Hr(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Se}))}))}cancelNavigationTransition(n,o,i){let s=new Kt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Jx(t){return t!==$o}var Xx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(e_),providedIn:"root"});let t=e;return t})(),ef=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},e_=(()=>{let e=class e extends ef{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=cl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jy=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(t_),providedIn:"root"});let t=e;return t})(),t_=(()=>{let e=class e extends jy{constructor(){super(...arguments),this.location=g(Pr),this.urlSerializer=g(Ko),this.options=g(ti,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(sf),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Jt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=by(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof Br)this.stateMemento=this.createStateMemento();else if(n instanceof Dn)this.rawUrlTree=o.initialUrl;else if(n instanceof Fa){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??i,o)}}else n instanceof Go?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&!o.extras.skipLocationChange&&this.setBrowserUrl(o.targetBrowserUrl??this.rawUrlTree,o)):n instanceof Kt&&(n.code===He.GuardRejected||n.code===He.NoDataFromResolver)?this.restoreHistory(o):n instanceof zo?this.restoreHistory(o,!0):n instanceof ut&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=n instanceof Jt?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=D(D({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=D(D({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=cl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Vo||{});function Vy(t,e){t.events.pipe(ne(r=>r instanceof ut||r instanceof Kt||r instanceof zo||r instanceof Dn),R(r=>r instanceof ut||r instanceof Dn?Vo.COMPLETE:(r instanceof Kt?r.code===He.Redirect||r.code===He.SupersededByNewNavigation:!1)?Vo.REDIRECTING:Vo.FAILED),ne(r=>r!==Vo.REDIRECTING),At(1)).subscribe(()=>{e()})}function n_(t){throw t}var r_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},o_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Xt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(na),this.stateManager=g(jy),this.options=g(ti,{optional:!0})||{},this.pendingTasks=g(bt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(af),this.urlSerializer=g(Ko),this.location=g(Pr),this.urlHandlingStrategy=g(sf),this._events=new re,this.errorHandler=this.options.errorHandler||n_,this.navigated=!1,this.routeReuseStrategy=g(Xx),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Ha,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(Ga,{optional:!0}),this.eventsSubscription=new X,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Kt&&o.code!==He.Redirect&&o.code!==He.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof ut)this.navigated=!0;else if(o instanceof Hr){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Jx(i.source)},a);this.scheduleNavigation(c,$o,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}s_(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),$o,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=D({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=wy(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return Ey(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=zn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,$o,null,o)}navigate(n,o={skipLocationChange:!1}){return i_(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=D({},r_):o===!1?i=D({},o_):i=o,zn(n))return Xv(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Xv(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return Vy(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function i_(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new w(4008,!1)}function s_(t){return!(t instanceof Go)&&!(t instanceof Hr)}var ay=(()=>{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new re,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof ut&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(zn(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:Sg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:zn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(V(Xt),V(Gn),ul("tabindex"),V(pn),V(Qe),V(Yt))},e.\u0275dir=We({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&jl("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Ol("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",zt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",zt],replaceUrl:[2,"replaceUrl","replaceUrl",zt],routerLink:"routerLink"},standalone:!0,features:[ea,Vt]});let t=e;return t})(),jV=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ye,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof ut&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(gt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=Q(n).pipe(gt()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let o=a_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?n.isActive(s,o):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(V(Xt),V(Qe),V(pn),V(Ht),V(ay,8))},e.\u0275dir=We({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&zm(s,ay,5),o&2){let a;Gm(a=qm())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Vt]});let t=e;return t})();function a_(t){return!!t.paths}var za=class{};var c_=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ne(n=>n instanceof ut),lt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=ta(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return Q(i).pipe(gt())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=x(null);let s=i.pipe(ee(a=>a===null?x(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return Q([s,a]).pipe(gt())}else return s})}};e.\u0275fac=function(o){return new(o||e)(C(Xt),C(aa),C(Ie),C(za),C(of))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Uy=new E(""),u_=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=g(Ie),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Br?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ut?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Dn&&n.code===Pa.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ka&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>Wn(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Xs(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ka(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Ug()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function l_(t){return t.routerState.root}function ni(t,e){return{\u0275kind:t,\u0275providers:e}}function d_(){let t=g(Ne);return e=>{let r=t.get(gn);if(e!==r.components[0])return;let n=t.get(Xt),o=t.get($y);t.get(cf)===1&&n.initialNavigation(),t.get(By,null,P.Optional)?.setUpPreloading(),t.get(Uy,null,P.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var $y=new E("",{factory:()=>new re}),cf=new E("",{providedIn:"root",factory:()=>1});function f_(){return ni(2,[{provide:cf,useValue:0},{provide:ia,multi:!0,deps:[Ne],useFactory:e=>{let r=e.get(wv,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Xt),i=e.get($y);Vy(o,()=>{n(!0)}),e.get(af).afterPreactivation=()=>(n(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}])}function h_(){return ni(3,[{provide:ia,multi:!0,useFactory:()=>{let e=g(Xt);return()=>{e.setUpLocationChangeListener()}}},{provide:cf,useValue:2}])}var By=new E("");function p_(t){return ni(0,[{provide:By,useExisting:c_},{provide:za,useExisting:t}])}function g_(){return ni(8,[ry,{provide:Ga,useExisting:ry}])}function m_(t){let e=[{provide:ky,useValue:Yx},{provide:Ly,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return ni(9,e)}var cy=new E("ROUTER_FORROOT_GUARD"),v_=[Pr,{provide:Ko,useClass:$r},Xt,Xo,{provide:Gn,useFactory:l_,deps:[Xt]},of,[]],VV=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[v_,[],{provide:Ha,multi:!0,useValue:n},{provide:cy,useFactory:E_,deps:[[Xt,new mo,new As]]},{provide:ti,useValue:o||{}},o?.useHash?D_():w_(),y_(),o?.preloadingStrategy?p_(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?I_(o):[],o?.bindToComponentInputs?g_().\u0275providers:[],o?.enableViewTransitions?m_().\u0275providers:[],C_()]}}static forChild(n){return{ngModule:e,providers:[{provide:Ha,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(C(cy,8))},e.\u0275mod=dn({type:e}),e.\u0275inj=ln({});let t=e;return t})();function y_(){return{provide:Uy,useFactory:()=>{let t=g(xv),e=g(G),r=g(ti),n=g(af),o=g(Ko);return r.scrollOffset&&t.setOffset(r.scrollOffset),new u_(o,n,t,e,r)}}}function D_(){return{provide:Yt,useClass:Iv}}function w_(){return{provide:Yt,useClass:ud}}function E_(t){return"guarded"}function I_(t){return[t.initialNavigation==="disabled"?h_().\u0275providers:[],t.initialNavigation==="enabledBlocking"?f_().\u0275providers:[]]}var uy=new E("");function C_(){return[{provide:uy,useFactory:d_},{provide:sa,multi:!0,useExisting:uy}]}var ze=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(ze||{}),BV="*";function HV(t,e){return{type:ze.Trigger,name:t,definitions:e,options:{}}}function zV(t,e=null){return{type:ze.Animate,styles:e,timings:t}}function GV(t,e=null){return{type:ze.Group,steps:t,options:e}}function qV(t,e=null){return{type:ze.Sequence,steps:t,options:e}}function WV(t){return{type:ze.Style,styles:t,offset:null}}function ZV(t,e,r){return{type:ze.State,name:t,styles:e,options:r}}function YV(t){return{type:ze.Keyframes,steps:t}}function QV(t,e,r=null){return{type:ze.Transition,expr:t,animation:e,options:r}}function KV(t,e=null){return{type:ze.Reference,animation:t,options:e}}function JV(t=null){return{type:ze.AnimateChild,options:t}}function XV(t,e=null){return{type:ze.AnimateRef,animation:t,options:e}}function eU(t,e,r=null){return{type:ze.Query,selector:t,animation:e,options:r}}var Hy=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},zy=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==i&&this._onFinish()}),s.onDestroy(()=>{++n==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(o)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},tU="!";export{X as a,k as b,re as c,me as d,Wr as e,cD as f,ht as g,uD as h,lD as i,Se as j,Qr as k,Kr as l,Q as m,x as n,rr as o,fD as p,R as q,Jr as r,ee as s,gt as t,ir as u,_i as v,ID as w,uc as x,Xr as y,_D as z,ND as A,ne as B,AD as C,RD as D,Nt as E,lt as F,OD as G,Lf as H,At as I,PD as J,FD as K,jD as L,nn as M,mt as N,Ai as O,rc as P,Ef as Q,VD as R,fc as S,de as T,UD as U,Ri as V,$D as W,se as X,BD as Y,w as Z,Xh as _,I as $,ln as aa,E as ba,C as ca,g as da,mo as ea,As as fa,gp as ga,dn as ha,We as ia,Do as ja,Rs as ka,Ie as la,Zu as ma,Vt as na,yL as oa,DL as pa,wL as qa,EL as ra,cl as sa,ul as ta,Ne as ua,rt as va,Hs as wa,IL as xa,Qe as ya,ye as za,Qc as Aa,zs as Ba,ot as Ca,CL as Da,dl as Ea,it as Fa,bL as Ga,gI as Ha,ML as Ia,SL as Ja,V as Ka,Ug as La,kn as Ma,Er as Na,Ir as Oa,pn as Pa,G as Qa,BC as Ra,Xs as Sa,Mt as Ta,fb as Ua,hb as Va,NL as Wa,Tb as Xa,AL as Ya,ea as Za,jb as _a,Ol as $a,Xb as ab,Fl as bb,e0 as cb,RL as db,OL as eb,PL as fb,FL as gb,kL as hb,LL as ib,jL as jb,VL as kb,UL as lb,Vm as mb,Um as nb,Ll as ob,$m as pb,Bm as qb,m0 as rb,$L as sb,y0 as tb,D0 as ub,jl as vb,S0 as wb,BL as xb,HL as yb,zL as zb,N0 as Ab,A0 as Bb,zm as Cb,GL as Db,Gm as Eb,qm as Fb,qL as Gb,WL as Hb,ZL as Ib,YL as Jb,P0 as Kb,Wm as Lb,F0 as Mb,k0 as Nb,QL as Ob,L0 as Pb,KL as Qb,Ym as Rb,JL as Sb,XL as Tb,ej as Ub,tj as Vb,nj as Wb,rj as Xb,oj as Yb,ij as Zb,sj as _b,aj as $b,cj as ac,uj as bc,lj as cc,dj as dc,Tr as ec,fj as fc,Rr as gc,ia as hc,gn as ic,So as jc,hj as kc,Ht as lc,zt as mc,ql as nc,pj as oc,Wl as pc,vM as qc,gj as rc,$n as sc,le as tc,Pr as uc,Rj as vc,Oj as wc,Pj as xc,Fj as yc,kj as zc,Lj as Ac,jj as Bc,Vj as Cc,Uj as Dc,$j as Ec,Tv as Fc,aS as Gc,xo as Hc,Bj as Ic,Hj as Jc,Qt as Kc,vn as Lc,PS as Mc,$S as Nc,rV as Oc,oV as Pc,Gv as Qc,DV as Rc,wV as Sc,Jv as Tc,wT as Uc,ut as Vc,Gn as Wc,JT as Xc,Xt as Yc,ay as Zc,jV as _c,VV as $c,ze as ad,BV as bd,HV as cd,zV as dd,GV as ed,qV as fd,WV as gd,ZV as hd,YV as id,QV as jd,KV as kd,JV as ld,XV as md,eU as nd,Hy as od,zy as pd,tU as qd};