marketplacepos 3.11.5 → 3.11.6

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 (130) hide show
  1. package/Marketplace/3rdpartylicenses.txt +27 -27
  2. package/Marketplace/chunk-2O6KYIFC.js +1 -0
  3. package/Marketplace/chunk-3QAMTLNB.js +3 -0
  4. package/Marketplace/chunk-5DJHCNOC.js +4 -0
  5. package/Marketplace/chunk-5LCXVQBT.js +1 -0
  6. package/Marketplace/chunk-5ZUWMFL5.js +1 -0
  7. package/Marketplace/chunk-6B64VOO7.js +1 -0
  8. package/Marketplace/chunk-6DRNAUKE.js +8 -0
  9. package/Marketplace/chunk-6F6NSBIF.js +1 -0
  10. package/Marketplace/chunk-AL67KXJV.js +2 -0
  11. package/Marketplace/chunk-BD2QQPDK.js +1 -0
  12. package/Marketplace/chunk-BD5SMP3B.js +1 -0
  13. package/Marketplace/chunk-BFB7MXXJ.js +1 -0
  14. package/Marketplace/chunk-BMZAGAK3.js +1 -0
  15. package/Marketplace/chunk-CMKSEIUM.js +5 -0
  16. package/Marketplace/chunk-DEH6NGKQ.js +1 -0
  17. package/Marketplace/chunk-DT3B54LD.js +4 -0
  18. package/Marketplace/chunk-G5LCLRIW.js +1 -0
  19. package/Marketplace/chunk-GRMIXZTT.js +1 -0
  20. package/Marketplace/{chunk-TH6EVOI3.js → chunk-GSSZWMCP.js} +4 -4
  21. package/Marketplace/chunk-HJDBNMZS.js +1 -0
  22. package/Marketplace/chunk-INNTQ5YN.js +1 -0
  23. package/Marketplace/chunk-JGXFH32F.js +2 -0
  24. package/Marketplace/chunk-JM3LERUP.js +7 -0
  25. package/Marketplace/chunk-JQO7P26T.js +5 -0
  26. package/Marketplace/chunk-K3G6FMDF.js +1 -0
  27. package/Marketplace/chunk-KBYAFLE5.js +1 -0
  28. package/Marketplace/chunk-KUVW5SH2.js +1 -0
  29. package/Marketplace/chunk-MK34PW5S.js +1 -0
  30. package/Marketplace/{chunk-HZ3YSVLS.js → chunk-MSAVOLLA.js} +2 -2
  31. package/Marketplace/chunk-MSGMWJHN.js +1 -0
  32. package/Marketplace/chunk-MYMGWQRE.js +6 -0
  33. package/Marketplace/chunk-N4S3Q3EC.js +1 -0
  34. package/Marketplace/chunk-NRVXDIHY.js +1 -0
  35. package/Marketplace/chunk-NSM4JDXS.js +1 -0
  36. package/Marketplace/chunk-NSXGLHYH.js +1 -0
  37. package/Marketplace/chunk-OKEA4W2I.js +1 -0
  38. package/Marketplace/chunk-PPLACGQI.js +1 -0
  39. package/Marketplace/chunk-PRYDCJG5.js +1 -0
  40. package/Marketplace/chunk-PZOGC5DT.js +1 -0
  41. package/Marketplace/chunk-RKDI7CIB.js +2 -0
  42. package/Marketplace/chunk-RZ64BVFI.js +1 -0
  43. package/Marketplace/chunk-SP6QPE3M.js +1 -0
  44. package/Marketplace/chunk-SRYGE2HW.js +1 -0
  45. package/Marketplace/chunk-SZAOPIAL.js +1 -0
  46. package/Marketplace/chunk-TCC7PQV3.js +1 -0
  47. package/Marketplace/chunk-TDHJ34QP.js +1 -0
  48. package/Marketplace/chunk-TDK2QBFI.js +1 -0
  49. package/Marketplace/chunk-U5YOE633.js +5 -0
  50. package/Marketplace/chunk-UC57IYQT.js +47 -0
  51. package/Marketplace/chunk-UILE7H6I.js +1 -0
  52. package/Marketplace/chunk-UKSDL7LF.js +1 -0
  53. package/Marketplace/chunk-W3EAYQL3.js +1 -0
  54. package/Marketplace/chunk-W57W62AZ.js +1 -0
  55. package/Marketplace/chunk-W6KTDTXB.js +1 -0
  56. package/Marketplace/chunk-WQ7LUTQ2.js +1 -0
  57. package/Marketplace/chunk-XDNW2F3I.js +3 -0
  58. package/Marketplace/chunk-YZ67XPSX.js +1 -0
  59. package/Marketplace/chunk-ZKBLXGXT.js +2 -0
  60. package/Marketplace/index.html +3 -2
  61. package/Marketplace/main-AFNJEGW2.js +1 -0
  62. package/Marketplace/polyfills-Y3W47ZLP.js +2 -0
  63. package/Marketplace/scripts-TB7H6DN4.js +5 -0
  64. package/Marketplace/styles-STRQ65W6.css +1 -0
  65. package/package.json +1 -1
  66. package/Marketplace/chunk-26HLZRDA.js +0 -1
  67. package/Marketplace/chunk-2LVSLYBV.js +0 -1
  68. package/Marketplace/chunk-3G7XK5MI.js +0 -4
  69. package/Marketplace/chunk-4AXZQMAS.js +0 -1
  70. package/Marketplace/chunk-4BQPB4PL.js +0 -1
  71. package/Marketplace/chunk-5KH5BCQM.js +0 -1
  72. package/Marketplace/chunk-5RM66OVB.js +0 -1
  73. package/Marketplace/chunk-5ZM4XSQW.js +0 -1
  74. package/Marketplace/chunk-6HHZHN7P.js +0 -8
  75. package/Marketplace/chunk-7KGXTHIW.js +0 -1
  76. package/Marketplace/chunk-7NTKQFO6.js +0 -1
  77. package/Marketplace/chunk-A5TR5UHL.js +0 -3
  78. package/Marketplace/chunk-AALPQPNV.js +0 -1
  79. package/Marketplace/chunk-AI73JQCY.js +0 -1
  80. package/Marketplace/chunk-AOTR45SX.js +0 -1
  81. package/Marketplace/chunk-AS72XOBR.js +0 -5
  82. package/Marketplace/chunk-BIUR6K3C.js +0 -2
  83. package/Marketplace/chunk-BOSI3BJF.js +0 -1
  84. package/Marketplace/chunk-C2Z57PHM.js +0 -1
  85. package/Marketplace/chunk-CARHAIPY.js +0 -1
  86. package/Marketplace/chunk-CQZLPKQI.js +0 -7
  87. package/Marketplace/chunk-CRMU6PMW.js +0 -1
  88. package/Marketplace/chunk-EIZQWSOG.js +0 -3
  89. package/Marketplace/chunk-F4HOVOTI.js +0 -1
  90. package/Marketplace/chunk-FCNR3DL5.js +0 -1
  91. package/Marketplace/chunk-FTHF27YK.js +0 -1
  92. package/Marketplace/chunk-FY4ZBLX6.js +0 -1
  93. package/Marketplace/chunk-G4FCMEKS.js +0 -5
  94. package/Marketplace/chunk-GN6CGQMS.js +0 -4
  95. package/Marketplace/chunk-GS5L5VKE.js +0 -39
  96. package/Marketplace/chunk-GUPLRXO2.js +0 -1
  97. package/Marketplace/chunk-HL4F7T5B.js +0 -1
  98. package/Marketplace/chunk-I5I7UHHM.js +0 -2
  99. package/Marketplace/chunk-I7XIC4MV.js +0 -1
  100. package/Marketplace/chunk-IGEQKV42.js +0 -1
  101. package/Marketplace/chunk-J7NK7BJJ.js +0 -2
  102. package/Marketplace/chunk-JQQV3EN5.js +0 -1
  103. package/Marketplace/chunk-L2NFIVJZ.js +0 -1
  104. package/Marketplace/chunk-MAW5LNHT.js +0 -1
  105. package/Marketplace/chunk-MSVBBUIV.js +0 -1
  106. package/Marketplace/chunk-MZTR7GGF.js +0 -1
  107. package/Marketplace/chunk-O7LVIN5K.js +0 -1
  108. package/Marketplace/chunk-OCT7STGJ.js +0 -2
  109. package/Marketplace/chunk-ODO3ELDR.js +0 -1
  110. package/Marketplace/chunk-Q2XGZGLR.js +0 -1
  111. package/Marketplace/chunk-Q4BXCRYS.js +0 -1
  112. package/Marketplace/chunk-QD5AAOCO.js +0 -1
  113. package/Marketplace/chunk-QGF4YW5W.js +0 -6
  114. package/Marketplace/chunk-RJJQKBQ5.js +0 -1
  115. package/Marketplace/chunk-RQUHSBJQ.js +0 -1
  116. package/Marketplace/chunk-SQJ3P2ZT.js +0 -1
  117. package/Marketplace/chunk-SWXSUMBG.js +0 -1
  118. package/Marketplace/chunk-TCCG4TE3.js +0 -1
  119. package/Marketplace/chunk-V437EVZ3.js +0 -1
  120. package/Marketplace/chunk-VFKZICIZ.js +0 -5
  121. package/Marketplace/chunk-W4KXSHWG.js +0 -1
  122. package/Marketplace/chunk-WOQ45EJA.js +0 -1
  123. package/Marketplace/chunk-Y3YRRYBU.js +0 -1
  124. package/Marketplace/chunk-YDMBBOTQ.js +0 -1
  125. package/Marketplace/main-AEZ74UFT.js +0 -1
  126. package/Marketplace/polyfills-FDR4O7DA.js +0 -2
  127. package/Marketplace/scripts-M46NWPTC.js +0 -5
  128. package/Marketplace/styles-3TBI7YP7.css +0 -1
  129. /package/Marketplace/{chunk-6BSG6YUX.js → chunk-662E5VTA.js} +0 -0
  130. /package/Marketplace/{chunk-KB6IM3NP.js → chunk-IWVYX6KY.js} +0 -0
@@ -0,0 +1,8 @@
1
+ import{a as D,b as J,i as Uo,k as qd,l as Bo,m as Gd,n as Wd}from"./chunk-GRMIXZTT.js";function T(t){return typeof t=="function"}function _a(t){return T(t?.lift)}function M(t){return e=>{if(_a(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 Zt(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 Ho=Zt(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 fn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var K=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 Ho?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Zd(i)}catch(s){e=e??[],s instanceof Ho?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ho(e)}}add(e){var r;if(e&&e!==this)if(this.closed)Zd(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)&&fn(r,e)}remove(e){let{_finalizers:r}=this;r&&fn(r,e),e instanceof t&&e._removeParent(this)}};K.EMPTY=(()=>{let t=new K;return t.closed=!0,t})();var Aa=K.EMPTY;function zo(t){return t instanceof K||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function Zd(t){T(t)?t():t.unsubscribe()}var Ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ln={setTimeout(t,e,...r){let{delegate:n}=Ln;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Ln;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function qo(t){Ln.setTimeout(()=>{let{onUnhandledError:e}=Ge;if(e)e(t);else throw t})}function We(){}var Yd=Na("C",void 0,void 0);function Qd(t){return Na("E",void 0,t)}function Kd(t){return Na("N",t,void 0)}function Na(t,e,r){return{kind:t,value:e,error:r}}var hn=null;function jn(t){if(Ge.useDeprecatedSynchronousErrorHandling){let e=!hn;if(e&&(hn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=hn;if(hn=null,r)throw n}}else t()}function Jd(t){Ge.useDeprecatedSynchronousErrorHandling&&hn&&(hn.errorThrown=!0,hn.error=t)}var pn=class extends K{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,zo(e)&&e.add(this)):this.destination=Jv}static create(e,r,n){return new Et(e,r,n)}next(e){this.isStopped?Oa(Kd(e),this):this._next(e)}error(e){this.isStopped?Oa(Qd(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Oa(Yd,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()}}},Qv=Function.prototype.bind;function Ra(t,e){return Qv.call(t,e)}var Pa=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Go(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Go(n)}else Go(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Go(r)}}},Et=class extends pn{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&&Ge.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Ra(e.next,i),error:e.error&&Ra(e.error,i),complete:e.complete&&Ra(e.complete,i)}):o=e}this.destination=new Pa(o)}};function Go(t){Ge.useDeprecatedSynchronousErrorHandling?Jd(t):qo(t)}function Kv(t){throw t}function Oa(t,e){let{onStoppedNotification:r}=Ge;r&&Ln.setTimeout(()=>r(t,e))}var Jv={closed:!0,next:We,error:Kv,complete:We};function b(t,e,r,n,o){return new Fa(t,e,r,n,o)}var Fa=class extends pn{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(u){e.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){e.error(u)}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 O(t,e){return M((r,n)=>{let o=0;r.subscribe(b(n,i=>{n.next(t.call(e,i,o++))}))})}var Vn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function fe(t){return t}function ka(...t){return La(t)}function La(t){return t.length===0?fe: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=ey(r)?r:new Et(r,n,o);return jn(()=>{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=Xd(n),new n((o,i)=>{let s=new Et({next:a=>{try{r(a)}catch(u){i(u),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)}[Vn](){return this}pipe(...r){return La(r)(this)}toPromise(r){return r=Xd(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 Xd(t){var e;return(e=t??Ge.Promise)!==null&&e!==void 0?e:Promise}function Xv(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function ey(t){return t&&t instanceof pn||Xv(t)&&zo(t)}var ef=Zt(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 Wo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new ef}next(r){jn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){jn(()=>{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(){jn(()=>{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?Aa:(this.currentObservers=null,i.push(r),new K(()=>{this.currentObservers=null,fn(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 Wo(e,r),t})(),Wo=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:Aa}};var Ar={now(){return(Ar.delegate||Date).now()},delegate:void 0};var Nr=class extends re{constructor(e=1/0,r=1/0,n=Ar){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 u=1;u<n.length&&n[u]<=s;u+=2)a=u;a&&n.splice(0,a+1)}}};var $n=t=>t&&typeof t.length=="number"&&typeof t!="function";function Zo(t){return T(t?.then)}function Yo(t){return T(t[Vn])}function Qo(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function Ko(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 ty(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Jo=ty();function Xo(t){return T(t?.[Jo])}function ei(t){return Gd(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield Bo(r.read());if(o)return yield Bo(void 0);yield yield Bo(n)}}finally{r.releaseLock()}})}function ti(t){return T(t?.getReader)}function P(t){if(t instanceof k)return t;if(t!=null){if(Yo(t))return ny(t);if($n(t))return ry(t);if(Zo(t))return oy(t);if(Qo(t))return tf(t);if(Xo(t))return iy(t);if(ti(t))return sy(t)}throw Ko(t)}function ny(t){return new k(e=>{let r=t[Vn]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ry(t){return new k(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function oy(t){return new k(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,qo)})}function iy(t){return new k(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function tf(t){return new k(e=>{ay(t,e).catch(r=>e.error(r))})}function sy(t){return tf(ei(t))}function ay(t,e){var r,n,o,i;return qd(this,void 0,void 0,function*(){try{for(r=Wd(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 Va(t={}){let{connector:e=()=>new re,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,l=d=!1},g=()=>{let C=s;h(),C?.unsubscribe()};return M((C,y)=>{c++,!d&&!l&&f();let m=u=u??e();y.add(()=>{c--,c===0&&!d&&!l&&(a=ja(g,o))}),m.subscribe(y),!s&&c>0&&(s=new Et({next:B=>m.next(B),error:B=>{d=!0,f(),a=ja(h,r,B),m.error(B)},complete:()=>{l=!0,f(),a=ja(h,n),m.complete()}}),P(C).subscribe(s))})(i)}}function ja(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new Et({next:()=>{n.unsubscribe(),t()}});return P(e(...r)).subscribe(n)}function nf(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,Va({connector:()=>new Nr(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Un(){return M((t,e)=>{let r=null;t._refCount++;let n=b(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 Bn=class extends k{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,_a(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 K;let r=this.getSubject();e.add(this.source.subscribe(b(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=K.EMPTY)}return e}refCount(){return Un()(this)}};var Hn={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=Hn;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let o=e(i=>{r=void 0,t(i)});return new K(()=>r?.(o))},requestAnimationFrame(...t){let{delegate:e}=Hn;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Hn;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var he=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 ni=class extends K{constructor(e,r){super()}schedule(e,r=0){return this}};var Rr={setInterval(t,e,...r){let{delegate:n}=Rr;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Rr;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var it=class extends ni{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 Rr.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&&Rr.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,fn(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var uy=1,$a,Ua={};function rf(t){return t in Ua?(delete Ua[t],!0):!1}var of={setImmediate(t){let e=uy++;return Ua[e]=!0,$a||($a=Promise.resolve()),$a.then(()=>rf(e)&&t()),e},clearImmediate(t){rf(t)}};var{setImmediate:cy,clearImmediate:ly}=of,Or={setImmediate(...t){let{delegate:e}=Or;return(e?.setImmediate||cy)(...t)},clearImmediate(t){let{delegate:e}=Or;return(e?.clearImmediate||ly)(t)},delegate:void 0};var ri=class extends it{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=Or.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&&(Or.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var zn=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)}};zn.now=Ar.now;var st=class extends zn{constructor(e,r=zn.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 oi=class extends st{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 dy=new oi(ri);var at=new st(it),Ba=at;var ii=class extends it{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 si=class extends st{};var fy=new si(ii);var ai=class extends it{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=Hn.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&&(Hn.cancelAnimationFrame(r),e._scheduled=void 0)}};var ui=class extends st{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 hy=new ui(ai);var Ee=new k(t=>t.complete());function ci(t){return t&&T(t.schedule)}function Ha(t){return t[t.length-1]}function qn(t){return T(Ha(t))?t.pop():void 0}function ut(t){return ci(Ha(t))?t.pop():void 0}function sf(t,e){return typeof Ha(t)=="number"?t.pop():e}function ye(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 Pr(t,e=0){return M((r,n)=>{r.subscribe(b(n,o=>ye(n,t,()=>n.next(o),e),()=>ye(n,t,()=>n.complete(),e),o=>ye(n,t,()=>n.error(o),e)))})}function Fr(t,e=0){return M((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function af(t,e){return P(t).pipe(Fr(e),Pr(e))}function uf(t,e){return P(t).pipe(Fr(e),Pr(e))}function cf(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 lf(t,e){return new k(r=>{let n;return ye(r,e,()=>{n=t[Jo](),ye(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 li(t,e){if(!t)throw new Error("Iterable cannot be null");return new k(r=>{ye(r,e,()=>{let n=t[Symbol.asyncIterator]();ye(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function df(t,e){return li(ei(t),e)}function ff(t,e){if(t!=null){if(Yo(t))return af(t,e);if($n(t))return cf(t,e);if(Zo(t))return uf(t,e);if(Qo(t))return li(t,e);if(Xo(t))return lf(t,e);if(ti(t))return df(t,e)}throw Ko(t)}function W(t,e){return e?ff(t,e):P(t)}function x(...t){let e=ut(t);return W(t,e)}function Gn(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 za(t){return!!t&&(t instanceof k||T(t.lift)&&T(t.subscribe))}var Ct=Zt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function di(t){return t instanceof Date&&!isNaN(t)}var py=Zt(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function gy(t,e){let{first:r,each:n,with:o=my,scheduler:i=e??at,meta:s=null}=di(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return M((a,u)=>{let c,l,d=null,f=0,h=g=>{l=ye(u,i,()=>{try{c.unsubscribe(),P(o({meta:s,lastValue:d,seen:f})).subscribe(u)}catch(C){u.error(C)}},g)};c=a.subscribe(b(u,g=>{l?.unsubscribe(),f++,u.next(d=g),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 my(t){throw new py(t)}var{isArray:vy}=Array;function yy(t,e){return vy(e)?t(...e):t(e)}function Wn(t){return O(e=>yy(t,e))}var{isArray:Dy}=Array,{getPrototypeOf:wy,prototype:Iy,keys:Ey}=Object;function fi(t){if(t.length===1){let e=t[0];if(Dy(e))return{args:e,keys:null};if(Cy(e)){let r=Ey(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Cy(t){return t&&typeof t=="object"&&wy(t)===Iy}function hi(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function kr(...t){let e=ut(t),r=qn(t),{args:n,keys:o}=fi(t);if(n.length===0)return W([],e);let i=new k(by(n,e,o?s=>hi(o,s):fe));return r?i.pipe(Wn(r)):i}function by(t,e,r=fe){return n=>{hf(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)hf(e,()=>{let c=W(t[u],e),l=!1;c.subscribe(b(n,d=>{i[u]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function hf(t,e,r){t?ye(r,t,e):e()}function pf(t,e,r,n,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&e.complete()},h=C=>c<n?g(C):u.push(C),g=C=>{i&&e.next(C),c++;let y=!1;P(r(C,l++)).subscribe(b(e,m=>{o?.(m),i?h(m):e.next(m)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;u.length&&c<n;){let m=u.shift();s?ye(e,s,()=>g(m)):g(m)}f()}catch(m){e.error(m)}}))};return t.subscribe(b(e,h,()=>{d=!0,f()})),()=>{a?.()}}function X(t,e,r=1/0){return T(e)?X((n,o)=>O((i,s)=>e(n,i,o,s))(P(t(n,o))),r):(typeof e=="number"&&(r=e),M((n,o)=>pf(n,o,t,r)))}function ct(t=1/0){return X(fe,t)}function gf(){return ct(1)}function Zn(...t){return gf()(W(t,ut(t)))}function pi(t){return new k(e=>{P(t()).subscribe(e)})}function My(...t){let e=qn(t),{args:r,keys:n}=fi(t),o=new k(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;P(r[l]).subscribe(b(i,f=>{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(n?hi(n,a):a),i.complete())}))}});return e?o.pipe(Wn(e)):o}var Sy=["addListener","removeListener"],Ty=["addEventListener","removeEventListener"],xy=["on","off"];function qa(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return qa(t,e,r).pipe(Wn(n));let[o,i]=Ny(t)?Ty.map(s=>a=>t[s](e,a,r)):_y(t)?Sy.map(mf(t,e)):Ay(t)?xy.map(mf(t,e)):[];if(!o&&$n(t))return X(s=>qa(s,e,r))(P(t));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function mf(t,e){return r=>n=>t[r](e,n)}function _y(t){return T(t.addListener)&&T(t.removeListener)}function Ay(t){return T(t.on)&&T(t.off)}function Ny(t){return T(t.addEventListener)&&T(t.removeEventListener)}function Lr(t=0,e,r=Ba){let n=-1;return e!=null&&(ci(e)?r=e:n=e),new k(o=>{let i=di(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 Ry(t=0,e=at){return t<0&&(t=0),Lr(t,t,e)}function Oy(...t){let e=ut(t),r=sf(t,1/0),n=t;return n.length?n.length===1?P(n[0]):ct(r)(W(n,e)):Ee}function vf(t,e){return(r,n)=>!t.call(e,r,n)}function oe(t,e){return M((r,n)=>{let o=0;r.subscribe(b(n,i=>t.call(e,i,o++)&&n.next(i)))})}function Py(t,e,r){return[oe(e,r)(P(t)),oe(vf(e,r))(P(t))]}function yf(t){return M((e,r)=>{let n=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let c=o;o=null,r.next(c)}s&&r.complete()},u=()=>{i=null,s&&r.complete()};e.subscribe(b(r,c=>{n=!0,o=c,i||P(t(c)).subscribe(i=b(r,a,u))},()=>{s=!0,(!n||!i||i.closed)&&r.complete()}))})}function Fy(t,e=at){return yf(()=>Lr(t,e))}function bt(t){return M((e,r)=>{let n=null,o=!1,i;n=e.subscribe(b(r,void 0,void 0,s=>{i=P(t(s,bt(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Df(t,e,r,n,o){return(i,s)=>{let a=r,u=e,c=0;i.subscribe(b(s,l=>{let d=c++;u=a?t(u,l,d):(a=!0,l),n&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function lt(t,e){return T(e)?X(t,e,1):X(t,1)}function ky(t){return M((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(b(r,a=>{i?.unsubscribe(),n=!0,o=a,i=b(r,s,We),P(t(a)).subscribe(i)},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function Ly(t,e=at){return M((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,n.next(c)}};function u(){let c=s+t,l=e.now();if(l<c){o=this.schedule(void 0,c-l),n.add(o);return}a()}r.subscribe(b(n,c=>{i=c,s=e.now(),o||(o=e.schedule(u,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function Yt(t){return M((e,r)=>{let n=!1;e.subscribe(b(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function Mt(t){return t<=0?()=>Ee:M((e,r)=>{let n=0;e.subscribe(b(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function jy(){return M((t,e)=>{t.subscribe(b(e,We))})}function Ga(t){return O(()=>t)}function Vy(t,e=fe){return t=t??$y,M((r,n)=>{let o,i=!0;r.subscribe(b(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function $y(t,e){return t===e}function gi(t=Uy){return M((e,r)=>{let n=!1;e.subscribe(b(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function Uy(){return new Ct}function By(t,e){return M((r,n)=>{let o=0;r.subscribe(b(n,i=>{t.call(e,i,o++,r)||(n.next(!1),n.complete())},()=>{n.next(!0),n.complete()}))})}function Qt(t){return M((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function dt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?oe((o,i)=>t(o,i,n)):fe,Mt(1),r?Yt(e):gi(()=>new Ct))}function Yn(t){return t<=0?()=>Ee:M((e,r)=>{let n=[];e.subscribe(b(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 Wa(t,e){let r=arguments.length>=2;return n=>n.pipe(t?oe((o,i)=>t(o,i,n)):fe,Yn(1),r?Yt(e):gi(()=>new Ct))}function mi(t,e){return M(Df(t,e,arguments.length>=2,!0))}function Hy(t){return oe((e,r)=>t<=r)}function Za(...t){let e=ut(t);return M((r,n)=>{(e?Zn(t,r,e):Zn(t,r)).subscribe(n)})}function ue(t,e){return M((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(b(n,u=>{o?.unsubscribe();let c=0,l=i++;P(t(u,l)).subscribe(o=b(n,d=>n.next(e?e(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function zy(t,e){return T(e)?ue(()=>t,e):ue(()=>t)}function vi(t){return M((e,r)=>{P(t).subscribe(b(r,()=>r.complete(),We)),!r.closed&&e.subscribe(r)})}function qy(t,e=!1){return M((r,n)=>{let o=0;r.subscribe(b(n,i=>{let s=t(i,o++);(s||e)&&n.next(i),!s&&n.complete()}))})}function se(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?M((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(b(i,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),i.next(u)},()=>{var u;a=!1,(u=n.complete)===null||u===void 0||u.call(n),i.complete()},u=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,u),i.error(u)},()=>{var u,c;a&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):fe}function Gy(...t){let e=qn(t);return M((r,n)=>{let o=t.length,i=new Array(o),s=t.map(()=>!1),a=!1;for(let u=0;u<o;u++)P(t[u]).subscribe(b(n,c=>{i[u]=c,!a&&!s[u]&&(s[u]=!0,(a=s.every(fe))&&(s=null))},We));r.subscribe(b(n,u=>{if(a){let c=[u,...i];n.next(e?e(...c):c)}}))})}function Wy(t,e){return Object.is(t,e)}var ce=null,jr=!1,yi=1,Kt=Symbol("SIGNAL");function L(t){let e=ce;return ce=t,e}function Zy(){return jr}var Di={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 wf(t){if(jr)throw new Error("");if(ce===null)return;ce.consumerOnSignalRead(t);let e=ce.nextProducerIndex++;if(Qn(ce),e<ce.producerNode.length&&ce.producerNode[e]!==t&&Vr(ce)){let r=ce.producerNode[e];Ii(r,ce.producerIndexOfThis[e])}ce.producerNode[e]!==t&&(ce.producerNode[e]=t,ce.producerIndexOfThis[e]=Vr(ce)?bf(t,ce,e):0),ce.producerLastReadVersion[e]=t.version}function Yy(){yi++}function Qy(t){if(!(Vr(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===yi)){if(!t.producerMustRecompute(t)&&!wi(t)){t.dirty=!1,t.lastCleanEpoch=yi;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=yi}}function If(t){if(t.liveConsumerNode===void 0)return;let e=jr;jr=!0;try{for(let r of t.liveConsumerNode)r.dirty||Cf(r)}finally{jr=e}}function Ef(){return ce?.consumerAllowSignalWrites!==!1}function Cf(t){t.dirty=!0,If(t),t.consumerMarkedDirty?.(t)}function Qa(t){return t&&(t.nextProducerIndex=0),L(t)}function Ka(t,e){if(L(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Vr(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Ii(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function wi(t){Qn(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(Qy(r),n!==r.version))return!0}return!1}function Ja(t){if(Qn(t),Vr(t))for(let e=0;e<t.producerNode.length;e++)Ii(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 bf(t,e,r){if(Mf(t),Qn(t),t.liveConsumerNode.length===0)for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=bf(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function Ii(t,e){if(Mf(t),Qn(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)Ii(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];Qn(o),o.producerIndexOfThis[n]=e}}function Vr(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Qn(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Mf(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Ky(){throw new Error}var Sf=Ky;function Tf(){Sf()}function xf(t){Sf=t}var Jy=null;function _f(t){let e=Object.create(Nf);e.value=t;let r=()=>(wf(e),e.value);return r[Kt]=e,r}function Xa(t,e){Ef()||Tf(),t.equal(t.value,e)||(t.value=e,Xy(t))}function Af(t,e){Ef()||Tf(),Xa(t,e(t.value))}var Nf=J(D({},Di),{equal:Wy,value:void 0});function Xy(t){t.version++,Yy(),If(t),Jy?.()}function Rf(t,e,r){let n=Object.create(eD);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let o=u=>{n.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Ja(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Ya)}let a=()=>{if(n.fn===null)return;if(Zy())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!wi(n))return;n.hasRun=!0;let u=Qa(n);try{n.cleanupFn(),n.cleanupFn=Ya,n.fn(o)}finally{Ka(n,u)}};return n.ref={notify:()=>Cf(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Kt]:n},n.ref}var Ya=()=>{},eD=J(D({},Di),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Ya});var Eh="https://g.co/ng/security#xss",v=class extends Error{constructor(e,r){super(os(e,r)),this.code=e}};function os(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function ro(t){return{toString:t}.toString()}var Ei="__parameters__";function tD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Ch(t,e,r){return ro(()=>{let n=tD(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(u,c,l){let d=u.hasOwnProperty(Ei)?u[Ei]:Object.defineProperty(u,Ei,{value:[]})[Ei];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var te=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 nD(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function be(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(be).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 gu(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var rD=q({__forward_ref__:q});function bh(t){return t.__forward_ref__=bh,t.toString=function(){return be(this())},t}function Ce(t){return Mh(t)?t():t}function Mh(t){return typeof t=="function"&&t.hasOwnProperty(rD)&&t.__forward_ref__===bh}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Nt(t){return{providers:t.providers||[],imports:t.imports||[]}}function is(t){return Of(t,Th)||Of(t,xh)}function Sh(t){return is(t)!==null}function Of(t,e){return t.hasOwnProperty(e)?t[e]:null}function oD(t){let e=t&&(t[Th]||t[xh]);return e||null}function Pf(t){return t&&(t.hasOwnProperty(Ff)||t.hasOwnProperty(iD))?t[Ff]:null}var Th=q({\u0275prov:q}),Ff=q({\u0275inj:q}),xh=q({ngInjectableDef:q}),iD=q({ngInjectorDef:q}),I=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=w({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function _h(t){return t&&!!t.\u0275providers}var sD=q({\u0275cmp:q}),aD=q({\u0275dir:q}),uD=q({\u0275pipe:q}),cD=q({\u0275mod:q}),ki=q({\u0275fac:q}),$r=q({__NG_ELEMENT_ID__:q}),kf=q({__NG_ENV_ID__:q});function yn(t){return typeof t=="string"?t:t==null?"":String(t)}function lD(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():yn(t)}function dD(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new v(-200,t)}function _c(t,e){throw new v(-201,!1)}var F=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}(F||{}),mu;function Ah(){return mu}function Te(t){let e=mu;return mu=t,e}function Nh(t,e,r){let n=is(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&F.Optional)return null;if(e!==void 0)return e;_c(t,"Injector")}var fD={},Br=fD,vu="__NG_DI_FLAG__",Li="ngTempTokenPath",hD="ngTokenPath",pD=/\n/gm,gD="\u0275",Lf="__source",tr;function mD(){return tr}function Jt(t){let e=tr;return tr=t,e}function vD(t,e=F.Default){if(tr===void 0)throw new v(-203,!1);return tr===null?Nh(t,void 0,e):tr.get(t,e&F.Optional?null:void 0,e)}function E(t,e=F.Default){return(Ah()||vD)(Ce(t),e)}function p(t,e=F.Default){return E(t,ss(e))}function ss(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function yu(t){let e=[];for(let r=0;r<t.length;r++){let n=Ce(t[r]);if(Array.isArray(n)){if(n.length===0)throw new v(900,!1);let o,i=F.Default;for(let s=0;s<n.length;s++){let a=n[s],u=yD(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}e.push(E(o,i))}else e.push(E(n))}return e}function Rh(t,e){return t[vu]=e,t.prototype[vu]=e,t}function yD(t){return t[vu]}function DD(t,e,r,n){let o=t[Li];throw e[Lf]&&o.unshift(e[Lf]),t.message=wD(`
5
+ `+t.message,o,r,n),t[hD]=o,t[Li]=null,t}function wD(t,e,r,n=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==gD?t.slice(2):t;let o=be(e);if(Array.isArray(e))o=e.map(be).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):be(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(pD,`
7
+ `)}`}var oo=Rh(Ch("Optional"),8);var as=Rh(Ch("SkipSelf"),4);function Dn(t,e){let r=t.hasOwnProperty(ki);return r?t[ki]:null}function ID(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 ED(t){return t.flat(Number.POSITIVE_INFINITY)}function Ac(t,e){t.forEach(r=>Array.isArray(r)?Ac(r,e):e(r))}function Oh(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ji(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function CD(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function bD(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 us(t,e,r){let n=io(t,e);return n>=0?t[n|1]=r:(n=~n,bD(t,n,e,r)),n}function eu(t,e){let r=io(t,e);if(r>=0)return t[r|1]}function io(t,e){return MD(t,e,1)}function MD(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 rr={},xe=[],or=new I(""),Ph=new I("",-1),Fh=new I(""),Vi=class{get(e,r=Br){if(r===Br){let n=new Error(`NullInjectorError: No provider for ${be(e)}!`);throw n.name="NullInjectorError",n}return r}},kh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(kh||{}),pt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(pt||{}),ae=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ae||{});function SD(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 Du(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];TD(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function Lh(t){return t===3||t===4||t===6}function TD(t){return t.charCodeAt(0)===64}function Hr(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?jf(t,r,o,null,e[++n]):jf(t,r,o,null,null))}}return t}function jf(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 jh="ng-template";function xD(t,e,r,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&SD(e[o+1].toLowerCase(),r,0)!==-1)return!0}else if(Nc(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 Nc(t){return t.type===4&&t.value!==jh}function _D(t,e,r){let n=t.type===4&&!r?jh:t.value;return e===n}function AD(t,e,r){let n=4,o=t.attrs,i=o!==null?OD(o):0,s=!1;for(let a=0;a<e.length;a++){let u=e[a];if(typeof u=="number"){if(!s&&!Ze(n)&&!Ze(u))return!1;if(s&&Ze(u))continue;s=!1,n=u|n&1;continue}if(!s)if(n&4){if(n=2|n&1,u!==""&&!_D(t,u,r)||u===""&&e.length===1){if(Ze(n))return!1;s=!0}}else if(n&8){if(o===null||!xD(t,o,u,r)){if(Ze(n))return!1;s=!0}}else{let c=e[++a],l=ND(u,o,Nc(t),r);if(l===-1){if(Ze(n))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),n&2&&c!==d){if(Ze(n))return!1;s=!0}}}}return Ze(n)||s}function Ze(t){return(t&1)===0}function ND(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 PD(e,t)}function Vh(t,e,r=!1){for(let n=0;n<e.length;n++)if(AD(t,e[n],r))return!0;return!1}function RD(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function OD(t){for(let e=0;e<t.length;e++){let r=t[e];if(Lh(r))return e}return t.length}function PD(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 FD(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 Vf(t,e){return t?":not("+e.trim()+")":e}function kD(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!==""&&!Ze(s)&&(e+=Vf(i,o),o=""),n=s,i=i||!Ze(n);r++}return o!==""&&(e+=Vf(i,o)),e}function LD(t){return t.map(kD).join(",")}function jD(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(!Ze(o))break;o=i}n++}return{attrs:e,classes:r}}function $h(t){return ro(()=>{let e=qh(t),r=J(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===kh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||pt.Emulated,styles:t.styles||xe,_:null,schemas:t.schemas||null,tView:null,id:""});Gh(r);let n=t.dependencies;return r.directiveDefs=Uf(n,!1),r.pipeDefs=Uf(n,!0),r.id=UD(r),r})}function VD(t){return St(t)||Uh(t)}function $D(t){return t!==null}function Rt(t){return ro(()=>({type:t.type,bootstrap:t.bootstrap||xe,declarations:t.declarations||xe,imports:t.imports||xe,exports:t.exports||xe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function $f(t,e){if(t==null)return rr;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=ae.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==ae.None?[n,a]:n,e[i]=s):r[i]=n}return r}function $e(t){return ro(()=>{let e=qh(t);return Gh(e),e})}function so(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 St(t){return t[sD]||null}function Uh(t){return t[aD]||null}function Bh(t){return t[uD]||null}function Hh(t){let e=St(t)||Uh(t)||Bh(t);return e!==null?e.standalone:!1}function zh(t,e){let r=t[cD]||null;if(!r&&e===!0)throw new Error(`Type ${be(t)} does not have '\u0275mod' property.`);return r}function qh(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||rr,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||xe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:$f(t.inputs,e),outputs:$f(t.outputs),debugInfo:null}}function Gh(t){t.features?.forEach(e=>e(t))}function Uf(t,e){if(!t)return null;let r=e?Bh:VD;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter($D)}function UD(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 cs(t){return{\u0275providers:t}}function BD(...t){return{\u0275providers:Wh(!0,t),\u0275fromNgModule:!0}}function Wh(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return Ac(e,s=>{let a=s;wu(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Zh(o,i),r}function Zh(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];Rc(o,i=>{e(i,n)})}}function wu(t,e,r,n){if(t=Ce(t),!t)return!1;let o=null,i=Pf(t),s=!i&&St(t);if(!i&&!s){let u=t.ngModule;if(i=Pf(u),i)o=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)wu(c,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let c;try{Ac(i.imports,l=>{wu(l,e,r,n)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Zh(c,e)}if(!a){let c=Dn(o)||(()=>new o);e({provide:o,useFactory:c,deps:xe},o),e({provide:Fh,useValue:o,multi:!0},o),e({provide:or,useValue:()=>E(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=t;Rc(u,l=>{e(l,c)})}}else return!1;return o!==t&&t.providers!==void 0}function Rc(t,e){for(let r of t)_h(r)&&(r=r.\u0275providers),Array.isArray(r)?Rc(r,e):e(r)}var HD=q({provide:String,useValue:q});function Yh(t){return t!==null&&typeof t=="object"&&HD in t}function zD(t){return!!(t&&t.useExisting)}function qD(t){return!!(t&&t.useFactory)}function ir(t){return typeof t=="function"}function GD(t){return!!t.useClass}var ls=new I(""),_i={},WD={},tu;function ds(){return tu===void 0&&(tu=new Vi),tu}var Ie=class{},zr=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,Eu(e,s=>this.processProvider(s)),this.records.set(Ph,Kn(void 0,this)),o.has("environment")&&this.records.set(Ie,Kn(void 0,this));let i=this.records.get(ls);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fh,xe,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=L(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(),L(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Jt(this),n=Te(void 0),o;try{return e()}finally{Jt(r),Te(n)}}get(e,r=Br,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(kf))return e[kf](this);n=ss(n);let o,i=Jt(this),s=Te(void 0);try{if(!(n&F.SkipSelf)){let u=this.records.get(e);if(u===void 0){let c=JD(e)&&is(e);c&&this.injectableDefInScope(c)?u=Kn(Iu(e),_i):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u)}let a=n&F.Self?ds():this.parent;return r=n&F.Optional&&r===Br?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Li]=a[Li]||[]).unshift(be(e)),i)throw a;return DD(a,e,"R3InjectorError",this.source)}else throw a}finally{Te(s),Jt(i)}}resolveInjectorInitializers(){let e=L(null),r=Jt(this),n=Te(void 0),o;try{let i=this.get(or,xe,F.Self);for(let s of i)s()}finally{Jt(r),Te(n),L(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(be(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(e){e=Ce(e);let r=ir(e)?e:Ce(e&&e.provide),n=YD(e);if(!ir(e)&&e.multi===!0){let o=this.records.get(r);o||(o=Kn(void 0,_i,!0),o.factory=()=>yu(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=L(null);try{return r.value===_i&&(r.value=WD,r.value=r.factory()),typeof r.value=="object"&&r.value&&KD(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{L(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ce(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 Iu(t){let e=is(t),r=e!==null?e.factory:Dn(t);if(r!==null)return r;if(t instanceof I)throw new v(204,!1);if(t instanceof Function)return ZD(t);throw new v(204,!1)}function ZD(t){if(t.length>0)throw new v(204,!1);let r=oD(t);return r!==null?()=>r.factory(t):()=>new t}function YD(t){if(Yh(t))return Kn(void 0,t.useValue);{let e=Qh(t);return Kn(e,_i)}}function Qh(t,e,r){let n;if(ir(t)){let o=Ce(t);return Dn(o)||Iu(o)}else if(Yh(t))n=()=>Ce(t.useValue);else if(qD(t))n=()=>t.useFactory(...yu(t.deps||[]));else if(zD(t))n=()=>E(Ce(t.useExisting));else{let o=Ce(t&&(t.useClass||t.provide));if(QD(t))n=()=>new o(...yu(t.deps));else return Dn(o)||Iu(o)}return n}function Kn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function QD(t){return!!t.deps}function KD(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function JD(t){return typeof t=="function"||typeof t=="object"&&t instanceof I}function Eu(t,e){for(let r of t)Array.isArray(r)?Eu(r,e):r&&_h(r)?Eu(r.\u0275providers,e):e(r)}function Xe(t,e){t instanceof zr&&t.assertNotDestroyed();let r,n=Jt(t),o=Te(void 0);try{return e()}finally{Jt(n),Te(o)}}function Kh(){return Ah()!==void 0||mD()!=null}function Jh(t){if(!Kh())throw new v(-203,!1)}function XD(t){let e=te.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function ew(t){return typeof t=="function"}var vt=0,A=1,_=2,ge=3,Qe=4,Re=5,sr=6,qr=7,De=8,ar=9,Ke=10,Z=11,Gr=12,Bf=13,hr=14,Ve=15,ao=16,Jn=17,Tt=18,fs=19,Xh=20,Xt=21,Ai=22,wn=23,me=25,Oc=1;var In=7,$i=8,ur=9,we=10,Pc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Pc||{});function mn(t){return Array.isArray(t)&&typeof t[Oc]=="object"}function Ot(t){return Array.isArray(t)&&t[Oc]===!0}function Fc(t){return(t.flags&4)!==0}function hs(t){return t.componentOffset>-1}function ps(t){return(t.flags&1)===1}function xt(t){return!!t.template}function tw(t){return(t[_]&512)!==0}var Cu=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function ep(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Pt(){return tp}function tp(t){return t.type.prototype.ngOnChanges&&(t.setInput=rw),nw}Pt.ngInherit=!0;function nw(){let t=rp(this),e=t?.current;if(e){let r=t.previous;if(r===rr)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function rw(t,e,r,n,o){let i=this.declaredInputs[n],s=rp(t)||ow(t,{previous:rr,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Cu(c&&c.currentValue,r,u===rr),ep(t,e,o,r)}var np="__ngSimpleChanges__";function rp(t){return t[np]||null}function ow(t,e){return t[np]=e}var Hf=null;var ft=function(t,e,r){Hf?.(t,e,r)},op="svg",iw="math",sw=!1;function aw(){return sw}function gt(t){for(;Array.isArray(t);)t=t[vt];return t}function uw(t){for(;Array.isArray(t);){if(typeof t[Oc]=="object")return t;t=t[vt]}return null}function ip(t,e){return gt(e[t])}function Ue(t,e){return gt(e[t.index])}function kc(t,e){return t.data[e]}function Lc(t,e){return t[e]}function tn(t,e){let r=e[t];return mn(r)?r:r[vt]}function cw(t){return(t[_]&4)===4}function jc(t){return(t[_]&128)===128}function lw(t){return Ot(t[ge])}function cr(t,e){return e==null?null:t[e]}function sp(t){t[Jn]=0}function dw(t){t[_]&1024||(t[_]|=1024,jc(t)&&Wr(t))}function fw(t,e){for(;t>0;)e=e[hr],t--;return e}function Vc(t){return!!(t[_]&9216||t[wn]?.dirty)}function bu(t){t[Ke].changeDetectionScheduler?.notify(1),Vc(t)?Wr(t):t[_]&64&&(aw()?(t[_]|=1024,Wr(t)):t[Ke].changeDetectionScheduler?.notify())}function Wr(t){t[Ke].changeDetectionScheduler?.notify();let e=Zr(t);for(;e!==null&&!(e[_]&8192||(e[_]|=8192,!jc(e)));)e=Zr(e)}function ap(t,e){if((t[_]&256)===256)throw new v(911,!1);t[Xt]===null&&(t[Xt]=[]),t[Xt].push(e)}function hw(t,e){if(t[Xt]===null)return;let r=t[Xt].indexOf(e);r!==-1&&t[Xt].splice(r,1)}function Zr(t){let e=t[ge];return Ot(e)?e[ge]:e}var N={lFrame:pp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function pw(){return N.lFrame.elementDepthCount}function gw(){N.lFrame.elementDepthCount++}function mw(){N.lFrame.elementDepthCount--}function up(){return N.bindingsEnabled}function cp(){return N.skipHydrationRootTNode!==null}function vw(t){return N.skipHydrationRootTNode===t}function yw(){N.skipHydrationRootTNode=null}function S(){return N.lFrame.lView}function Y(){return N.lFrame.tView}function i1(t){return N.lFrame.contextLView=t,t[De]}function s1(t){return N.lFrame.contextLView=null,t}function ve(){let t=lp();for(;t!==null&&t.type===64;)t=t.parent;return t}function lp(){return N.lFrame.currentTNode}function Dw(){let t=N.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function _n(t,e){let r=N.lFrame;r.currentTNode=t,r.isParent=e}function $c(){return N.lFrame.isParent}function Uc(){N.lFrame.isParent=!1}function ww(){return N.lFrame.contextLView}function yt(){let t=N.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Iw(){return N.lFrame.bindingIndex}function Ew(t){return N.lFrame.bindingIndex=t}function nn(){return N.lFrame.bindingIndex++}function Bc(t){let e=N.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Cw(){return N.lFrame.inI18n}function bw(t,e){let r=N.lFrame;r.bindingIndex=r.bindingRootIndex=t,Mu(e)}function Mw(){return N.lFrame.currentDirectiveIndex}function Mu(t){N.lFrame.currentDirectiveIndex=t}function Hc(t){let e=N.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function dp(){return N.lFrame.currentQueryIndex}function zc(t){N.lFrame.currentQueryIndex=t}function Sw(t){let e=t[A];return e.type===2?e.declTNode:e.type===1?t[Re]:null}function fp(t,e,r){if(r&F.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&F.Host);)if(o=Sw(i),o===null||(i=i[hr],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=N.lFrame=hp();return n.currentTNode=e,n.lView=t,!0}function qc(t){let e=hp(),r=t[A];N.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function hp(){let t=N.lFrame,e=t===null?null:t.child;return e===null?pp(t):e}function pp(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 gp(){let t=N.lFrame;return N.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var mp=gp;function Gc(){let t=gp();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 Tw(t){return(N.lFrame.contextLView=fw(t,N.lFrame.contextLView))[De]}function Ft(){return N.lFrame.selectedIndex}function En(t){N.lFrame.selectedIndex=t}function An(){let t=N.lFrame;return kc(t.tView,t.selectedIndex)}function a1(){N.lFrame.currentNamespace=op}function u1(){xw()}function xw(){N.lFrame.currentNamespace=null}function _w(){return N.lFrame.currentNamespace}var vp=!0;function gs(){return vp}function ms(t){vp=t}function Aw(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=tp(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 vs(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:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),u&&(t.viewHooks??=[]).push(-r,u),c&&((t.viewHooks??=[]).push(r,c),(t.viewCheckHooks??=[]).push(r,c)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function Ni(t,e,r){yp(t,e,3,r)}function Ri(t,e,r,n){(t[_]&3)===r&&yp(t,e,r,n)}function nu(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function yp(t,e,r,n){let o=n!==void 0?t[Jn]&65535:0,i=n??-1,s=e.length-1,a=0;for(let u=o;u<s;u++)if(typeof e[u+1]=="number"){if(a=e[u],n!=null&&a>=n)break}else e[u]<0&&(t[Jn]+=65536),(a<i||i==-1)&&(Nw(t,r,e,u),t[Jn]=(t[Jn]&4294901760)+u+2),u++}function zf(t,e){ft(4,t,e);let r=L(null);try{e.call(t)}finally{L(r),ft(5,t,e)}}function Nw(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[Jn]>>16&&(t[_]&3)===e&&(t[_]+=16384,zf(a,i)):zf(a,i)}var nr=-1,Cn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Rw(t){return t instanceof Cn}function Ow(t){return(t.flags&8)!==0}function Pw(t){return(t.flags&16)!==0}function Dp(t){return t!==nr}function Ui(t){return t&32767}function Fw(t){return t>>16}function Bi(t,e){let r=Fw(t),n=e;for(;r>0;)n=n[hr],r--;return n}var Su=!0;function Hi(t){let e=Su;return Su=t,e}var kw=256,wp=kw-1,Ip=5,Lw=0,ht={};function jw(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty($r)&&(n=r[$r]),n==null&&(n=r[$r]=Lw++);let o=n&wp,i=1<<o;e.data[t+(o>>Ip)]|=i}function zi(t,e){let r=Ep(t,e);if(r!==-1)return r;let n=e[A];n.firstCreatePass&&(t.injectorIndex=e.length,ru(n.data,t),ru(e,null),ru(n.blueprint,null));let o=Wc(t,e),i=t.injectorIndex;if(Dp(o)){let s=Ui(o),a=Bi(o,e),u=a[A].data;for(let c=0;c<8;c++)e[i+c]=a[s+c]|u[s+c]}return e[i+8]=o,i}function ru(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ep(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Wc(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=Tp(o),n===null)return nr;if(r++,o=o[hr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return nr}function Tu(t,e,r){jw(t,e,r)}function Vw(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(Lh(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 Cp(t,e,r){if(r&F.Optional||t!==void 0)return t;_c(e,"NodeInjector")}function bp(t,e,r,n){if(r&F.Optional&&n===void 0&&(n=null),!(r&(F.Self|F.Host))){let o=t[ar],i=Te(void 0);try{return o?o.get(e,n,r&F.Optional):Nh(e,n,r&F.Optional)}finally{Te(i)}}return Cp(n,e,r)}function Mp(t,e,r,n=F.Default,o){if(t!==null){if(e[_]&2048&&!(n&F.Self)){let s=Hw(t,e,r,n,ht);if(s!==ht)return s}let i=Sp(t,e,r,n,ht);if(i!==ht)return i}return bp(e,r,n,o)}function Sp(t,e,r,n,o){let i=Uw(r);if(typeof i=="function"){if(!fp(e,t,n))return n&F.Host?Cp(o,r,n):bp(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&F.Optional))_c(r);else return s}finally{mp()}}else if(typeof i=="number"){let s=null,a=Ep(t,e),u=nr,c=n&F.Host?e[Ve][Re]:null;for((a===-1||n&F.SkipSelf)&&(u=a===-1?Wc(t,e):e[a+8],u===nr||!Gf(n,!1)?a=-1:(s=e[A],a=Ui(u),e=Bi(u,e)));a!==-1;){let l=e[A];if(qf(i,a,l.data)){let d=$w(a,e,r,s,n,c);if(d!==ht)return d}u=e[a+8],u!==nr&&Gf(n,e[A].data[a+8]===c)&&qf(i,a,e)?(s=l,a=Ui(u),e=Bi(u,e)):a=-1}}return o}function $w(t,e,r,n,o,i){let s=e[A],a=s.data[t+8],u=n==null?hs(a)&&Su:n!=s&&(a.type&3)!==0,c=o&F.Host&&i===a,l=Oi(a,s,r,u,c);return l!==null?bn(e,s,l,a):ht}function Oi(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,u=t.directiveStart,c=t.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:c;for(let h=d;h<f;h++){let g=s[h];if(h<u&&r===g||h>=u&&g.type===r)return h}if(o){let h=s[u];if(h&&xt(h)&&h.type===r)return u}return null}function bn(t,e,r,n){let o=t[r],i=e.data;if(Rw(o)){let s=o;s.resolving&&dD(lD(i[r]));let a=Hi(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Te(s.injectImpl):null,l=fp(t,n,F.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&Aw(r,i[r],e)}finally{c!==null&&Te(c),Hi(a),s.resolving=!1,mp()}}return o}function Uw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty($r)?t[$r]:void 0;return typeof e=="number"?e>=0?e&wp:Bw:e}function qf(t,e,r){let n=1<<t;return!!(r[e+(t>>Ip)]&n)}function Gf(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var vn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Mp(this._tNode,this._lView,e,ss(n),r)}};function Bw(){return new vn(ve(),S())}function Zc(t){return ro(()=>{let e=t.prototype.constructor,r=e[ki]||xu(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[ki]||xu(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function xu(t){return Mh(t)?()=>{let e=xu(Ce(t));return e&&e()}:Dn(t)}function Hw(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=Sp(i,s,r,n|F.Self,ht);if(a!==ht)return a;let u=i.parent;if(!u){let c=s[Xh];if(c){let l=c.get(r,ht,n);if(l!==ht)return l}u=Tp(s),s=s[hr]}i=u}return o}function Tp(t){let e=t[A],r=e.type;return r===2?e.declTNode:r===1?t[Re]:null}function Yc(t){return Vw(ve(),t)}function Wf(t,e=null,r=null,n){let o=xp(t,e,r,n);return o.resolveInjectorInitializers(),o}function xp(t,e=null,r=null,n,o=new Set){let i=[r||xe,BD(t)];return n=n||(typeof t=="object"?void 0:be(t)),new zr(i,e||ds(),n||null,o)}var Be=(()=>{let e=class e{static create(n,o){if(Array.isArray(n))return Wf({name:""},o,n,"");{let i=n.name??"";return Wf({name:i},n.parent,n.providers,i)}}};e.THROW_IF_NOT_FOUND=Br,e.NULL=new Vi,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>E(Ph)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var zw="ngOriginalError";function ou(t){return t[zw]}var Je=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&&ou(e);for(;r&&ou(r);)r=ou(r);return r||null}},_p=new I("",{providedIn:"root",factory:()=>p(Je).handleError.bind(void 0)}),ys=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=qw,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),_u=class extends ys{constructor(e){super(),this._lView=e}onDestroy(e){return ap(this._lView,e),()=>hw(this._lView,e)}};function qw(){return new _u(S())}function Gw(){return pr(ve(),S())}function pr(t,e){return new He(Ue(t,e))}var He=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Gw;let t=e;return t})();function Ww(t){return t instanceof He?t.nativeElement:t}var Au=class extends re{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,Kh()&&(this.destroyRef=p(ys,{optional:!0})??void 0)}emit(e){let r=L(null);try{super.next(e)}finally{L(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let u=e;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=iu(i),o&&(o=iu(o)),s&&(s=iu(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof K&&e.add(a),a}};function iu(t){return e=>{setTimeout(t,void 0,e)}}var pe=Au;function Zw(){return this._results[Symbol.iterator]()}var Nu=class t{get changes(){return this._changes??=new pe}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]=Zw)}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=ED(e);(this._changesDetected=!ID(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 Ap(t){return(t.flags&128)===128}var Np=new Map,Yw=0;function Qw(){return Yw++}function Kw(t){Np.set(t[fs],t)}function Jw(t){Np.delete(t[fs])}var Zf="__ngContext__";function en(t,e){mn(e)?(t[Zf]=e[fs],Kw(e)):t[Zf]=e}function Rp(t){return Pp(t[Gr])}function Op(t){return Pp(t[Qe])}function Pp(t){for(;t!==null&&!Ot(t);)t=t[Qe];return t}var Ru;function Fp(t){Ru=t}function kp(){if(Ru!==void 0)return Ru;if(typeof document<"u")return document;throw new v(210,!1)}var Ds=new I("",{providedIn:"root",factory:()=>Xw}),Xw="ng",Qc=new I(""),et=new I("",{providedIn:"platform",factory:()=>"unknown"});var c1=new I(""),Kc=new I("",{providedIn:"root",factory:()=>kp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Jc={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Lp=new I("",{providedIn:"root",factory:()=>Jc});var eI="h",tI="b";var nI=()=>null;function Xc(t,e,r=!1){return nI(t,e,r)}var jp=!1,rI=new I("",{providedIn:"root",factory:()=>jp});var Ci;function oI(){if(Ci===void 0&&(Ci=null,te.trustedTypes))try{Ci=te.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ci}function ws(t){return oI()?.createHTML(t)||t}var bi;function Vp(){if(bi===void 0&&(bi=null,te.trustedTypes))try{bi=te.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return bi}function Yf(t){return Vp()?.createHTML(t)||t}function Qf(t){return Vp()?.createScriptURL(t)||t}var _t=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Eh})`}},Ou=class extends _t{getTypeName(){return"HTML"}},Pu=class extends _t{getTypeName(){return"Style"}},Fu=class extends _t{getTypeName(){return"Script"}},ku=class extends _t{getTypeName(){return"URL"}},Lu=class extends _t{getTypeName(){return"ResourceURL"}};function Oe(t){return t instanceof _t?t.changingThisBreaksApplicationSecurity:t}function kt(t,e){let r=iI(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Eh})`)}return r===e}function iI(t){return t instanceof _t&&t.getTypeName()||null}function $p(t){return new Ou(t)}function Up(t){return new Pu(t)}function Bp(t){return new Fu(t)}function Hp(t){return new ku(t)}function zp(t){return new Lu(t)}function sI(t){let e=new Vu(t);return aI()?new ju(e):e}var ju=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(ws(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Vu=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=ws(e),r}};function aI(){try{return!!new window.DOMParser().parseFromString(ws(""),"text/html")}catch{return!1}}var uI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Is(t){return t=String(t),t.match(uI)?t:"unsafe:"+t}function Lt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function uo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var qp=Lt("area,br,col,hr,img,wbr"),Gp=Lt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wp=Lt("rp,rt"),cI=uo(Wp,Gp),lI=uo(Gp,Lt("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")),dI=uo(Wp,Lt("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")),Kf=uo(qp,lI,dI,cI),Zp=Lt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fI=Lt("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"),hI=Lt("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"),pI=uo(Zp,fI,hI),gI=Lt("script,style,template"),$u=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=yI(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=vI(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=Jf(e).toLowerCase();if(!Kf.hasOwnProperty(r))return this.sanitizedSomething=!0,!gI.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(!pI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Zp[a]&&(u=Is(u)),this.buf.push(" ",s,'="',Xf(u),'"')}return this.buf.push(">"),!0}endElement(e){let r=Jf(e).toLowerCase();Kf.hasOwnProperty(r)&&!qp.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(Xf(e))}};function mI(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function vI(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Yp(e);return e}function yI(t){let e=t.firstChild;if(e&&mI(t,e))throw Yp(e);return e}function Jf(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Yp(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var DI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wI=/([^\#-~ |!])/g;function Xf(t){return t.replace(/&/g,"&amp;").replace(DI,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(wI,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Mi;function el(t,e){let r=null;try{Mi=Mi||sI(t);let n=e?String(e):"";r=Mi.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=Mi.getInertBodyElement(n)}while(n!==i);let a=new $u().sanitizeChildren(eh(r)||r);return ws(a)}finally{if(r){let n=eh(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function eh(t){return"content"in t&&II(t)?t.content:null}function II(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var tt=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}(tt||{});function l1(t){let e=tl();return e?Yf(e.sanitize(tt.HTML,t)||""):kt(t,"HTML")?Yf(Oe(t)):el(kp(),yn(t))}function EI(t){let e=tl();return e?e.sanitize(tt.URL,t)||"":kt(t,"URL")?Oe(t):Is(yn(t))}function CI(t){let e=tl();if(e)return Qf(e.sanitize(tt.RESOURCE_URL,t)||"");if(kt(t,"ResourceURL"))return Qf(Oe(t));throw new v(904,!1)}function bI(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?CI:EI}function Qp(t,e,r){return bI(e,r)(t)}function tl(){let t=S();return t&&t[Ke].sanitizer}var MI=/^>|^->|<!--|-->|--!>|<!-$/g,SI=/(<|>)/g,TI="\u200B$1\u200B";function xI(t){return t.replace(MI,e=>e.replace(SI,TI))}function Kp(t){return t instanceof Function?t():t}function _I(t){return(t??p(Be)).get(et)==="browser"}var mt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(mt||{}),AI;function nl(t,e){return AI(t,e)}function Xn(t,e,r,n,o){if(n!=null){let i,s=!1;Ot(n)?i=n:mn(n)&&(s=!0,n=n[vt]);let a=gt(n);t===0&&r!==null?o==null?ng(e,r,a):qi(e,r,a,o||null,!0):t===1&&r!==null?qi(e,r,a,o||null,!0):t===2?GI(e,a,s):t===3&&e.destroyNode(a),i!=null&&ZI(e,t,i,r,o)}}function NI(t,e){return t.createText(e)}function RI(t,e,r){t.setValue(e,r)}function OI(t,e){return t.createComment(xI(e))}function Jp(t,e,r){return t.createElement(e,r)}function PI(t,e){Xp(t,e),e[vt]=null,e[Re]=null}function FI(t,e,r,n,o,i){n[vt]=o,n[Re]=e,bs(t,n,r,1,o,i)}function Xp(t,e){e[Ke].changeDetectionScheduler?.notify(1),bs(t,e,e[Z],2,null,null)}function kI(t){let e=t[Gr];if(!e)return su(t[A],t);for(;e;){let r=null;if(mn(e))r=e[Gr];else{let n=e[we];n&&(r=n)}if(!r){for(;e&&!e[Qe]&&e!==t;)mn(e)&&su(e[A],e),e=e[ge];e===null&&(e=t),mn(e)&&su(e[A],e),r=e&&e[Qe]}e=r}}function LI(t,e,r,n){let o=we+n,i=r.length;n>0&&(r[o-1][Qe]=e),n<i-we?(e[Qe]=r[o],Oh(r,we+n,e)):(r.push(e),e[Qe]=null),e[ge]=r;let s=e[ao];s!==null&&r!==s&&jI(s,e);let a=e[Tt];a!==null&&a.insertView(t),bu(e),e[_]|=128}function jI(t,e){let r=t[ur],o=e[ge][ge][Ve];e[Ve]!==o&&(t[_]|=Pc.HasTransplantedViews),r===null?t[ur]=[e]:r.push(e)}function eg(t,e){let r=t[ur],n=r.indexOf(e);r.splice(n,1)}function Yr(t,e){if(t.length<=we)return;let r=we+e,n=t[r];if(n){let o=n[ao];o!==null&&o!==t&&eg(o,n),e>0&&(t[r-1][Qe]=n[Qe]);let i=ji(t,we+e);PI(n[A],n);let s=i[Tt];s!==null&&s.detachView(i[A]),n[ge]=null,n[Qe]=null,n[_]&=-129}return n}function Es(t,e){if(!(e[_]&256)){let r=e[Z];r.destroyNode&&bs(t,e,r,3,null,null),kI(e)}}function su(t,e){if(e[_]&256)return;let r=L(null);try{e[_]&=-129,e[_]|=256,e[wn]&&Ja(e[wn]),$I(t,e),VI(t,e),e[A].type===1&&e[Z].destroy();let n=e[ao];if(n!==null&&Ot(e[ge])){n!==e[ge]&&eg(n,e);let o=e[Tt];o!==null&&o.detachView(t)}Jw(e)}finally{L(r)}}function VI(t,e){let r=t.cleanup,n=e[qr];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[qr]=null);let o=e[Xt];if(o!==null){e[Xt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function $I(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 Cn)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];ft(4,a,u);try{u.call(a)}finally{ft(5,a,u)}}else{ft(4,o,i);try{i.call(o)}finally{ft(5,o,i)}}}}}function tg(t,e,r){return UI(t,e.parent,r)}function UI(t,e,r){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return r[vt];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===pt.None||i===pt.Emulated)return null}return Ue(n,r)}}function qi(t,e,r,n,o){t.insertBefore(e,r,n,o)}function ng(t,e,r){t.appendChild(e,r)}function th(t,e,r,n,o){n!==null?qi(t,e,r,n,o):ng(t,e,r)}function BI(t,e,r,n){t.removeChild(e,r,n)}function rl(t,e){return t.parentNode(e)}function HI(t,e){return t.nextSibling(e)}function rg(t,e,r){return qI(t,e,r)}function zI(t,e,r){return t.type&40?Ue(t,r):null}var qI=zI,nh;function Cs(t,e,r,n){let o=tg(t,n,e),i=e[Z],s=n.parent||e[Re],a=rg(s,n,e);if(o!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)th(i,o,r[u],a,!1);else th(i,o,r,a,!1);nh!==void 0&&nh(i,n,e,r,o)}function Pi(t,e){if(e!==null){let r=e.type;if(r&3)return Ue(e,t);if(r&4)return Uu(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Pi(t,n);{let o=t[e.index];return Ot(o)?Uu(-1,o):gt(o)}}else{if(r&32)return nl(e,t)()||gt(t[e.index]);{let n=og(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=Zr(t[Ve]);return Pi(o,n)}else return Pi(t,e.next)}}}return null}function og(t,e){if(e!==null){let n=t[Ve][Re],o=e.projection;return n.projection[o]}return null}function Uu(t,e){let r=we+t+1;if(r<e.length){let n=e[r],o=n[A].firstChild;if(o!==null)return Pi(n,o)}return e[In]}function GI(t,e,r){let n=rl(t,e);n&&BI(t,n,e,r)}function ol(t,e,r,n,o,i,s){for(;r!=null;){let a=n[r.index],u=r.type;if(s&&e===0&&(a&&en(gt(a),n),r.flags|=2),(r.flags&32)!==32)if(u&8)ol(t,e,r.child,n,o,i,!1),Xn(e,t,o,a,i);else if(u&32){let c=nl(r,n),l;for(;l=c();)Xn(e,t,o,l,i);Xn(e,t,o,a,i)}else u&16?ig(t,e,n,r,o,i):Xn(e,t,o,a,i);r=s?r.projectionNext:r.next}}function bs(t,e,r,n,o,i){ol(r,n,t.firstChild,e,o,i,!1)}function WI(t,e,r){let n=e[Z],o=tg(t,r,e),i=r.parent||e[Re],s=rg(i,r,e);ig(n,0,e,r,o,s)}function ig(t,e,r,n,o,i){let s=r[Ve],u=s[Re].projection[n.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];Xn(e,t,o,l,i)}else{let c=u,l=s[ge];Ap(n)&&(c.flags|=128),ol(t,e,c,l,o,i,!0)}}function ZI(t,e,r,n,o){let i=r[In],s=gt(r);i!==s&&Xn(e,t,n,i,o);for(let a=we;a<r.length;a++){let u=r[a];bs(u[A],u,t,e,n,i)}}function YI(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:mt.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=mt.Important),t.setStyle(r,n,o,i))}}function QI(t,e,r){t.setAttribute(e,"style",r)}function sg(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function ag(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&Du(t,e,n),o!==null&&sg(t,e,o),i!==null&&QI(t,e,i)}var _e={};function d1(t=1){ug(Y(),S(),Ft()+t,!1)}function ug(t,e,r,n){if(!n)if((e[_]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Ni(e,i,r)}else{let i=t.preOrderHooks;i!==null&&Ri(e,i,0,r)}En(r)}function j(t,e=F.Default){let r=S();if(r===null)return E(t,e);let n=ve();return Mp(n,r,Ce(t),e)}function cg(){let t="invalid";throw new Error(t)}function lg(t,e,r,n,o,i){let s=L(null);try{let a=null;o&ae.SignalBased&&(a=e[n][Kt]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&ae.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):ep(e,a,n,i)}finally{L(s)}}function KI(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)En(~o);else{let i=o,s=r[++n],a=r[++n];bw(s,i);let u=e[i];a(2,u)}}}finally{En(-1)}}function Ms(t,e,r,n,o,i,s,a,u,c,l){let d=e.blueprint.slice();return d[vt]=o,d[_]=n|4|128|8|64,(c!==null||t&&t[_]&2048)&&(d[_]|=2048),sp(d),d[ge]=d[hr]=t,d[De]=r,d[Ke]=s||t&&t[Ke],d[Z]=a||t&&t[Z],d[ar]=u||t&&t[ar]||null,d[Re]=i,d[fs]=Qw(),d[sr]=l,d[Xh]=c,d[Ve]=e.type==2?t[Ve]:d,d}function gr(t,e,r,n,o){let i=t.data[e];if(i===null)i=JI(t,e,r,n,o),Cw()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=Dw();i.injectorIndex=s===null?-1:s.injectorIndex}return _n(i,!0),i}function JI(t,e,r,n,o){let i=lp(),s=$c(),a=s?i:i&&i.parent,u=t.data[e]=oE(t,a,r,e,n,o);return t.firstChild===null&&(t.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function dg(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 fg(t,e,r,n,o){let i=Ft(),s=n&2;try{En(-1),s&&e.length>me&&ug(t,e,me,!1),ft(s?2:0,o),r(n,o)}finally{En(i),ft(s?3:1,o)}}function il(t,e,r){if(Fc(e)){let n=L(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 u=r[s];a.contentQueries(1,u,s)}}}finally{L(n)}}}function sl(t,e,r){up()&&(lE(t,e,r,Ue(r,e)),(r.flags&64)===64&&gg(t,e,r))}function al(t,e,r=Ue){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 hg(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=ul(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function ul(t,e,r,n,o,i,s,a,u,c,l){let d=me+n,f=d+o,h=XI(d,f),g=typeof c=="function"?c():c;return h[A]={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:u,consts:g,incompleteFirstPass:!1,ssrId:l}}function XI(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:_e);return r}function eE(t,e,r,n){let i=n.get(rI,jp)||r===pt.ShadowDom,s=t.selectRootElement(e,i);return tE(s),s}function tE(t){nE(t)}var nE=()=>null;function rE(t,e,r,n){let o=yg(e);o.push(r),t.firstCreatePass&&Dg(t).push(n,o.length-1)}function oE(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return cp()&&(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 rh(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,u=ae.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}t===0?oh(n,r,c,a,u):oh(n,r,c,a)}return n}function oh(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 iE(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],u=null,c=null;for(let l=n;l<o;l++){let d=i[l],f=r?r.get(d):null,h=f?f.inputs:null,g=f?f.outputs:null;u=rh(0,d.inputs,l,u,h),c=rh(1,d.outputs,l,c,g);let C=u!==null&&s!==null&&!Nc(e)?IE(u,l,s):null;a.push(C)}u!==null&&(u.hasOwnProperty("class")&&(e.flags|=8),u.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=u,e.outputs=c}function sE(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function mr(t,e,r,n,o,i,s,a){let u=Ue(e,r),c=e.inputs,l;!a&&c!=null&&(l=c[n])?(ll(t,r,l,n,o),hs(e)&&aE(r,e.index)):e.type&3?(n=sE(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(u,n,o)):e.type&12}function aE(t,e){let r=tn(e,t);r[_]&16||(r[_]|=64)}function cl(t,e,r,n){if(up()){let o=n===null?null:{"":-1},i=fE(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&pg(t,e,r,s,o,a),o&&hE(r,n,o)}r.mergedAttrs=Hr(r.mergedAttrs,r.attrs)}function pg(t,e,r,n,o,i){for(let c=0;c<n.length;c++)Tu(zi(r,e),t,n[c].type);gE(r,t.data.length,n.length);for(let c=0;c<n.length;c++){let l=n[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=dg(t,e,n.length,null);for(let c=0;c<n.length;c++){let l=n[c];r.mergedAttrs=Hr(r.mergedAttrs,l.hostAttrs),mE(t,r,e,u,l),pE(u,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),u++}iE(t,r,i)}function uE(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;cE(s)!=a&&s.push(a),s.push(r,n,i)}}function cE(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function lE(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;hs(r)&&vE(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||zi(r,e),en(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let u=t.data[a],c=bn(e,t,a,r);if(en(c,e),s!==null&&wE(e,a-o,c,u,r,s),xt(u)){let l=tn(r.index,e);l[De]=bn(e,t,a,r)}}}function gg(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=Mw();try{En(i);for(let a=n;a<o;a++){let u=t.data[a],c=e[a];Mu(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&dE(u,c)}}finally{En(-1),Mu(s)}}function dE(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function fE(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(Vh(e,s.selectors,!1))if(n||(n=[]),xt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let u=a.length;Bu(t,e,u)}else n.unshift(s),Bu(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function Bu(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function hE(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 v(-301,!1);n.push(e[o],i)}}}function pE(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;xt(e)&&(r[""]=t)}}function gE(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function mE(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=Dn(o.type,!0)),s=new Cn(i,xt(o),j);t.blueprint[n]=s,r[n]=s,uE(t,e,n,dg(t,r,o.hostVars,_e),o)}function vE(t,e,r){let n=Ue(e,t),o=hg(r),i=t[Ke].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Ss(t,Ms(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function yE(t,e,r,n,o,i){let s=Ue(t,e);DE(e[Z],s,i,t.value,r,n,o)}function DE(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?yn(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function wE(t,e,r,n,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];lg(n,r,u,c,l,d)}}function IE(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 mg(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function vg(t,e){let r=t.contentQueries;if(r!==null){let n=L(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];zc(i),a.contentQueries(2,e[s],s)}}}finally{L(n)}}}function Ss(t,e){return t[Gr]?t[Bf][Qe]=e:t[Gr]=e,t[Bf]=e,e}function Hu(t,e,r){zc(0);let n=L(null);try{e(t,r)}finally{L(n)}}function yg(t){return t[qr]||(t[qr]=[])}function Dg(t){return t.cleanup||(t.cleanup=[])}function wg(t,e,r){return(t===null||xt(t))&&(r=uw(r[e.index])),r[Z]}function Ig(t,e){let r=t[ar],n=r?r.get(Je,null):null;n&&n.handleError(e)}function ll(t,e,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],u=r[i++],c=e[s],l=t.data[s];lg(l,c,n,a,u,o)}}function Eg(t,e,r){let n=ip(e,t);RI(t[Z],n,r)}function EE(t,e){let r=tn(e,t),n=r[A];CE(n,r);let o=r[vt];o!==null&&r[sr]===null&&(r[sr]=Xc(o,r[ar])),dl(n,r,r[De])}function CE(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function dl(t,e,r){qc(e);try{let n=t.viewQuery;n!==null&&Hu(1,n,r);let o=t.template;o!==null&&fg(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),e[Tt]?.finishViewCreation(t),t.staticContentQueries&&vg(t,e),t.staticViewQueries&&Hu(2,t.viewQuery,r);let i=t.components;i!==null&&bE(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[_]&=-5,Gc()}}function bE(t,e){for(let r=0;r<e.length;r++)EE(t,e[r])}function Ts(t,e,r,n){let o=L(null);try{let i=e.tView,a=t[_]&4096?4096:16,u=Ms(t,i,r,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];u[ao]=c;let l=t[Tt];return l!==null&&(u[Tt]=l.createEmbeddedView(i)),dl(i,u,r),u}finally{L(o)}}function Cg(t,e){let r=we+e;if(r<t.length)return t[r]}function Qr(t,e){return!e||e.firstChild===null||Ap(t)}function xs(t,e,r,n=!0){let o=e[A];if(LI(o,e,t,r),n){let s=Uu(r,t),a=e[Z],u=rl(a,t[In]);u!==null&&FI(o,t[Re],a,e,u,s)}let i=e[sr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function bg(t,e){let r=Yr(t,e);return r!==void 0&&Es(r[A],r),r}function Gi(t,e,r,n,o=!1){for(;r!==null;){let i=e[r.index];i!==null&&n.push(gt(i)),Ot(i)&&ME(i,n);let s=r.type;if(s&8)Gi(t,e,r.child,n);else if(s&32){let a=nl(r,e),u;for(;u=a();)n.push(u)}else if(s&16){let a=og(e,r);if(Array.isArray(a))n.push(...a);else{let u=Zr(e[Ve]);Gi(u[A],u,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function ME(t,e){for(let r=we;r<t.length;r++){let n=t[r],o=n[A].firstChild;o!==null&&Gi(n[A],n,o,e)}t[In]!==t[vt]&&e.push(t[In])}var Mg=[];function SE(t){return t[wn]??TE(t)}function TE(t){let e=Mg.pop()??Object.create(_E);return e.lView=t,e}function xE(t){t.lView[wn]!==t&&(t.lView=null,Mg.push(t))}var _E=J(D({},Di),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Wr(t.lView)},consumerOnSignalRead(){this.lView[wn]=this}}),Sg=100;function Tg(t,e=!0,r=0){let n=t[Ke],o=n.rendererFactory,i=!1;i||o.begin?.();try{AE(t,r)}catch(s){throw e&&Ig(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function AE(t,e){zu(t,e);let r=0;for(;Vc(t);){if(r===Sg)throw new v(103,!1);r++,zu(t,1)}}function NE(t,e,r,n){let o=e[_];if((o&256)===256)return;let i=!1;!i&&e[Ke].inlineEffectRunner?.flush(),qc(e);let s=null,a=null;!i&&RE(t)&&(a=SE(e),s=Qa(a));try{sp(e),Ew(t.bindingStartIndex),r!==null&&fg(t,e,r,2,n);let u=(o&3)===3;if(!i)if(u){let d=t.preOrderCheckHooks;d!==null&&Ni(e,d,null)}else{let d=t.preOrderHooks;d!==null&&Ri(e,d,0,null),nu(e,0)}if(OE(e),xg(e,0),t.contentQueries!==null&&vg(t,e),!i)if(u){let d=t.contentCheckHooks;d!==null&&Ni(e,d)}else{let d=t.contentHooks;d!==null&&Ri(e,d,1),nu(e,1)}KI(t,e);let c=t.components;c!==null&&Ag(e,c,0);let l=t.viewQuery;if(l!==null&&Hu(2,l,n),!i)if(u){let d=t.viewCheckHooks;d!==null&&Ni(e,d)}else{let d=t.viewHooks;d!==null&&Ri(e,d,2),nu(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Ai]){for(let d of e[Ai])d();e[Ai]=null}i||(e[_]&=-73)}catch(u){throw Wr(e),u}finally{a!==null&&(Ka(a,s),xE(a)),Gc()}}function RE(t){return t.type!==2}function xg(t,e){for(let r=Rp(t);r!==null;r=Op(r))for(let n=we;n<r.length;n++){let o=r[n];_g(o,e)}}function OE(t){for(let e=Rp(t);e!==null;e=Op(e)){if(!(e[_]&Pc.HasTransplantedViews))continue;let r=e[ur];for(let n=0;n<r.length;n++){let o=r[n],i=o[ge];dw(o)}}}function PE(t,e,r){let n=tn(e,t);_g(n,r)}function _g(t,e){jc(t)&&zu(t,e)}function zu(t,e){let n=t[A],o=t[_],i=t[wn],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&wi(i)),i&&(i.dirty=!1),t[_]&=-9217,s)NE(n,t,n.template,t[De]);else if(o&8192){xg(t,1);let a=n.components;a!==null&&Ag(t,a,1)}}function Ag(t,e,r){for(let n=0;n<e.length;n++)PE(t,e[n],r)}function fl(t){for(t[Ke].changeDetectionScheduler?.notify();t;){t[_]|=64;let e=Zr(t);if(tw(t)&&!e)return t;t=e}return null}var Mn=class{get rootNodes(){let e=this._lView,r=e[A];return Gi(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[ge];if(Ot(e)){let r=e[$i],n=r?r.indexOf(this):-1;n>-1&&(Yr(e,n),ji(r,n))}this._attachedToViewContainer=!1}Es(this._lView[A],this._lView)}onDestroy(e){ap(this._lView,e)}markForCheck(){fl(this._cdRefInjectingView||this._lView)}detach(){this._lView[_]&=-129}reattach(){bu(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,Tg(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Xp(this._lView[A],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=e,bu(this._lView)}},Sn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=LE;let t=e;return t})(),FE=Sn,kE=class extends FE{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=Ts(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Mn(o)}};function LE(){return _s(ve(),S())}function _s(t,e){return t.type&4?new kE(e,t,pr(t,e)):null}var h1=new RegExp(`^(\\d+)*(${tI}|${eI})*(.*)`);var jE=()=>null;function Kr(t,e){return jE(t,e)}var Wi=class{},qu=class{},Zi=class{};function VE(t){let e=Error(`No component factory found for ${be(t)}.`);return e[$E]=t,e}var $E="ngComponent";var Gu=class{resolveComponentFactory(e){throw VE(e)}},As=(()=>{let e=class e{};e.NULL=new Gu;let t=e;return t})(),Jr=class{},rn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>UE();let t=e;return t})();function UE(){let t=S(),e=ve(),r=tn(e.index,t);return(mn(r)?r:t)[Z]}var BE=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),au={};var ih=new Set;function jt(t){ih.has(t)||(ih.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function sh(...t){}function HE(){let t=typeof te.requestAnimationFrame=="function",e=te[t?"requestAnimationFrame":"setTimeout"],r=te[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&r){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=r[Zone.__symbol__("OriginalDelegate")];o&&(r=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:r}}var z=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 pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1),typeof Zone>"u")throw new v(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.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=HE().nativeRequestAnimationFrame,GE(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new v(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,zE,sh,sh);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)}},zE={};function hl(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 qE(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(te,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Wu(t),t.isCheckStableRunning=!0,hl(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Wu(t))}function GE(t){let e=()=>{qE(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(WE(a))return r.invokeTask(o,i,s,a);try{return ah(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),uh(t)}},onInvoke:(r,n,o,i,s,a,u)=>{try{return ah(t),r.invoke(o,i,s,a,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),uh(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Wu(t),hl(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 Wu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ah(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uh(t){t._nesting--,hl(t)}var Zu=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}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 WE(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function ZE(t="zone.js",e){return t==="noop"?new Zu:t==="zone.js"?new z(e):t}var er=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(er||{}),YE={destroy(){}};function Ns(t,e){!e&&Jh(Ns);let r=e?.injector??p(Be);if(!_I(r))return YE;jt("NgAfterNextRender");let n=r.get(pl),o=n.handler??=new Qu,i=e?.phase??er.MixedReadWrite,s=()=>{o.unregister(u),a()},a=r.get(ys).onDestroy(s),u=Xe(r,()=>new Yu(i,()=>{s(),t()}));return o.register(u),{destroy:s}}var Yu=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=p(z),this.errorHandler=p(Je,{optional:!0}),p(Wi,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Qu=class{constructor(){this.executingCallbacks=!1,this.buckets={[er.EarlyRead]:new Set,[er.Write]:new Set,[er.MixedReadWrite]:new Set,[er.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()}},pl=(()=>{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=w({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Yi(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=gu(o,a);else if(i==2){let u=a,c=e[++s];n=gu(n,u+": "+c+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var Qi=class extends As{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=St(e);return new Tn(r,this.ngModule)}};function ch(t){let e=[];for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:r})}return e}function QE(t){let e=t.toLowerCase();return e==="svg"?op:e==="math"?iw:null}var Ku=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=ss(n);let o=this.injector.get(e,au,n);return o!==au||r===au?o:this.parentInjector.get(e,r,n)}},Tn=class extends Zi{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=ch(e.inputs);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return ch(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=LD(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){let i=L(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 Ku(e,s):e,u=a.get(Jr,null);if(u===null)throw new v(407,!1);let c=a.get(BE,null),l=a.get(pl,null),d=a.get(Wi,null),f={rendererFactory:u,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},h=u.createRenderer(null,this.componentDef),g=this.componentDef.selectors[0][0]||"div",C=n?eE(h,n,this.componentDef.encapsulation,a):Jp(h,g,QE(g)),y=512;this.componentDef.signals?y|=4096:this.componentDef.onPush||(y|=16);let m=null;C!==null&&(m=Xc(C,a,!0));let B=ul(0,null,null,1,0,null,null,null,null,null,null),ne=Ms(null,B,null,y,null,null,f,h,a,null,m);qc(ne);let H,Ae;try{let Ne=this.componentDef,Wt,xa=null;Ne.findHostDirectiveDefs?(Wt=[],xa=new Map,Ne.findHostDirectiveDefs(Ne,Wt,xa),Wt.push(Ne)):Wt=[Ne];let Zv=KE(ne,C),Yv=JE(Zv,C,Ne,Wt,ne,f,h);Ae=kc(B,me),C&&tC(h,Ne,C,n),r!==void 0&&nC(Ae,this.ngContentSelectors,r),H=eC(Yv,Ne,Wt,xa,ne,[rC]),dl(B,ne,null)}finally{Gc()}return new Ju(this.componentType,H,pr(Ae,ne),ne,Ae)}finally{L(i)}}},Ju=class extends qu{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 Mn(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;ll(i[A],i,o,e,r),this.previousInputValues.set(e,r);let s=tn(this._tNode.index,i);fl(s)}}get injector(){return new vn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function KE(t,e){let r=t[A],n=me;return t[n]=e,gr(r,n,2,"#host",null)}function JE(t,e,r,n,o,i,s){let a=o[A];XE(n,t,e,s);let u=null;e!==null&&(u=Xc(e,o[ar]));let c=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=Ms(o,hg(r),null,l,o[t.index],t,i,c,null,null,u);return a.firstCreatePass&&Bu(a,t,n.length-1),Ss(o,d),o[t.index]=d}function XE(t,e,r,n){for(let o of t)e.mergedAttrs=Hr(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(Yi(e,e.mergedAttrs,!0),r!==null&&ag(n,r,e))}function eC(t,e,r,n,o,i){let s=ve(),a=o[A],u=Ue(s,o);pg(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=bn(o,a,d,s);en(f,o)}gg(a,o,s),u&&en(u,o);let c=bn(o,a,s.directiveStart+s.componentOffset,s);if(t[De]=o[De]=c,i!==null)for(let l of i)l(c,e);return il(a,s,o),c}function tC(t,e,r,n){if(n)Du(t,r,["ng-version","17.3.10"]);else{let{attrs:o,classes:i}=jD(e.selectors[0]);o&&Du(t,r,o),i&&i.length>0&&sg(t,r,i.join(" "))}}function nC(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 rC(){let t=ve();vs(S()[A],t)}var Dt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=oC;let t=e;return t})();function oC(){let t=ve();return Rg(t,S())}var iC=Dt,Ng=class extends iC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return pr(this._hostTNode,this._hostLView)}get injector(){return new vn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Wc(this._hostTNode,this._hostLView);if(Dp(e)){let r=Bi(e,this._hostLView),n=Ui(e),o=r[A].data[n+8];return new vn(o,r)}else return new vn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=lh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-we}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Kr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,Qr(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!ew(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let u=s?e:new Tn(St(e)),c=n||this.parentInjector;if(!i&&u.ngModule==null){let C=(s?c:this.parentInjector).get(Ie,null);C&&(i=C)}let l=St(u.componentType??{}),d=Kr(this._lContainer,l?.id??null),f=d?.firstChild??null,h=u.create(c,o,f,i);return this.insertImpl(h.hostView,a,Qr(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(lw(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let u=o[ge],c=new Ng(u,u[Re],u[ge]);c.detach(c.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return xs(s,o,i,n),e.attachToViewContainerRef(),Oh(uu(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=lh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Yr(this._lContainer,r);n&&(ji(uu(this._lContainer),r),Es(n[A],n))}detach(e){let r=this._adjustIndex(e,-1),n=Yr(this._lContainer,r);return n&&ji(uu(this._lContainer),r)!=null?new Mn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function lh(t){return t[$i]}function uu(t){return t[$i]||(t[$i]=[])}function Rg(t,e){let r,n=e[t.index];return Ot(n)?r=n:(r=mg(n,e,null,t),e[t.index]=r,Ss(e,r)),aC(r,e,t,n),new Ng(r,t,e)}function sC(t,e){let r=t[Z],n=r.createComment(""),o=Ue(e,t),i=rl(r,o);return qi(r,i,n,HI(r,o),!1),n}var aC=lC,uC=()=>!1;function cC(t,e,r){return uC(t,e,r)}function lC(t,e,r,n){if(t[In])return;let o;r.type&8?o=gt(n):o=sC(e,r),t[In]=o}var Xu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},ec=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++)gl(e,r).matches!==null&&this.queries[r].setDirty()}},Ki=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=yC(e):this.predicate=e}},tc=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)}},nc=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,dC(r,i)),this.matchTNodeWithReadOption(e,r,Oi(r,e,i,!1,!1))}else n===Sn?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Oi(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===He||o===Dt||o===Sn&&r.type&4)this.addMatch(r.index,-2);else{let i=Oi(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 dC(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 fC(t,e){return t.type&11?pr(t,e):t.type&4?_s(t,e):null}function hC(t,e,r,n){return r===-1?fC(e,t):r===-2?pC(t,e,n):bn(t,t[A],r,e)}function pC(t,e,r){if(r===He)return pr(e,t);if(r===Sn)return _s(e,t);if(r===Dt)return Rg(e,t)}function Og(t,e,r,n){let o=e[Tt].queries[n];if(o.matches===null){let i=t.data,s=r.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(hC(e,l,s[u+1],r.metadata.read))}}o.matches=a}return o.matches}function rc(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=Og(t,e,o,r);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)n.push(s[a/2]);else{let c=i[a+1],l=e[-u];for(let d=we;d<l.length;d++){let f=l[d];f[ao]===f[ge]&&rc(f[A],f,c,n)}if(l[ur]!==null){let d=l[ur];for(let f=0;f<d.length;f++){let h=d[f];rc(h[A],h,c,n)}}}}}return n}function gC(t,e){return t[Tt].queries[e].queryList}function Pg(t,e,r){let n=new Nu((r&4)===4);return rE(t,e,n,n.destroy),(e[Tt]??=new ec).queries.push(new Xu(n))-1}function mC(t,e,r){let n=Y();return n.firstCreatePass&&(Fg(n,new Ki(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),Pg(n,S(),e)}function vC(t,e,r,n){let o=Y();if(o.firstCreatePass){let i=ve();Fg(o,new Ki(e,r,n),i.index),DC(o,t),(r&2)===2&&(o.staticContentQueries=!0)}return Pg(o,S(),r)}function yC(t){return t.split(",").map(e=>e.trim())}function Fg(t,e,r){t.queries===null&&(t.queries=new tc),t.queries.track(new nc(e,r))}function DC(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 gl(t,e){return t.queries.getByIndex(e)}function wC(t,e){let r=t[A],n=gl(r,e);return n.crossesNgTemplate?rc(r,t,e,[]):Og(r,t,n,e)}function IC(t){return typeof t=="function"&&t[Kt]!==void 0}function g1(t,e){jt("NgSignals");let r=_f(t),n=r[Kt];return e?.equal&&(n.equal=e.equal),r.set=o=>Xa(n,o),r.update=o=>Af(n,o),r.asReadonly=EC.bind(r),r}function EC(){let t=this[Kt];if(t.readonlyFn===void 0){let e=()=>this();e[Kt]=t,t.readonlyFn=e}return t.readonlyFn}function kg(t){return IC(t)&&typeof t.set=="function"}function CC(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(TC))}return i}return Ji.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(c=>{o.template=c}));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 c=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[c+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(c=>{a.push(c),o.styleUrl=void 0}));let u=Promise.all(s).then(()=>xC(i));e.push(u)}),MC(),Promise.all(e).then(()=>{})}var Ji=new Map,bC=new Set;function MC(){let t=Ji;return Ji=new Map,t}function SC(){return Ji.size===0}function TC(t){return typeof t=="string"?t:t.text()}function xC(t){bC.delete(t)}function _C(t){return Object.getPrototypeOf(t.prototype).constructor}function AC(t){let e=_C(t.type),r=!0,n=[t];for(;e;){let o;if(xt(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new v(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=Si(t.inputs),s.inputTransforms=Si(t.inputTransforms),s.declaredInputs=Si(t.declaredInputs),s.outputs=Si(t.outputs);let a=o.hostBindings;a&&FC(t,a);let u=o.viewQuery,c=o.contentQueries;if(u&&OC(t,u),c&&PC(t,c),NC(t,o),nD(t.outputs,o.outputs),xt(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===AC&&(r=!1)}}e=Object.getPrototypeOf(e)}RC(n)}function NC(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 RC(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=Hr(o.hostAttrs,r=Hr(r,o.hostAttrs))}}function Si(t){return t===rr?{}:t===xe?[]:t}function OC(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function PC(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function FC(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function Rs(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 At=class{},Xr=class{};function Lg(t,e){return new eo(t,e??null,[])}var eo=class extends At{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Qi(this);let o=zh(e);this._bootstrapComponents=Kp(o.bootstrap),this._r3Injector=xp(e,r,[{provide:At,useValue:this},{provide:As,useValue:this.componentFactoryResolver},...n],be(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)}},Xi=class extends Xr{constructor(e){super(),this.moduleType=e}create(e){return new eo(this.moduleType,e,[])}};function kC(t,e,r){return new eo(t,e,r)}var oc=class extends At{constructor(e){super(),this.componentFactoryResolver=new Qi(this),this.instance=null;let r=new zr([...e.providers,{provide:At,useValue:this},{provide:As,useValue:this.componentFactoryResolver}],e.parent||ds(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Os(t,e,r=null){return new oc({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var on=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new he(!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.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function jg(t){return ml(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function LC(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 ml(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function sn(t,e,r){return t[e]=r}function Ps(t,e){return t[e]}function Me(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function lr(t,e,r,n){let o=Me(t,e,r);return Me(t,e+1,n)||o}function jC(t,e,r,n,o){let i=lr(t,e,r,n);return Me(t,e+2,o)||i}function to(t,e,r,n,o,i){let s=lr(t,e,r,n);return lr(t,e+2,o,i)||s}function VC(t){return(t.flags&32)===32}function $C(t,e,r,n,o,i,s,a,u){let c=e.consts,l=gr(e,t,4,s||null,cr(c,a));cl(e,r,l,cr(c,u)),vs(e,l);let d=l.tView=ul(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function ic(t,e,r,n,o,i,s,a){let u=S(),c=Y(),l=t+me,d=c.firstCreatePass?$C(l,c,u,e,r,n,o,i,s):c.data[l];_n(d,!1);let f=UC(c,u,d,t);gs()&&Cs(c,u,f,d),en(f,u);let h=mg(f,u,f,d);return u[l]=h,Ss(u,h),cC(h,d,u),ps(d)&&sl(c,u,d),s!=null&&al(u,d,a),ic}var UC=BC;function BC(t,e,r,n){return ms(!0),e[Z].createComment("")}function vl(t,e,r,n){let o=S(),i=nn();if(Me(o,i,e)){let s=Y(),a=An();yE(a,o,t,e,r,n)}return vl}function yl(t,e,r,n){return Me(t,nn(),r)?e+yn(r)+n:_e}function Vg(t,e,r,n,o,i){let s=Iw(),a=lr(t,s,r,o);return Bc(2),a?e+yn(r)+n+yn(o)+i:_e}function Ti(t,e){return t<<17|e<<2}function xn(t){return t>>17&32767}function HC(t){return(t&2)==2}function zC(t,e){return t&131071|e<<17}function sc(t){return t|2}function dr(t){return(t&131068)>>2}function cu(t,e){return t&-131069|e<<2}function qC(t){return(t&1)===1}function ac(t){return t|1}function GC(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=xn(s),u=dr(s);t[n]=r;let c=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||io(d,l)>0)&&(c=!0)}else l=r;if(o)if(u!==0){let f=xn(t[a+1]);t[n+1]=Ti(f,a),f!==0&&(t[f+1]=cu(t[f+1],n)),t[a+1]=zC(t[a+1],n)}else t[n+1]=Ti(a,0),a!==0&&(t[a+1]=cu(t[a+1],n)),a=n;else t[n+1]=Ti(u,0),a===0?a=n:t[u+1]=cu(t[u+1],n),u=n;c&&(t[n+1]=sc(t[n+1])),dh(t,l,n,!0),dh(t,l,n,!1),WC(e,l,t,n,i),s=Ti(a,u),i?e.classBindings=s:e.styleBindings=s}function WC(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&io(i,e)>=0&&(r[n+1]=ac(r[n+1]))}function dh(t,e,r,n){let o=t[r+1],i=e===null,s=n?xn(o):dr(o),a=!1;for(;s!==0&&(a===!1||i);){let u=t[s],c=t[s+1];ZC(u,e)&&(a=!0,t[s+1]=n?ac(c):sc(c)),s=n?xn(c):dr(c)}a&&(t[r+1]=n?sc(o):ac(o))}function ZC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?io(t,e)>=0:!1}var Ye={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function YC(t){return t.substring(Ye.key,Ye.keyEnd)}function QC(t){return KC(t),$g(t,Ug(t,0,Ye.textEnd))}function $g(t,e){let r=Ye.textEnd;return r===e?-1:(e=Ye.keyEnd=JC(t,Ye.key=e,r),Ug(t,e,r))}function KC(t){Ye.key=0,Ye.keyEnd=0,Ye.value=0,Ye.valueEnd=0,Ye.textEnd=t.length}function Ug(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function JC(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function XC(t,e,r){let n=S(),o=nn();if(Me(n,o,e)){let i=Y(),s=An();mr(i,s,n,t,e,n[Z],r,!1)}return XC}function uc(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";ll(t,r,i[s],s,n)}function Dl(t,e,r){return Hg(t,e,r,!1),Dl}function eb(t,e){return Hg(t,e,null,!0),eb}function m1(t){zg(sb,Bg,t,!0)}function Bg(t,e){for(let r=QC(e);r>=0;r=$g(e,r))us(t,YC(e),!0)}function Hg(t,e,r,n){let o=S(),i=Y(),s=Bc(2);if(i.firstUpdatePass&&Gg(i,t,s,n),e!==_e&&Me(o,s,e)){let a=i.data[Ft()];Wg(i,a,o,o[Z],t,o[s+1]=ub(e,r),n,s)}}function zg(t,e,r,n){let o=Y(),i=Bc(2);o.firstUpdatePass&&Gg(o,null,i,n);let s=S();if(r!==_e&&Me(s,i,r)){let a=o.data[Ft()];if(Zg(a,n)&&!qg(o,i)){let u=n?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(r=gu(u,r||"")),uc(o,a,s,r,n)}else ab(o,a,s,s[Z],s[i+1],s[i+1]=ib(t,e,r),n,i)}}function qg(t,e){return e>=t.expandoStartIndex}function Gg(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[Ft()],s=qg(t,r);Zg(i,n)&&e===null&&!s&&(e=!1),e=tb(o,i,e,n),GC(o,i,e,r,s,n)}}function tb(t,e,r,n){let o=Hc(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=lu(null,t,e,r,n),r=no(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=lu(o,t,e,r,n),i===null){let u=nb(t,e,n);u!==void 0&&Array.isArray(u)&&(u=lu(null,t,e,u[1],n),u=no(u,e.attrs,n),rb(t,e,n,u))}else i=ob(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function nb(t,e,r){let n=r?e.classBindings:e.styleBindings;if(dr(n)!==0)return t[xn(n)]}function rb(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[xn(o)]=n}function ob(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=no(n,s,r)}return no(n,e.attrs,r)}function lu(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=no(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function no(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]),us(t,s,r?!0:e[++i]))}return t===void 0?null:t}function ib(t,e,r){if(r==null||r==="")return xe;let n=[],o=Oe(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 sb(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&us(t,n,r)}function ab(t,e,r,n,o,i,s,a){o===_e&&(o=xe);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=u<o.length?o[u+1]:void 0,h=c<i.length?i[c+1]:void 0,g=null,C;l===d?(u+=2,c+=2,f!==h&&(g=d,C=h)):d===null||l!==null&&l<d?(u+=2,g=l):(c+=2,g=d,C=h),g!==null&&Wg(t,e,r,n,g,C,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function Wg(t,e,r,n,o,i,s,a){if(!(e.type&3))return;let u=t.data,c=u[a+1],l=qC(c)?fh(u,e,r,o,dr(c),s):void 0;if(!es(l)){es(i)||HC(c)&&(i=fh(u,null,r,o,a,s));let d=ip(Ft(),r);YI(n,s,d,o,i)}}function fh(t,e,r,n,o,i){let s=e===null,a;for(;o>0;){let u=t[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=r[o+1];f===_e&&(f=d?xe:void 0);let h=d?eu(f,n):l===n?f:void 0;if(c&&!es(h)&&(h=eu(u,n)),es(h)&&(a=h,s))return a;let g=t[o+1];o=s?xn(g):dr(g)}if(e!==null){let u=i?e.residualClasses:e.residualStyles;u!=null&&(a=eu(u,n))}return a}function es(t){return t!==void 0}function ub(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=be(Oe(t)))),t}function Zg(t,e){return(t.flags&(e?8:16))!==0}function v1(t,e,r){let n=S(),o=yl(n,t,e,r);zg(us,Bg,o,!0)}var cc=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 du(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function cb(t,e,r){let n,o,i=0,s=t.length-1;if(Array.isArray(e)){let a=e.length-1;for(;i<=s&&i<=a;){let u=t.at(i),c=e[i],l=du(i,u,i,c,r);if(l!==0){l<0&&t.updateValue(i,c),i++;continue}let d=t.at(s),f=e[a],h=du(s,d,a,f,r);if(h!==0){h<0&&t.updateValue(s,f),s--,a--;continue}let g=r(i,u),C=r(s,d),y=r(i,c);if(Object.is(y,C)){let m=r(a,f);Object.is(m,g)?(t.swap(i,s),t.updateValue(s,f),a--,s--):t.move(s,i),t.updateValue(i,c),i++;continue}if(n??=new ts,o??=ph(t,i,s,r),lc(t,n,i,y))t.updateValue(i,c),i++,s++;else if(o.has(y))n.set(g,t.detach(i)),s--;else{let m=t.create(i,e[i]);t.attach(i,m),i++,s++}}for(;i<=a;)hh(t,n,r,i,e[i]),i++}else if(e!=null){let a=e[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=t.at(i),l=u.value,d=du(i,c,i,l,r);if(d!==0)d<0&&t.updateValue(i,l),i++,u=a.next();else{n??=new ts,o??=ph(t,i,s,r);let f=r(i,l);if(lc(t,n,i,f))t.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))t.attach(i,t.create(i,l)),i++,s++,u=a.next();else{let h=r(i,c);n.set(h,t.detach(i)),s--}}}for(;!u.done;)hh(t,n,r,t.length,u.value),u=a.next()}for(;i<=s;)t.destroy(t.detach(s--));n?.forEach(a=>{t.destroy(a)})}function lc(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function hh(t,e,r,n,o){if(lc(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function ph(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 ts=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 y1(t,e,r){jt("NgControlFlow");let n=S(),o=nn(),i=pc(n,me+t),s=0;if(Me(n,o,e)){let a=L(null);try{if(bg(i,s),e!==-1){let u=gc(n[A],me+e),c=Kr(i,u.tView.ssrId),l=Ts(n,u,r,{dehydratedView:c});xs(i,l,s,Qr(u,c))}}finally{L(a)}}else{let a=Cg(i,s);a!==void 0&&(a[De]=r)}}var dc=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-we}};function D1(t,e){return e}var fc=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function w1(t,e,r,n,o,i,s,a,u,c,l,d,f){jt("NgControlFlow");let h=u!==void 0,g=S(),C=a?s.bind(g[Ve][De]):s,y=new fc(h,C);g[me+t]=y,ic(t+1,e,r,n,o,i),h&&ic(t+2,u,c,l,d,f)}var hc=class extends cc{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-we}at(e){return this.getLView(e)[De].$implicit}attach(e,r){let n=r[sr];this.needsIndexUpdate||=e!==this.length,xs(this.lContainer,r,e,Qr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,lb(this.lContainer,e)}create(e,r){let n=Kr(this.lContainer,this.templateTNode.tView.ssrId);return Ts(this.hostLView,this.templateTNode,new dc(this.lContainer,r,e),{dehydratedView:n})}destroy(e){Es(e[A],e)}updateValue(e,r){this.getLView(e)[De].$implicit=r}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[De].$index=e}getLView(e){return db(this.lContainer,e)}};function I1(t){let e=L(null),r=Ft();try{let n=S(),o=n[A],i=n[r];if(i.liveCollection===void 0){let a=r+1,u=pc(n,a),c=gc(o,a);i.liveCollection=new hc(u,n,c)}else i.liveCollection.reset();let s=i.liveCollection;if(cb(s,t,i.trackByFn),s.updateIndexes(),i.hasEmptyBlock){let a=nn(),u=s.length===0;if(Me(n,a,u)){let c=r+2,l=pc(n,c);if(u){let d=gc(o,c),f=Kr(l,d.tView.ssrId),h=Ts(n,d,void 0,{dehydratedView:f});xs(l,h,0,Qr(d,f))}else bg(l,0)}}}finally{L(e)}}function pc(t,e){return t[e]}function lb(t,e){return Yr(t,e)}function db(t,e){return Cg(t,e)}function gc(t,e){return kc(t,e)}function fb(t,e,r,n,o,i){let s=e.consts,a=cr(s,o),u=gr(e,t,2,n,a);return cl(e,r,u,cr(s,i)),u.attrs!==null&&Yi(u,u.attrs,!1),u.mergedAttrs!==null&&Yi(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function Yg(t,e,r,n){let o=S(),i=Y(),s=me+t,a=o[Z],u=i.firstCreatePass?fb(s,i,o,e,r,n):i.data[s],c=hb(i,o,u,a,e,t);o[s]=c;let l=ps(u);return _n(u,!0),ag(a,c,u),!VC(u)&&gs()&&Cs(i,o,c,u),pw()===0&&en(c,o),gw(),l&&(sl(i,o,u),il(i,u,o)),n!==null&&al(o,u),Yg}function Qg(){let t=ve();$c()?Uc():(t=t.parent,_n(t,!1));let e=t;vw(e)&&yw(),mw();let r=Y();return r.firstCreatePass&&(vs(r,t),Fc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Ow(e)&&uc(r,e,S(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&Pw(e)&&uc(r,e,S(),e.stylesWithoutHost,!1),Qg}function wl(t,e,r,n){return Yg(t,e,r,n),Qg(),wl}var hb=(t,e,r,n,o,i)=>(ms(!0),Jp(n,o,_w()));function pb(t,e,r,n,o){let i=e.consts,s=cr(i,n),a=gr(e,t,8,"ng-container",s);s!==null&&Yi(a,s,!0);let u=cr(i,o);return cl(e,r,a,u),e.queries!==null&&e.queries.elementStart(e,a),a}function Kg(t,e,r){let n=S(),o=Y(),i=t+me,s=o.firstCreatePass?pb(i,o,n,e,r):o.data[i];_n(s,!0);let a=mb(o,n,s,t);return n[i]=a,gs()&&Cs(o,n,a,s),en(a,n),ps(s)&&(sl(o,n,s),il(o,s,n)),r!=null&&al(n,s),Kg}function Jg(){let t=ve(),e=Y();return $c()?Uc():(t=t.parent,_n(t,!1)),e.firstCreatePass&&(vs(e,t),Fc(t)&&e.queries.elementEnd(t)),Jg}function gb(t,e,r){return Kg(t,e,r),Jg(),gb}var mb=(t,e,r,n)=>(ms(!0),OI(e[Z],""));function E1(){return S()}function vb(t,e,r){let n=S(),o=nn();if(Me(n,o,e)){let i=Y(),s=An();mr(i,s,n,t,e,n[Z],r,!0)}return vb}function yb(t,e,r){let n=S(),o=nn();if(Me(n,o,e)){let i=Y(),s=An(),a=Hc(i.data),u=wg(a,s,n);mr(i,s,n,t,e,u,r,!0)}return yb}var gn=void 0;function Db(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var wb=["en",[["a","p"],["AM","PM"],gn],[["AM","PM"],gn,gn],[["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"]],gn,[["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"]],gn,[["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}",gn,"{1} 'at' {0}",gn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Db],fu={};function Pe(t){let e=Ib(t),r=gh(e);if(r)return r;let n=e.split("-")[0];if(r=gh(n),r)return r;if(n==="en")return wb;throw new v(701,!1)}function gh(t){return t in fu||(fu[t]=te.ng&&te.ng.common&&te.ng.common.locales&&te.ng.common.locales[t]),fu[t]}var ee=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}(ee||{});function Ib(t){return t.toLowerCase().replace(/_/g,"-")}var ns="en-US";var Eb=ns;function Cb(t){typeof t=="string"&&(Eb=t.toLowerCase().replace(/_/g,"-"))}function Il(t,e,r,n){let o=S(),i=Y(),s=ve();return El(i,o,o[Z],s,t,e,n),Il}function bb(t,e){let r=ve(),n=S(),o=Y(),i=Hc(o.data),s=wg(i,r,n);return El(o,n,s,r,t,e),bb}function Mb(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[qr],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function El(t,e,r,n,o,i,s){let a=ps(n),c=t.firstCreatePass&&Dg(t),l=e[De],d=yg(e),f=!0;if(n.type&3||s){let C=Ue(n,e),y=s?s(C):C,m=d.length,B=s?H=>s(gt(H[n.index])):n.index,ne=null;if(!s&&a&&(ne=Mb(t,e,o,n.index)),ne!==null){let H=ne.__ngLastListenerFn__||ne;H.__ngNextListenerFn__=i,ne.__ngLastListenerFn__=i,f=!1}else{i=vh(n,e,l,i,!1);let H=r.listen(y,o,i);d.push(i,H),c&&c.push(o,B,m,m+1)}}else i=vh(n,e,l,i,!1);let h=n.outputs,g;if(f&&h!==null&&(g=h[o])){let C=g.length;if(C)for(let y=0;y<C;y+=2){let m=g[y],B=g[y+1],Ae=e[m][B].subscribe(i),Ne=d.length;d.push(i,Ae),c&&c.push(o,n.index,Ne,-(Ne+1))}}}function mh(t,e,r,n){let o=L(null);try{return ft(6,e,r),r(n)!==!1}catch(i){return Ig(t,i),!1}finally{ft(7,e,r),L(o)}}function vh(t,e,r,n,o){return function i(s){if(s===Function)return n;let a=t.componentOffset>-1?tn(t.index,e):e;fl(a);let u=mh(e,r,n,s),c=i.__ngNextListenerFn__;for(;c;)u=mh(e,r,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function C1(t=1){return Tw(t)}function Sb(t,e){let r=null,n=RD(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?Vh(t,i,!0):FD(n,i))return o}return r}function b1(t){let e=S()[Ve][Re];if(!e.projection){let r=t?t.length:1,n=e.projection=CD(r,null),o=n.slice(),i=e.child;for(;i!==null;){let s=t?Sb(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i),i=i.next}}}function M1(t,e=0,r){let n=S(),o=Y(),i=gr(o,me+t,16,null,r||null);i.projection===null&&(i.projection=e),Uc(),(!n[sr]||cp())&&(i.flags&32)!==32&&WI(o,n,i)}function Tb(t,e,r){return Xg(t,"",e,"",r),Tb}function Xg(t,e,r,n,o){let i=S(),s=yl(i,e,r,n);if(s!==_e){let a=Y(),u=An();mr(a,u,i,t,s,i[Z],o,!1)}return Xg}function xb(t,e,r,n,o,i,s){let a=S(),u=Vg(a,e,r,n,o,i);if(u!==_e){let c=Y(),l=An();mr(c,l,a,t,u,a[Z],s,!1)}return xb}function em(t,e,r,n){vC(t,e,r,n)}function S1(t,e,r){mC(t,e,r)}function tm(t){let e=S(),r=Y(),n=dp();zc(n+1);let o=gl(r,n);if(t.dirty&&cw(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=wC(e,n);t.reset(i,Ww),t.notifyOnChanges()}return!0}return!1}function nm(){return gC(S(),dp())}function _b(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function T1(t){let e=ww();return Lc(e,me+t)}function x1(t,e=""){let r=S(),n=Y(),o=t+me,i=n.firstCreatePass?gr(n,o,1,e,null):n.data[o],s=Ab(n,r,i,e,t);r[o]=s,gs()&&Cs(n,r,s,i),_n(i,!1)}var Ab=(t,e,r,n,o)=>(ms(!0),NI(e[Z],n));function Nb(t){return rm("",t,""),Nb}function rm(t,e,r){let n=S(),o=yl(n,t,e,r);return o!==_e&&Eg(n,Ft(),o),rm}function Rb(t,e,r,n,o){let i=S(),s=Vg(i,t,e,r,n,o);return s!==_e&&Eg(i,Ft(),s),Rb}function Ob(t,e,r){kg(e)&&(e=e());let n=S(),o=nn();if(Me(n,o,e)){let i=Y(),s=An();mr(i,s,n,t,e,n[Z],r,!1)}return Ob}function _1(t,e){let r=kg(t);return r&&t.set(e),r}function Pb(t,e){let r=S(),n=Y(),o=ve();return El(n,r,r[Z],o,t,e),Pb}function Fb(t,e,r){let n=Y();if(n.firstCreatePass){let o=xt(t);mc(r,n.data,n.blueprint,o,!0),mc(e,n.data,n.blueprint,o,!1)}}function mc(t,e,r,n,o){if(t=Ce(t),Array.isArray(t))for(let i=0;i<t.length;i++)mc(t[i],e,r,n,o);else{let i=Y(),s=S(),a=ve(),u=ir(t)?t:Ce(t.provide),c=Qh(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(ir(t)||!t.multi){let h=new Cn(c,o,j),g=pu(u,e,o?l:l+f,d);g===-1?(Tu(zi(a,s),i,u),hu(i,t,e.length),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[g]=h,s[g]=h)}else{let h=pu(u,e,l+f,d),g=pu(u,e,l,l+f),C=h>=0&&r[h],y=g>=0&&r[g];if(o&&!y||!o&&!C){Tu(zi(a,s),i,u);let m=jb(o?Lb:kb,r.length,o,n,c);!o&&y&&(r[g].providerFactory=m),hu(i,t,e.length,0),e.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(m),s.push(m)}else{let m=om(r[o?g:h],c,!o&&n);hu(i,t,h>-1?h:g,m)}!o&&n&&y&&r[g].componentProviders++}}}function hu(t,e,r,n){let o=ir(e),i=GD(e);if(o||i){let u=(i?Ce(e.useClass):e).prototype.ngOnDestroy;if(u){let c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=c.indexOf(r);l===-1?c.push(r,[n,u]):c[l+1].push(n,u)}else c.push(r,u)}}}function om(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function pu(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function kb(t,e,r,n){return vc(this.multi,[])}function Lb(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=bn(r,r[A],this.providerFactory.index,n);i=a.slice(0,s),vc(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],vc(o,i);return i}function vc(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function jb(t,e,r,n,o){let i=new Cn(t,r,j);return i.multi=[],i.index=e,i.componentProviders=0,om(i,o,n&&!r),i}function A1(t,e=[]){return r=>{r.providersResolver=(n,o)=>Fb(n,o?o(t):t,e)}}var Vb=(()=>{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=Wh(!1,n.type),i=o.length>0?Os([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=w({token:e,providedIn:"environment",factory:()=>new e(E(Ie))});let t=e;return t})();function im(t){jt("NgStandalone"),t.getStandaloneInjector=e=>e.get(Vb).getOrCreateStandaloneInjector(t)}function N1(t,e,r){let n=yt()+t,o=S();return o[n]===_e?sn(o,n,r?e.call(r):e()):Ps(o,n)}function R1(t,e,r,n){return sm(S(),yt(),t,e,r,n)}function O1(t,e,r,n,o){return am(S(),yt(),t,e,r,n,o)}function P1(t,e,r,n,o,i){return $b(S(),yt(),t,e,r,n,o,i)}function F1(t,e,r,n,o,i,s){return Ub(S(),yt(),t,e,r,n,o,i,s)}function k1(t,e,r,n,o,i,s,a){let u=yt()+t,c=S(),l=to(c,u,r,n,o,i);return Me(c,u+4,s)||l?sn(c,u+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):Ps(c,u+5)}function L1(t,e,r,n,o,i,s,a,u){let c=yt()+t,l=S(),d=to(l,c,r,n,o,i);return lr(l,c+4,s,a)||d?sn(l,c+6,u?e.call(u,r,n,o,i,s,a):e(r,n,o,i,s,a)):Ps(l,c+6)}function j1(t,e,r,n,o,i,s,a,u,c,l){let d=yt()+t,f=S(),h=to(f,d,r,n,o,i);return to(f,d+4,s,a,u,c)||h?sn(f,d+8,l?e.call(l,r,n,o,i,s,a,u,c):e(r,n,o,i,s,a,u,c)):Ps(f,d+8)}function Fs(t,e){let r=t[e];return r===_e?void 0:r}function sm(t,e,r,n,o,i){let s=e+r;return Me(t,s,o)?sn(t,s+1,i?n.call(i,o):n(o)):Fs(t,s+1)}function am(t,e,r,n,o,i,s){let a=e+r;return lr(t,a,o,i)?sn(t,a+2,s?n.call(s,o,i):n(o,i)):Fs(t,a+2)}function $b(t,e,r,n,o,i,s,a){let u=e+r;return jC(t,u,o,i,s)?sn(t,u+3,a?n.call(a,o,i,s):n(o,i,s)):Fs(t,u+3)}function Ub(t,e,r,n,o,i,s,a,u){let c=e+r;return to(t,c,o,i,s,a)?sn(t,c+4,u?n.call(u,o,i,s,a):n(o,i,s,a)):Fs(t,c+4)}function V1(t,e){let r=Y(),n,o=t+me;r.firstCreatePass?(n=Bb(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=Dn(n.type,!0)),s,a=Te(j);try{let u=Hi(!1),c=i();return Hi(u),_b(r,S(),o,c),c}finally{Te(a)}}function Bb(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function $1(t,e,r){let n=t+me,o=S(),i=Lc(o,n);return um(o,n)?sm(o,yt(),e,i.transform,r,i):i.transform(r)}function U1(t,e,r,n){let o=t+me,i=S(),s=Lc(i,o);return um(i,o)?am(i,yt(),e,s.transform,r,n,s):s.transform(r,n)}function um(t,e){return t[A].data[e].pure}function B1(t,e){return _s(t,e)}var xi=null;function Hb(t){xi!==null&&(t.defaultEncapsulation!==xi.defaultEncapsulation||t.preserveWhitespaces!==xi.preserveWhitespaces)||(xi=t)}var fr=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}},H1=new fr("17.3.10"),ks=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Cl=new I(""),co=new I(""),Ls=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,bl||(zb(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:()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!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()}getPendingRequestCount(){return this._pendingCount}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)(E(z),E(js),E(co))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),js=(()=>{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 bl?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function zb(t){bl=t}var bl;function vr(t){return!!t&&typeof t.then=="function"}function Ml(t){return!!t&&typeof t.subscribe=="function"}var Vs=new I(""),cm=(()=>{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=p(Vs,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(vr(s))n.push(s);else if(Ml(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});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=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$s=new I("");function qb(){xf(()=>{throw new v(600,!1)})}function Gb(t){return t.isBoundToModule}function Wb(t,e,r){try{let n=r();return vr(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function lm(t,e){return Array.isArray(e)?e.reduce(lm,t):D(D({},t),e)}var Nn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(_p),this.afterRenderEffectManager=p(pl),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=p(on).hasPendingTasks.pipe(O(n=>!n)),this._injector=p(Ie)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Zi;if(!this._injector.get(cm).done){let h=!i&&Hh(n),g=!1;throw new v(405,g)}let a;i?a=n:a=this._injector.get(As).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let u=Gb(a)?void 0:this._injector.get(At),c=o||a.selector,l=a.create(Be.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Cl,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Fi(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new v(101,!1);let o=L(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,L(o)}}detectChangesInAttachedViews(n){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Sg)throw new v(103,!1);if(n){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)Zb(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>yc(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>yc(s))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Fi(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get($s,[]);[...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),()=>Fi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(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=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Fi(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Zb(t,e,r){!e&&!yc(t)||Yb(t,r,e)}function yc(t){return Vc(t)}function Yb(t,e,r){let n;r?(n=0,t[_]|=1024):t[_]&64?n=0:n=1,Tg(t,e,n)}var Dc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Us=(()=>{let e=class e{compileModuleSync(n){return new Xi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=zh(n),s=Kp(i.declarations).reduce((a,u)=>{let c=St(u);return c&&a.push(new Tn(c)),a},[]);return new Dc(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=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qb=new I("");function Kb(t,e,r){let n=new Xi(r);return Promise.resolve(n)}function yh(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Jb=(()=>{let e=class e{constructor(){this.zone=p(z),this.applicationRef=p(Nn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Xb(t){return[{provide:z,useFactory:t},{provide:or,multi:!0,useFactory:()=>{let e=p(Jb,{optional:!0});return()=>e.initialize()}},{provide:or,multi:!0,useFactory:()=>{let e=p(n0);return()=>{e.initialize()}}},{provide:_p,useFactory:e0}]}function e0(){let t=p(z),e=p(Je);return r=>t.runOutsideAngular(()=>e.handleError(r))}function t0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var n0=(()=>{let e=class e{constructor(){this.subscription=new K,this.initialized=!1,this.zone=p(z),this.pendingTasks=p(on)}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(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function r0(){return typeof $localize<"u"&&$localize.locale||ns}var lo=new I("",{providedIn:"root",factory:()=>p(lo,F.Optional|F.SkipSelf)||r0()});var dm=new I(""),fm=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=ZE(o?.ngZone,t0({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=kC(n.moduleType,this.injector,Xb(()=>i)),a=s.injector.get(Je,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{Fi(this._modules,s),u.unsubscribe()})}),Wb(a,i,()=>{let u=s.injector.get(cm);return u.runInitializers(),u.donePromise.then(()=>{let c=s.injector.get(lo,ns);return Cb(c||ns),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,o=[]){let i=lm({},o);return Kb(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(Nn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new v(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new v(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(dm,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(E(Be))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Ur=null,hm=new I("");function o0(t){if(Ur&&!Ur.get(hm,!1))throw new v(400,!1);qb(),Ur=t;let e=t.get(fm);return a0(t),e}function Sl(t,e,r=[]){let n=`Platform: ${e}`,o=new I(n);return(i=[])=>{let s=pm();if(!s||s.injector.get(hm,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):o0(i0(a,n))}return s0(o)}}function i0(t=[],e){return Be.create({name:e,providers:[{provide:ls,useValue:"platform"},{provide:dm,useValue:new Set([()=>Ur=null])},...t]})}function s0(t){let e=pm();if(!e)throw new v(401,!1);return e}function pm(){return Ur?.get(fm)??null}function a0(t){t.get(Qc,null)?.forEach(r=>r())}function z1(){return!1}var Vt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=u0;let t=e;return t})();function u0(t){return c0(ve(),S(),(t&16)===16)}function c0(t,e,r){if(hs(t)&&!r){let n=tn(t.index,e);return new Mn(n,n)}else if(t.type&47){let n=e[Ve];return new Mn(n,e)}return null}var wc=class{constructor(){}supports(e){return jg(e)}create(e){return new Ic(e)}},l0=(t,e)=>e,Ic=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||l0}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<Dh(n,o,i)?r:n,a=Dh(s,o,i),u=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)o++;else{i||(i=[]);let c=a-o,l=u-o;if(c!=l){for(let f=0;f<c;f++){let h=f<i.length?i[f]:i[f]=0,g=h+f;l<=g&&g<c&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-c}}a!==u&&e(s,a,u)}}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=[]),!jg(e))throw new v(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,LC(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 Ec(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 rs),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 rs),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}},Ec=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}},Cc=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}},rs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Cc,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 Dh(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 bc=class{constructor(){}supports(e){return e instanceof Map||ml(e)}create(){return new Mc}},Mc=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||ml(e)))throw new v(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 Sc(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))}},Sc=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 Tl([new wc])}var Tl=(()=>{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 oo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new v(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:wh});let t=e;return t})();function Ih(){return new xl([new bc])}var xl=(()=>{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||Ih()),deps:[[e,new as,new oo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new v(901,!1)}};e.\u0275prov=w({token:e,providedIn:"root",factory:Ih});let t=e;return t})();var gm=Sl(null,"core",[]),mm=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(E(Nn))},e.\u0275mod=Rt({type:e}),e.\u0275inj=Nt({});let t=e;return t})();function $t(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function _l(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Al(t){let e=L(null);try{return t()}finally{L(e)}}var d0=new I("",{providedIn:"root",factory:()=>p(f0)}),f0=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>new Tc});let t=e;return t})(),Tc=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=p(on),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()}},xc=class{constructor(e,r,n,o,i,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=i,this.watcher=Rf(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(Je,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function h0(t,e){jt("NgSignals"),!e?.injector&&Jh(h0);let r=e?.injector??p(Be),n=e?.manualCleanup!==!0?r.get(ys):null,o=new xc(r.get(d0),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),i=r.get(Vt,null,{optional:!0});return!i||!(i._lView[_]&8)?o.watcher.notify():(i._lView[Ai]??=[]).push(o.watcher.notify),o}function q1(t,e){let r=St(t),n=e.elementInjector||ds();return new Tn(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function vm(t){let e=St(t);if(!e)return null;let r=new Tn(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 Sm=null;function Rn(){return Sm}function Tm(t){Sm??=t}var Ks=class{};var le=new I(""),Hl=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>p(p0),providedIn:"platform"});let t=e;return t})(),xm=new I(""),p0=(()=>{let e=class e extends Hl{constructor(){super(),this._doc=p(le),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Rn().getBaseHref(this._doc)}onPopState(n){let o=Rn().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Rn().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=w({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function zl(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 ym(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 Bt(t){return t&&t[0]!=="?"?"?"+t:t}var qt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>p(ql),providedIn:"root"});let t=e;return t})(),_m=new I(""),ql=(()=>{let e=class e extends qt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(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 zl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Bt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Bt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Bt(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)(E(Hl),E(_m,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Am=(()=>{let e=class e extends qt{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=zl(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Bt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Bt(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)(E(Hl),E(_m,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Dr=(()=>{let e=class e{constructor(n){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=v0(ym(Dm(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+Bt(o))}normalize(n){return e.stripTrailingSlash(m0(this._basePath,Dm(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+Bt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Bt(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=Bt,e.joinWithSlash=zl,e.stripTrailingSlash=ym,e.\u0275fac=function(o){return new(o||e)(E(qt))},e.\u0275prov=w({token:e,factory:()=>g0(),providedIn:"root"});let t=e;return t})();function g0(){return new Dr(E(qt))}function m0(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function Dm(t){return t.replace(/\/index.html$/,"")}function v0(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Nm=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Nm||{});var Se=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Se||{}),G=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(G||{}),Fe=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Fe||{}),ke={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 y0(t){return Pe(t)[ee.LocaleId]}function D0(t,e,r){let n=Pe(t),o=[n[ee.DayPeriodsFormat],n[ee.DayPeriodsStandalone]],i=ze(o,e);return ze(i,r)}function w0(t,e,r){let n=Pe(t),o=[n[ee.DaysFormat],n[ee.DaysStandalone]],i=ze(o,e);return ze(i,r)}function I0(t,e,r){let n=Pe(t),o=[n[ee.MonthsFormat],n[ee.MonthsStandalone]],i=ze(o,e);return ze(i,r)}function E0(t,e){let n=Pe(t)[ee.Eras];return ze(n,e)}function Hs(t,e){let r=Pe(t);return ze(r[ee.DateFormat],e)}function zs(t,e){let r=Pe(t);return ze(r[ee.TimeFormat],e)}function qs(t,e){let n=Pe(t)[ee.DateTimeFormat];return ze(n,e)}function Ht(t,e){let r=Pe(t),n=r[ee.NumberSymbols][e];if(typeof n>"u"){if(e===ke.CurrencyDecimal)return r[ee.NumberSymbols][ke.Decimal];if(e===ke.CurrencyGroup)return r[ee.NumberSymbols][ke.Group]}return n}function C0(t,e){return Pe(t)[ee.NumberFormats][e]}function Rm(t){if(!t[ee.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ee.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function b0(t){let e=Pe(t);return Rm(e),(e[ee.ExtraData][2]||[]).map(n=>typeof n=="string"?Nl(n):[Nl(n[0]),Nl(n[1])])}function M0(t,e,r){let n=Pe(t);Rm(n);let o=[n[ee.ExtraData][0],n[ee.ExtraData][1]],i=ze(o,e)||[];return ze(i,r)||[]}function ze(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 Nl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var S0=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Gs={},T0=/((?:[^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||{}),$=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}($||{}),V=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(V||{});function x0(t,e,r,n){let o=L0(t);e=Ut(r,e)||e;let s=[],a;for(;e;)if(a=T0.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let u=o.getTimezoneOffset();n&&(u=Pm(n,u),o=k0(o,n,!0));let c="";return s.forEach(l=>{let d=P0(l);c+=d?d(o,r,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Js(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Ut(t,e){let r=y0(t);if(Gs[r]??={},Gs[r][e])return Gs[r][e];let n="";switch(e){case"shortDate":n=Hs(t,Fe.Short);break;case"mediumDate":n=Hs(t,Fe.Medium);break;case"longDate":n=Hs(t,Fe.Long);break;case"fullDate":n=Hs(t,Fe.Full);break;case"shortTime":n=zs(t,Fe.Short);break;case"mediumTime":n=zs(t,Fe.Medium);break;case"longTime":n=zs(t,Fe.Long);break;case"fullTime":n=zs(t,Fe.Full);break;case"short":let o=Ut(t,"shortTime"),i=Ut(t,"shortDate");n=Ws(qs(t,Fe.Short),[o,i]);break;case"medium":let s=Ut(t,"mediumTime"),a=Ut(t,"mediumDate");n=Ws(qs(t,Fe.Medium),[s,a]);break;case"long":let u=Ut(t,"longTime"),c=Ut(t,"longDate");n=Ws(qs(t,Fe.Long),[u,c]);break;case"full":let l=Ut(t,"fullTime"),d=Ut(t,"fullDate");n=Ws(qs(t,Fe.Full),[l,d]);break}return n&&(Gs[r][e]=n),n}function Ws(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function nt(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 _0(t,e){return nt(t,3).substring(0,e)}function ie(t,e,r=0,n=!1,o=!1){return function(i,s){let a=A0(t,i);if((r>0||a>-r)&&(a+=r),t===$.Hours)a===0&&r===-12&&(a=12);else if(t===$.FractionalSeconds)return _0(a,e);let u=Ht(s,ke.MinusSign);return nt(a,e,u,n,o)}}function A0(t,e){switch(t){case $.FullYear:return e.getFullYear();case $.Month:return e.getMonth();case $.Date:return e.getDate();case $.Hours:return e.getHours();case $.Minutes:return e.getMinutes();case $.Seconds:return e.getSeconds();case $.FractionalSeconds:return e.getMilliseconds();case $.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function Q(t,e,r=Se.Format,n=!1){return function(o,i){return N0(o,i,t,e,r,n)}}function N0(t,e,r,n,o,i){switch(r){case V.Months:return I0(e,o,n)[t.getMonth()];case V.Days:return w0(e,o,n)[t.getDay()];case V.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let c=b0(e),l=M0(e,o,n),d=c.findIndex(f=>{if(Array.isArray(f)){let[h,g]=f,C=s>=h.hours&&a>=h.minutes,y=s<g.hours||s===g.hours&&a<g.minutes;if(h.hours<g.hours){if(C&&y)return!0}else if(C||y)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return D0(e,o,n)[s<12?0:1];case V.Eras:return E0(e,n)[t.getFullYear()<=0?0:1];default:let u=r;throw new Error(`unexpected translation type ${u}`)}}function Zs(t){return function(e,r,n){let o=-1*n,i=Ht(r,ke.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case zt.Short:return(o>=0?"+":"")+nt(s,2,i)+nt(Math.abs(o%60),2,i);case zt.ShortGMT:return"GMT"+(o>=0?"+":"")+nt(s,1,i);case zt.Long:return"GMT"+(o>=0?"+":"")+nt(s,2,i)+":"+nt(Math.abs(o%60),2,i);case zt.Extended:return n===0?"Z":(o>=0?"+":"")+nt(s,2,i)+":"+nt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var R0=0,Qs=4;function O0(t){let e=Js(t,R0,1).getDay();return Js(t,0,1+(e<=Qs?Qs:Qs+7)-e)}function Om(t){let e=t.getDay(),r=e===0?-3:Qs-e;return Js(t.getFullYear(),t.getMonth(),t.getDate()+r)}function Rl(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=Om(r),s=O0(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return nt(o,t,Ht(n,ke.MinusSign))}}function Ys(t,e=!1){return function(r,n){let i=Om(r).getFullYear();return nt(i,t,Ht(n,ke.MinusSign),e)}}var Ol={};function P0(t){if(Ol[t])return Ol[t];let e;switch(t){case"G":case"GG":case"GGG":e=Q(V.Eras,G.Abbreviated);break;case"GGGG":e=Q(V.Eras,G.Wide);break;case"GGGGG":e=Q(V.Eras,G.Narrow);break;case"y":e=ie($.FullYear,1,0,!1,!0);break;case"yy":e=ie($.FullYear,2,0,!0,!0);break;case"yyy":e=ie($.FullYear,3,0,!1,!0);break;case"yyyy":e=ie($.FullYear,4,0,!1,!0);break;case"Y":e=Ys(1);break;case"YY":e=Ys(2,!0);break;case"YYY":e=Ys(3);break;case"YYYY":e=Ys(4);break;case"M":case"L":e=ie($.Month,1,1);break;case"MM":case"LL":e=ie($.Month,2,1);break;case"MMM":e=Q(V.Months,G.Abbreviated);break;case"MMMM":e=Q(V.Months,G.Wide);break;case"MMMMM":e=Q(V.Months,G.Narrow);break;case"LLL":e=Q(V.Months,G.Abbreviated,Se.Standalone);break;case"LLLL":e=Q(V.Months,G.Wide,Se.Standalone);break;case"LLLLL":e=Q(V.Months,G.Narrow,Se.Standalone);break;case"w":e=Rl(1);break;case"ww":e=Rl(2);break;case"W":e=Rl(1,!0);break;case"d":e=ie($.Date,1);break;case"dd":e=ie($.Date,2);break;case"c":case"cc":e=ie($.Day,1);break;case"ccc":e=Q(V.Days,G.Abbreviated,Se.Standalone);break;case"cccc":e=Q(V.Days,G.Wide,Se.Standalone);break;case"ccccc":e=Q(V.Days,G.Narrow,Se.Standalone);break;case"cccccc":e=Q(V.Days,G.Short,Se.Standalone);break;case"E":case"EE":case"EEE":e=Q(V.Days,G.Abbreviated);break;case"EEEE":e=Q(V.Days,G.Wide);break;case"EEEEE":e=Q(V.Days,G.Narrow);break;case"EEEEEE":e=Q(V.Days,G.Short);break;case"a":case"aa":case"aaa":e=Q(V.DayPeriods,G.Abbreviated);break;case"aaaa":e=Q(V.DayPeriods,G.Wide);break;case"aaaaa":e=Q(V.DayPeriods,G.Narrow);break;case"b":case"bb":case"bbb":e=Q(V.DayPeriods,G.Abbreviated,Se.Standalone,!0);break;case"bbbb":e=Q(V.DayPeriods,G.Wide,Se.Standalone,!0);break;case"bbbbb":e=Q(V.DayPeriods,G.Narrow,Se.Standalone,!0);break;case"B":case"BB":case"BBB":e=Q(V.DayPeriods,G.Abbreviated,Se.Format,!0);break;case"BBBB":e=Q(V.DayPeriods,G.Wide,Se.Format,!0);break;case"BBBBB":e=Q(V.DayPeriods,G.Narrow,Se.Format,!0);break;case"h":e=ie($.Hours,1,-12);break;case"hh":e=ie($.Hours,2,-12);break;case"H":e=ie($.Hours,1);break;case"HH":e=ie($.Hours,2);break;case"m":e=ie($.Minutes,1);break;case"mm":e=ie($.Minutes,2);break;case"s":e=ie($.Seconds,1);break;case"ss":e=ie($.Seconds,2);break;case"S":e=ie($.FractionalSeconds,1);break;case"SS":e=ie($.FractionalSeconds,2);break;case"SSS":e=ie($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Zs(zt.Short);break;case"ZZZZZ":e=Zs(zt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Zs(zt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Zs(zt.Long);break;default:return null}return Ol[t]=e,e}function Pm(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function F0(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function k0(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=Pm(e,o);return F0(t,n*(i-o))}function L0(t){if(wm(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 Js(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(S0))return j0(n)}let e=new Date(t);if(!wm(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function j0(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,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,u,c),e}function wm(t){return t instanceof Date&&!isNaN(t.valueOf())}var V0=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Im=22,Xs=".",fo="0",$0=";",U0=",",Pl="#";function B0(t,e,r,n,o,i,s=!1){let a="",u=!1;if(!isFinite(t))a=Ht(r,ke.Infinity);else{let c=G0(t);s&&(c=q0(c));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let B=i.match(V0);if(B===null)throw new Error(`${i} is not a valid digit info`);let ne=B[1],H=B[3],Ae=B[5];ne!=null&&(l=Fl(ne)),H!=null&&(d=Fl(H)),Ae!=null?f=Fl(Ae):H!=null&&d>f&&(f=d)}W0(c,d,f);let h=c.digits,g=c.integerLen,C=c.exponent,y=[];for(u=h.every(B=>!B);g<l;g++)h.unshift(0);for(;g<0;g++)h.unshift(0);g>0?y=h.splice(g,h.length):(y=h,h=[0]);let m=[];for(h.length>=e.lgSize&&m.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)m.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&m.unshift(h.join("")),a=m.join(Ht(r,n)),y.length&&(a+=Ht(r,o)+y.join("")),C&&(a+=Ht(r,ke.Exponential)+"+"+C)}return t<0&&!u?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function H0(t,e,r){let n=C0(e,Nm.Decimal),o=z0(n,Ht(e,ke.MinusSign));return B0(t,o,e,ke.Group,ke.Decimal,r)}function z0(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split($0),o=n[0],i=n[1],s=o.indexOf(Xs)!==-1?o.split(Xs):[o.substring(0,o.lastIndexOf(fo)+1),o.substring(o.lastIndexOf(fo)+1)],a=s[0],u=s[1]||"";r.posPre=a.substring(0,a.indexOf(Pl));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===fo?r.minFrac=r.maxFrac=l+1:d===Pl?r.maxFrac=l+1:r.posSuf+=d}let c=a.split(U0);if(r.gSize=c[1]?c[1].length:0,r.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){let l=o.length-r.posPre.length-r.posSuf.length,d=i.indexOf(Pl);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 q0(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 G0(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(Xs))>-1&&(e=e.replace(Xs,"")),(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)===fo;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===fo;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>Im&&(n=n.splice(0,Im-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function W0(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 u=i!==0,c=e+t.integerLen,l=n.reduceRight(function(d,f,h,g){return f=f+d,g[h]=f<10?f:f-10,u&&(g[h]===0&&h>=c?g.pop():u=!1),f>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Fl(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function ea(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 kl=/\s+/,Em=[],aL=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Em,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(kl):Em}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(kl):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(kl).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)(j(He),j(rn))},e.\u0275dir=$e({type:e,selectors:[["","ngClass",""]],inputs:{klass:[ae.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),uL=(()=>{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=Lg(this.ngComponentOutletNgModule,Cm(o)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Cm(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)(j(Dt))},e.\u0275dir=$e({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Pt]});let t=e;return t})();function Cm(t){return t.get(At).injector}var Ll=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}},cL=(()=>{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 Ll(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 u=o.get(s);o.move(u,a),bm(u,i)}});for(let i=0,s=o.length;i<s;i++){let u=o.get(i).context;u.index=i,u.count=s,u.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);bm(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(j(Dt),j(Sn),j(Tl))},e.\u0275dir=$e({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function bm(t,e){t.context.$implicit=e.item}var lL=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new jl,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){Mm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Mm("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)(j(Dt),j(Sn))},e.\u0275dir=$e({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),jl=class{constructor(){this.$implicit=null,this.ngIf=null}};function Mm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${be(e)}'.`)}var dL=(()=>{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:mt.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)(j(He),j(xl),j(rn))},e.\u0275dir=$e({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),fL=(()=>{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)(j(Dt))},e.\u0275dir=$e({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Pt]});let t=e;return t})();function Gl(t,e){return new v(2100,!1)}var Vl=class{createSubscription(e,r){return Al(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){Al(()=>e.unsubscribe())}},$l=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},Z0=new $l,Y0=new Vl,hL=(()=>{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(vr(n))return Z0;if(Ml(n))return Y0;throw Gl(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)(j(Vt,16))},e.\u0275pipe=so({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Q0="mediumDate",K0=new I(""),J0=new I(""),pL=(()=>{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??Q0,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return x0(n,a,s||this.locale,u)}catch(a){throw Gl(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(j(lo,16),j(K0,24),j(J0,24))},e.\u0275pipe=so({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var gL=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=so({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var mL=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!X0(n))return null;i||=this._locale;try{let s=eM(n);return H0(s,i,o)}catch(s){throw Gl(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(j(lo,16))},e.\u0275pipe=so({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function X0(t){return!(t==null||t===""||t!==t)}function eM(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 Fm=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=Nt({});let t=e;return t})(),Wl="browser",tM="server";function nM(t){return t===Wl}function ho(t){return t===tM}var km=(()=>{let e=class e{};e.\u0275prov=w({token:e,providedIn:"root",factory:()=>nM(p(et))?new Ul(p(le),window):new Bl});let t=e;return t})(),Ul=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=rM(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 rM(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 Bl=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},yr=class{};var Lm=t=>t.src,oM=new I("",{providedIn:"root",factory:()=>Lm});var iM=new I("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),sM=(()=>{let e=class e{constructor(){this.preloadedImages=p(iM),this.document=p(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=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var aM=/^((\s*\d+w\s*(,|$)){1,})$/;var uM=[1,2],cM=640;var lM=1920,dM=1080;var vL=(()=>{let e=class e{constructor(){this.imageLoader=p(oM),this.config=fM(p(Lp)),this.renderer=p(rn),this.imgElement=p(He).nativeElement,this.injector=p(Be),this.isServer=ho(p(et)),this.preloadLinkCreator=p(sM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){jt("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(z).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=aM.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>=cM)),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 uM.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>lM||this.height>dM),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Lm&&!n}generatePlaceholder(n){let{placeholderResolution:o}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:o,isPlaceholder:!0})})`:typeof n=="string"&&n.startsWith("data:")?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let o=()=>{let a=this.injector.get(Vt);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=$e({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(o,i){o&2&&Dl("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:[ae.HasDecoratorInputTransform,"ngSrc","ngSrc",hM],ngSrcset:"ngSrcset",sizes:"sizes",width:[ae.HasDecoratorInputTransform,"width","width",_l],height:[ae.HasDecoratorInputTransform,"height","height",_l],loading:"loading",priority:[ae.HasDecoratorInputTransform,"priority","priority",$t],loaderParams:"loaderParams",disableOptimizedSrcset:[ae.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",$t],fill:[ae.HasDecoratorInputTransform,"fill","fill",$t],placeholder:[ae.HasDecoratorInputTransform,"placeholder","placeholder",pM],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Rs,Pt]});let t=e;return t})();function fM(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},Jc,t,e)}function hM(t){return typeof t=="string"?t:Oe(t)}function pM(t){return typeof t=="string"&&t.startsWith("data:")?t:$t(t)}var go=class{},na=class{},On=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 Yl=class{encodeKey(e){return Vm(e)}encodeValue(e){return Vm(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function vM(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))],u=r.get(s)||[];u.push(a),r.set(s,u)}),r}var yM=/%(\d[a-f0-9])/gi,DM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Vm(t){return encodeURIComponent(t).replace(yM,(e,r)=>DM[r]??e)}function ta(t){return`${t}`}var an=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Yl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=vM(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(ta):[ta(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(ta(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(ta(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 Ql=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 wM(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function $m(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Um(t){return typeof Blob<"u"&&t instanceof Blob}function Bm(t){return typeof FormData<"u"&&t instanceof FormData}function IM(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var po=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(wM(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 On,this.context??=new Ql,!this.params)this.params=new an,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),u=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||$m(this.body)||Um(this.body)||Bm(this.body)||IM(this.body)?this.body:this.body instanceof an?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||Bm(this.body)?null:Um(this.body)?this.body.type||null:$m(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof an?"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,u=e.reportProgress??this.reportProgress,c=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),c)),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:c,context:d,reportProgress:u,responseType:o,withCredentials:a,transferCache:i})}},wr=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}(wr||{}),mo=class{constructor(e,r=ia.Ok,n="OK"){this.headers=e.headers||new On,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}},Kl=class t extends mo{constructor(e={}){super(e),this.type=wr.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})}},ra=class t extends mo{constructor(e={}){super(e),this.type=wr.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})}},oa=class extends mo{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}},ia=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(ia||{});function Zl(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 EM=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof po)s=n;else{let c;i.headers instanceof On?c=i.headers:c=new On(i.headers);let l;i.params&&(i.params instanceof an?l=i.params:l=new an({fromObject:i.params})),s=new po(n,o,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=x(s).pipe(lt(c=>this.handler.handle(c)));if(n instanceof po||i.observe==="events")return a;let u=a.pipe(oe(c=>c instanceof ra));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(O(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(O(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(O(c=>c.body))}case"response":return u;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 an().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,Zl(i,o))}post(n,o,i={}){return this.request("POST",n,Zl(i,o))}put(n,o,i={}){return this.request("PUT",n,Zl(i,o))}};e.\u0275fac=function(o){return new(o||e)(E(go))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function Gm(t,e){return e(t)}function CM(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function bM(t,e,r){return(n,o)=>Xe(r,()=>e(n,i=>t(i,o)))}var MM=new I(""),Jl=new I(""),SM=new I(""),TM=new I("");function xM(){let t=null;return(e,r)=>{t===null&&(t=(p(MM,{optional:!0})??[]).reduceRight(CM,Gm));let n=p(on),o=n.add();return t(e,r).pipe(Qt(()=>n.remove(o)))}}var Hm=(()=>{let e=class e extends go{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=p(on);let i=p(TM,{optional:!0});this.backend=i??n}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Jl),...this.injector.get(SM,[])]));this.chain=i.reduceRight((s,a)=>bM(s,a,this.injector),Gm)}let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Qt(()=>this.pendingTasks.remove(o)))}};e.\u0275fac=function(o){return new(o||e)(E(na),E(Ie))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();var _M=/^\)\]\}',?\n/;function AM(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var zm=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new v(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?W(o.\u0275loadImpl()):x(null)).pipe(ue(()=>new k(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((y,m)=>a.setRequestHeader(y,m.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let y=n.detectContentTypeHeader();y!==null&&a.setRequestHeader("Content-Type",y)}if(n.responseType){let y=n.responseType.toLowerCase();a.responseType=y!=="json"?y:"text"}let u=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let y=a.statusText||"OK",m=new On(a.getAllResponseHeaders()),B=AM(a)||n.url;return c=new Kl({headers:m,status:a.status,statusText:y,url:B}),c},d=()=>{let{headers:y,status:m,statusText:B,url:ne}=l(),H=null;m!==ia.NoContent&&(H=typeof a.response>"u"?a.responseText:a.response),m===0&&(m=H?ia.Ok:0);let Ae=m>=200&&m<300;if(n.responseType==="json"&&typeof H=="string"){let Ne=H;H=H.replace(_M,"");try{H=H!==""?JSON.parse(H):null}catch(Wt){H=Ne,Ae&&(Ae=!1,H={error:Wt,text:H})}}Ae?(s.next(new ra({body:H,headers:y,status:m,statusText:B,url:ne||void 0})),s.complete()):s.error(new oa({error:H,headers:y,status:m,statusText:B,url:ne||void 0}))},f=y=>{let{url:m}=l(),B=new oa({error:y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:m||void 0});s.error(B)},h=!1,g=y=>{h||(s.next(l()),h=!0);let m={type:wr.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),n.responseType==="text"&&a.responseText&&(m.partialText=a.responseText),s.next(m)},C=y=>{let m={type:wr.UploadProgress,loaded:y.loaded};y.lengthComputable&&(m.total=y.total),s.next(m)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",g),u!==null&&a.upload&&a.upload.addEventListener("progress",C)),a.send(u),s.next({type:wr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",g),u!==null&&a.upload&&a.upload.removeEventListener("progress",C)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(E(yr))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Wm=new I(""),NM="XSRF-TOKEN",RM=new I("",{providedIn:"root",factory:()=>NM}),OM="X-XSRF-TOKEN",PM=new I("",{providedIn:"root",factory:()=>OM}),sa=class{},FM=(()=>{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=ea(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(E(le),E(et),E(RM))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function kM(t,e){let r=t.url.toLowerCase();if(!p(Wm)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=p(sa).getToken(),o=p(PM);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var Zm=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}(Zm||{});function LM(t,e){return{\u0275kind:t,\u0275providers:e}}function jM(...t){let e=[EM,zm,Hm,{provide:go,useExisting:Hm},{provide:na,useExisting:zm},{provide:Jl,useValue:kM,multi:!0},{provide:Wm,useValue:!0},{provide:sa,useClass:FM}];for(let r of t)e.push(...r.\u0275providers);return cs(e)}var qm=new I("");function VM(){return LM(Zm.LegacyInterceptors,[{provide:qm,useFactory:xM},{provide:Jl,useExisting:qm,multi:!0}])}var AL=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=Nt({providers:[jM(VM())]});let t=e;return t})();var td=class extends Ks{constructor(){super(...arguments),this.supportsDOMEvents=!0}},nd=class t extends td{static makeCurrent(){Tm(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=$M();return r==null?null:UM(r)}resetBaseElement(){vo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return ea(document.cookie,e)}},vo=null;function $M(){return vo=vo||document.querySelector("base"),vo?vo.getAttribute("href"):null}function UM(t){return new URL(t,document.baseURI).pathname}var rd=class{addToWindow(e){te.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new v(5103,!1);return i},te.getAllAngularTestabilities=()=>e.getAllTestabilities(),te.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=te.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?Rn().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},BM=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),od=new I(""),Jm=(()=>{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 v(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(E(od),E(z))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),aa=class{constructor(e){this._doc=e}},Xl="ng-app-id",Xm=(()=>{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=ho(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[${Xl}="${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(Xl),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Xl,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)(E(le),E(Ds),E(Kc,8),E(et))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),ed={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/MathML/"},sd=/%COMP%/g,ev="%COMP%",HM=`_nghost-${ev}`,zM=`_ngcontent-${ev}`,qM=!0,GM=new I("",{providedIn:"root",factory:()=>qM});function WM(t){return zM.replace(sd,t)}function ZM(t){return HM.replace(sd,t)}function tv(t,e){return e.map(r=>r.replace(sd,t))}var Ym=(()=>{let e=class e{constructor(n,o,i,s,a,u,c,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=u,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=ho(u),this.defaultRenderer=new yo(n,a,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===pt.ShadowDom&&(o=J(D({},o),{encapsulation:pt.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof ua?i.applyToHost(n):i instanceof Do&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,u=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case pt.Emulated:s=new ua(c,l,o,this.appId,d,a,u,f);break;case pt.ShadowDom:return new id(c,l,n,o,a,u,this.nonce,f);default:s=new Do(c,l,o,d,a,u,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(E(Jm),E(Xm),E(Ds),E(GM),E(le),E(et),E(z),E(Kc))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),yo=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(ed[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Qm(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Qm(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 v(-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=ed[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=ed[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&(mt.DashCase|mt.Important)?e.style.setProperty(r,n,o&mt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&mt.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=Rn().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 Qm(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var id=class extends yo{constructor(e,r,n,o,i,s,a,u){super(e,i,s,u),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=tv(o.id,o.styles);for(let l of c){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)}},Do=class extends yo{constructor(e,r,n,o,i,s,a,u){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=u?tv(u,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ua=class extends Do{constructor(e,r,n,o,i,s,a,u){let c=o+"-"+n.id;super(e,r,n,i,s,a,u,c),this.contentAttr=WM(c),this.hostAttr=ZM(c)}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}},YM=(()=>{let e=class e extends aa{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)(E(le))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})(),Km=["alt","control","meta","shift"],QM={"\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"},KM={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},JM=(()=>{let e=class e extends aa{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(()=>Rn().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="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),Km.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 c={};return c.domEventName=i,c.fullKey=a,c}static matchEventFullKeyCode(n,o){let i=QM[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"),Km.forEach(a=>{if(a!==i){let u=KM[a];u(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)(E(le))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function XM(){nd.makeCurrent()}function eS(){return new Je}function tS(){return Fp(document),document}var nS=[{provide:et,useValue:Wl},{provide:Qc,useValue:XM,multi:!0},{provide:le,useFactory:tS,deps:[]}],HL=Sl(gm,"browser",nS),rS=new I(""),oS=[{provide:co,useClass:rd,deps:[]},{provide:Cl,useClass:Ls,deps:[z,js,co]},{provide:Ls,useClass:Ls,deps:[z,js,co]}],iS=[{provide:ls,useValue:"root"},{provide:Je,useFactory:eS,deps:[]},{provide:od,useClass:YM,multi:!0,deps:[le,z,et]},{provide:od,useClass:JM,multi:!0,deps:[le]},Ym,Xm,Jm,{provide:Jr,useExisting:Ym},{provide:yr,useClass:BM,deps:[]},[]],zL=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ds,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(E(rS,12))},e.\u0275mod=Rt({type:e}),e.\u0275inj=Nt({providers:[...iS,...oS],imports:[Fm,mm]});let t=e;return t})();var nv=(()=>{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)(E(le))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var sS=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=E(aS),i},providedIn:"root"});let t=e;return t})(),aS=(()=>{let e=class e extends sS{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case tt.NONE:return o;case tt.HTML:return kt(o,"HTML")?Oe(o):el(this._doc,String(o)).toString();case tt.STYLE:return kt(o,"Style")?Oe(o):o;case tt.SCRIPT:if(kt(o,"Script"))return Oe(o);throw new v(5200,!1);case tt.URL:return kt(o,"URL")?Oe(o):Is(String(o));case tt.RESOURCE_URL:if(kt(o,"ResourceURL"))return Oe(o);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(n){return $p(n)}bypassSecurityTrustStyle(n){return Up(n)}bypassSecurityTrustScript(n){return Bp(n)}bypassSecurityTrustUrl(n){return Hp(n)}bypassSecurityTrustResourceUrl(n){return zp(n)}};e.\u0275fac=function(o){return new(o||e)(E(le))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var R="primary",Po=Symbol("RouteTitle"),dd=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 Mr(t){return new dd(t)}function cS(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.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function lS(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!wt(t[r],e[r]))return!1;return!0}function wt(t,e){let r=t?fd(t):void 0,n=e?fd(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],!fv(t[o],e[o]))return!1;return!0}function fd(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function fv(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 hv(t){return t.length>0?t[t.length-1]:null}function dn(t){return za(t)?t:vr(t)?W(Promise.resolve(t)):x(t)}var dS={exact:gv,subset:mv},pv={exact:fS,subset:hS,ignored:()=>!0};function rv(t,e,r){return dS[r.paths](t.root,e.root,r.matrixParams)&&pv[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function fS(t,e){return wt(t,e)}function gv(t,e,r){if(!Fn(t.segments,e.segments)||!da(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!gv(t.children[n],e.children[n],r))return!1;return!0}function hS(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>fv(t[r],e[r]))}function mv(t,e,r){return vv(t,e,e.segments,r)}function vv(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Fn(o,r)||e.hasChildren()||!da(o,r,n))}else if(t.segments.length===r.length){if(!Fn(t.segments,r)||!da(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!mv(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!Fn(t.segments,o)||!da(t.segments,o,n)||!t.children[R]?!1:vv(t.children[R],e,i,n)}}function da(t,e,r){return e.every((n,o)=>pv[r](t[o].parameters,n.parameters))}var un=class{constructor(e=new U([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Mr(this.queryParams),this._queryParamMap}toString(){return mS.serialize(this)}},U=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 fa(this)}},Pn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Mr(this.parameters),this._parameterMap}toString(){return Dv(this)}};function pS(t,e){return Fn(t,e)&&t.every((r,n)=>wt(r.parameters,e[n].parameters))}function Fn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function gS(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===R&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==R&&(r=r.concat(e(o,n)))}),r}var Fo=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>new So,providedIn:"root"});let t=e;return t})(),So=class{parse(e){let r=new pd(e);return new un(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${wo(e.root,!0)}`,n=DS(e.queryParams),o=typeof e.fragment=="string"?`#${vS(e.fragment)}`:"";return`${r}${n}${o}`}},mS=new So;function fa(t){return t.segments.map(e=>Dv(e)).join("/")}function wo(t,e){if(!t.hasChildren())return fa(t);if(e){let r=t.children[R]?wo(t.children[R],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==R&&n.push(`${o}:${wo(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=gS(t,(n,o)=>o===R?[wo(t.children[R],!1)]:[`${o}:${wo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[R]!=null?`${fa(t)}/${r[0]}`:`${fa(t)}/(${r.join("//")})`}}function yv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ca(t){return yv(t).replace(/%3B/gi,";")}function vS(t){return encodeURI(t)}function hd(t){return yv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ha(t){return decodeURIComponent(t)}function ov(t){return ha(t.replace(/\+/g,"%20"))}function Dv(t){return`${hd(t.path)}${yS(t.parameters)}`}function yS(t){return Object.entries(t).map(([e,r])=>`;${hd(e)}=${hd(r)}`).join("")}function DS(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${ca(r)}=${ca(o)}`).join("&"):`${ca(r)}=${ca(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var wS=/^[^\/()?;#]+/;function ad(t){let e=t.match(wS);return e?e[0]:""}var IS=/^[^\/()?;=#]+/;function ES(t){let e=t.match(IS);return e?e[0]:""}var CS=/^[^=?&#]+/;function bS(t){let e=t.match(CS);return e?e[0]:""}var MS=/^[^&#]+/;function SS(t){let e=t.match(MS);return e?e[0]:""}var pd=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new U([],{}):new U([],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[R]=new U(e,r)),n}parseSegment(){let e=ad(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(e),new Pn(ha(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ES(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=ad(this.remaining);o&&(n=o,this.capture(n))}e[ha(r)]=ha(n)}parseQueryParam(e){let r=bS(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=SS(this.remaining);s&&(n=s,this.capture(n))}let o=ov(r),i=ov(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=ad(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=R);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[R]:new U([],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 v(4011,!1)}};function wv(t){return t.segments.length>0?new U([],{[R]:t}):t}function Iv(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Iv(o);if(n===R&&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 U(t.segments,e);return TS(r)}function TS(t){if(t.numberOfChildren===1&&t.children[R]){let e=t.children[R];return new U(t.segments.concat(e.segments),e.children)}return t}function Sr(t){return t instanceof un}function xS(t,e,r=null,n=null){let o=Ev(t);return Cv(o,e,r,n)}function Ev(t){let e;function r(i){let s={};for(let u of i.children){let c=r(u);s[u.outlet]=c}let a=new U(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=wv(n);return e??o}function Cv(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return ud(o,o,o,r,n);let i=_S(e);if(i.toRoot())return ud(o,o,new U([],{}),r,n);let s=AS(i,o,t),a=s.processChildren?Co(s.segmentGroup,s.index,i.commands):Mv(s.segmentGroup,s.index,i.commands);return ud(o,s.segmentGroup,a,r,n)}function pa(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function To(t){return typeof t=="object"&&t!=null&&t.outlets}function ud(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([u,c])=>{i[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===e?s=r:s=bv(t,e,r);let a=wv(Iv(s));return new un(a,i,o)}function bv(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=bv(i,e,r)}),new U(t.segments,n)}var ga=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&pa(n[0]))throw new v(4003,!1);let o=n.find(To);if(o&&o!==hv(n))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function _S(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ga(!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(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new ga(r,e,n)}var Cr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function AS(t,e,r){if(t.isAbsolute)return new Cr(e,!0,0);if(!r)return new Cr(e,!1,NaN);if(r.parent===null)return new Cr(r,!0,0);let n=pa(t.commands[0])?0:1,o=r.segments.length-1+n;return NS(r,o,t.numberOfDoubleDots)}function NS(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new v(4005,!1);o=n.segments.length}return new Cr(n,!1,o-i)}function RS(t){return To(t[0])?t[0].outlets:{[R]:t}}function Mv(t,e,r){if(t??=new U([],{}),t.segments.length===0&&t.hasChildren())return Co(t,e,r);let n=OS(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new U(t.segments.slice(0,n.pathIndex),{});return i.children[R]=new U(t.segments.slice(n.pathIndex),t.children),Co(i,0,o)}else return n.match&&o.length===0?new U(t.segments,{}):n.match&&!t.hasChildren()?gd(t,e,r):n.match?Co(t,0,o):gd(t,e,r)}function Co(t,e,r){if(r.length===0)return new U(t.segments,{});{let n=RS(r),o={};if(Object.keys(n).some(i=>i!==R)&&t.children[R]&&t.numberOfChildren===1&&t.children[R].segments.length===0){let i=Co(t.children[R],e,r);return new U(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Mv(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new U(t.segments,o)}}function OS(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(To(a))break;let u=`${a}`,c=n<r.length-1?r[n+1]:null;if(o>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!sv(u,c,s))return i;n+=2}else{if(!sv(u,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function gd(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(To(i)){let u=PS(i.outlets);return new U(n,u)}if(o===0&&pa(r[0])){let u=t.segments[e];n.push(new Pn(u.path,iv(r[0]))),o++;continue}let s=To(i)?i.outlets[R]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&pa(a)?(n.push(new Pn(s,iv(a))),o+=2):(n.push(new Pn(s,{})),o++)}return new U(n,{})}function PS(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=gd(new U([],{}),0,n))}),e}function iv(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function sv(t,e,r){return t==r.path&&wt(e,r.parameters)}var bo="imperative",de=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}(de||{}),qe=class{constructor(e,r){this.id=e,this.url=r}},Tr=class extends qe{constructor(e,r,n="imperative",o=null){super(e,r),this.type=de.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},rt=class extends qe{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=de.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},je=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(je||{}),ma=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(ma||{}),cn=class extends qe{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=de.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ln=class extends qe{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=de.NavigationSkipped}},xo=class extends qe{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=de.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},va=class extends qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=de.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},md=class extends qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=de.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vd=class extends qe{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=de.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},yd=class extends qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=de.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dd=class extends qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=de.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wd=class{constructor(e){this.route=e,this.type=de.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Id=class{constructor(e){this.route=e,this.type=de.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ed=class{constructor(e){this.snapshot=e,this.type=de.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Cd=class{constructor(e){this.snapshot=e,this.type=de.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bd=class{constructor(e){this.snapshot=e,this.type=de.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Md=class{constructor(e){this.snapshot=e,this.type=de.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ya=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=de.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},_o=class{},Ao=class{constructor(e){this.url=e}};var Sd=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ko,this.attachRef=null}},ko=(()=>{let e=class e{constructor(){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 Sd,this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Da=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=Td(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Td(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=xd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return xd(e,this._root).map(r=>r.value)}};function Td(t,e){if(t===e.value)return e;for(let r of e.children){let n=Td(t,r);if(n)return n}return null}function xd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=xd(t,r);if(n.length)return n.unshift(e),n}return[]}var Le=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Er(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var wa=class extends Da{constructor(e,r){super(e),this.snapshot=r,jd(this,e)}toString(){return this.snapshot.toString()}};function Sv(t){let e=FS(t),r=new he([new Pn("",{})]),n=new he({}),o=new he({}),i=new he({}),s=new he(""),a=new kn(r,n,i,s,o,R,t,e.root);return a.snapshot=e.root,new wa(new Le(a,[]),e)}function FS(t){let e={},r={},n={},o="",i=new No([],e,n,o,r,R,t,null,{});return new Ia("",new Le(i,[]))}var kn=class{constructor(e,r,n,o,i,s,a,u){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(O(c=>c[Po]))??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(O(e=>Mr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(O(e=>Mr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ld(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&&xv(o)&&(n.resolve[Po]=o.title),n}var No=class{get title(){return this.data?.[Po]}constructor(e,r,n,o,i,s,a,u,c){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}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??=Mr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Mr(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}')`}},Ia=class extends Da{constructor(e,r){super(r),this.url=e,jd(this,r)}toString(){return Tv(this._root)}};function jd(t,e){e.value._routerState=t,e.children.forEach(r=>jd(t,r))}function Tv(t){let e=t.children.length>0?` { ${t.children.map(Tv).join(", ")} } `:"";return`${t.value}${e}`}function cd(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,wt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),wt(e.params,r.params)||t.paramsSubject.next(r.params),lS(e.url,r.url)||t.urlSubject.next(r.url),wt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function _d(t,e){let r=wt(t.params,e.params)&&pS(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||_d(t.parent,e.parent))}function xv(t){return typeof t.title=="string"||t.title===null}var kS=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=R,this.activateEvents=new pe,this.deactivateEvents=new pe,this.attachEvents=new pe,this.detachEvents=new pe,this.parentContexts=p(ko),this.location=p(Dt),this.changeDetector=p(Vt),this.environmentInjector=p(Ie),this.inputBinder=p(Sa,{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 v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(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 v(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,c=new Ad(n,u,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:c,environmentInjector:o??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=$e({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Pt]});let t=e;return t})(),Ad=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===kn?this.route:e===ko?this.childContexts:this.parent.get(e,r)}},Sa=new I(""),av=(()=>{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=kr([o.queryParams,o.params,o.data]).pipe(ue(([s,a,u],c)=>(u=D(D(D({},s),a),u),c===0?x(u):Promise.resolve(u)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=vm(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:u}of a.inputs)n.activatedComponentRef.setInput(u,s[u])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function LS(t,e,r){let n=Ro(t,e._root,r?r._root:void 0);return new wa(n,e)}function Ro(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=jS(t,e,r);return new Le(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=>Ro(t,a)),s}}let n=VS(e.value),o=e.children.map(i=>Ro(t,i));return new Le(n,o)}}function jS(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return Ro(t,n,o);return Ro(t,n)})}function VS(t){return new kn(new he(t.url),new he(t.params),new he(t.queryParams),new he(t.fragment),new he(t.data),t.outlet,t.component,t)}var _v="ngNavigationCancelingError";function Av(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=Sr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=Nv(!1,je.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function Nv(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[_v]=!0,r.cancellationCode=e,r}function $S(t){return Rv(t)&&Sr(t.url)}function Rv(t){return!!t&&t[_v]}var US=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=$h({type:e,selectors:[["ng-component"]],standalone:!0,features:[im],decls:1,vars:0,template:function(o,i){o&1&&wl(0,"router-outlet")},dependencies:[kS],encapsulation:2});let t=e;return t})();function BS(t,e){return t.providers&&!t._injector&&(t._injector=Os(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Vd(t){let e=t.children&&t.children.map(Vd),r=e?J(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==R&&(r.component=US),r}function It(t){return t.outlet||R}function HS(t,e){let r=t.filter(n=>It(n)===e);return r.push(...t.filter(n=>It(n)!==e)),r}function Lo(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 zS=(t,e,r,n)=>O(o=>(new Nd(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Nd=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),cd(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Er(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=Er(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=Er(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=Er(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Md(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Cd(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(cd(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),cd(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Lo(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Ea=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},br=class{constructor(e,r){this.component=e,this.route=r}};function qS(t,e,r){let n=t._root,o=e?e._root:null;return Io(n,o,r,[n.value])}function GS(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function _r(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Sh(t)?t:e.get(t):n}function Io(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Er(e);return t.children.forEach(s=>{WS(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Mo(a,r.getContext(s),o)),o}function WS(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 u=ZS(s,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Ea(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Io(t,e,a?a.children:null,n,o):Io(t,e,r,n,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new br(a.outlet.component,s))}else s&&Mo(e,a,o),o.canActivateChecks.push(new Ea(n)),i.component?Io(t,null,a?a.children:null,n,o):Io(t,null,r,n,o);return o}function ZS(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Fn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Fn(t.url,e.url)||!wt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_d(t,e)||!wt(t.queryParams,e.queryParams);case"paramsChange":default:return!_d(t,e)}}function Mo(t,e,r){let n=Er(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Mo(s,e.children.getContext(i),r):Mo(s,null,r):Mo(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new br(e.outlet.component,o)):r.canDeactivateChecks.push(new br(null,o)):r.canDeactivateChecks.push(new br(null,o))}function jo(t){return typeof t=="function"}function YS(t){return typeof t=="boolean"}function QS(t){return t&&jo(t.canLoad)}function KS(t){return t&&jo(t.canActivate)}function JS(t){return t&&jo(t.canActivateChild)}function XS(t){return t&&jo(t.canDeactivate)}function eT(t){return t&&jo(t.canMatch)}function Ov(t){return t instanceof Ct||t?.name==="EmptyError"}var la=Symbol("INITIAL_VALUE");function xr(){return ue(t=>kr(t.map(e=>e.pipe(Mt(1),Za(la)))).pipe(O(e=>{for(let r of e)if(r!==!0){if(r===la)return la;if(r===!1||r instanceof un)return r}return!0}),oe(e=>e!==la),Mt(1)))}function tT(t,e){return X(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?x(J(D({},r),{guardsResult:!0})):nT(s,n,o,t).pipe(X(a=>a&&YS(a)?rT(n,i,t,e):x(a)),O(a=>J(D({},r),{guardsResult:a})))})}function nT(t,e,r,n){return W(t).pipe(X(o=>uT(o.component,o.route,r,e,n)),dt(o=>o!==!0,!0))}function rT(t,e,r,n){return W(e).pipe(lt(o=>Zn(iT(o.route.parent,n),oT(o.route,n),aT(t,o.path,r),sT(t,o.route,r))),dt(o=>o!==!0,!0))}function oT(t,e){return t!==null&&e&&e(new bd(t)),x(!0)}function iT(t,e){return t!==null&&e&&e(new Ed(t)),x(!0)}function sT(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let o=n.map(i=>pi(()=>{let s=Lo(e)??r,a=_r(i,s),u=KS(a)?a.canActivate(e,t):Xe(s,()=>a(e,t));return dn(u).pipe(dt())}));return x(o).pipe(xr())}function aT(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>GS(s)).filter(s=>s!==null).map(s=>pi(()=>{let a=s.guards.map(u=>{let c=Lo(s.node)??r,l=_r(u,c),d=JS(l)?l.canActivateChild(n,t):Xe(c,()=>l(n,t));return dn(d).pipe(dt())});return x(a).pipe(xr())}));return x(i).pipe(xr())}function uT(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 u=Lo(e)??o,c=_r(a,u),l=XS(c)?c.canDeactivate(t,e,r,n):Xe(u,()=>c(t,e,r,n));return dn(l).pipe(dt())});return x(s).pipe(xr())}function cT(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=_r(s,t),u=QS(a)?a.canLoad(e,r):Xe(t,()=>a(e,r));return dn(u)});return x(i).pipe(xr(),Pv(n))}function Pv(t){return ka(se(e=>{if(Sr(e))throw Av(t,e)}),O(e=>e===!0))}function lT(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=_r(s,t),u=eT(a)?a.canMatch(e,r):Xe(t,()=>a(e,r));return dn(u)});return x(i).pipe(xr(),Pv(n))}var Oo=class{constructor(e){this.segmentGroup=e||null}},Ca=class extends Error{constructor(e){super(),this.urlTree=e}};function Ir(t){return Gn(new Oo(t))}function dT(t){return Gn(new v(4e3,!1))}function fT(t){return Gn(Nv(!1,je.GuardRejected))}var Rd=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[R])return dT(e.redirectTo);o=o.children[R]}}applyRedirectCommands(e,r,n){let o=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r.startsWith("/"))throw new Ca(o);return o}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new un(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.startsWith(":")){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,u])=>{s[a]=this.createSegmentGroup(e,u,n,o)}),new U(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path.startsWith(":")?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new v(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}},Od={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function hT(t,e,r,n,o){let i=$d(t,e,r);return i.matched?(n=BS(e,n),lT(n,e,r,o).pipe(O(s=>s===!0?i:D({},Od)))):x(i)}function $d(t,e,r){if(e.path==="**")return pT(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},Od):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||cS)(r,t,e);if(!o)return D({},Od);let i={};Object.entries(o.posParams??{}).forEach(([a,u])=>{i[a]=u.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 pT(t){return{matched:!0,parameters:t.length>0?hv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function uv(t,e,r,n){return r.length>0&&vT(t,r,n)?{segmentGroup:new U(e,mT(n,new U(r,t.children))),slicedSegments:[]}:r.length===0&&yT(t,r,n)?{segmentGroup:new U(t.segments,gT(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new U(t.segments,t.children),slicedSegments:r}}function gT(t,e,r,n){let o={};for(let i of r)if(Ta(t,e,i)&&!n[It(i)]){let s=new U([],{});o[It(i)]=s}return D(D({},n),o)}function mT(t,e){let r={};r[R]=e;for(let n of t)if(n.path===""&&It(n)!==R){let o=new U([],{});r[It(n)]=o}return r}function vT(t,e,r){return r.some(n=>Ta(t,e,n)&&It(n)!==R)}function yT(t,e,r){return r.some(n=>Ta(t,e,n))}function Ta(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function DT(t,e,r,n){return It(t)!==n&&(n===R||!Ta(e,r,t))?!1:$d(e,t,r).matched}function wT(t,e,r){return e.length===0&&!t.children[r]}var Pd=class{};function IT(t,e,r,n,o,i,s="emptyOnly"){return new Fd(t,e,r,n,o,s,i).recognize()}var ET=31,Fd=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 Rd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new v(4002,`'${e.segmentGroup}'`)}recognize(){let e=uv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(O(r=>{let n=new No([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},R,this.rootComponentType,null,{}),o=new Le(n,r),i=new Ia("",o),s=xS(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root,null),{state:i,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,R).pipe(bt(n=>{if(n instanceof Ca)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Oo?this.noMatchError(n):n}))}inheritParamsAndData(e,r){let n=e.value,o=Ld(n,r,this.paramsInheritanceStrategy);n.params=Object.freeze(o.params),n.data=Object.freeze(o.data),e.children.forEach(i=>this.inheritParamsAndData(i,n))}processSegmentGroup(e,r,n,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,o,!0).pipe(O(i=>i instanceof Le?[i]:[]))}processChildren(e,r,n){let o=[];for(let i of Object.keys(n.children))i==="primary"?o.unshift(i):o.push(i);return W(o).pipe(lt(i=>{let s=n.children[i],a=HS(r,i);return this.processSegmentGroup(e,a,s,i)}),mi((i,s)=>(i.push(...s),i)),Yt(null),Wa(),X(i=>{if(i===null)return Ir(n);let s=Fv(i);return CT(s),x(s)}))}processSegment(e,r,n,o,i,s){return W(r).pipe(lt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,o,i,s).pipe(bt(u=>{if(u instanceof Oo)return x(null);throw u}))),dt(a=>!!a),bt(a=>{if(Ov(a))return wT(n,o,i)?x(new Pd):Ir(n);throw a}))}processSegmentAgainstRoute(e,r,n,o,i,s,a){return DT(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s):Ir(o):Ir(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s){let{matched:a,consumedSegments:u,positionalParamSegments:c,remainingSegments:l}=$d(r,o,i);if(!a)return Ir(r);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ET&&(this.allowRedirects=!1));let d=this.applyRedirects.applyRedirectCommands(u,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,d).pipe(X(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,o,i){let s=hT(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),s.pipe(ue(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(ue(({routes:u})=>{let c=n._loadedInjector??e,{consumedSegments:l,remainingSegments:d,parameters:f}=a,h=new No(l,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,MT(n),It(n),n.component??n._loadedComponent??null,n,ST(n)),{segmentGroup:g,slicedSegments:C}=uv(r,l,d,u);if(C.length===0&&g.hasChildren())return this.processChildren(c,u,g).pipe(O(m=>m===null?null:new Le(h,m)));if(u.length===0&&C.length===0)return x(new Le(h,[]));let y=It(n)===i;return this.processSegment(c,u,g,C,y?R:i,!0).pipe(O(m=>new Le(h,m instanceof Le?[m]:[])))}))):Ir(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}):cT(e,r,n,this.urlSerializer).pipe(X(o=>o?this.configLoader.loadChildren(e,r).pipe(se(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):fT(r))):x({routes:[],injector:e})}};function CT(t){t.sort((e,r)=>e.value.outlet===R?-1:r.value.outlet===R?1:e.value.outlet.localeCompare(r.value.outlet))}function bT(t){let e=t.value.routeConfig;return e&&e.path===""}function Fv(t){let e=[],r=new Set;for(let n of t){if(!bT(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=Fv(n.children);e.push(new Le(n.value,o))}return e.filter(n=>!r.has(n))}function MT(t){return t.data||{}}function ST(t){return t.resolve||{}}function TT(t,e,r,n,o,i){return X(s=>IT(t,e,r,n,s.extractedUrl,o,i).pipe(O(({state:a,tree:u})=>J(D({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function xT(t,e){return X(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return x(r);let i=new Set(o.map(u=>u.route)),s=new Set;for(let u of i)if(!s.has(u))for(let c of kv(u))s.add(c);let a=0;return W(s).pipe(lt(u=>i.has(u)?_T(u,n,t,e):(u.data=Ld(u,u.parent,t).resolve,x(void 0))),se(()=>a++),Yn(1),X(u=>a===s.size?x(r):Ee))})}function kv(t){let e=t.children.map(r=>kv(r)).flat();return[t,...e]}function _T(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!xv(o)&&(i[Po]=o.title),AT(i,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=Ld(t,t.parent,r).resolve,null)))}function AT(t,e,r,n){let o=fd(t);if(o.length===0)return x({});let i={};return W(o).pipe(X(s=>NT(t[s],e,r,n).pipe(dt(),se(a=>{i[s]=a}))),Yn(1),Ga(i),bt(s=>Ov(s)?Ee:Gn(s)))}function NT(t,e,r,n){let o=Lo(e)??n,i=_r(t,o),s=i.resolve?i.resolve(e,r):Xe(o,()=>i(e,r));return dn(s)}function ld(t){return ue(e=>{let r=t(e);return r?W(r).pipe(O(()=>e)):x(e)})}var Lv=(()=>{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===R);return o}getResolvedTitleForRoute(n){return n.data[Po]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>p(RT),providedIn:"root"});let t=e;return t})(),RT=(()=>{let e=class e extends Lv{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)(E(nv))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vo=new I("",{providedIn:"root",factory:()=>({})}),ba=new I(""),Ud=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Us)}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=dn(n.loadComponent()).pipe(O(jv),se(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Qt(()=>{this.componentLoaders.delete(n)})),i=new Bn(o,()=>new re).pipe(Un());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=OT(o,this.compiler,n,this.onLoadEndListener).pipe(Qt(()=>{this.childrenLoaders.delete(o)})),a=new Bn(s,()=>new re).pipe(Un());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function OT(t,e,r,n){return dn(t.loadChildren()).pipe(O(jv),X(o=>o instanceof Xr||Array.isArray(o)?x(o):W(e.compileModuleAsync(o))),O(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(ba,[],{optional:!0,self:!0}).flat()),{routes:s.map(Vd),injector:i}}))}function PT(t){return t&&typeof t=="object"&&"default"in t}function jv(t){return PT(t)?t.default:t}var Bd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>p(FT),providedIn:"root"});let t=e;return t})(),FT=(()=>{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=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vv=new I(""),$v=new I("");function kT(t,e,r){let n=t.get($v),o=t.get(le);return t.get(z).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let i,s=new Promise(c=>{i=c}),a=o.startViewTransition(()=>(i(),LT(t))),{onViewTransitionCreated:u}=n;return u&&Xe(t,()=>u({transition:a,from:e,to:r})),s})}function LT(t){return new Promise(e=>{Ns(e,{injector:t})})}var Hd=(()=>{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=p(Ud),this.environmentInjector=p(Ie),this.urlSerializer=p(Fo),this.rootContexts=p(ko),this.location=p(Dr),this.inputBindingEnabled=p(Sa,{optional:!0})!==null,this.titleStrategy=p(Lv),this.options=p(Vo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(Bd),this.createViewTransition=p(Vv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=i=>this.events.next(new wd(i)),o=i=>this.events.next(new Id(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(J(D(D({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new he({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:bo,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(oe(s=>s.id!==0),O(s=>J(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ue(s=>{let a=!1,u=!1;return x(s).pipe(ue(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",je.SupersededByNewNavigation),Ee;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?J(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new ln(c.id,this.urlSerializer.serialize(c.rawUrl),f,ma.IgnoredSameUrlNavigation)),c.resolve(null),Ee}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return x(c).pipe(ue(f=>{let h=this.transitions?.getValue();return this.events.next(new Tr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Ee:Promise.resolve(f)}),TT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),se(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=J(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new va(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:g,restoredState:C,extras:y}=c,m=new Tr(f,this.urlSerializer.serialize(h),g,C);this.events.next(m);let B=Sv(this.rootComponentType).snapshot;return this.currentTransition=s=J(D({},c),{targetSnapshot:B,urlAfterRedirects:h,extras:J(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(s)}else{let f="";return this.events.next(new ln(c.id,this.urlSerializer.serialize(c.extractedUrl),f,ma.IgnoredByUrlHandlingStrategy)),c.resolve(null),Ee}}),se(c=>{let l=new md(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),O(c=>(this.currentTransition=s=J(D({},c),{guards:qS(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),tT(this.environmentInjector,c=>this.events.next(c)),se(c=>{if(s.guardsResult=c.guardsResult,Sr(c.guardsResult))throw Av(this.urlSerializer,c.guardsResult);let l=new vd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),oe(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",je.GuardRejected),!1)),ld(c=>{if(c.guards.canActivateChecks.length)return x(c).pipe(se(l=>{let d=new yd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),ue(l=>{let d=!1;return x(l).pipe(xT(this.paramsInheritanceStrategy,this.environmentInjector),se({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",je.NoDataFromResolver)}}))}),se(l=>{let d=new Dd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),ld(c=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(se(h=>{d.component=h}),O(()=>{})));for(let h of d.children)f.push(...l(h));return f};return kr(l(c.targetSnapshot.root)).pipe(Yt(null),Mt(1))}),ld(()=>this.afterPreactivation()),ue(()=>{let{currentSnapshot:c,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return d?W(d).pipe(O(()=>s)):x(s)}),O(c=>{let l=LS(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=J(D({},c),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),se(()=>{this.events.next(new _o)}),zS(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Mt(1),se({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new rt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),vi(this.transitionAbortSubject.pipe(se(c=>{throw c}))),Qt(()=>{!a&&!u&&this.cancelNavigationTransition(s,"",je.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),bt(c=>{if(u=!0,Rv(c))this.events.next(new cn(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),$S(c)?this.events.next(new Ao(c.url)):s.resolve(!1);else{this.events.next(new xo(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return Ee}))}))}cancelNavigationTransition(n,o,i){let s=new cn(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(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function jT(t){return t!==bo}var VT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>p($T),providedIn:"root"});let t=e;return t})(),kd=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},$T=(()=>{let e=class e extends kd{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Zc(e)))(i||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Uv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=w({token:e,factory:()=>p(UT),providedIn:"root"});let t=e;return t})(),UT=(()=>{let e=class e extends Uv{constructor(){super(...arguments),this.location=p(Dr),this.urlSerializer=p(Fo),this.options=p(Vo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(Bd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new un,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Sv(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 Tr)this.stateMemento=this.createStateMemento();else if(n instanceof ln)this.rawUrlTree=o.initialUrl;else if(n instanceof va){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof _o?(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(this.rawUrlTree,o))):n instanceof cn&&(n.code===je.GuardRejected||n.code===je.NoDataFromResolver)?this.restoreHistory(o):n instanceof xo?this.restoreHistory(o,!0):n instanceof rt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(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=Zc(e)))(i||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Eo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Eo||{});function Bv(t,e){t.events.pipe(oe(r=>r instanceof rt||r instanceof cn||r instanceof xo||r instanceof ln),O(r=>r instanceof rt||r instanceof ln?Eo.COMPLETE:(r instanceof cn?r.code===je.Redirect||r.code===je.SupersededByNewNavigation:!1)?Eo.REDIRECTING:Eo.FAILED),oe(r=>r!==Eo.REDIRECTING),Mt(1)).subscribe(()=>{e()})}function BT(t){throw t}var HT={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},zT={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Gt=(()=>{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.isNgZoneEnabled=!1,this.console=p(ks),this.stateManager=p(Uv),this.options=p(Vo,{optional:!0})||{},this.pendingTasks=p(on),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Hd),this.urlSerializer=p(Fo),this.location=p(Dr),this.urlHandlingStrategy=p(Bd),this._events=new re,this.errorHandler=this.options.errorHandler||BT,this.navigated=!1,this.routeReuseStrategy=p(VT),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(ba,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(Sa,{optional:!0}),this.eventsSubscription=new K,this.isNgZoneEnabled=p(z)instanceof z&&z.isInAngularZone(),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 cn&&o.code!==je.Redirect&&o.code!==je.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof rt)this.navigated=!0;else if(o instanceof Ao){let a=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u={info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||jT(i.source)};this.scheduleNavigation(a,bo,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}GT(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),bo,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 c=D({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let u=this.parseUrl(n);this.scheduleNavigation(u,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(Vd),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:u,preserveFragment:c}=o,l=c?this.currentUrlTree.fragment:a,d=null;switch(u){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=Ev(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return Cv(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=Sr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,bo,null,o)}navigate(n,o={skipLocationChange:!1}){return qT(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({},HT):o===!1?i=D({},zT):i=o,Sr(n))return rv(this.currentUrlTree,n,i);let s=this.parseUrl(n);return rv(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 u,c,l;a?(u=a.resolve,c=a.reject,l=a.promise):l=new Promise((f,h)=>{u=f,c=h});let d=this.pendingTasks.add();return Bv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:u,reject:c,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=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function qT(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new v(4008,!1)}function GT(t){return!(t instanceof _o)&&!(t instanceof Ao)}var cv=(()=>{let e=class e{constructor(n,o,i,s,a,u){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=u,this.href=null,this.commands=null,this.onChanges=new re,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof rt&&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.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){let u=this.urlTree;if(u===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(u,c),!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:Qp(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.commands===null?null:this.router.createUrlTree(this.commands,{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)(j(Gt),j(kn),Yc("tabindex"),j(rn),j(He),j(qt))},e.\u0275dir=$e({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Il("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&vl("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[ae.HasDecoratorInputTransform,"preserveFragment","preserveFragment",$t],skipLocationChange:[ae.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",$t],replaceUrl:[ae.HasDecoratorInputTransform,"replaceUrl","replaceUrl",$t],routerLink:"routerLink"},standalone:!0,features:[Rs,Pt]});let t=e;return t})(),uj=(()=>{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 pe,this.routerEventsSubscription=n.events.subscribe(u=>{u instanceof rt&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(ct()).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=W(n).pipe(ct()).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=WT(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)(j(Gt),j(He),j(rn),j(Vt),j(cv,8))},e.\u0275dir=$e({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&em(s,cv,5),o&2){let a;tm(a=nm())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Pt]});let t=e;return t})();function WT(t){return!!t.paths}var Ma=class{};var ZT=(()=>{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(oe(n=>n instanceof rt),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=Os(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,u=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(u,s.children??s._loadedRoutes))}return W(i).pipe(ct())}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(X(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 W([s,a]).pipe(ct())}else return s})}};e.\u0275fac=function(o){return new(o||e)(E(Gt),E(Us),E(Ie),E(Ma),E(Ud))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Hv=new I(""),YT=(()=>{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=p(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 Tr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof rt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof ln&&n.code===ma.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 ya&&(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(()=>Uo(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Ns(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ya(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){cg()},e.\u0275prov=w({token:e,factory:e.\u0275fac});let t=e;return t})();function QT(t){return t.routerState.root}function $o(t,e){return{\u0275kind:t,\u0275providers:e}}function KT(){let t=p(Be);return e=>{let r=t.get(Nn);if(e!==r.components[0])return;let n=t.get(Gt),o=t.get(zv);t.get(zd)===1&&n.initialNavigation(),t.get(qv,null,F.Optional)?.setUpPreloading(),t.get(Hv,null,F.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var zv=new I("",{factory:()=>new re}),zd=new I("",{providedIn:"root",factory:()=>1});function JT(){return $o(2,[{provide:zd,useValue:0},{provide:Vs,multi:!0,deps:[Be],useFactory:e=>{let r=e.get(xm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Gt),i=e.get(zv);Bv(o,()=>{n(!0)}),e.get(Hd).afterPreactivation=()=>(n(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}])}function XT(){return $o(3,[{provide:Vs,multi:!0,useFactory:()=>{let e=p(Gt);return()=>{e.setUpLocationChangeListener()}}},{provide:zd,useValue:2}])}var qv=new I("");function ex(t){return $o(0,[{provide:qv,useExisting:ZT},{provide:Ma,useExisting:t}])}function tx(){return $o(8,[av,{provide:Sa,useExisting:av}])}function nx(t){let e=[{provide:Vv,useValue:kT},{provide:$v,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return $o(9,e)}var lv=new I("ROUTER_FORROOT_GUARD"),rx=[Dr,{provide:Fo,useClass:So},Gt,ko,{provide:kn,useFactory:QT,deps:[Gt]},Ud,[]],cj=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[rx,[],{provide:ba,multi:!0,useValue:n},{provide:lv,useFactory:ax,deps:[[Gt,new oo,new as]]},{provide:Vo,useValue:o||{}},o?.useHash?ix():sx(),ox(),o?.preloadingStrategy?ex(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?ux(o):[],o?.bindToComponentInputs?tx().\u0275providers:[],o?.enableViewTransitions?nx().\u0275providers:[],cx()]}}static forChild(n){return{ngModule:e,providers:[{provide:ba,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(E(lv,8))},e.\u0275mod=Rt({type:e}),e.\u0275inj=Nt({});let t=e;return t})();function ox(){return{provide:Hv,useFactory:()=>{let t=p(km),e=p(z),r=p(Vo),n=p(Hd),o=p(Fo);return r.scrollOffset&&t.setOffset(r.scrollOffset),new YT(o,n,t,e,r)}}}function ix(){return{provide:qt,useClass:Am}}function sx(){return{provide:qt,useClass:ql}}function ax(t){return"guarded"}function ux(t){return[t.initialNavigation==="disabled"?XT().\u0275providers:[],t.initialNavigation==="enabledBlocking"?JT().\u0275providers:[]]}var dv=new I("");function cx(){return[{provide:dv,useFactory:KT},{provide:$s,multi:!0,useExisting:dv}]}var ot=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}(ot||{}),fj="*";function hj(t,e){return{type:ot.Trigger,name:t,definitions:e,options:{}}}function pj(t,e=null){return{type:ot.Animate,styles:e,timings:t}}function gj(t,e=null){return{type:ot.Group,steps:t,options:e}}function mj(t,e=null){return{type:ot.Sequence,steps:t,options:e}}function vj(t){return{type:ot.Style,styles:t,offset:null}}function yj(t,e,r){return{type:ot.State,name:t,styles:e,options:r}}function Dj(t){return{type:ot.Keyframes,steps:t}}function wj(t,e,r=null){return{type:ot.Transition,expr:t,animation:e,options:r}}function Ij(t=null){return{type:ot.AnimateChild,options:t}}function Ej(t,e,r=null){return{type:ot.Query,selector:t,animation:e,options:r}}var Gv=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}},Wv=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}},Cj="!";export{K as a,k as b,re as c,he as d,Nr as e,dy as f,at as g,fy as h,hy as i,Ee as j,Pr as k,Fr as l,W as m,x as n,Gn as o,gy as p,O as q,kr as r,X as s,ct as t,Zn as u,pi as v,My as w,qa as x,Lr as y,Ry as z,Oy as A,oe as B,Py as C,Fy as D,bt as E,lt as F,ky as G,Ly as H,Mt as I,jy as J,Vy as K,By as L,Qt as M,dt as N,mi as O,Va as P,nf as Q,Hy as R,Za as S,ue as T,zy as U,vi as V,qy as W,se as X,Gy as Y,v as Z,bh as _,w as $,Nt as aa,I as ba,E as ca,p as da,oo as ea,as as fa,ae as ga,$h as ha,Rt as ia,$e as ja,so as ka,cs as la,Ie as ma,Jh as na,Pt as oa,i1 as pa,s1 as qa,a1 as ra,u1 as sa,Zc as ta,Yc as ua,Be as va,Je as wa,ys as xa,He as ya,pe as za,Nu as Aa,Ds as Ba,et as Ca,c1 as Da,Kc as Ea,tt as Fa,l1 as Ga,EI as Ha,d1 as Ia,j as Ja,cg as Ka,Sn as La,Wi as Ma,As as Na,Jr as Oa,rn as Pa,z as Qa,Dt as Ra,IC as Sa,g1 as Ta,AC as Ua,Rs as Va,ic as Wa,vl as Xa,XC as Ya,Dl as Za,eb as _a,m1 as $a,v1 as ab,y1 as bb,D1 as cb,w1 as db,I1 as eb,Yg as fb,Qg as gb,wl as hb,Kg as ib,Jg as jb,gb as kb,E1 as lb,vb as mb,yb as nb,Il as ob,bb as pb,C1 as qb,b1 as rb,M1 as sb,Tb as tb,xb as ub,em as vb,S1 as wb,tm as xb,nm as yb,T1 as zb,x1 as Ab,Nb as Bb,rm as Cb,Rb as Db,Ob as Eb,_1 as Fb,Pb as Gb,A1 as Hb,im as Ib,N1 as Jb,R1 as Kb,O1 as Lb,P1 as Mb,F1 as Nb,k1 as Ob,L1 as Pb,j1 as Qb,V1 as Rb,$1 as Sb,U1 as Tb,B1 as Ub,fr as Vb,H1 as Wb,vr as Xb,Vs as Yb,Nn as Zb,lo as _b,z1 as $b,Vt as ac,$t as bc,_l as cc,h0 as dc,q1 as ec,Rn as fc,le as gc,Dr as hc,aL as ic,uL as jc,cL as kc,lL as lc,dL as mc,fL as nc,hL as oc,pL as pc,gL as qc,mL as rc,Fm as sc,nM as tc,ho as uc,vL as vc,On as wc,EM as xc,MM as yc,AL as zc,Ym as Ac,HL as Bc,zL as Cc,nv as Dc,sS as Ec,ot as Fc,fj as Gc,hj as Hc,pj as Ic,gj as Jc,mj as Kc,vj as Lc,yj as Mc,Dj as Nc,wj as Oc,Ij as Pc,Ej as Qc,Gv as Rc,Wv as Sc,Cj as Tc,rt as Uc,kn as Vc,kS as Wc,Gt as Xc,cv as Yc,uj as Zc,cj as _c};