dealpos 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/POS/3rdpartylicenses.txt +1645 -0
  2. package/POS/assets/icons/icon-128x128.png +0 -0
  3. package/POS/assets/icons/icon-144x144.png +0 -0
  4. package/POS/assets/icons/icon-152x152.png +0 -0
  5. package/POS/assets/icons/icon-192x192.png +0 -0
  6. package/POS/assets/icons/icon-384x384.png +0 -0
  7. package/POS/assets/icons/icon-512x512.png +0 -0
  8. package/POS/assets/icons/icon-72x72.png +0 -0
  9. package/POS/assets/icons/icon-96x96.png +0 -0
  10. package/POS/chunk-26YXEYJK.js +1 -0
  11. package/POS/chunk-2DNKBN6G.js +1 -0
  12. package/POS/chunk-2FKYC63K.js +1 -0
  13. package/POS/chunk-2FWFPV5I.js +1 -0
  14. package/POS/chunk-2OSKJOSS.js +1 -0
  15. package/POS/chunk-2OXMYDYT.js +1 -0
  16. package/POS/chunk-2OZMF5DL.js +1 -0
  17. package/POS/chunk-2W3MAOOP.js +1 -0
  18. package/POS/chunk-33XCA4ER.js +14 -0
  19. package/POS/chunk-35V3VL6F.js +1 -0
  20. package/POS/chunk-3A7KA4YN.js +1 -0
  21. package/POS/chunk-3BODNSIH.js +1 -0
  22. package/POS/chunk-3FOIEYAT.js +4 -0
  23. package/POS/chunk-3PFXZUB6.js +7 -0
  24. package/POS/chunk-3QABPVXZ.js +3 -0
  25. package/POS/chunk-4BDQDYVB.js +1 -0
  26. package/POS/chunk-4CBDK52E.js +4 -0
  27. package/POS/chunk-4G26RHGA.js +1 -0
  28. package/POS/chunk-4MX7Q77M.js +2 -0
  29. package/POS/chunk-4UAHOTBD.js +1 -0
  30. package/POS/chunk-56EQRIAH.js +1 -0
  31. package/POS/chunk-5KBFQLSN.js +1 -0
  32. package/POS/chunk-5W7F4VJH.js +1 -0
  33. package/POS/chunk-64PDX5ZX.js +1 -0
  34. package/POS/chunk-65YDOCXF.js +1 -0
  35. package/POS/chunk-67VBXFVT.js +6 -0
  36. package/POS/chunk-6BQZINLH.js +1 -0
  37. package/POS/chunk-6L6CIH5M.js +1 -0
  38. package/POS/chunk-6PXJEE4K.js +1 -0
  39. package/POS/chunk-6S4Q5VRA.js +1 -0
  40. package/POS/chunk-75STMWUR.js +6 -0
  41. package/POS/chunk-76C33PK5.js +1 -0
  42. package/POS/chunk-77D6X2SQ.js +11 -0
  43. package/POS/chunk-7DWKYGA4.js +1 -0
  44. package/POS/chunk-7M6CWVRI.js +1 -0
  45. package/POS/chunk-7Q3437BR.js +1 -0
  46. package/POS/chunk-AA32I4UN.js +1 -0
  47. package/POS/chunk-AJMKP7YZ.js +1 -0
  48. package/POS/chunk-AOJW6WJT.js +1 -0
  49. package/POS/chunk-AOPKPEVH.js +1 -0
  50. package/POS/chunk-APJK7OH2.js +2 -0
  51. package/POS/chunk-APYNCJ2H.js +1 -0
  52. package/POS/chunk-AUYYX2UQ.js +45 -0
  53. package/POS/chunk-AVDGNFC7.js +1 -0
  54. package/POS/chunk-AWGZKLLY.js +1 -0
  55. package/POS/chunk-AYKDALBT.js +1 -0
  56. package/POS/chunk-B2OT7HA4.js +4 -0
  57. package/POS/chunk-B36XIZVJ.js +1 -0
  58. package/POS/chunk-B5FODXLM.js +1 -0
  59. package/POS/chunk-B7RM5KKA.js +1 -0
  60. package/POS/chunk-BCVO66L3.js +5 -0
  61. package/POS/chunk-BETKNHFK.js +1 -0
  62. package/POS/chunk-BH2ZVZIU.js +1 -0
  63. package/POS/chunk-BHXS5IA6.js +1 -0
  64. package/POS/chunk-BLZEDUEI.js +1 -0
  65. package/POS/chunk-BYXBJQAS.js +0 -0
  66. package/POS/chunk-BZC5JINN.js +5 -0
  67. package/POS/chunk-C43IYFVU.js +1 -0
  68. package/POS/chunk-CBW7IA6S.js +1 -0
  69. package/POS/chunk-CCGPOEE3.js +4 -0
  70. package/POS/chunk-CFIFFKWA.js +1 -0
  71. package/POS/chunk-CI45CZMG.js +1 -0
  72. package/POS/chunk-CJO25BBP.js +1 -0
  73. package/POS/chunk-CLL3TEL5.js +1 -0
  74. package/POS/chunk-CPUGWH3I.js +1 -0
  75. package/POS/chunk-CPW6IWAB.js +1 -0
  76. package/POS/chunk-CRSUSQ3W.js +1 -0
  77. package/POS/chunk-CW27R4N3.js +2 -0
  78. package/POS/chunk-CWU5DTSS.js +1 -0
  79. package/POS/chunk-CY2FQLP4.js +1 -0
  80. package/POS/chunk-DRGWLGRP.js +1 -0
  81. package/POS/chunk-DXF4M3Z6.js +1 -0
  82. package/POS/chunk-E72IOARD.js +1 -0
  83. package/POS/chunk-EA7CLJMQ.js +18 -0
  84. package/POS/chunk-ECMSF3OR.js +1 -0
  85. package/POS/chunk-EOFWQEK7.js +1 -0
  86. package/POS/chunk-EQOB7536.js +156 -0
  87. package/POS/chunk-ESD5O3BQ.js +1 -0
  88. package/POS/chunk-EZCHVNC5.js +3 -0
  89. package/POS/chunk-F3ZYFWTM.js +1 -0
  90. package/POS/chunk-F6GAPEFT.js +1 -0
  91. package/POS/chunk-FBR7TAEJ.js +5 -0
  92. package/POS/chunk-FE5LZK5I.js +1 -0
  93. package/POS/chunk-FOEYBSQT.js +2 -0
  94. package/POS/chunk-FWVI7M5F.js +1 -0
  95. package/POS/chunk-G4DDQBH4.js +1 -0
  96. package/POS/chunk-GDFWXFK2.js +1 -0
  97. package/POS/chunk-GHQFOULJ.js +2 -0
  98. package/POS/chunk-GNSQPTDB.js +1 -0
  99. package/POS/chunk-GSLPZSSX.js +1 -0
  100. package/POS/chunk-GVXSG66Q.js +1 -0
  101. package/POS/chunk-H55AJAX5.js +8 -0
  102. package/POS/chunk-HIRUHGYD.js +2 -0
  103. package/POS/chunk-HKR2C3HA.js +1 -0
  104. package/POS/chunk-HSOC6U4B.js +1 -0
  105. package/POS/chunk-I6CGSFEU.js +1 -0
  106. package/POS/chunk-I6YPWC52.js +1 -0
  107. package/POS/chunk-IDDHFZWG.js +1 -0
  108. package/POS/chunk-IE5R6YWY.js +1 -0
  109. package/POS/chunk-IOQ3OION.js +1 -0
  110. package/POS/chunk-IUKSWU5B.js +1 -0
  111. package/POS/chunk-IY6EDHBT.js +1 -0
  112. package/POS/chunk-IZGPRDGN.js +2 -0
  113. package/POS/chunk-J3W6DQKW.js +1 -0
  114. package/POS/chunk-JLWKTGB2.js +1 -0
  115. package/POS/chunk-JM3SJLS7.js +1 -0
  116. package/POS/chunk-JNUC6PO5.js +1 -0
  117. package/POS/chunk-K5XVN3MT.js +1 -0
  118. package/POS/chunk-KBQ5ZM55.js +1 -0
  119. package/POS/chunk-KCNSCS4R.js +1 -0
  120. package/POS/chunk-KI2MQKDF.js +1 -0
  121. package/POS/chunk-KNRLGMUT.js +1 -0
  122. package/POS/chunk-KR4OPCRF.js +1 -0
  123. package/POS/chunk-KW4B7WMB.js +1 -0
  124. package/POS/chunk-KYX6U2UX.js +1 -0
  125. package/POS/chunk-KZNSGBGF.js +2 -0
  126. package/POS/chunk-L3UWNQXB.js +1 -0
  127. package/POS/chunk-LHWN2J4H.js +15 -0
  128. package/POS/chunk-LJUP6CCS.js +1 -0
  129. package/POS/chunk-LY4FOMQ6.css +1 -0
  130. package/POS/chunk-LZ3SKBTU.js +1 -0
  131. package/POS/chunk-M5ONTRWK.js +1 -0
  132. package/POS/chunk-MA7NEQCZ.js +1 -0
  133. package/POS/chunk-MDKYCLYA.js +17 -0
  134. package/POS/chunk-MGDA6GY6.js +1 -0
  135. package/POS/chunk-MWWGZRMN.js +1 -0
  136. package/POS/chunk-NCATMO6T.js +1 -0
  137. package/POS/chunk-NDAI7L23.js +1 -0
  138. package/POS/chunk-NHUK6IK5.js +40 -0
  139. package/POS/chunk-NUZ5K7GT.js +1 -0
  140. package/POS/chunk-O2PELRQA.js +1 -0
  141. package/POS/chunk-OUOP65JB.js +1 -0
  142. package/POS/chunk-OXSD6KML.js +1 -0
  143. package/POS/chunk-PEOMRJUI.js +3 -0
  144. package/POS/chunk-PHGK3EAU.js +1 -0
  145. package/POS/chunk-PLC4GZ67.js +1 -0
  146. package/POS/chunk-PTF6AQY6.js +1 -0
  147. package/POS/chunk-PTXKBWBA.js +1 -0
  148. package/POS/chunk-Q3SJOSAG.js +1 -0
  149. package/POS/chunk-QBDEGNJP.js +1 -0
  150. package/POS/chunk-QCTMAR3L.js +1 -0
  151. package/POS/chunk-QZWOQRAM.js +1 -0
  152. package/POS/chunk-R5VG3XDC.js +1 -0
  153. package/POS/chunk-R7NR3M2Q.js +1 -0
  154. package/POS/chunk-RBKYZOZX.js +3 -0
  155. package/POS/chunk-RHQGCHFI.js +1 -0
  156. package/POS/chunk-RL3GYZVU.js +8 -0
  157. package/POS/chunk-RRKCUSBB.js +1 -0
  158. package/POS/chunk-S4OLP2TR.js +18 -0
  159. package/POS/chunk-SDH32O74.js +1 -0
  160. package/POS/chunk-SE7OFLAL.js +1 -0
  161. package/POS/chunk-SEVYM4GA.js +1 -0
  162. package/POS/chunk-SGRJ5YG2.js +1 -0
  163. package/POS/chunk-SNNLFZQ3.js +3 -0
  164. package/POS/chunk-SVNOJVQF.js +1 -0
  165. package/POS/chunk-TCLYGBIP.js +1 -0
  166. package/POS/chunk-TIDDF777.js +1 -0
  167. package/POS/chunk-TJQIORGG.js +1 -0
  168. package/POS/chunk-TK5H65DN.js +1 -0
  169. package/POS/chunk-TLHNFDPP.js +1 -0
  170. package/POS/chunk-TVNDX4KA.js +3 -0
  171. package/POS/chunk-TX6G2LAN.js +1 -0
  172. package/POS/chunk-U3O6FO5X.js +1 -0
  173. package/POS/chunk-UJMXJABS.js +1 -0
  174. package/POS/chunk-UNGT7KQO.js +1 -0
  175. package/POS/chunk-UPRH3DLS.js +1 -0
  176. package/POS/chunk-UVFDCVT4.js +2 -0
  177. package/POS/chunk-V22EVF6N.js +1 -0
  178. package/POS/chunk-V4RKZMUB.js +11 -0
  179. package/POS/chunk-VBOV2ZGQ.js +1 -0
  180. package/POS/chunk-VGGNSOCP.js +1 -0
  181. package/POS/chunk-VLGOEX3D.js +24 -0
  182. package/POS/chunk-VPAQFQA7.js +1 -0
  183. package/POS/chunk-VSMYP4AC.js +1 -0
  184. package/POS/chunk-VXCP4DBC.js +1 -0
  185. package/POS/chunk-W43P2XHR.js +1 -0
  186. package/POS/chunk-W7PIRMKD.js +1 -0
  187. package/POS/chunk-WG6PV6VL.js +4 -0
  188. package/POS/chunk-WK4T26FX.js +2 -0
  189. package/POS/chunk-WKS7JIOA.js +1 -0
  190. package/POS/chunk-WKXE4B24.js +1 -0
  191. package/POS/chunk-WLRXTHLM.js +1 -0
  192. package/POS/chunk-WSZGVB3P.js +1 -0
  193. package/POS/chunk-WXHOQKTU.js +1 -0
  194. package/POS/chunk-X55EKFUZ.js +1 -0
  195. package/POS/chunk-X7QMXCEW.js +4 -0
  196. package/POS/chunk-XIGLLWLV.js +1 -0
  197. package/POS/chunk-XRKZOON6.js +4 -0
  198. package/POS/chunk-XW2QKXZF.js +5 -0
  199. package/POS/chunk-XZPCPUT7.js +1 -0
  200. package/POS/chunk-Y5SPDICN.js +2 -0
  201. package/POS/chunk-Y7XBMFXR.js +1 -0
  202. package/POS/chunk-YATUCULL.js +1 -0
  203. package/POS/chunk-YBFOOZH4.js +2 -0
  204. package/POS/chunk-YBINYTS7.js +1 -0
  205. package/POS/chunk-YE2HNBMX.js +1 -0
  206. package/POS/chunk-YENHZRM5.js +9 -0
  207. package/POS/chunk-YHCFOJEX.js +1 -0
  208. package/POS/chunk-YKBQYDEJ.js +2 -0
  209. package/POS/chunk-YPFXYXHP.js +8 -0
  210. package/POS/chunk-YRHYSRBM.js +1 -0
  211. package/POS/chunk-YRITVFOW.js +1 -0
  212. package/POS/chunk-YRNTUREW.js +1 -0
  213. package/POS/chunk-YXRRTX7W.js +1 -0
  214. package/POS/chunk-Z426RGUL.js +24 -0
  215. package/POS/chunk-ZB45Y55B.js +1 -0
  216. package/POS/chunk-ZGRVB4IB.js +1 -0
  217. package/POS/chunk-ZJ3TX62Q.js +1 -0
  218. package/POS/chunk-ZKWXTWYY.js +1 -0
  219. package/POS/index.html +33 -0
  220. package/POS/main-CNMNNNEI.js +4 -0
  221. package/POS/main-VPAR6OBK.css +1 -0
  222. package/POS/manifest.webmanifest +59 -0
  223. package/POS/media/color-727V6BA6.png +0 -0
  224. package/POS/media/hue-3YTJE6JS.png +0 -0
  225. package/POS/media/primeicons-4GST5W3O.woff2 +0 -0
  226. package/POS/media/primeicons-DHQU4SEP.svg +345 -0
  227. package/POS/media/primeicons-GEFHGEHP.ttf +0 -0
  228. package/POS/media/primeicons-P53SE5CV.woff +0 -0
  229. package/POS/media/primeicons-RSSEDYLY.eot +0 -0
  230. package/POS/polyfills-FHOOFFEX.js +2 -0
  231. package/POS/scripts-3E2G6IZ4.js +10 -0
  232. package/POS/styles-T7FPZRNG.css +25 -0
  233. package/Styles/Master/app_custom.css +18 -0
  234. package/Styles/Master/login_custom.css +0 -0
  235. package/Styles/Print/PaperSize8cm_custom.css +1 -0
  236. package/Styles/Print/PaperSizeA4_custom.css +1 -0
  237. package/StylesB/Master/app_custom.css +0 -0
  238. package/package.json +1 -0
@@ -0,0 +1,8 @@
1
+ import{a as y,b as U,j as Ni,q as ph,r as Ai,s as gh,t as mh}from"./chunk-KW4B7WMB.js";function M(e){return typeof e=="function"}function vn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ri=vn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ht(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(M(r))try{r()}catch(i){t=i instanceof Ri?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{vh(i)}catch(s){t=t??[],s instanceof Ri?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ri(t)}}add(t){var n;if(t&&t!==this)if(this.closed)vh(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ht(n,t)}remove(t){let{_finalizers:n}=this;n&&Ht(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var Fc=K.EMPTY;function Oi(e){return e instanceof K||e&&"closed"in e&&M(e.remove)&&M(e.add)&&M(e.unsubscribe)}function vh(e){M(e)?e():e.unsubscribe()}var ut={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var fr={setTimeout(e,t,...n){let{delegate:r}=fr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=fr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Pi(e){fr.setTimeout(()=>{let{onUnhandledError:t}=ut;if(t)t(e);else throw e})}function lt(){}var yh=kc("C",void 0,void 0);function Dh(e){return kc("E",void 0,e)}function wh(e){return kc("N",e,void 0)}function kc(e,t,n){return{kind:e,value:t,error:n}}var Bn=null;function hr(e){if(ut.useDeprecatedSynchronousErrorHandling){let t=!Bn;if(t&&(Bn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Bn;if(Bn=null,n)throw r}}else e()}function Ih(e){ut.useDeprecatedSynchronousErrorHandling&&Bn&&(Bn.errorThrown=!0,Bn.error=e)}var Un=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Oi(t)&&t.add(this)):this.destination=pw}static create(t,n,r){return new zt(t,n,r)}next(t){this.isStopped?jc(wh(t),this):this._next(t)}error(t){this.isStopped?jc(Dh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?jc(yh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},fw=Function.prototype.bind;function Lc(e,t){return fw.call(e,t)}var Vc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Fi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Fi(r)}else Fi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Fi(n)}}},zt=class extends Un{constructor(t,n,r){super();let o;if(M(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ut.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Lc(t.next,i),error:t.error&&Lc(t.error,i),complete:t.complete&&Lc(t.complete,i)}):o=t}this.destination=new Vc(o)}};function Fi(e){ut.useDeprecatedSynchronousErrorHandling?Ih(e):Pi(e)}function hw(e){throw e}function jc(e,t){let{onStoppedNotification:n}=ut;n&&fr.setTimeout(()=>n(e,t))}var pw={closed:!0,next:lt,error:hw,complete:lt};var pr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Bc(...e){return Uc(e)}function Uc(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var L=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=mw(n)?n:new zt(n,r,o);return hr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Ch(r),new r((o,i)=>{let s=new zt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[pr](){return this}pipe(...n){return Uc(n)(this)}toPromise(n){return n=Ch(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ch(e){var t;return(t=e??ut.Promise)!==null&&t!==void 0?t:Promise}function gw(e){return e&&M(e.next)&&M(e.error)&&M(e.complete)}function mw(e){return e&&e instanceof Un||gw(e)&&Oi(e)}var Eh=vn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=(()=>{class e extends L{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ki(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Eh}next(n){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){hr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Fc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,Ht(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new L;return n.source=this,n}}return e.create=(t,n)=>new ki(t,n),e})(),ki=class extends G{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Fc}};var Ae=new L(e=>e.complete());var gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Li(e){return M(e?.then)}function ji(e){return M(e[pr])}function Vi(e){return Symbol.asyncIterator&&M(e?.[Symbol.asyncIterator])}function Bi(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function vw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ui=vw();function $i(e){return M(e?.[Ui])}function Hi(e){return gh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ai(n.read());if(o)return yield Ai(void 0);yield yield Ai(r)}}finally{n.releaseLock()}})}function zi(e){return M(e?.getReader)}function P(e){if(e instanceof L)return e;if(e!=null){if(ji(e))return yw(e);if(gr(e))return Dw(e);if(Li(e))return ww(e);if(Vi(e))return bh(e);if($i(e))return Iw(e);if(zi(e))return Cw(e)}throw Bi(e)}function yw(e){return new L(t=>{let n=e[pr]();if(M(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Dw(e){return new L(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ww(e){return new L(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Pi)})}function Iw(e){return new L(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function bh(e){return new L(t=>{Ew(e,t).catch(n=>t.error(n))})}function Cw(e){return bh(Hi(e))}function Ew(e,t){var n,r,o,i;return ph(this,void 0,void 0,function*(){try{for(n=mh(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ue(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function $c(e){return M(e?.lift)}function _(e){return t=>{if($c(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function T(e,t,n,r,o){return new vo(e,t,n,r,o)}var vo=class extends Un{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function yo(e,t=0){return _((n,r)=>{n.subscribe(T(r,o=>ue(r,e,()=>r.next(o),t),()=>ue(r,e,()=>r.complete(),t),o=>ue(r,e,()=>r.error(o),t)))})}function Do(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Th(e,t){return P(e).pipe(Do(t),yo(t))}function _h(e,t){return P(e).pipe(Do(t),yo(t))}function Mh(e,t){return new L(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Sh(e,t){return new L(n=>{let r;return ue(n,t,()=>{r=e[Ui](),ue(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>M(r?.return)&&r.return()})}function Gi(e,t){if(!e)throw new Error("Iterable cannot be null");return new L(n=>{ue(n,t,()=>{let r=e[Symbol.asyncIterator]();ue(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xh(e,t){return Gi(Hi(e),t)}function Nh(e,t){if(e!=null){if(ji(e))return Th(e,t);if(gr(e))return Mh(e,t);if(Li(e))return _h(e,t);if(Vi(e))return Gi(e,t);if($i(e))return Sh(e,t);if(zi(e))return xh(e,t)}throw Bi(e)}function J(e,t){return t?Nh(e,t):P(e)}function qi(e){return e&&M(e.schedule)}function Hc(e){return e[e.length-1]}function mr(e){return M(Hc(e))?e.pop():void 0}function nt(e){return qi(Hc(e))?e.pop():void 0}function Ah(e,t){return typeof Hc(e)=="number"?e.pop():t}function x(...e){let t=nt(e);return J(e,t)}function O(e,t){return _((n,r)=>{let o=0;n.subscribe(T(r,i=>{r.next(e.call(t,i,o++))}))})}function Rh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u<r?p(g):c.push(g),p=g=>{i&&t.next(g),u++;let v=!1;P(n(g,l++)).subscribe(T(t,w=>{o?.(w),i?f(w):t.next(w)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let w=c.shift();s?ue(t,s,()=>p(w)):p(w)}h()}catch(w){t.error(w)}}))};return e.subscribe(T(t,f,()=>{d=!0,h()})),()=>{a?.()}}function ee(e,t,n=1/0){return M(t)?ee((r,o)=>O((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>Rh(r,o,e,n)))}function ie(e,t){return _((n,r)=>{let o=0;n.subscribe(T(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ge(e){return e<=0?()=>Ae:_((t,n)=>{let r=0;t.subscribe(T(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}var wo={now(){return(wo.delegate||Date).now()},delegate:void 0};var Io=class extends G{constructor(t=1/0,n=1/0,r=wo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Gc(e={}){let{connector:t=()=>new G,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let g=s;f(),g?.unsubscribe()};return _((g,v)=>{u++,!d&&!l&&h();let w=c=c??t();v.add(()=>{u--,u===0&&!d&&!l&&(a=zc(p,o))}),w.subscribe(v),!s&&u>0&&(s=new zt({next:A=>w.next(A),error:A=>{d=!0,h(),a=zc(f,n,A),w.error(A)},complete:()=>{l=!0,h(),a=zc(f,r),w.complete()}}),P(g).subscribe(s))})(i)}}function zc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new zt({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Oh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Gc({connector:()=>new Io(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function It(e=1/0){return ee(we,e)}function Ph(){return It(1)}function yn(...e){return Ph()(J(e,nt(e)))}function Wi(...e){let t=nt(e);return _((n,r)=>{(t?yn(e,n,t):yn(e,n)).subscribe(r)})}function se(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(T(r,c=>{o?.unsubscribe();let u=0,l=i++;P(e(c,l)).subscribe(o=T(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Zi(e){return _((t,n)=>{P(e).subscribe(T(n,()=>n.complete(),lt)),!n.closed&&t.subscribe(n)})}function le(e,t,n){let r=M(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(T(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}function vr(){return _((e,t)=>{let n=null;e._refCount++;let r=T(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var yr=class extends L{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,$c(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new K;let n=this.getSubject();t.add(this.source.subscribe(T(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return vr()(this)}};var Dr={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Dr;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new K(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Dr;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Dr;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ie=class extends G{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Yi=class extends K{constructor(t,n){super()}schedule(t,n=0){return this}};var Co={setInterval(e,t,...n){let{delegate:r}=Co;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Co;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ct=class extends Yi{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Co.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Co.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Ht(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var bw=1,qc,Wc={};function Fh(e){return e in Wc?(delete Wc[e],!0):!1}var kh={setImmediate(e){let t=bw++;return Wc[t]=!0,qc||(qc=Promise.resolve()),qc.then(()=>Fh(t)&&e()),t},clearImmediate(e){Fh(e)}};var{setImmediate:Tw,clearImmediate:_w}=kh,Eo={setImmediate(...e){let{delegate:t}=Eo;return(t?.setImmediate||Tw)(...e)},clearImmediate(e){let{delegate:t}=Eo;return(t?.clearImmediate||_w)(e)},delegate:void 0};var Qi=class extends Ct{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Eo.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Eo.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var wr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};wr.now=wo.now;var Et=class extends wr{constructor(t,n=wr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Ki=class extends Et{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Mw=new Ki(Qi);var Le=new Et(Ct),Zc=Le;var Ji=class extends Ct{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var Xi=class extends Et{};var Sw=new Xi(Ji);var es=class extends Ct{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Dr.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Dr.cancelAnimationFrame(n),t._scheduled=void 0)}};var ts=class extends Et{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var xw=new ts(es);function Ir(e,t){let n=M(e)?e:()=>e,r=o=>o.error(n());return new L(t?o=>t.schedule(r,0,o):r)}function Yc(e){return!!e&&(e instanceof L||M(e.lift)&&M(e.subscribe))}var dt=vn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Nw(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new dt)}})})}function ns(e){return e instanceof Date&&!isNaN(e)}var Lh=vn(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Aw(e,t){let{first:n,each:r,with:o=Rw,scheduler:i=t??Le,meta:s=null}=ns(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return _((a,c)=>{let u,l,d=null,h=0,f=p=>{l=ue(c,i,()=>{try{u.unsubscribe(),P(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(g){c.error(g)}},p)};u=a.subscribe(T(c,p=>{l?.unsubscribe(),h++,c.next(d=p),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!h&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Rw(e){throw new Lh(e)}var{isArray:Ow}=Array;function Pw(e,t){return Ow(t)?e(...t):e(t)}function Cr(e){return O(t=>Pw(e,t))}var{isArray:Fw}=Array,{getPrototypeOf:kw,prototype:Lw,keys:jw}=Object;function rs(e){if(e.length===1){let t=e[0];if(Fw(t))return{args:t,keys:null};if(Vw(t)){let n=jw(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Vw(e){return e&&typeof e=="object"&&kw(e)===Lw}function os(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function bo(...e){let t=nt(e),n=mr(e),{args:r,keys:o}=rs(e);if(r.length===0)return J([],t);let i=new L(Bw(r,t,o?s=>os(o,s):we));return n?i.pipe(Cr(n)):i}function Bw(e,t,n=we){return r=>{jh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)jh(t,()=>{let u=J(e[c],t),l=!1;u.subscribe(T(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function jh(e,t,n){e?ue(n,e,t):t()}function is(e){return new L(t=>{P(e()).subscribe(t)})}function Uw(...e){let t=mr(e),{args:n,keys:r}=rs(e),o=new L(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;P(n[l]).subscribe(T(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?os(r,a):a),i.complete())}))}});return t?o.pipe(Cr(t)):o}var $w=["addListener","removeListener"],Hw=["addEventListener","removeEventListener"],zw=["on","off"];function Qc(e,t,n,r){if(M(n)&&(r=n,n=void 0),r)return Qc(e,t,n).pipe(Cr(r));let[o,i]=Ww(e)?Hw.map(s=>a=>e[s](t,a,n)):Gw(e)?$w.map(Vh(e,t)):qw(e)?zw.map(Vh(e,t)):[];if(!o&&gr(e))return ee(s=>Qc(s,t,n))(P(e));if(!o)throw new TypeError("Invalid event target");return new L(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Vh(e,t){return n=>r=>e[n](t,r)}function Gw(e){return M(e.addListener)&&M(e.removeListener)}function qw(e){return M(e.on)&&M(e.off)}function Ww(e){return M(e.addEventListener)&&M(e.removeEventListener)}function $n(e=0,t,n=Zc){let r=-1;return t!=null&&(qi(t)?n=t:r=t),new L(o=>{let i=ns(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Zw(e=0,t=Le){return e<0&&(e=0),$n(e,e,t)}function Yw(...e){let t=nt(e),n=Ah(e,1/0),r=e;return r.length?r.length===1?P(r[0]):It(n)(J(r,t)):Ae}function Bh(e,t){return(n,r)=>!e.call(t,n,r)}function Qw(e,t,n){return[ie(t,n)(P(e)),ie(Bh(t,n))(P(e))]}function Uh(e){return _((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(T(n,u=>{r=!0,o=u,i||P(e(u)).subscribe(i=T(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Kw(e,t=Le){return Uh(()=>$n(e,t))}function Jw(e,...t){var n,r;let o=(n=nt(t))!==null&&n!==void 0?n:Le,i=(r=t[0])!==null&&r!==void 0?r:null,s=t[1]||1/0;return _((a,c)=>{let u=[],l=!1,d=p=>{let{buffer:g,subs:v}=p;v.unsubscribe(),Ht(u,p),c.next(g),l&&h()},h=()=>{if(u){let p=new K;c.add(p);let v={buffer:[],subs:p};u.push(v),ue(p,o,()=>d(v),e)}};i!==null&&i>=0?ue(c,o,h,i,!0):l=!0,h();let f=T(c,p=>{let g=u.slice();for(let v of g){let{buffer:w}=v;w.push(p),s<=w.length&&d(v)}},()=>{for(;u?.length;)c.next(u.shift().buffer);f?.unsubscribe(),c.complete(),c.unsubscribe()},void 0,()=>u=null);a.subscribe(f)})}function Gt(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(T(n,void 0,void 0,s=>{i=P(e(s,Gt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function $h(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(T(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function bt(e,t){return M(t)?ee(e,t,1):ee(e,1)}function Xw(e){return _((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(T(n,a=>{i?.unsubscribe(),r=!0,o=a,i=T(n,s,lt),P(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Hh(e,t=Le){return _((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(T(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Dn(e){return _((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function zh(){return _((e,t)=>{e.subscribe(T(t,lt))})}function To(e){return O(()=>e)}function Kc(e,t){return t?n=>yn(t.pipe(Ge(1),zh()),n.pipe(Kc(e))):ee((n,r)=>P(e(n,r)).pipe(Ge(1),To(n)))}function eI(e,t=Le){let n=$n(e,t);return Kc(()=>n)}function Gh(e,t=we){return e=e??tI,_((n,r)=>{let o,i=!0;n.subscribe(T(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function tI(e,t){return e===t}function ss(e=nI){return _((t,n)=>{let r=!1;t.subscribe(T(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function nI(){return new dt}function Hn(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ft(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ie((o,i)=>e(o,i,r)):we,Ge(1),n?Dn(t):ss(()=>new dt))}function rI(e,t,n,r){return _((o,i)=>{let s;!t||typeof t=="function"?s=t:{duration:n,element:s,connector:r}=t;let a=new Map,c=p=>{a.forEach(p),p(i)},u=p=>c(g=>g.error(p)),l=0,d=!1,h=new vo(i,p=>{try{let g=e(p),v=a.get(g);if(!v){a.set(g,v=r?r():new G);let w=f(g,v);if(i.next(w),n){let A=T(v,()=>{v.complete(),A?.unsubscribe()},void 0,void 0,()=>a.delete(g));h.add(P(n(w)).subscribe(A))}}v.next(s?s(p):p)}catch(g){u(g)}},()=>c(p=>p.complete()),u,()=>a.clear(),()=>(d=!0,l===0));o.subscribe(h);function f(p,g){let v=new L(w=>{l++;let A=g.subscribe(w);return()=>{A.unsubscribe(),--l===0&&d&&h.unsubscribe()}});return v.key=p,v}})}function Er(e){return e<=0?()=>Ae:_((t,n)=>{let r=[];t.subscribe(T(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Jc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ie((o,i)=>e(o,i,r)):we,Er(1),n?Dn(t):ss(()=>new dt))}function oI(...e){let t=e.length;if(t===0)throw new Error("list of properties cannot be empty.");return O(n=>{let r=n;for(let o=0;o<t;o++){let i=r?.[e[o]];if(typeof i<"u")r=i;else return}return r})}function as(e,t){return _($h(e,t,arguments.length>=2,!0))}function iI(e){return ie((t,n)=>e<=n)}function sI(e){return _((t,n)=>{let r=!1,o=0;t.subscribe(T(n,i=>(r||(r=!e(i,o++)))&&n.next(i)))})}function aI(e,t){return M(t)?se(()=>e,t):se(()=>e)}function qh(e,t){return _((n,r)=>{let o=t;return se((i,s)=>e(o,i,s),(i,s)=>(o=s,s))(n).subscribe(r),()=>{o=null}})}function Wh(e,t=!1){return _((n,r)=>{let o=0;n.subscribe(T(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Zh(...e){let t=mr(e);return _((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)P(e[c]).subscribe(T(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(we))&&(s=null))},lt));n.subscribe(T(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}function Yh(e,t){return Object.is(e,t)}var de=null,_o=!1,cs=1,qe=Symbol("SIGNAL");function j(e){let t=de;return de=e,t}function Qh(){return de}function cI(){return _o}var br={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 ls(e){if(_o)throw new Error("");if(de===null)return;de.consumerOnSignalRead(e);let t=de.nextProducerIndex++;if(gs(de),t<de.producerNode.length&&de.producerNode[t]!==e&&Mo(de)){let n=de.producerNode[t];ps(n,de.producerIndexOfThis[t])}de.producerNode[t]!==e&&(de.producerNode[t]=e,de.producerIndexOfThis[t]=Mo(de)?tp(e,de,t):0),de.producerLastReadVersion[t]=e.version}function uI(){cs++}function Kh(e){if(!(Mo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===cs)){if(!e.producerMustRecompute(e)&&!fs(e)){e.dirty=!1,e.lastCleanEpoch=cs;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=cs}}function Jh(e){if(e.liveConsumerNode===void 0)return;let t=_o;_o=!0;try{for(let n of e.liveConsumerNode)n.dirty||ep(n)}finally{_o=t}}function Xh(){return de?.consumerAllowSignalWrites!==!1}function ep(e){e.dirty=!0,Jh(e),e.consumerMarkedDirty?.(e)}function So(e){return e&&(e.nextProducerIndex=0),j(e)}function ds(e,t){if(j(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Mo(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ps(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function fs(e){gs(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Kh(n),r!==n.version))return!0}return!1}function hs(e){if(gs(e),Mo(e))for(let t=0;t<e.producerNode.length;t++)ps(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function tp(e,t,n){if(np(e),e.liveConsumerNode.length===0&&rp(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=tp(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ps(e,t){if(np(e),e.liveConsumerNode.length===1&&rp(e))for(let r=0;r<e.producerNode.length;r++)ps(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];gs(o),o.producerIndexOfThis[r]=t}}function Mo(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function gs(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function np(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function rp(e){return e.producerNode!==void 0}function nu(e){let t=Object.create(lI);t.computation=e;let n=()=>{if(Kh(t),ls(t),t.value===us)throw t.error;return t.value};return n[qe]=t,n}var Xc=Symbol("UNSET"),eu=Symbol("COMPUTING"),us=Symbol("ERRORED"),lI=U(y({},br),{value:Xc,dirty:!0,error:null,equal:Yh,producerMustRecompute(e){return e.value===Xc||e.value===eu},producerRecomputeValue(e){if(e.value===eu)throw new Error("Detected cycle in computations.");let t=e.value;e.value=eu;let n=So(e),r;try{r=e.computation()}catch(o){r=us,e.error=o}finally{ds(e,n)}if(t!==Xc&&t!==us&&r!==us&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function dI(){throw new Error}var op=dI;function ip(){op()}function sp(e){op=e}var fI=null;function ap(e){let t=Object.create(ru);t.value=e;let n=()=>(ls(t),t.value);return n[qe]=t,n}function ms(e,t){Xh()||ip(),e.equal(e.value,t)||(e.value=t,hI(e))}function cp(e,t){Xh()||ip(),ms(e,t(e.value))}var ru=U(y({},br),{equal:Yh,value:void 0});function hI(e){e.version++,uI(),Jh(e),fI?.()}function up(e,t,n){let r=Object.create(pI);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(hs(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=tu)}let a=()=>{if(r.fn===null)return;if(cI())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!fs(r))return;r.hasRun=!0;let c=So(r);try{r.cleanupFn(),r.cleanupFn=tu,r.fn(o)}finally{ds(r,c)}};return r.ref={notify:()=>ep(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[qe]:r},r.ref}var tu=()=>{},pI=U(y({},br),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:tu});var lg="https://g.co/ng/security#xss",I=class extends Error{constructor(t,n){super(sa(t,n)),this.code=t}};function sa(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var dg=Symbol("InputSignalNode#UNSET"),gI=U(y({},ru),{transformFn:void 0,applyValueToInputSignal(e,t){ms(e,t)}});function fg(e,t){let n=Object.create(gI);n.value=e,n.transformFn=t?.transform;function r(){if(ls(n),n.value===dg)throw new I(-950,!1);return n.value}return r[qe]=n,r}function Uo(e){return{toString:e}.toString()}var vs="__parameters__";function mI(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Al(e,t,n){return Uo(()=>{let r=mI(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(vs)?c[vs]:Object.defineProperty(c,vs,{value:[]})[vs];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ce=globalThis;function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function vI(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Pe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Pe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
+ `);return n===-1?t:t.substring(0,n)}function Du(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var yI=Z({__forward_ref__:Z});function hg(e){return e.__forward_ref__=hg,e.toString=function(){return Pe(this())},e}function Re(e){return pg(e)?e():e}function pg(e){return typeof e=="function"&&e.hasOwnProperty(yI)&&e.__forward_ref__===hg}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ft(e){return{providers:e.providers||[],imports:e.imports||[]}}function aa(e){return lp(e,mg)||lp(e,vg)}function gg(e){return aa(e)!==null}function lp(e,t){return e.hasOwnProperty(t)?e[t]:null}function DI(e){let t=e&&(e[mg]||e[vg]);return t||null}function dp(e){return e&&(e.hasOwnProperty(fp)||e.hasOwnProperty(wI))?e[fp]:null}var mg=Z({\u0275prov:Z}),fp=Z({\u0275inj:Z}),vg=Z({ngInjectableDef:Z}),wI=Z({ngInjectorDef:Z}),C=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function yg(e){return e&&!!e.\u0275providers}var II=Z({\u0275cmp:Z}),CI=Z({\u0275dir:Z}),EI=Z({\u0275pipe:Z}),bI=Z({\u0275mod:Z}),As=Z({\u0275fac:Z}),No=Z({__NG_ELEMENT_ID__:Z}),hp=Z({__NG_ENV_ID__:Z});function Mt(e){return typeof e=="string"?e:e==null?"":String(e)}function TI(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Mt(e)}function _I(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,e)}function Rl(e,t){throw new I(-201,!1)}var V=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(V||{}),wu;function Dg(){return wu}function je(e){let t=wu;return wu=e,t}function wg(e,t,n){let r=aa(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&V.Optional)return null;if(t!==void 0)return t;Rl(e,"Injector")}var MI={},Ro=MI,Iu="__NG_DI_FLAG__",Rs="ngTempTokenPath",SI="ngTokenPath",xI=/\n/gm,NI="\u0275",pp="__source",xr;function AI(){return xr}function wn(e){let t=xr;return xr=e,t}function RI(e,t=V.Default){if(xr===void 0)throw new I(-203,!1);return xr===null?wg(e,void 0,t):xr.get(e,t&V.Optional?null:void 0,t)}function b(e,t=V.Default){return(Dg()||RI)(Re(e),t)}function m(e,t=V.Default){return b(e,ca(t))}function ca(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Cu(e){let t=[];for(let n=0;n<e.length;n++){let r=Re(e[n]);if(Array.isArray(r)){if(r.length===0)throw new I(900,!1);let o,i=V.Default;for(let s=0;s<r.length;s++){let a=r[s],c=OI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(b(o,i))}else t.push(b(r))}return t}function Ol(e,t){return e[Iu]=t,e.prototype[Iu]=t,e}function OI(e){return e[Iu]}function PI(e,t,n,r){let o=e[Rs];throw t[pp]&&o.unshift(t[pp]),e.message=FI(`
5
+ `+e.message,o,n,r),e[SI]=o,e[Rs]=null,e}function FI(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==NI?e.slice(2):e;let o=Pe(t);if(Array.isArray(t))o=t.map(Pe).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Pe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(xI,`
7
+ `)}`}var zV=Ol(Al("Inject",e=>({token:e})),-1),$o=Ol(Al("Optional"),8);var ua=Ol(Al("SkipSelf"),4);function Wn(e,t){let n=e.hasOwnProperty(As);return n?e[As]:null}function kI(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function LI(e){return e.flat(Number.POSITIVE_INFINITY)}function Pl(e,t){e.forEach(n=>Array.isArray(n)?Pl(n,t):t(n))}function Ig(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Os(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function jI(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function VI(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Hr(e,t,n){let r=Ho(e,t);return r>=0?e[r|1]=n:(r=~r,VI(e,r,t,n)),r}function ou(e,t){let n=Ho(e,t);if(n>=0)return e[n|1]}function Ho(e,t){return BI(e,t,1)}function BI(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Rr={},Oe=[],Or=new C(""),Cg=new C("",-1),Eg=new C(""),Ps=class{get(t,n=Ro){if(n===Ro){let r=new Error(`NullInjectorError: No provider for ${Pe(t)}!`);throw r.name="NullInjectorError",r}return n}},bg=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(bg||{}),St=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(St||{}),En=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(En||{});function UI(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Eu(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];$I(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Tg(e){return e===3||e===4||e===6}function $I(e){return e.charCodeAt(0)===64}function Oo(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?gp(e,n,o,null,t[++r]):gp(e,n,o,null,null))}}return e}function gp(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var _g="ng-template";function HI(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&UI(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Fl(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Fl(e){return e.type===4&&e.value!==_g}function zI(e,t,n){let r=e.type===4&&!n?_g:e.value;return t===r}function GI(e,t,n){let r=4,o=e.attrs,i=o!==null?ZI(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ht(r)&&!ht(c))return!1;if(s&&ht(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!zI(e,c,n)||c===""&&t.length===1){if(ht(r))return!1;s=!0}}else if(r&8){if(o===null||!HI(e,o,c,n)){if(ht(r))return!1;s=!0}}else{let u=t[++a],l=qI(c,o,Fl(e),n);if(l===-1){if(ht(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(ht(r))return!1;s=!0}}}}return ht(r)||s}function ht(e){return(e&1)===0}function qI(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return YI(t,e)}function Mg(e,t,n=!1){for(let r=0;r<t.length;r++)if(GI(e,t[r],n))return!0;return!1}function WI(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function ZI(e){for(let t=0;t<e.length;t++){let n=e[t];if(Tg(n))return t}return e.length}function YI(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function QI(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function mp(e,t){return e?":not("+t.trim()+")":t}function KI(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ht(s)&&(t+=mp(i,o),o=""),r=s,i=i||!ht(r);n++}return o!==""&&(t+=mp(i,o)),t}function JI(e){return e.map(KI).join(",")}function XI(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ht(o))break;o=i}r++}return{attrs:t,classes:n}}function zo(e){return Uo(()=>{let t=Ng(e),n=U(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===bg.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||St.Emulated,styles:e.styles||Oe,_:null,schemas:e.schemas||null,tView:null,id:""});Ag(n);let r=e.dependencies;return n.directiveDefs=yp(r,!1),n.pipeDefs=yp(r,!0),n.id=nC(n),n})}function eC(e){return xt(e)||kl(e)}function tC(e){return e!==null}function kt(e){return Uo(()=>({type:e.type,bootstrap:e.bootstrap||Oe,declarations:e.declarations||Oe,imports:e.imports||Oe,exports:e.exports||Oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function vp(e,t){if(e==null)return Rr;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=En.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==En.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Fe(e){return Uo(()=>{let t=Ng(e);return Ag(t),t})}function Sn(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function xt(e){return e[II]||null}function kl(e){return e[CI]||null}function Ll(e){return e[EI]||null}function Sg(e){let t=xt(e)||kl(e)||Ll(e);return t!==null?t.standalone:!1}function xg(e,t){let n=e[bI]||null;if(!n&&t===!0)throw new Error(`Type ${Pe(e)} does not have '\u0275mod' property.`);return n}function Ng(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Rr,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Oe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:vp(e.inputs,t),outputs:vp(e.outputs),debugInfo:null}}function Ag(e){e.features?.forEach(t=>t(e))}function yp(e,t){if(!e)return null;let n=t?Ll:eC;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(tC)}function nC(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function zr(e){return{\u0275providers:e}}function rC(...e){return{\u0275providers:jl(!0,e),\u0275fromNgModule:!0}}function jl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Pl(t,s=>{let a=s;bu(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Rg(o,i),n}function Rg(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Vl(o,i=>{t(i,r)})}}function bu(e,t,n,r){if(e=Re(e),!e)return!1;let o=null,i=dp(e),s=!i&&xt(e);if(!i&&!s){let c=e.ngModule;if(i=dp(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)bu(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Pl(i.imports,l=>{bu(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Rg(u,t)}if(!a){let u=Wn(o)||(()=>new o);t({provide:o,useFactory:u,deps:Oe},o),t({provide:Eg,useValue:o,multi:!0},o),t({provide:Or,useValue:()=>b(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Vl(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Vl(e,t){for(let n of e)yg(n)&&(n=n.\u0275providers),Array.isArray(n)?Vl(n,t):t(n)}var oC=Z({provide:String,useValue:Z});function Og(e){return e!==null&&typeof e=="object"&&oC in e}function iC(e){return!!(e&&e.useExisting)}function sC(e){return!!(e&&e.useFactory)}function Pr(e){return typeof e=="function"}function aC(e){return!!e.useClass}var la=new C(""),Ts={},cC={},iu;function da(){return iu===void 0&&(iu=new Ps),iu}var Se=class{},Po=class extends Se{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,_u(t,s=>this.processProvider(s)),this.records.set(Cg,Tr(void 0,this)),o.has("environment")&&this.records.set(Se,Tr(void 0,this));let i=this.records.get(la);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Eg,Oe,V.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=j(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),j(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=wn(this),r=je(void 0),o;try{return t()}finally{wn(n),je(r)}}get(t,n=Ro,r=V.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(hp))return t[hp](this);r=ca(r);let o,i=wn(this),s=je(void 0);try{if(!(r&V.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=hC(t)&&aa(t);u&&this.injectableDefInScope(u)?c=Tr(Tu(t),Ts):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&V.Self?da():this.parent;return n=r&V.Optional&&n===Ro?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Rs]=a[Rs]||[]).unshift(Pe(t)),i)throw a;return PI(a,t,"R3InjectorError",this.source)}else throw a}finally{je(s),wn(i)}}resolveInjectorInitializers(){let t=j(null),n=wn(this),r=je(void 0),o;try{let i=this.get(Or,Oe,V.Self);for(let s of i)s()}finally{wn(n),je(r),j(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Pe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){t=Re(t);let n=Pr(t)?t:Re(t&&t.provide),r=lC(t);if(!Pr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Tr(void 0,Ts,!0),o.factory=()=>Cu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=j(null);try{return n.value===Ts&&(n.value=cC,n.value=n.factory()),typeof n.value=="object"&&n.value&&fC(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{j(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Re(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Tu(e){let t=aa(e),n=t!==null?t.factory:Wn(e);if(n!==null)return n;if(e instanceof C)throw new I(204,!1);if(e instanceof Function)return uC(e);throw new I(204,!1)}function uC(e){if(e.length>0)throw new I(204,!1);let n=DI(e);return n!==null?()=>n.factory(e):()=>new e}function lC(e){if(Og(e))return Tr(void 0,e.useValue);{let t=Pg(e);return Tr(t,Ts)}}function Pg(e,t,n){let r;if(Pr(e)){let o=Re(e);return Wn(o)||Tu(o)}else if(Og(e))r=()=>Re(e.useValue);else if(sC(e))r=()=>e.useFactory(...Cu(e.deps||[]));else if(iC(e))r=()=>b(Re(e.useExisting));else{let o=Re(e&&(e.useClass||e.provide));if(dC(e))r=()=>new o(...Cu(e.deps));else return Wn(o)||Tu(o)}return r}function Tr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dC(e){return!!e.deps}function fC(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function hC(e){return typeof e=="function"||typeof e=="object"&&e instanceof C}function _u(e,t){for(let n of e)Array.isArray(n)?_u(n,t):n&&yg(n)?_u(n.\u0275providers,t):t(n)}function ot(e,t){e instanceof Po&&e.assertNotDestroyed();let n,r=wn(e),o=je(void 0);try{return t()}finally{wn(r),je(o)}}function Fg(){return Dg()!==void 0||AI()!=null}function Bl(e){if(!Fg())throw new I(-203,!1)}function pC(e){let t=Ce.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function gC(e){return typeof e=="function"}var Lt=0,S=1,N=2,Te=3,pt=4,Ue=5,Fr=6,Fs=7,be=8,Nt=9,At=10,Y=11,Fo=12,Dp=13,Gr=14,Be=15,Zn=16,_r=17,qt=18,fa=19,kg=20,In=21,_s=22,rt=23,te=25,Ul=1;var Yn=7,ks=8,kr=9,Me=10,Ls=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ls||{});function Cn(e){return Array.isArray(e)&&typeof e[Ul]=="object"}function Qt(e){return Array.isArray(e)&&e[Ul]===!0}function $l(e){return(e.flags&4)!==0}function ha(e){return e.componentOffset>-1}function pa(e){return(e.flags&1)===1}function Wt(e){return!!e.template}function Mu(e){return(e[N]&512)!==0}function mC(e){return(e[N]&256)===256}var Su=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Lg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Kt(){return jg}function jg(e){return e.type.prototype.ngOnChanges&&(e.setInput=yC),vC}Kt.ngInherit=!0;function vC(){let e=Bg(this),t=e?.current;if(t){let n=e.previous;if(n===Rr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function yC(e,t,n,r,o){let i=this.declaredInputs[r],s=Bg(e)||DC(e,{previous:Rr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Su(u&&u.currentValue,n,c===Rr),Lg(e,t,o,n)}var Vg="__ngSimpleChanges__";function Bg(e){return e[Vg]||null}function DC(e,t){return e[Vg]=t}var wp=null;var Tt=function(e,t,n){wp?.(e,t,n)},Ug="svg",wC="math";function Rt(e){for(;Array.isArray(e);)e=e[Lt];return e}function IC(e){for(;Array.isArray(e);){if(typeof e[Ul]=="object")return e;e=e[Lt]}return null}function $g(e,t){return Rt(t[e])}function it(e,t){return Rt(t[e.index])}function Go(e,t){return e.data[t]}function qr(e,t){return e[t]}function xn(e,t){let n=t[e];return Cn(n)?n:n[Lt]}function CC(e){return(e[N]&4)===4}function Hl(e){return(e[N]&128)===128}function EC(e){return Qt(e[Te])}function bn(e,t){return t==null?null:e[t]}function Hg(e){e[_r]=0}function zg(e){e[N]&1024||(e[N]|=1024,Hl(e)&&ma(e))}function bC(e,t){for(;e>0;)t=t[Gr],e--;return t}function ga(e){return!!(e[N]&9216||e[rt]?.dirty)}function xu(e){e[At].changeDetectionScheduler?.notify(8),e[N]&64&&(e[N]|=1024),ga(e)&&ma(e)}function ma(e){e[At].changeDetectionScheduler?.notify(0);let t=Qn(e);for(;t!==null&&!(t[N]&8192||(t[N]|=8192,!Hl(t)));)t=Qn(t)}function zl(e,t){if((e[N]&256)===256)throw new I(911,!1);e[In]===null&&(e[In]=[]),e[In].push(t)}function Gg(e,t){if(e[In]===null)return;let n=e[In].indexOf(t);n!==-1&&e[In].splice(n,1)}function Qn(e){let t=e[Te];return Qt(t)?t[Te]:t}var F={lFrame:em(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var qg=!1;function TC(){return F.lFrame.elementDepthCount}function _C(){F.lFrame.elementDepthCount++}function MC(){F.lFrame.elementDepthCount--}function Wg(){return F.bindingsEnabled}function Zg(){return F.skipHydrationRootTNode!==null}function SC(e){return F.skipHydrationRootTNode===e}function xC(){F.skipHydrationRootTNode=null}function E(){return F.lFrame.lView}function W(){return F.lFrame.tView}function Gl(e){return F.lFrame.contextLView=e,e[be]}function ql(e){return F.lFrame.contextLView=null,e}function me(){let e=Yg();for(;e!==null&&e.type===64;)e=e.parent;return e}function Yg(){return F.lFrame.currentTNode}function NC(){let e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function ir(e,t){let n=F.lFrame;n.currentTNode=e,n.isParent=t}function Wl(){return F.lFrame.isParent}function Zl(){F.lFrame.isParent=!1}function AC(){return F.lFrame.contextLView}function Qg(){return qg}function Ip(e){qg=e}function $e(){let e=F.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Kg(){return F.lFrame.bindingIndex}function RC(e){return F.lFrame.bindingIndex=e}function Jt(){return F.lFrame.bindingIndex++}function va(e){let t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function OC(){return F.lFrame.inI18n}function PC(e,t){let n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,Nu(t)}function FC(){return F.lFrame.currentDirectiveIndex}function Nu(e){F.lFrame.currentDirectiveIndex=e}function Yl(e){let t=F.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ql(){return F.lFrame.currentQueryIndex}function ya(e){F.lFrame.currentQueryIndex=e}function kC(e){let t=e[S];return t.type===2?t.declTNode:t.type===1?e[Ue]:null}function Jg(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&V.Host);)if(o=kC(i),o===null||(i=i[Gr],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=F.lFrame=Xg();return r.currentTNode=t,r.lView=e,!0}function Kl(e){let t=Xg(),n=e[S];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xg(){let e=F.lFrame,t=e===null?null:e.child;return t===null?em(e):t}function em(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function tm(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var nm=tm;function Jl(){let e=tm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function LC(e){return(F.lFrame.contextLView=bC(e,F.lFrame.contextLView))[be]}function jt(){return F.lFrame.selectedIndex}function Kn(e){F.lFrame.selectedIndex=e}function Xt(){let e=F.lFrame;return Go(e.tView,e.selectedIndex)}function GV(){F.lFrame.currentNamespace=Ug}function qV(){jC()}function jC(){F.lFrame.currentNamespace=null}function VC(){return F.lFrame.currentNamespace}var rm=!0;function Da(){return rm}function wa(e){rm=e}function BC(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=jg(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Ia(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Ms(e,t,n){om(e,t,3,n)}function Ss(e,t,n,r){(e[N]&3)===n&&om(e,t,n,r)}function su(e,t){let n=e[N];(n&3)===t&&(n&=16383,n+=1,e[N]=n)}function om(e,t,n,r){let o=r!==void 0?e[_r]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[_r]+=65536),(a<i||i==-1)&&(UC(e,n,t,c),e[_r]=(e[_r]&4294901760)+c+2),c++}function Cp(e,t){Tt(4,e,t);let n=j(null);try{t.call(e)}finally{j(n),Tt(5,e,t)}}function UC(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[N]>>14<e[_r]>>16&&(e[N]&3)===t&&(e[N]+=16384,Cp(a,i)):Cp(a,i)}var Nr=-1,Jn=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function $C(e){return e instanceof Jn}function HC(e){return(e.flags&8)!==0}function zC(e){return(e.flags&16)!==0}var au={},Ar=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=ca(r);let o=this.injector.get(t,au,r);return o!==au||n===au?o:this.parentInjector.get(t,n,r)}};function im(e){return e!==Nr}function js(e){return e&32767}function GC(e){return e>>16}function Vs(e,t){let n=GC(e),r=t;for(;n>0;)r=r[Gr],n--;return r}var Au=!0;function Bs(e){let t=Au;return Au=e,t}var qC=256,sm=qC-1,am=5,WC=0,_t={};function ZC(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(No)&&(r=n[No]),r==null&&(r=n[No]=WC++);let o=r&sm,i=1<<o;t.data[e+(o>>am)]|=i}function Us(e,t){let n=cm(e,t);if(n!==-1)return n;let r=t[S];r.firstCreatePass&&(e.injectorIndex=t.length,cu(r.data,e),cu(t,null),cu(r.blueprint,null));let o=Xl(e,t),i=e.injectorIndex;if(im(o)){let s=js(o),a=Vs(o,t),c=a[S].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function cu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Xl(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=hm(o),r===null)return Nr;if(n++,o=o[Gr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nr}function Ru(e,t,n){ZC(e,t,n)}function YC(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Tg(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function um(e,t,n){if(n&V.Optional||e!==void 0)return e;Rl(t,"NodeInjector")}function lm(e,t,n,r){if(n&V.Optional&&r===void 0&&(r=null),!(n&(V.Self|V.Host))){let o=e[Nt],i=je(void 0);try{return o?o.get(t,r,n&V.Optional):wg(t,r,n&V.Optional)}finally{je(i)}}return um(r,t,n)}function dm(e,t,n,r=V.Default,o){if(e!==null){if(t[N]&2048&&!(r&V.Self)){let s=XC(e,t,n,r,_t);if(s!==_t)return s}let i=fm(e,t,n,r,_t);if(i!==_t)return i}return lm(t,n,r,o)}function fm(e,t,n,r,o){let i=KC(n);if(typeof i=="function"){if(!Jg(t,e,r))return r&V.Host?um(o,n,r):lm(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&V.Optional))Rl(n);else return s}finally{nm()}}else if(typeof i=="number"){let s=null,a=cm(e,t),c=Nr,u=r&V.Host?t[Be][Ue]:null;for((a===-1||r&V.SkipSelf)&&(c=a===-1?Xl(e,t):t[a+8],c===Nr||!bp(r,!1)?a=-1:(s=t[S],a=js(c),t=Vs(c,t)));a!==-1;){let l=t[S];if(Ep(i,a,l.data)){let d=QC(a,t,n,s,r,u);if(d!==_t)return d}c=t[a+8],c!==Nr&&bp(r,t[S].data[a+8]===u)&&Ep(i,a,t)?(s=l,a=js(c),t=Vs(c,t)):a=-1}}return o}function QC(e,t,n,r,o,i){let s=t[S],a=s.data[e+8],c=r==null?ha(a)&&Au:r!=s&&(a.type&3)!==0,u=o&V.Host&&i===a,l=xs(a,s,n,c,u);return l!==null?Xn(t,s,l,a):_t}function xs(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(o){let f=s[c];if(f&&Wt(f)&&f.type===n)return c}return null}function Xn(e,t,n,r){let o=e[n],i=t.data;if($C(o)){let s=o;s.resolving&&_I(TI(i[n]));let a=Bs(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?je(s.injectImpl):null,l=Jg(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&BC(n,i[n],t)}finally{u!==null&&je(u),Bs(a),s.resolving=!1,nm()}}return o}function KC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(No)?e[No]:void 0;return typeof t=="number"?t>=0?t&sm:JC:t}function Ep(e,t,n){let r=1<<e;return!!(n[t+(e>>am)]&r)}function bp(e,t){return!(e&V.Self)&&!(e&V.Host&&t)}var qn=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return dm(this._tNode,this._lView,t,ca(r),n)}};function JC(){return new qn(me(),E())}function ed(e){return Uo(()=>{let t=e.prototype.constructor,n=t[As]||Ou(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[As]||Ou(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ou(e){return pg(e)?()=>{let t=Ou(Re(e));return t&&t()}:Wn(e)}function XC(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[N]&2048&&!(s[N]&512);){let a=fm(i,s,n,r|V.Self,_t);if(a!==_t)return a;let c=i.parent;if(!c){let u=s[kg];if(u){let l=u.get(n,_t,r);if(l!==_t)return l}c=hm(s),s=s[Gr]}i=c}return o}function hm(e){let t=e[S],n=t.type;return n===2?t.declTNode:n===1?e[Ue]:null}function td(e){return YC(me(),e)}function Tp(e,t=null,n=null,r){let o=pm(e,t,n,r);return o.resolveInjectorInitializers(),o}function pm(e,t=null,n=null,r,o=new Set){let i=[n||Oe,rC(e)];return r=r||(typeof e=="object"?void 0:Pe(e)),new Po(i,t||da(),r||null,o)}var he=class e{static{this.THROW_IF_NOT_FOUND=Ro}static{this.NULL=new Ps}static create(t,n){if(Array.isArray(t))return Tp({name:""},n,t,"");{let r=t.name??"";return Tp({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=D({token:e,providedIn:"any",factory:()=>b(Cg)})}static{this.__NG_ELEMENT_ID__=-1}};var eE=new C("");eE.__NG_ELEMENT_ID__=e=>{let t=me();if(t===null)throw new I(204,!1);if(t.type&2)return t.value;if(e&V.Optional)return null;throw new I(204,!1)};var tE="ngOriginalError";function uu(e){return e[tE]}var gm=!0,Ca=(()=>{class e{static{this.__NG_ELEMENT_ID__=nE}static{this.__NG_ENV_ID__=n=>n}}return e})(),Pu=class extends Ca{constructor(t){super(),this._lView=t}onDestroy(t){return zl(this._lView,t),()=>Gg(this._lView,t)}};function nE(){return new Pu(E())}var Vt=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ie(!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)}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Fu=class extends G{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Fg()&&(this.destroyRef=m(Ca,{optional:!0})??void 0,this.pendingTasks=m(Vt,{optional:!0})??void 0)}emit(t){let n=j(null);try{super.next(t)}finally{j(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Ee=Fu;function $s(...e){}function mm(e){let t,n;function r(){e=$s;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function _p(e){return queueMicrotask(()=>e()),()=>{e=$s}}var nd="isAngularZone",Hs=nd+"_ID",rE=0,$=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=gm}=t;if(typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,sE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(nd)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,oE,$s,$s);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},oE={};function rd(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function iE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){mm(()=>{e.callbackScheduled=!1,ku(e),e.isCheckStableRunning=!0,rd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ku(e)}function sE(e){let t=()=>{iE(e)},n=rE++;e._inner=e._inner.fork({name:"angular",properties:{[nd]:!0,[Hs]:n,[Hs+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(aE(c))return r.invokeTask(i,s,a,c);try{return Mp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Sp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Mp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!cE(c)&&t(),Sp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ku(e),rd(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ku(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Mp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Sp(e){e._nesting--,rd(e)}var zs=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function aE(e){return vm(e,"__ignore_ng_zone__")}function cE(e){return vm(e,"__scheduler_tick__")}function vm(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}function uE(e="zone.js",t){return e==="noop"?new zs:e==="zone.js"?new $(t):e}var Ot=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&uu(t);for(;n&&uu(n);)n=uu(n);return n||null}},lE=new C("",{providedIn:"root",factory:()=>{let e=m($),t=m(Ot);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function xp(e,t){return fg(e,t)}function dE(e){return fg(dg,e)}var WV=(xp.required=dE,xp);function fE(){return Wr(me(),E())}function Wr(e,t){return new We(it(e,t))}var We=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=fE}}return e})();function ym(e){return e instanceof We?e.nativeElement:e}function hE(){return this._results[Symbol.iterator]()}var Lu=class e{get changes(){return this._changes??=new Ee}constructor(t=!1){this._emitDistinctChangesOnly=t,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 n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=hE)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=LI(t);(this._changesDetected=!kI(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Dm(e){return(e.flags&128)===128}var wm=new Map,pE=0;function gE(){return pE++}function mE(e){wm.set(e[fa],e)}function ju(e){wm.delete(e[fa])}var Np="__ngContext__";function Tn(e,t){Cn(t)?(e[Np]=t[fa],mE(t)):e[Np]=t}function Im(e){return Em(e[Fo])}function Cm(e){return Em(e[pt])}function Em(e){for(;e!==null&&!Qt(e);)e=e[pt];return e}var Vu;function bm(e){Vu=e}function Tm(){if(Vu!==void 0)return Vu;if(typeof document<"u")return document;throw new I(210,!1)}var Ea=new C("",{providedIn:"root",factory:()=>vE}),vE="ng",od=new C(""),gt=new C("",{providedIn:"platform",factory:()=>"unknown"});var ZV=new C(""),id=new C("",{providedIn:"root",factory:()=>Tm().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),sd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},_m=new C("",{providedIn:"root",factory:()=>sd});var yE="h",DE="b";var wE=()=>null;function ad(e,t,n=!1){return wE(e,t,n)}var Mm=!1,IE=new C("",{providedIn:"root",factory:()=>Mm});var ys;function Sm(){if(ys===void 0&&(ys=null,Ce.trustedTypes))try{ys=Ce.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ys}function ba(e){return Sm()?.createHTML(e)||e}function CE(e){return Sm()?.createScriptURL(e)||e}var Ds;function xm(){if(Ds===void 0&&(Ds=null,Ce.trustedTypes))try{Ds=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ds}function Ap(e){return xm()?.createHTML(e)||e}function Rp(e){return xm()?.createScriptURL(e)||e}var Zt=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lg})`}},Bu=class extends Zt{getTypeName(){return"HTML"}},Uu=class extends Zt{getTypeName(){return"Style"}},$u=class extends Zt{getTypeName(){return"Script"}},Hu=class extends Zt{getTypeName(){return"URL"}},zu=class extends Zt{getTypeName(){return"ResourceURL"}};function He(e){return e instanceof Zt?e.changingThisBreaksApplicationSecurity:e}function en(e,t){let n=EE(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${lg})`)}return n===t}function EE(e){return e instanceof Zt&&e.getTypeName()||null}function Nm(e){return new Bu(e)}function Am(e){return new Uu(e)}function Rm(e){return new $u(e)}function Om(e){return new Hu(e)}function Pm(e){return new zu(e)}function bE(e){let t=new qu(e);return TE()?new Gu(t):t}var Gu=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ba(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},qu=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ba(t),n}};function TE(){try{return!!new window.DOMParser().parseFromString(ba(""),"text/html")}catch{return!1}}var _E=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ta(e){return e=String(e),e.match(_E)?e:"unsafe:"+e}function tn(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function qo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Fm=tn("area,br,col,hr,img,wbr"),km=tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lm=tn("rp,rt"),ME=qo(Lm,km),SE=qo(km,tn("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")),xE=qo(Lm,tn("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")),Op=qo(Fm,SE,xE,ME),jm=tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),NE=tn("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"),AE=tn("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"),RE=qo(jm,NE,AE),OE=tn("script,style,template"),Wu=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=kE(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=FE(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Pp(t).toLowerCase();if(!Op.hasOwnProperty(n))return this.sanitizedSomething=!0,!OE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!RE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;jm[a]&&(c=Ta(c)),this.buf.push(" ",s,'="',Fp(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Pp(t).toLowerCase();Op.hasOwnProperty(n)&&!Fm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Fp(t))}};function PE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function FE(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Vm(t);return t}function kE(e){let t=e.firstChild;if(t&&PE(e,t))throw Vm(t);return t}function Pp(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Vm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var LE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jE=/([^\#-~ |!])/g;function Fp(e){return e.replace(/&/g,"&amp;").replace(LE,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(jE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ws;function cd(e,t){let n=null;try{ws=ws||bE(e);let r=t?String(t):"";n=ws.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ws.getInertBodyElement(r)}while(r!==i);let a=new Wu().sanitizeChildren(kp(n)||n);return ba(a)}finally{if(n){let r=kp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function kp(e){return"content"in e&&VE(e)?e.content:null}function VE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ze=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Ze||{});function ud(e){let t=ld();return t?Ap(t.sanitize(Ze.HTML,e)||""):en(e,"HTML")?Ap(He(e)):cd(Tm(),Mt(e))}function BE(e){let t=ld();return t?t.sanitize(Ze.URL,e)||"":en(e,"URL")?He(e):Ta(Mt(e))}function UE(e){let t=ld();if(t)return Rp(t.sanitize(Ze.RESOURCE_URL,e)||"");if(en(e,"ResourceURL"))return Rp(He(e));throw new I(904,!1)}function YV(e){return CE(e[0])}function $E(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?UE:BE}function Bm(e,t,n){return $E(t,n)(e)}function ld(){let e=E();return e&&e[At].sanitizer}var HE=/^>|^->|<!--|-->|--!>|<!-$/g,zE=/(<|>)/g,GE="\u200B$1\u200B";function qE(e){return e.replace(HE,t=>t.replace(zE,GE))}function QV(e){return e.ownerDocument.defaultView}function KV(e){return e.ownerDocument}function Um(e){return e instanceof Function?e():e}function _a(e){return(e??m(he)).get(gt)==="browser"}var Pt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Pt||{}),WE;function dd(e,t){return WE(e,t)}function Mr(e,t,n,r,o){if(r!=null){let i,s=!1;Qt(r)?i=r:Cn(r)&&(s=!0,r=r[Lt]);let a=Rt(r);e===0&&n!==null?o==null?qm(t,n,a):Gs(t,n,a,o||null,!0):e===1&&n!==null?Gs(t,n,a,o||null,!0):e===2?ab(t,a,s):e===3&&t.destroyNode(a),i!=null&&ub(t,e,i,n,o)}}function ZE(e,t){return e.createText(t)}function YE(e,t,n){e.setValue(t,n)}function QE(e,t){return e.createComment(qE(t))}function $m(e,t,n){return e.createElement(t,n)}function KE(e,t){Hm(e,t),t[Lt]=null,t[Ue]=null}function JE(e,t,n,r,o,i){r[Lt]=o,r[Ue]=t,xa(e,r,n,1,o,i)}function Hm(e,t){t[At].changeDetectionScheduler?.notify(9),xa(e,t,t[Y],2,null,null)}function XE(e){let t=e[Fo];if(!t)return lu(e[S],e);for(;t;){let n=null;if(Cn(t))n=t[Fo];else{let r=t[Me];r&&(n=r)}if(!n){for(;t&&!t[pt]&&t!==e;)Cn(t)&&lu(t[S],t),t=t[Te];t===null&&(t=e),Cn(t)&&lu(t[S],t),n=t&&t[pt]}t=n}}function eb(e,t,n,r){let o=Me+r,i=n.length;r>0&&(n[o-1][pt]=t),r<i-Me?(t[pt]=n[o],Ig(n,Me+r,t)):(n.push(t),t[pt]=null),t[Te]=n;let s=t[Zn];s!==null&&n!==s&&zm(s,t);let a=t[qt];a!==null&&a.insertView(e),xu(t),t[N]|=128}function zm(e,t){let n=e[kr],r=t[Te];if(Cn(r))e[N]|=Ls.HasTransplantedViews;else{let o=r[Te][Be];t[Be]!==o&&(e[N]|=Ls.HasTransplantedViews)}n===null?e[kr]=[t]:n.push(t)}function fd(e,t){let n=e[kr],r=n.indexOf(t);n.splice(r,1)}function ko(e,t){if(e.length<=Me)return;let n=Me+t,r=e[n];if(r){let o=r[Zn];o!==null&&o!==e&&fd(o,r),t>0&&(e[n-1][pt]=r[pt]);let i=Os(e,Me+t);KE(r[S],r);let s=i[qt];s!==null&&s.detachView(i[S]),r[Te]=null,r[pt]=null,r[N]&=-129}return r}function Ma(e,t){if(!(t[N]&256)){let n=t[Y];n.destroyNode&&xa(e,t,n,3,null,null),XE(t)}}function lu(e,t){if(t[N]&256)return;let n=j(null);try{t[N]&=-129,t[N]|=256,t[rt]&&hs(t[rt]),nb(e,t),tb(e,t),t[S].type===1&&t[Y].destroy();let r=t[Zn];if(r!==null&&Qt(t[Te])){r!==t[Te]&&fd(r,t);let o=t[qt];o!==null&&o.detachView(e)}ju(t)}finally{j(n)}}function tb(e,t){let n=e.cleanup,r=t[Fs];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Fs]=null);let o=t[In];if(o!==null){t[In]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function nb(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Jn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Tt(4,a,c);try{c.call(a)}finally{Tt(5,a,c)}}else{Tt(4,o,i);try{i.call(o)}finally{Tt(5,o,i)}}}}}function Gm(e,t,n){return rb(e,t.parent,n)}function rb(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Lt];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===St.None||i===St.Emulated)return null}return it(r,n)}}function Gs(e,t,n,r,o){e.insertBefore(t,n,r,o)}function qm(e,t,n){e.appendChild(t,n)}function Lp(e,t,n,r,o){r!==null?Gs(e,t,n,r,o):qm(e,t,n)}function Wm(e,t){return e.parentNode(t)}function ob(e,t){return e.nextSibling(t)}function Zm(e,t,n){return sb(e,t,n)}function ib(e,t,n){return e.type&40?it(e,n):null}var sb=ib,jp;function Sa(e,t,n,r){let o=Gm(e,r,t),i=t[Y],s=r.parent||t[Ue],a=Zm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Lp(i,o,n[c],a,!1);else Lp(i,o,n,a,!1);jp!==void 0&&jp(i,r,t,n,o)}function xo(e,t){if(t!==null){let n=t.type;if(n&3)return it(t,e);if(n&4)return Zu(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return xo(e,r);{let o=e[t.index];return Qt(o)?Zu(-1,o):Rt(o)}}else{if(n&128)return xo(e,t.next);if(n&32)return dd(t,e)()||Rt(e[t.index]);{let r=Ym(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Qn(e[Be]);return xo(o,r)}else return xo(e,t.next)}}}return null}function Ym(e,t){if(t!==null){let r=e[Be][Ue],o=t.projection;return r.projection[o]}return null}function Zu(e,t){let n=Me+e+1;if(n<t.length){let r=t[n],o=r[S].firstChild;if(o!==null)return xo(r,o)}return t[Yn]}function ab(e,t,n){e.removeChild(null,t,n)}function hd(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Tn(Rt(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)hd(e,t,n.child,r,o,i,!1),Mr(t,e,o,a,i);else if(c&32){let u=dd(n,r),l;for(;l=u();)Mr(t,e,o,l,i);Mr(t,e,o,a,i)}else c&16?Qm(e,t,r,n,o,i):Mr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function xa(e,t,n,r,o,i){hd(n,r,e.firstChild,t,o,i,!1)}function cb(e,t,n){let r=t[Y],o=Gm(e,n,t),i=n.parent||t[Ue],s=Zm(i,n,t);Qm(r,0,t,n,o,s)}function Qm(e,t,n,r,o,i){let s=n[Be],c=s[Ue].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Mr(t,e,o,l,i)}else{let u=c,l=s[Te];Dm(r)&&(u.flags|=128),hd(e,t,u,l,o,i,!0)}}function ub(e,t,n,r,o){let i=n[Yn],s=Rt(n);i!==s&&Mr(t,e,r,i,o);for(let a=Me;a<n.length;a++){let c=n[a];xa(c[S],c,e,t,r,i)}}function lb(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Pt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Pt.Important),e.setStyle(n,r,o,i))}}function db(e,t,n){e.setAttribute(t,"style",n)}function Km(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Jm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Eu(e,t,r),o!==null&&Km(e,t,o),i!==null&&db(e,t,i)}var ve={};function pe(e=1){Xm(W(),E(),jt()+e,!1)}function Xm(e,t,n,r){if(!r)if((t[N]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ms(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ss(t,i,0,n)}Kn(n)}function R(e,t=V.Default){let n=E();if(n===null)return b(e,t);let r=me();return dm(r,n,Re(e),t)}function ev(){let e="invalid";throw new Error(e)}function tv(e,t,n,r,o,i){let s=j(null);try{let a=null;o&En.SignalBased&&(a=t[r][qe]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&En.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Lg(t,a,r,i)}finally{j(s)}}function fb(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Kn(~o);else{let i=o,s=n[++r],a=n[++r];PC(s,i);let c=t[i];a(2,c)}}}finally{Kn(-1)}}function Na(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Lt]=o,d[N]=r|4|128|8|64,(u!==null||e&&e[N]&2048)&&(d[N]|=2048),Hg(d),d[Te]=d[Gr]=e,d[be]=n,d[At]=s||e&&e[At],d[Y]=a||e&&e[Y],d[Nt]=c||e&&e[Nt]||null,d[Ue]=i,d[fa]=gE(),d[Fr]=l,d[kg]=u,d[Be]=t.type==2?e[Be]:d,d}function Zr(e,t,n,r,o){let i=e.data[t];if(i===null)i=hb(e,t,n,r,o),OC()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=NC();i.injectorIndex=s===null?-1:s.injectorIndex}return ir(i,!0),i}function hb(e,t,n,r,o){let i=Yg(),s=Wl(),a=s?i:i&&i.parent,c=e.data[t]=Db(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function nv(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function rv(e,t,n,r,o){let i=jt(),s=r&2;try{Kn(-1),s&&t.length>te&&Xm(e,t,te,!1),Tt(s?2:0,o),n(r,o)}finally{Kn(i),Tt(s?3:1,o)}}function pd(e,t,n){if($l(t)){let r=j(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{j(r)}}}function gd(e,t,n){Wg()&&(Tb(e,t,n,it(n,t)),(n.flags&64)===64&&sv(e,t,n))}function md(e,t,n=it){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function ov(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=vd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function vd(e,t,n,r,o,i,s,a,c,u,l){let d=te+r,h=d+o,f=pb(d,h),p=typeof u=="function"?u():u;return f[S]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function pb(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ve);return n}function gb(e,t,n,r){let i=r.get(IE,Mm)||n===St.ShadowDom,s=e.selectRootElement(t,i);return mb(s),s}function mb(e){vb(e)}var vb=()=>null;function yb(e,t,n,r){let o=uv(t);o.push(n),e.firstCreatePass&&lv(e).push(r,o.length-1)}function Db(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zg()&&(a|=128),{type:n,index:r,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Vp(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=En.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?Bp(r,n,u,a,c):Bp(r,n,u,a)}return r}function Bp(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function wb(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],h=n?n.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=Vp(0,d.inputs,l,c,f),u=Vp(1,d.outputs,l,u,p);let g=c!==null&&s!==null&&!Fl(t)?kb(c,l,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function Ib(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function sr(e,t,n,r,o,i,s,a){let c=it(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(Dd(e,n,l,r,o),ha(t)&&Cb(n,t.index)):t.type&3?(r=Ib(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Cb(e,t){let n=xn(t,e);n[N]&16||(n[N]|=64)}function yd(e,t,n,r){if(Wg()){let o=r===null?null:{"":-1},i=Mb(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&iv(e,t,n,s,o,a),o&&Sb(n,r,o)}n.mergedAttrs=Oo(n.mergedAttrs,n.attrs)}function iv(e,t,n,r,o,i){for(let u=0;u<r.length;u++)Ru(Us(n,t),e,r[u].type);Nb(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=nv(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Oo(n.mergedAttrs,l.hostAttrs),Ab(e,n,t,c,l),xb(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}wb(e,n,i)}function Eb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;bb(s)!=a&&s.push(a),s.push(n,r,i)}}function bb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Tb(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;ha(n)&&Rb(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Us(n,t),Tn(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=Xn(t,e,a,n);if(Tn(u,t),s!==null&&Fb(t,a-o,u,c,n,s),Wt(c)){let l=xn(n.index,t);l[be]=Xn(t,e,a,n)}}}function sv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=FC();try{Kn(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Nu(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&_b(c,u)}}finally{Kn(-1),Nu(s)}}function _b(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Mb(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Mg(t,s.selectors,!1))if(r||(r=[]),Wt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;Yu(e,t,c)}else r.unshift(s),Yu(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Yu(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Sb(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new I(-301,!1);r.push(t[o],i)}}}function xb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Wt(t)&&(n[""]=e)}}function Nb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ab(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Wn(o.type,!0)),s=new Jn(i,Wt(o),R);e.blueprint[r]=s,n[r]=s,Eb(e,t,r,nv(e,n,o.hostVars,ve),o)}function Rb(e,t,n){let r=it(t,e),o=ov(n),i=e[At].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Aa(e,Na(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function Ob(e,t,n,r,o,i){let s=it(e,t);Pb(t[Y],s,i,e.value,n,r,o)}function Pb(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Mt(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Fb(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];tv(r,n,c,u,l,d)}}function kb(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function av(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function cv(e,t){let n=e.contentQueries;if(n!==null){let r=j(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];ya(i),a.contentQueries(2,t[s],s)}}}finally{j(r)}}}function Aa(e,t){return e[Fo]?e[Dp][pt]=t:e[Fo]=t,e[Dp]=t,t}function Qu(e,t,n){ya(0);let r=j(null);try{t(e,n)}finally{j(r)}}function uv(e){return e[Fs]??=[]}function lv(e){return e.cleanup??=[]}function dv(e,t,n){return(e===null||Wt(e))&&(n=IC(n[t.index])),n[Y]}function Ra(e,t){let n=e[Nt],r=n?n.get(Ot,null):null;r&&r.handleError(t)}function Dd(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];tv(l,u,r,a,c,o)}}function wd(e,t,n){let r=$g(t,e);YE(e[Y],r,n)}function Lb(e,t){let n=xn(t,e),r=n[S];jb(r,n);let o=n[Lt];o!==null&&n[Fr]===null&&(n[Fr]=ad(o,n[Nt])),Id(r,n,n[be])}function jb(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Id(e,t,n){Kl(t);try{let r=e.viewQuery;r!==null&&Qu(1,r,n);let o=e.template;o!==null&&rv(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[qt]?.finishViewCreation(e),e.staticContentQueries&&cv(e,t),e.staticViewQueries&&Qu(2,e.viewQuery,n);let i=e.components;i!==null&&Vb(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[N]&=-5,Jl()}}function Vb(e,t){for(let n=0;n<t.length;n++)Lb(e,t[n])}function Yr(e,t,n,r){let o=j(null);try{let i=t.tView,a=e[N]&4096?4096:16,c=Na(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Zn]=u;let l=e[qt];return l!==null&&(c[qt]=l.createEmbeddedView(i)),Id(i,c,n),c}finally{j(o)}}function fv(e,t){let n=Me+t;if(n<e.length)return e[n]}function er(e,t){return!t||t.firstChild===null||Dm(e)}function Qr(e,t,n,r=!0){let o=t[S];if(eb(o,t,e,n),r){let s=Zu(n,e),a=t[Y],c=Wm(a,e[Yn]);c!==null&&JE(o,e[Ue],a,t,c,s)}let i=t[Fr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Cd(e,t){let n=ko(e,t);return n!==void 0&&Ma(n[S],n),n}function qs(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Rt(i)),Qt(i)&&Bb(i,r);let s=n.type;if(s&8)qs(e,t,n.child,r);else if(s&32){let a=dd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ym(t,n);if(Array.isArray(a))r.push(...a);else{let c=Qn(t[Be]);qs(c[S],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Bb(e,t){for(let n=Me;n<e.length;n++){let r=e[n],o=r[S].firstChild;o!==null&&qs(r[S],r,o,t)}e[Yn]!==e[Lt]&&t.push(e[Yn])}var hv=[];function Ub(e){return e[rt]??$b(e)}function $b(e){let t=hv.pop()??Object.create(zb);return t.lView=e,t}function Hb(e){e.lView[rt]!==e&&(e.lView=null,hv.push(e))}var zb=U(y({},br),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{ma(e.lView)},consumerOnSignalRead(){this.lView[rt]=this}});function Gb(e){let t=e[rt]??Object.create(qb);return t.lView=e,t}var qb=U(y({},br),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Qn(e.lView);for(;t&&!pv(t[S]);)t=Qn(t);t&&zg(t)},consumerOnSignalRead(){this.lView[rt]=this}});function pv(e){return e.type!==2}var Wb=100;function gv(e,t=!0,n=0){let r=e[At],o=r.rendererFactory,i=!1;i||o.begin?.();try{Zb(e,n)}catch(s){throw t&&Ra(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Zb(e,t){let n=Qg();try{Ip(!0),Ku(e,t);let r=0;for(;ga(e);){if(r===Wb)throw new I(103,!1);r++,Ku(e,1)}}finally{Ip(n)}}function Yb(e,t,n,r){let o=t[N];if((o&256)===256)return;let i=!1,s=!1;!i&&t[At].inlineEffectRunner?.flush(),Kl(t);let a=!0,c=null,u=null;i||(pv(e)?(u=Ub(t),c=So(u)):Qh()===null?(a=!1,u=Gb(t),c=So(u)):t[rt]&&(hs(t[rt]),t[rt]=null));try{Hg(t),RC(e.bindingStartIndex),n!==null&&rv(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ms(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ss(t,f,0,null),su(t,0)}if(s||Qb(t),mv(t,0),e.contentQueries!==null&&cv(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ms(t,f)}else{let f=e.contentHooks;f!==null&&Ss(t,f,1),su(t,1)}fb(e,t);let d=e.components;d!==null&&yv(t,d,0);let h=e.viewQuery;if(h!==null&&Qu(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ms(t,f)}else{let f=e.viewHooks;f!==null&&Ss(t,f,2),su(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[_s]){for(let f of t[_s])f();t[_s]=null}i||(t[N]&=-73)}catch(l){throw i||ma(t),l}finally{u!==null&&(ds(u,c),a&&Hb(u)),Jl()}}function mv(e,t){for(let n=Im(e);n!==null;n=Cm(n))for(let r=Me;r<n.length;r++){let o=n[r];vv(o,t)}}function Qb(e){for(let t=Im(e);t!==null;t=Cm(t)){if(!(t[N]&Ls.HasTransplantedViews))continue;let n=t[kr];for(let r=0;r<n.length;r++){let o=n[r];zg(o)}}}function Kb(e,t,n){let r=xn(t,e);vv(r,n)}function vv(e,t){Hl(e)&&Ku(e,t)}function Ku(e,t){let r=e[S],o=e[N],i=e[rt],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&fs(i)),s||=!1,i&&(i.dirty=!1),e[N]&=-9217,s)Yb(r,e,r.template,e[be]);else if(o&8192){mv(e,1);let a=r.components;a!==null&&yv(e,a,1)}}function yv(e,t,n){for(let r=0;r<t.length;r++)Kb(e,t[r],n)}function Oa(e,t){let n=Qg()?64:1088;for(e[At].changeDetectionScheduler?.notify(t);e;){e[N]|=n;let r=Qn(e);if(Mu(e)&&!r)return e;e=r}return null}var tr=class{get rootNodes(){let t=this._lView,n=t[S];return qs(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[be]}set context(t){this._lView[be]=t}get destroyed(){return(this._lView[N]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Te];if(Qt(t)){let n=t[ks],r=n?n.indexOf(this):-1;r>-1&&(ko(t,r),Os(n,r))}this._attachedToViewContainer=!1}Ma(this._lView[S],this._lView)}onDestroy(t){zl(this._lView,t)}markForCheck(){Oa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){xu(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,gv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Mu(this._lView),n=this._lView[Zn];n!==null&&!t&&fd(n,this._lView),Hm(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t;let n=Mu(this._lView),r=this._lView[Zn];r!==null&&!n&&zm(r,this._lView),xu(this._lView)}},_n=(()=>{class e{static{this.__NG_ELEMENT_ID__=e0}}return e})(),Jb=_n,Xb=class extends Jb{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Yr(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new tr(o)}};function e0(){return Pa(me(),E())}function Pa(e,t){return e.type&4?new Xb(t,e,Wr(e,t)):null}var XV=new RegExp(`^(\\d+)*(${DE}|${yE})*(.*)`);var t0=()=>null;function nr(e,t){return t0(e,t)}var Lr=class{},Ed=new C("",{providedIn:"root",factory:()=>!1});var Dv=new C(""),wv=new C(""),Ju=class{},Ws=class{};function n0(e){let t=Error(`No component factory found for ${Pe(e)}.`);return t[r0]=e,t}var r0="ngComponent";var Xu=class{resolveComponentFactory(t){throw n0(t)}},Mn=class{static{this.NULL=new Xu}},jr=class{},Nn=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>o0()}}return e})();function o0(){let e=E(),t=me(),n=xn(t.index,e);return(Cn(n)?n:e)[Y]}var i0=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>null})}}return e})();function Zs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Du(o,a);else if(i==2){let c=a,u=t[++s];r=Du(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Ys=class extends Mn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=xt(t);return new rr(n,this.ngModule)}};function Up(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:En.None;t?n.push({propName:s,templateName:r,isSignal:(a&En.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function s0(e){let t=e.toLowerCase();return t==="svg"?Ug:t==="math"?wC:null}var rr=class extends Ws{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Up(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Up(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=JI(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=j(null);try{o=o||this.ngModule;let s=o instanceof Se?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ar(t,s):t,c=a.get(jr,null);if(c===null)throw new I(407,!1);let u=a.get(i0,null),l=a.get(Lr,null),d={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,changeDetectionScheduler:l},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=r?gb(h,r,this.componentDef.encapsulation,a):$m(h,f,s0(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let v=null;p!==null&&(v=ad(p,a,!0));let w=vd(0,null,null,1,0,null,null,null,null,null,null),A=Na(null,w,null,g,null,null,d,h,a,null,v);Kl(A);let B,re,De=null;try{let ce=this.componentDef,$t,Pc=null;ce.findHostDirectiveDefs?($t=[],Pc=new Map,ce.findHostDirectiveDefs(ce,$t,Pc),$t.push(ce)):$t=[ce];let dw=a0(A,p);De=c0(dw,p,ce,$t,A,d,h),re=Go(w,te),p&&d0(h,ce,p,r),n!==void 0&&f0(re,this.ngContentSelectors,n),B=l0(De,ce,$t,Pc,A,[h0]),Id(w,A,null)}catch(ce){throw De!==null&&ju(De),ju(A),ce}finally{Jl()}return new el(this.componentType,B,Wr(re,A),A,re)}finally{j(i)}}},el=class extends Ju{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new tr(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Dd(i[S],i,o,t,n),this.previousInputValues.set(t,n);let s=xn(this._tNode.index,i);Oa(s,1)}}get injector(){return new qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function a0(e,t){let n=e[S],r=te;return e[r]=t,Zr(n,r,2,"#host",null)}function c0(e,t,n,r,o,i,s){let a=o[S];u0(r,e,t,s);let c=null;t!==null&&(c=ad(t,o[Nt]));let u=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Na(o,ov(n),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&Yu(a,e,r.length-1),Aa(o,d),o[e.index]=d}function u0(e,t,n,r){for(let o of e)t.mergedAttrs=Oo(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(Zs(t,t.mergedAttrs,!0),n!==null&&Jm(r,n,t))}function l0(e,t,n,r,o,i){let s=me(),a=o[S],c=it(s,o);iv(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=Xn(o,a,d,s);Tn(h,o)}sv(a,o,s),c&&Tn(c,o);let u=Xn(o,a,s.directiveStart+s.componentOffset,s);if(e[be]=o[be]=u,i!==null)for(let l of i)l(u,t);return pd(a,s,o),u}function d0(e,t,n,r){if(r)Eu(e,n,["ng-version","18.2.13"]);else{let{attrs:o,classes:i}=XI(t.selectors[0]);o&&Eu(e,n,o),i&&i.length>0&&Km(e,n,i.join(" "))}}function f0(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function h0(){let e=me();Ia(E()[S],e)}var mt=(()=>{class e{static{this.__NG_ELEMENT_ID__=p0}}return e})();function p0(){let e=me();return Cv(e,E())}var g0=mt,Iv=class extends g0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Wr(this._hostTNode,this._hostLView)}get injector(){return new qn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Xl(this._hostTNode,this._hostLView);if(im(t)){let n=Vs(t,this._hostLView),r=js(t),o=n[S].data[r+8];return new qn(o,n)}else return new qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$p(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Me}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=nr(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,er(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!gC(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?t:new rr(xt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Se,null);g&&(i=g)}let l=xt(c.componentType??{}),d=nr(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,er(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(EC(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Te],u=new Iv(c,c[Ue],c[Te]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Qr(s,o,i,r),t.attachToViewContainerRef(),Ig(du(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$p(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ko(this._lContainer,n);r&&(Os(du(this._lContainer),n),Ma(r[S],r))}detach(t){let n=this._adjustIndex(t,-1),r=ko(this._lContainer,n);return r&&Os(du(this._lContainer),n)!=null?new tr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $p(e){return e[ks]}function du(e){return e[ks]||(e[ks]=[])}function Cv(e,t){let n,r=t[e.index];return Qt(r)?n=r:(n=av(r,t,null,e),t[e.index]=n,Aa(t,n)),v0(n,t,e,r),new Iv(n,e,t)}function m0(e,t){let n=e[Y],r=n.createComment(""),o=it(t,e),i=Wm(n,o);return Gs(n,i,r,ob(n,o),!1),r}var v0=D0,y0=()=>!1;function Ev(e,t,n){return y0(e,t,n)}function D0(e,t,n,r){if(e[Yn])return;let o;n.type&8?o=Rt(r):o=m0(t,n),e[Yn]=o}var tl=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},nl=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Td(t,n).matches!==null&&this.queries[n].setDirty()}},Qs=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=b0(t):this.predicate=t}},rl=class e{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},ol=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,w0(n,i)),this.matchTNodeWithReadOption(t,n,xs(n,t,i,!1,!1))}else r===_n?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,xs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===We||o===mt||o===_n&&n.type&4)this.addMatch(n.index,-2);else{let i=xs(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function w0(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function I0(e,t){return e.type&11?Wr(e,t):e.type&4?Pa(e,t):null}function C0(e,t,n,r){return n===-1?I0(t,e):n===-2?E0(e,t,r):Xn(e,e[S],n,t)}function E0(e,t,n){if(n===We)return Wr(t,e);if(n===_n)return Pa(t,e);if(n===mt)return Cv(t,e)}function bv(e,t,n,r){let o=t[qt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(C0(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function il(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=bv(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=Me;d<l.length;d++){let h=l[d];h[Zn]===h[Te]&&il(h[S],h,u,r)}if(l[kr]!==null){let d=l[kr];for(let h=0;h<d.length;h++){let f=d[h];il(f[S],f,u,r)}}}}}return r}function bd(e,t){return e[qt].queries[t].queryList}function Tv(e,t,n){let r=new Lu((n&4)===4);return yb(e,t,r,r.destroy),(t[qt]??=new nl).queries.push(new tl(r))-1}function _v(e,t,n){let r=W();return r.firstCreatePass&&(Sv(r,new Qs(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Tv(r,E(),t)}function Mv(e,t,n,r){let o=W();if(o.firstCreatePass){let i=me();Sv(o,new Qs(t,n,r),i.index),T0(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Tv(o,E(),n)}function b0(e){return e.split(",").map(t=>t.trim())}function Sv(e,t,n){e.queries===null&&(e.queries=new rl),e.queries.track(new ol(t,n))}function T0(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Td(e,t){return e.queries.getByIndex(t)}function xv(e,t){let n=e[S],r=Td(n,t);return r.crossesNgTemplate?il(n,e,t,[]):bv(n,e,r,t)}var Hp=new Set;function st(e){Hp.has(e)||(Hp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function _0(e){return typeof e=="function"&&e[qe]!==void 0}function Kr(e,t){st("NgSignals");let n=ap(e),r=n[qe];return t?.equal&&(r.equal=t.equal),n.set=o=>ms(r,o),n.update=o=>cp(r,o),n.asReadonly=M0.bind(n),n}function M0(){let e=this[qe];if(e.readonlyFn===void 0){let t=()=>this();t[qe]=e,e.readonlyFn=t}return e.readonlyFn}function Nv(e){return _0(e)&&typeof e.set=="function"}function Av(e,t){let n,r=nu(()=>{n._dirtyCounter();let o=S0(n,e);if(t&&o===void 0)throw new I(-951,!1);return o});return n=r[qe],n._dirtyCounter=Kr(0),n._flatValue=void 0,r}function Rv(){return Av(!0,!1)}function Ov(){return Av(!0,!0)}function Pv(e,t){let n=e[qe];n._lView=E(),n._queryIndex=t,n._queryList=bd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function S0(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[N]&4)return t?void 0:Oe;let o=bd(n,r),i=xv(n,r);return o.reset(i,ym),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function zp(e,t){return Rv()}function x0(e,t){return Ov()}var tB=(zp.required=x0,zp);function Gp(e,t){return Rv()}function N0(e,t){return Ov()}var nB=(Gp.required=N0,Gp);function A0(e){let t=[],n=new Map;function r(o){let i=n.get(o);if(!i){let s=e(o);n.set(o,i=s.then(F0))}return i}return Ks.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(r(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,h)=>{a.push(""),s.push(r(d).then(f=>{a[u+h]=f,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(r(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>k0(i));t.push(c)}),O0(),Promise.all(t).then(()=>{})}var Ks=new Map,R0=new Set;function O0(){let e=Ks;return Ks=new Map,e}function P0(){return Ks.size===0}function F0(e){return typeof e=="string"?e:e.text()}function k0(e){R0.delete(e)}function L0(e){return Object.getPrototypeOf(e.prototype).constructor}function j0(e){let t=L0(e.type),n=!0,r=[e];for(;t;){let o;if(Wt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new I(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Is(e.inputs),s.inputTransforms=Is(e.inputTransforms),s.declaredInputs=Is(e.declaredInputs),s.outputs=Is(e.outputs);let a=o.hostBindings;a&&H0(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&U0(e,c),u&&$0(e,u),V0(e,o),vI(e.outputs,o.outputs),Wt(o)&&o.data.animation){let l=e.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(e),a===j0&&(n=!1)}}t=Object.getPrototypeOf(t)}B0(r)}function V0(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function B0(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Oo(o.hostAttrs,n=Oo(n,o.hostAttrs))}}function Is(e){return e===Rr?{}:e===Oe?[]:e}function U0(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function $0(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function H0(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Fa(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Yt=class{},Lo=class{};function Fv(e,t){return new jo(e,t??null,[])}var jo=class extends Yt{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ys(this);let i=xg(t);this._bootstrapComponents=Um(i.bootstrap),this._r3Injector=pm(t,n,[{provide:Yt,useValue:this},{provide:Mn,useValue:this.componentFactoryResolver},...r],Pe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Js=class extends Lo{constructor(t){super(),this.moduleType=t}create(t){return new jo(this.moduleType,t,[])}};function z0(e,t,n){return new jo(e,t,n,!1)}var sl=class extends Yt{constructor(t){super(),this.componentFactoryResolver=new Ys(this),this.instance=null;let n=new Po([...t.providers,{provide:Yt,useValue:this},{provide:Mn,useValue:this.componentFactoryResolver}],t.parent||da(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Wo(e,t,n=null){return new sl({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var G0=(()=>{class e{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Wo(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e})}}return e})();function kv(e){return _d(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function q0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function _d(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function nn(e,t,n){return e[t]=n}function ka(e,t){return e[t]}function _e(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Vr(e,t,n,r){let o=_e(e,t,n);return _e(e,t+1,r)||o}function Md(e,t,n,r,o){let i=Vr(e,t,n,r);return _e(e,t+2,o)||i}function La(e,t,n,r,o,i){let s=Vr(e,t,n,r);return Vr(e,t+2,o,i)||s}function W0(e){return(e.flags&32)===32}function Z0(e,t,n,r,o,i,s,a,c){let u=t.consts,l=Zr(t,e,4,s||null,a||null);yd(t,n,l,bn(u,c)),Ia(t,l);let d=l.tView=vd(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Vo(e,t,n,r,o,i,s,a,c,u){let l=n+te,d=t.firstCreatePass?Z0(l,t,e,r,o,i,s,a,c):t.data[l];ir(d,!1);let h=Y0(t,e,d,n);Da()&&Sa(t,e,h,d),Tn(h,e);let f=av(h,e,h,d);return e[l]=f,Aa(e,f),Ev(f,d,e),pa(d)&&gd(t,e,d),c!=null&&md(e,d,u),d}function Jr(e,t,n,r,o,i,s,a){let c=E(),u=W(),l=bn(u.consts,i);return Vo(c,u,e,t,n,r,o,l,s,a),Jr}var Y0=Q0;function Q0(e,t,n,r){return wa(!0),t[Y].createComment("")}var Ve=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(Ve||{}),qp=0,K0=1,ge=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(ge||{}),Xs=function(e){return e[e.Initial=-1]="Initial",e}(Xs||{}),J0=0,Sd=1;var Lv=4,jv=5,Vv=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Vv||{});function X0(e,t,n){let r=e===1?jv:Lv;t[r]===null&&(t[r]=[]),t[r].push(n)}function al(e,t){let n=e===1?jv:Lv,r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Bv(e){al(1,e),al(0,e)}var Sr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Sr||{}),Uv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})(),cl=class e{constructor(){this.ngZone=m($),this.scheduler=m(Lr),this.errorHandler=m(Ot,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Sr.EarlyRead,Sr.Write,Sr.MixedReadWrite,Sr.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}},ul=class{constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function eT(e,t){!t?.injector&&Bl(eT);let n=t?.injector??m(he);return _a(n)?(st("NgAfterRender"),$v(e,n,t,!1)):Hv}function xd(e,t){!t?.injector&&Bl(xd);let n=t?.injector??m(he);return _a(n)?(st("NgAfterNextRender"),$v(e,n,t,!0)):Hv}function tT(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function $v(e,t,n,r){let o=t.get(Uv);o.impl??=t.get(cl);let i=n?.phase??Sr.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Ca):null,a=new ul(o.impl,tT(e,i),r,s);return o.impl.register(a),a}var Hv={destroy(){}};function ja(e){return e+1}function Va(e,t){let n=e[S],r=ja(t.index);return e[r]}function nT(e,t,n){let r=e[S],o=ja(t);e[o]=n}function Ba(e,t){let n=ja(t.index);return e.data[n]}function rT(e,t,n){let r=ja(t);e.data[r]=n}function oT(e,t,n){let r=t[S],o=Ba(r,n);switch(e){case ge.Complete:return o.primaryTmplIndex;case ge.Loading:return o.loadingTmplIndex;case ge.Error:return o.errorTmplIndex;case ge.Placeholder:return o.placeholderTmplIndex;default:return null}}function Wp(e,t){return t===ge.Placeholder?e.placeholderBlockConfig?.[qp]??null:t===ge.Loading?e.loadingBlockConfig?.[qp]??null:null}function iT(e){return e.loadingBlockConfig?.[K0]??null}function Zp(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function sT(e,t){let n=t.primaryTmplIndex+te;return Go(e,n)}var aT=new C("");function cT(e){return e.get(aT,null,{optional:!0})?.behavior===Vv.Manual?!1:_a(e)}var uT=null;function rB(e,t,n,r,o,i,s,a,c){let u=E(),l=W(),d=e+te,h=Vo(u,l,e,null,0,0);if(l.firstCreatePass){st("NgDefer");let v={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:Ve.NOT_STARTED,loadingPromise:null,providers:null};c?.(l,v,a,s),rT(l,d,v)}let f=u[d];Ev(f,h,u);let p=[null,Xs.Initial,null,null,null,null];nT(u,d,p);let g=()=>Bv(p);X0(0,p,()=>Gg(u,g)),zl(u,g)}function oB(e){let t=E(),n=Jt();if(_e(t,n,e)){let r=j(null);try{let o=!!e,i=Xt(),a=Va(t,i)[Sd];o===!1&&a===Xs.Initial?hT(t,i):o===!0&&(a===Xs.Initial||a===ge.Placeholder)&&pT(t,i)}finally{j(r)}}}function Gn(e,t,n,r=!1){let o=n[Te],i=o[S];if(mC(o))return;let s=Va(o,t),a=s[Sd];if(Yp(a,e)&&Yp(s[J0]??-1,e)){let c=o[Nt],u=Ba(i,t),d=!r&&_a(c)&&(iT(u)!==null||Wp(u,ge.Loading)!==null||Wp(u,ge.Placeholder))?uT:dT;try{d(e,s,n,t,o)}catch(h){Ra(o,h)}}}function fu(e,t,n){return e.get(G0).getOrCreateInjector(t,e,n,"")}function lT(e,t,n){if(e instanceof Ar){let o=e.injector,i=e.parentInjector,s=fu(i,t,n);return new Ar(o,s)}let r=e.get(Se);if(r!==e){let o=fu(r,t,n);return new Ar(e,o)}return fu(e,t,n)}function dT(e,t,n,r,o){let i=oT(e,o,r);if(i!==null){t[Sd]=e;let s=o[S],a=i+te,c=Go(s,a),u=0;Cd(n,u);let l;if(e===ge.Complete){let f=Ba(s,r),p=f.providers;p&&p.length>0&&(l=lT(o[Nt],f,p))}let d=nr(n,c.tView.ssrId),h=Yr(o,c,null,{dehydratedView:d,injector:l});Qr(n,h,u,er(c,d)),Oa(h,2)}}function Yp(e,t){return e<t}function fT(e,t,n){let r=t[Nt],o=t[S];if(e.loadingState!==Ve.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Va(t,n),s=sT(o,e);e.loadingState=Ve.IN_PROGRESS,al(1,i);let a=e.dependencyResolverFn,c=r.get(Vt),u=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let d=!1,h=[],f=[];for(let p of l)if(p.status==="fulfilled"){let g=p.value,v=xt(g)||kl(g);if(v)h.push(v);else{let w=Ll(g);w&&f.push(w)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(u),d){if(e.loadingState=Ve.FAILED,e.errorTmplIndex===null){let p="",g=new I(750,!1);Ra(t,g)}}else{e.loadingState=Ve.COMPLETE;let p=s.tView;if(h.length>0){p.directiveRegistry=Zp(p.directiveRegistry,h);let g=h.map(w=>w.type),v=jl(!1,...g);e.providers=v}f.length>0&&(p.pipeRegistry=Zp(p.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Ve.COMPLETE,c.remove(u)}),e.loadingPromise)}function hT(e,t){let n=e[t.index];Gn(ge.Placeholder,t,n)}function Qp(e,t,n){e.loadingPromise.then(()=>{e.loadingState===Ve.COMPLETE?Gn(ge.Complete,t,n):e.loadingState===Ve.FAILED&&Gn(ge.Error,t,n)})}function pT(e,t){let n=e[S],r=e[t.index],o=e[Nt];if(!cT(o))return;let i=Va(e,t),s=Ba(n,t);switch(Bv(i),s.loadingState){case Ve.NOT_STARTED:Gn(ge.Loading,t,r),fT(s,e,t),s.loadingState===Ve.IN_PROGRESS&&Qp(s,t,r);break;case Ve.IN_PROGRESS:Gn(ge.Loading,t,r),Qp(s,t,r);break;case Ve.COMPLETE:Gn(ge.Complete,t,r);break;case Ve.FAILED:Gn(ge.Error,t,r);break;default:}}function An(e,t,n,r){let o=E(),i=Jt();if(_e(o,i,t)){let s=W(),a=Xt();Ob(a,o,e,t,n,r)}return An}function Nd(e,t,n,r){return _e(e,Jt(),n)?t+Mt(n)+r:ve}function Ad(e,t,n,r,o,i){let s=Kg(),a=Vr(e,s,n,o);return va(2),a?t+Mt(n)+r+Mt(o)+i:ve}function zv(e,t,n,r,o,i,s,a){let c=Kg(),u=Md(e,c,n,o,s);return va(3),u?t+Mt(n)+r+Mt(o)+i+Mt(s)+a:ve}function Cs(e,t){return e<<17|t<<2}function or(e){return e>>17&32767}function gT(e){return(e&2)==2}function mT(e,t){return e&131071|t<<17}function ll(e){return e|2}function Br(e){return(e&131068)>>2}function hu(e,t){return e&-131069|t<<2}function vT(e){return(e&1)===1}function dl(e){return e|1}function yT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=or(s),c=Br(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Ho(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=or(e[a+1]);e[r+1]=Cs(h,a),h!==0&&(e[h+1]=hu(e[h+1],r)),e[a+1]=mT(e[a+1],r)}else e[r+1]=Cs(a,0),a!==0&&(e[a+1]=hu(e[a+1],r)),a=r;else e[r+1]=Cs(c,0),a===0?a=r:e[c+1]=hu(e[c+1],r),c=r;u&&(e[r+1]=ll(e[r+1])),Kp(e,l,r,!0),Kp(e,l,r,!1),DT(t,l,e,r,i),s=Cs(a,c),i?t.classBindings=s:t.styleBindings=s}function DT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Ho(i,t)>=0&&(n[r+1]=dl(n[r+1]))}function Kp(e,t,n,r){let o=e[n+1],i=t===null,s=r?or(o):Br(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];wT(c,t)&&(a=!0,e[s+1]=r?dl(u):ll(u)),s=r?or(u):Br(u)}a&&(e[n+1]=r?ll(o):dl(o))}function wT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ho(e,t)>=0:!1}var fe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Gv(e){return e.substring(fe.key,fe.keyEnd)}function IT(e){return e.substring(fe.value,fe.valueEnd)}function CT(e){return Zv(e),qv(e,Ur(e,0,fe.textEnd))}function qv(e,t){let n=fe.textEnd;return n===t?-1:(t=fe.keyEnd=bT(e,fe.key=t,n),Ur(e,t,n))}function ET(e){return Zv(e),Wv(e,Ur(e,0,fe.textEnd))}function Wv(e,t){let n=fe.textEnd,r=fe.key=Ur(e,t,n);return n===r?-1:(r=fe.keyEnd=TT(e,r,n),r=Jp(e,r,n,58),r=fe.value=Ur(e,r,n),r=fe.valueEnd=_T(e,r,n),Jp(e,r,n,59))}function Zv(e){fe.key=0,fe.keyEnd=0,fe.value=0,fe.valueEnd=0,fe.textEnd=e.length}function Ur(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function TT(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Jp(e,t,n,r){return t=Ur(e,t,n),t<n&&t++,t}function _T(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Xp(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Xp(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Xp(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function xe(e,t,n){let r=E(),o=Jt();if(_e(r,o,t)){let i=W(),s=Xt();sr(i,s,r,e,t,r[Y],n,!1)}return xe}function fl(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Dd(e,n,i[s],s,r)}function Rn(e,t,n){return Yv(e,t,n,!1),Rn}function MT(e,t){return Yv(e,t,null,!0),MT}function iB(e){Ua(Jv,ST,e,!1)}function ST(e,t){for(let n=ET(t);n>=0;n=Wv(t,n))Jv(e,Gv(t),IT(t))}function rn(e){Ua(PT,Rd,e,!0)}function Rd(e,t){for(let n=CT(t);n>=0;n=qv(t,n))Hr(e,Gv(t),!0)}function Yv(e,t,n,r){let o=E(),i=W(),s=va(2);if(i.firstUpdatePass&&Kv(i,e,s,r),t!==ve&&_e(o,s,t)){let a=i.data[jt()];Xv(i,a,o,o[Y],e,o[s+1]=kT(t,n),r,s)}}function Ua(e,t,n,r){let o=W(),i=va(2);o.firstUpdatePass&&Kv(o,null,i,r);let s=E();if(n!==ve&&_e(s,i,n)){let a=o.data[jt()];if(ey(a,r)&&!Qv(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Du(c,n||"")),fl(o,a,s,n,r)}else FT(o,a,s,s[Y],s[i+1],s[i+1]=OT(e,t,n),r,i)}}function Qv(e,t){return t>=e.expandoStartIndex}function Kv(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[jt()],s=Qv(e,n);ey(i,r)&&t===null&&!s&&(t=!1),t=xT(o,i,t,r),yT(o,i,t,n,s,r)}}function xT(e,t,n,r){let o=Yl(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=pu(null,e,t,n,r),n=Bo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=pu(o,e,t,n,r),i===null){let c=NT(e,t,r);c!==void 0&&Array.isArray(c)&&(c=pu(null,e,t,c[1],r),c=Bo(c,t.attrs,r),AT(e,t,r,c))}else i=RT(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function NT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Br(r)!==0)return e[or(r)]}function AT(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[or(o)]=r}function RT(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Bo(r,s,n)}return Bo(r,t.attrs,n)}function pu(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Bo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Bo(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Hr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function OT(e,t,n){if(n==null||n==="")return Oe;let r=[],o=He(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Jv(e,t,n){Hr(e,t,He(n))}function PT(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Hr(e,r,n)}function FT(e,t,n,r,o,i,s,a){o===ve&&(o=Oe);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,g;l===d?(c+=2,u+=2,h!==f&&(p=d,g=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,g=f),p!==null&&Xv(e,t,n,r,p,g,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Xv(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=vT(u)?eg(c,t,n,o,Br(u),s):void 0;if(!ea(l)){ea(i)||gT(u)&&(i=eg(c,null,n,o,a,s));let d=$g(jt(),n);lb(r,s,d,o,i)}}function eg(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===ve&&(h=d?Oe:void 0);let f=d?ou(h,r):l===r?h:void 0;if(u&&!ea(f)&&(f=ou(c,r)),ea(f)&&(a=f,s))return a;let p=e[o+1];o=s?or(p):Br(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ou(c,r))}return a}function ea(e){return e!==void 0}function kT(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Pe(He(e)))),e}function ey(e,t){return(e.flags&(t?8:16))!==0}function sB(e,t,n){let r=E(),o=Nd(r,e,t,n);Ua(Hr,Rd,o,!0)}function aB(e,t,n,r,o){let i=E(),s=Ad(i,e,t,n,r,o);Ua(Hr,Rd,s,!0)}function cB(){return E()[Be][be]}var hl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function gu(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function LT(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=gu(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],p=gu(s,h,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,u),v=n(s,h),w=n(i,l);if(Object.is(w,v)){let A=n(c,f);Object.is(A,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new ta,o??=ng(e,i,s,n),pl(e,r,i,w))e.updateValue(i,l),i++,s++;else if(o.has(w))r.set(g,e.detach(i)),s--;else{let A=e.create(i,t[i]);e.attach(i,A),i++,s++}}for(;i<=c;)tg(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=gu(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new ta,o??=ng(e,i,s,n);let f=n(i,d);if(pl(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!u.done;)tg(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function pl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function tg(e,t,n,r,o){if(pl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ng(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ta=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function uB(e,t){st("NgControlFlow");let n=E(),r=Jt(),o=n[r]!==ve?n[r]:-1,i=o!==-1?na(n,te+o):void 0,s=0;if(_e(n,r,e)){let a=j(null);try{if(i!==void 0&&Cd(i,s),e!==-1){let c=te+e,u=na(n,c),l=yl(n[S],c),d=nr(u,l.tView.ssrId),h=Yr(n,l,t,{dehydratedView:d});Qr(u,h,s,er(l,d))}}finally{j(a)}}else if(i!==void 0){let a=fv(i,s);a!==void 0&&(a[be]=t)}}var gl=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Me}};function lB(e){return e}function dB(e,t){return t}var ml=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function fB(e,t,n,r,o,i,s,a,c,u,l,d,h){st("NgControlFlow");let f=E(),p=W(),g=c!==void 0,v=E(),w=a?s.bind(v[Be][be]):s,A=new ml(g,w);v[te+e]=A,Vo(f,p,e+1,t,n,r,o,bn(p.consts,i)),g&&Vo(f,p,e+2,c,u,l,d,bn(p.consts,h))}var vl=class extends hl{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Me}at(t){return this.getLView(t)[be].$implicit}attach(t,n){let r=n[Fr];this.needsIndexUpdate||=t!==this.length,Qr(this.lContainer,n,t,er(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,jT(this.lContainer,t)}create(t,n){let r=nr(this.lContainer,this.templateTNode.tView.ssrId),o=Yr(this.hostLView,this.templateTNode,new gl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ma(t[S],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[be].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[be].$index=t}getLView(t){return VT(this.lContainer,t)}};function hB(e){let t=j(null),n=jt();try{let r=E(),o=r[S],i=r[n],s=n+1,a=na(r,s);if(i.liveCollection===void 0){let u=yl(o,s);i.liveCollection=new vl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(LT(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=Jt(),l=c.length===0;if(_e(r,u,l)){let d=n+2,h=na(r,d);if(l){let f=yl(o,d),p=nr(h,f.tView.ssrId),g=Yr(r,f,void 0,{dehydratedView:p});Qr(h,g,0,er(f,p))}else Cd(h,0)}}}finally{j(t)}}function na(e,t){return e[t]}function jT(e,t){return ko(e,t)}function VT(e,t){return fv(e,t)}function yl(e,t){return Go(e,t)}function BT(e,t,n,r,o,i){let s=t.consts,a=bn(s,o),c=Zr(t,e,2,r,a);return yd(t,n,c,bn(s,i)),c.attrs!==null&&Zs(c,c.attrs,!1),c.mergedAttrs!==null&&Zs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ye(e,t,n,r){let o=E(),i=W(),s=te+e,a=o[Y],c=i.firstCreatePass?BT(s,i,o,t,n,r):i.data[s],u=UT(i,o,c,a,t,e);o[s]=u;let l=pa(c);return ir(c,!0),Jm(a,u,c),!W0(c)&&Da()&&Sa(i,o,u,c),TC()===0&&Tn(u,o),_C(),l&&(gd(i,o,c),pd(i,c,o)),r!==null&&md(o,c),Ye}function vt(){let e=me();Wl()?Zl():(e=e.parent,ir(e,!1));let t=e;SC(t)&&xC(),MC();let n=W();return n.firstCreatePass&&(Ia(n,e),$l(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&HC(t)&&fl(n,t,E(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&zC(t)&&fl(n,t,E(),t.stylesWithoutHost,!1),vt}function On(e,t,n,r){return Ye(e,t,n,r),vt(),On}var UT=(e,t,n,r,o,i)=>(wa(!0),$m(r,o,VC()));function $T(e,t,n,r,o){let i=t.consts,s=bn(i,r),a=Zr(t,e,8,"ng-container",s);s!==null&&Zs(a,s,!0);let c=bn(i,o);return yd(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Zo(e,t,n){let r=E(),o=W(),i=e+te,s=o.firstCreatePass?$T(i,o,r,t,n):o.data[i];ir(s,!0);let a=zT(o,r,s,e);return r[i]=a,Da()&&Sa(o,r,a,s),Tn(a,r),pa(s)&&(gd(o,r,s),pd(o,s,r)),n!=null&&md(r,s),Zo}function Yo(){let e=me(),t=W();return Wl()?Zl():(e=e.parent,ir(e,!1)),t.firstCreatePass&&(Ia(t,e),$l(e)&&t.queries.elementEnd(e)),Yo}function HT(e,t,n){return Zo(e,t,n),Yo(),HT}var zT=(e,t,n,r)=>(wa(!0),QE(t[Y],""));function Od(){return E()}function GT(e,t,n){let r=E(),o=Jt();if(_e(r,o,t)){let i=W(),s=Xt();sr(i,s,r,e,t,r[Y],n,!0)}return GT}function Pd(e,t,n){let r=E(),o=Jt();if(_e(r,o,t)){let i=W(),s=Xt(),a=Yl(i.data),c=dv(a,s,r);sr(i,s,r,e,t,c,n,!0)}return Pd}var zn=void 0;function qT(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var WT=["en",[["a","p"],["AM","PM"],zn],[["AM","PM"],zn,zn],[["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"]],zn,[["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"]],zn,[["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}",zn,"{1} 'at' {0}",zn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",qT],mu={};function ze(e){let t=ZT(e),n=rg(t);if(n)return n;let r=t.split("-")[0];if(n=rg(r),n)return n;if(r==="en")return WT;throw new I(701,!1)}function rg(e){return e in mu||(mu[e]=Ce.ng&&Ce.ng.common&&Ce.ng.common.locales&&Ce.ng.common.locales[e]),mu[e]}var ne=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ne||{});function ZT(e){return e.toLowerCase().replace(/_/g,"-")}var ra="en-US",YT="USD";var QT=ra;function KT(e){typeof e=="string"&&(QT=e.toLowerCase().replace(/_/g,"-"))}var JT=(e,t,n)=>{};function Pn(e,t,n,r){let o=E(),i=W(),s=me();return Fd(i,o,o[Y],s,e,t,r),Pn}function XT(e,t){let n=me(),r=E(),o=W(),i=Yl(o.data),s=dv(i,n,r);return Fd(o,r,s,n,e,t),XT}function e_(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Fs],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Fd(e,t,n,r,o,i,s){let a=pa(r),u=e.firstCreatePass&&lv(e),l=t[be],d=uv(t),h=!0;if(r.type&3||s){let g=it(r,t),v=s?s(g):g,w=d.length,A=s?re=>s(Rt(re[r.index])):r.index,B=null;if(!s&&a&&(B=e_(e,t,o,r.index)),B!==null){let re=B.__ngLastListenerFn__||B;re.__ngNextListenerFn__=i,B.__ngLastListenerFn__=i,h=!1}else{i=ig(r,t,l,i),JT(g,o,i);let re=n.listen(v,o,i);d.push(i,re),u&&u.push(o,A,w,w+1)}}else i=ig(r,t,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let g=p.length;if(g)for(let v=0;v<g;v+=2){let w=p[v],A=p[v+1],De=t[w][A].subscribe(i),ce=d.length;d.push(i,De),u&&u.push(o,r.index,ce,-(ce+1))}}}function og(e,t,n,r){let o=j(null);try{return Tt(6,t,n),n(r)!==!1}catch(i){return Ra(e,i),!1}finally{Tt(7,t,n),j(o)}}function ig(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?xn(e.index,t):t;Oa(s,5);let a=og(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=og(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Qe(e=1){return LC(e)}function t_(e,t){let n=null,r=WI(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Mg(e,i,!0):QI(r,i))return o}return n}function pB(e){let t=E()[Be][Ue];if(!t.projection){let n=e?e.length:1,r=t.projection=jI(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?t_(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function gB(e,t=0,n,r,o,i){let s=E(),a=W(),c=r?e+1:null;c!==null&&Vo(s,a,c,r,o,i,null,n);let u=Zr(a,te+e,16,null,n||null);u.projection===null&&(u.projection=t),Zl();let d=!s[Fr]||Zg();s[Be][Ue].projection[u.projection]===null&&c!==null?n_(s,a,c):d&&(u.flags&32)!==32&&cb(a,s,u)}function n_(e,t,n){let r=te+n,o=t.data[r],i=e[r],s=nr(i,o.tView.ssrId),a=Yr(e,o,void 0,{dehydratedView:s});Qr(i,a,0,er(o,s))}function r_(e,t,n){return ty(e,"",t,"",n),r_}function ty(e,t,n,r,o){let i=E(),s=Nd(i,t,n,r);if(s!==ve){let a=W(),c=Xt();sr(a,c,i,e,s,i[Y],o,!1)}return ty}function o_(e,t,n,r,o,i,s){let a=E(),c=Ad(a,t,n,r,o,i);if(c!==ve){let u=W(),l=Xt();sr(u,l,a,e,c,a[Y],s,!1)}return o_}function i_(e,t,n,r,o,i,s,a,c){let u=E(),l=zv(u,t,n,r,o,i,s,a);if(l!==ve){let d=W(),h=Xt();sr(d,h,u,e,l,u[Y],c,!1)}return i_}function ny(e,t,n,r){Mv(e,t,n,r)}function mB(e,t,n){_v(e,t,n)}function ry(e){let t=E(),n=W(),r=Ql();ya(r+1);let o=Td(n,r);if(e.dirty&&CC(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=xv(t,r);e.reset(i,ym),e.notifyOnChanges()}return!0}return!1}function oy(){return bd(E(),Ql())}function vB(e,t,n,r,o){Pv(t,Mv(e,n,r,o))}function yB(e,t,n,r){Pv(e,_v(t,n,r))}function DB(e=1){ya(Ql()+e)}function s_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function wB(e){let t=AC();return qr(t,te+e)}function on(e,t=""){let n=E(),r=W(),o=e+te,i=r.firstCreatePass?Zr(r,o,1,t,null):r.data[o],s=a_(r,n,i,t,e);n[o]=s,Da()&&Sa(r,n,s,i),ir(i,!1)}var a_=(e,t,n,r,o)=>(wa(!0),ZE(t[Y],r));function c_(e){return sn("",e,""),c_}function sn(e,t,n){let r=E(),o=Nd(r,e,t,n);return o!==ve&&wd(r,jt(),o),sn}function u_(e,t,n,r,o){let i=E(),s=Ad(i,e,t,n,r,o);return s!==ve&&wd(i,jt(),s),u_}function l_(e,t,n,r,o,i,s){let a=E(),c=zv(a,e,t,n,r,o,i,s);return c!==ve&&wd(a,jt(),c),l_}function d_(e,t,n){Nv(t)&&(t=t());let r=E(),o=Jt();if(_e(r,o,t)){let i=W(),s=Xt();sr(i,s,r,e,t,r[Y],n,!1)}return d_}function IB(e,t){let n=Nv(e);return n&&e.set(t),n}function f_(e,t){let n=E(),r=W(),o=me();return Fd(r,n,n[Y],o,e,t),f_}function h_(e,t,n){let r=W();if(r.firstCreatePass){let o=Wt(e);Dl(n,r.data,r.blueprint,o,!0),Dl(t,r.data,r.blueprint,o,!1)}}function Dl(e,t,n,r,o){if(e=Re(e),Array.isArray(e))for(let i=0;i<e.length;i++)Dl(e[i],t,n,r,o);else{let i=W(),s=E(),a=me(),c=Pr(e)?e:Re(e.provide),u=Pg(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Pr(e)||!e.multi){let f=new Jn(u,o,R),p=yu(c,t,o?l:l+h,d);p===-1?(Ru(Us(a,s),i,c),vu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=yu(c,t,l+h,d),p=yu(c,t,l,l+h),g=f>=0&&n[f],v=p>=0&&n[p];if(o&&!v||!o&&!g){Ru(Us(a,s),i,c);let w=m_(o?g_:p_,n.length,o,r,u);!o&&v&&(n[p].providerFactory=w),vu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=iy(n[o?p:f],u,!o&&r);vu(i,e,f>-1?f:p,w)}!o&&r&&v&&n[p].componentProviders++}}}function vu(e,t,n,r){let o=Pr(t),i=aC(t);if(o||i){let c=(i?Re(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function iy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function yu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function p_(e,t,n,r){return wl(this.multi,[])}function g_(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Xn(n,n[S],this.providerFactory.index,r);i=a.slice(0,s),wl(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],wl(o,i);return i}function wl(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function m_(e,t,n,r,o){let i=new Jn(e,n,R);return i.multi=[],i.index=t,i.componentProviders=0,iy(i,o,r&&!n),i}function CB(e,t=[]){return n=>{n.providersResolver=(r,o)=>h_(r,o?o(e):e,t)}}var v_=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=jl(!1,n.type),o=r.length>0?Wo([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(b(Se))})}}return e})();function Qo(e){st("NgStandalone"),e.getStandaloneInjector=t=>t.get(v_).getOrCreateStandaloneInjector(e)}function EB(e,t,n){let r=$e()+e,o=E();return o[r]===ve?nn(o,r,n?t.call(n):t()):ka(o,r)}function bB(e,t,n,r){return sy(E(),$e(),e,t,n,r)}function TB(e,t,n,r,o){return ay(E(),$e(),e,t,n,r,o)}function _B(e,t,n,r,o,i){return cy(E(),$e(),e,t,n,r,o,i)}function MB(e,t,n,r,o,i,s){return uy(E(),$e(),e,t,n,r,o,i,s)}function SB(e,t,n,r,o,i,s,a){let c=$e()+e,u=E(),l=La(u,c,n,r,o,i);return _e(u,c+4,s)||l?nn(u,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):ka(u,c+5)}function xB(e,t,n,r,o,i,s,a,c){let u=$e()+e,l=E(),d=La(l,u,n,r,o,i);return Vr(l,u+4,s,a)||d?nn(l,u+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):ka(l,u+6)}function NB(e,t,n,r,o,i,s,a,c,u){let l=$e()+e,d=E(),h=La(d,l,n,r,o,i);return Md(d,l+4,s,a,c)||h?nn(d,l+7,u?t.call(u,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):ka(d,l+7)}function AB(e,t,n,r){return ly(E(),$e(),e,t,n,r)}function Ko(e,t){let n=e[t];return n===ve?void 0:n}function sy(e,t,n,r,o,i){let s=t+n;return _e(e,s,o)?nn(e,s+1,i?r.call(i,o):r(o)):Ko(e,s+1)}function ay(e,t,n,r,o,i,s){let a=t+n;return Vr(e,a,o,i)?nn(e,a+2,s?r.call(s,o,i):r(o,i)):Ko(e,a+2)}function cy(e,t,n,r,o,i,s,a){let c=t+n;return Md(e,c,o,i,s)?nn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Ko(e,c+3)}function uy(e,t,n,r,o,i,s,a,c){let u=t+n;return La(e,u,o,i,s,a)?nn(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ko(e,u+4)}function ly(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)_e(e,s++,o[c])&&(a=!0);return a?nn(e,s,r.apply(i,o)):Ko(e,s)}function RB(e,t){let n=W(),r,o=e+te;n.firstCreatePass?(r=y_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Wn(r.type,!0)),s,a=je(R);try{let c=Bs(!1),u=i();return Bs(c),s_(n,E(),o,u),u}finally{je(a)}}function y_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function OB(e,t,n){let r=e+te,o=E(),i=qr(o,r);return Jo(o,r)?sy(o,$e(),t,i.transform,n,i):i.transform(n)}function PB(e,t,n,r){let o=e+te,i=E(),s=qr(i,o);return Jo(i,o)?ay(i,$e(),t,s.transform,n,r,s):s.transform(n,r)}function FB(e,t,n,r,o){let i=e+te,s=E(),a=qr(s,i);return Jo(s,i)?cy(s,$e(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function kB(e,t,n,r,o,i){let s=e+te,a=E(),c=qr(a,s);return Jo(a,s)?uy(a,$e(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function LB(e,t,n){let r=e+te,o=E(),i=qr(o,r);return Jo(o,r)?ly(o,$e(),t,i.transform,n,i):i.transform.apply(i,n)}function Jo(e,t){return e[S].data[t].pure}function jB(e,t){return Pa(e,t)}var Es=null;function D_(e){Es!==null&&(e.defaultEncapsulation!==Es.defaultEncapsulation||e.preserveWhitespaces!==Es.preserveWhitespaces)||(Es=e)}var $r=class{constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},VB=new $r("18.2.13");var $a=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var kd=new C(""),Xo=new C(""),Ha=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Ld||(w_(o),o.addToWindow(r)),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:()=>{$.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!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,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static{this.\u0275fac=function(r){return new(r||e)(b($),b(za),b(Xo))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),za=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}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,r=!0){return Ld?.findTestabilityInTree(this,n,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function w_(e){Ld=e}var Ld;function Xr(e){return!!e&&typeof e.then=="function"}function jd(e){return!!e&&typeof e.subscribe=="function"}var Ga=new C(""),dy=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=m(Ga,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Xr(i))n.push(i);else if(jd(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),qa=new C("");function I_(){sp(()=>{throw new I(600,!1)})}function C_(e){return e.isBoundToModule}var E_=10;function b_(e,t,n){try{let r=n();return Xr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}function fy(e,t){return Array.isArray(t)?t.reduce(fy,e):y(y({},e),t)}var Ke=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=m(lE),this.afterRenderManager=m(Uv),this.zonelessEnabled=m(Ed),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new G,this.afterTick=new G,this.componentTypes=[],this.components=[],this.isStable=m(Vt).hasPendingTasks.pipe(O(n=>!n)),this._injector=m(Se)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Ws;if(!this._injector.get(dy).done){let h=!o&&Sg(n),f=!1;throw new I(405,f)}let s;o?s=n:s=this._injector.get(Mn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=C_(s)?void 0:this._injector.get(Yt),c=r||s.selector,u=s.create(he.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(kd,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),Ns(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new I(101,!1);let n=j(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,j(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(jr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<E_;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)T_(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ga(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ns(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(qa,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ns(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ns(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function T_(e,t,n,r){if(!n&&!ga(e))return;gv(e,t,n&&!r?0:1)}var Il=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Wa=(()=>{class e{compileModuleSync(n){return new Js(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=xg(n),i=Um(o.declarations).reduce((s,a)=>{let c=xt(a);return c&&s.push(new rr(c)),s},[]);return new Il(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),__=new C("");function M_(e,t,n){let r=new Js(n);return Promise.resolve(r)}function sg(e){for(let t=e.length-1;t>=0;t--)if(e[t]!==void 0)return e[t]}var S_=(()=>{class e{constructor(){this.zone=m($),this.changeDetectionScheduler=m(Lr),this.applicationRef=m(Ke)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function x_({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new $(U(y({},hy()),{scheduleInRootZone:n})),[{provide:$,useFactory:e},{provide:Or,multi:!0,useFactory:()=>{let r=m(S_,{optional:!0});return()=>r.initialize()}},{provide:Or,multi:!0,useFactory:()=>{let r=m(N_);return()=>{r.initialize()}}},t===!0?{provide:Dv,useValue:!0}:[],{provide:wv,useValue:n??gm}]}function hy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var N_=(()=>{class e{constructor(){this.subscription=new K,this.initialized=!1,this.zone=m($),this.pendingTasks=m(Vt)}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(()=>{$.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{$.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var A_=(()=>{class e{constructor(){this.appRef=m(Ke),this.taskService=m(Vt),this.ngZone=m($),this.zonelessEnabled=m(Ed),this.disableScheduling=m(Dv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new K,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Hs):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(wv,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof zs||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?_p:mm;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Hs+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,_p(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function R_(){return typeof $localize<"u"&&$localize.locale||ra}var eo=new C("",{providedIn:"root",factory:()=>m(eo,V.Optional|V.SkipSelf)||R_()}),py=new C("",{providedIn:"root",factory:()=>YT});var oa=new C("");function bs(e){return!e.moduleRef}function O_(e){let t=bs(e)?e.r3Injector:e.moduleRef.injector,n=t.get($);return n.run(()=>{bs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ot,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),bs(e)){let i=()=>t.destroy(),s=e.platformInjector.get(oa);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(oa);s.add(i),e.moduleRef.onDestroy(()=>{Ns(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return b_(r,n,()=>{let i=t.get(dy);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(eo,ra);if(KT(s||ra),bs(e)){let a=t.get(Ke);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return P_(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function P_(e,t){let n=e.injector.get(Ke);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new I(-403,!1);t.push(e)}var gy=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){let o=r?.scheduleInRootZone,i=()=>uE(r?.ngZone,U(y({},hy({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing})),{scheduleInRootZone:o})),s=r?.ignoreChangesOutsideZone,a=[x_({ngZoneFactory:i,ignoreChangesOutsideZone:s}),{provide:Lr,useExisting:A_}],c=z0(n.moduleType,this.injector,a);return O_({moduleRef:c,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){let o=fy({},r);return M_(this.injector,o,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());let n=this._injector.get(oa,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(b(he))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Ao=null,my=new C("");function F_(e){if(Ao&&!Ao.get(my,!1))throw new I(400,!1);I_(),Ao=e;let t=e.get(gy);return j_(e),t}function Vd(e,t,n=[]){let r=`Platform: ${t}`,o=new C(r);return(i=[])=>{let s=vy();if(!s||s.injector.get(my,!1)){let a=[...n,...i,{provide:o,useValue:!0}];e?e(a):F_(k_(a,r))}return L_(o)}}function k_(e=[],t){return he.create({name:t,providers:[{provide:la,useValue:"platform"},{provide:oa,useValue:new Set([()=>Ao=null])},...e]})}function L_(e){let t=vy();if(!t)throw new I(401,!1);return t}function vy(){return Ao?.get(gy)??null}function j_(e){e.get(od,null)?.forEach(n=>n())}function BB(){return!1}var an=(()=>{class e{static{this.__NG_ELEMENT_ID__=V_}}return e})();function V_(e){return B_(me(),E(),(e&16)===16)}function B_(e,t,n){if(ha(e)&&!n){let r=xn(e.index,t);return new tr(r,r)}else if(e.type&175){let r=t[Be];return new tr(r,t)}return null}var Cl=class{constructor(){}supports(t){return kv(t)}create(t){return new El(t)}},U_=(e,t)=>t,El=class{constructor(t){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=t||U_}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<ag(r,o,i)?n:r,a=ag(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!kv(t))throw new I(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,q0(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new bl(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ia),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ia),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},bl=class{constructor(t,n){this.item=t,this.trackById=n,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}},Tl=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ia=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Tl,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ag(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var _l=class{constructor(){}supports(t){return t instanceof Map||_d(t)}create(){return new Ml}},Ml=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(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||_d(t)))throw new I(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Sl(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Sl=class{constructor(t){this.key=t,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 cg(){return new Bd([new Cl])}var Bd=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:cg})}constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||cg()),deps:[[e,new ua,new $o]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new I(901,!1)}}return e})();function ug(){return new Ud([new _l])}var Ud=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:ug})}constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ug()),deps:[[e,new ua,new $o]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e})();var yy=Vd(null,"core",[]),Dy=(()=>{class e{constructor(n){}static{this.\u0275fac=function(r){return new(r||e)(b(Ke))}}static{this.\u0275mod=kt({type:e})}static{this.\u0275inj=Ft({})}}return e})();function cn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function $d(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function UB(e,t){st("NgSignals");let n=nu(e);return t?.equal&&(n[qe].equal=t.equal),n}function Hd(e){let t=j(null);try{return e()}finally{j(t)}}var $_=new C("",{providedIn:"root",factory:()=>m(H_)}),H_=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new xl})}}return e})(),xl=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=m(Vt),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Nl=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=up(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ot,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function z_(e,t){st("NgSignals"),!t?.injector&&Bl(z_);let n=t?.injector??m(he),r=t?.manualCleanup!==!0?n.get(Ca):null,o=new Nl(n.get($_),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(an,null,{optional:!0});return!i||!(i._lView[N]&8)?o.watcher.notify():(i._lView[_s]??=[]).push(o.watcher.notify),o}function $B(e,t){let n=xt(e),r=t.elementInjector||da();return new rr(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function wy(e){let t=xt(e);if(!t)return null;let n=new rr(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Ny=null;function ar(){return Ny}function Ay(e){Ny??=e}var nc=class{};var oe=new C(""),rf=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>m(q_),providedIn:"platform"})}}return e})(),Ry=new C(""),q_=(()=>{class e extends rf{constructor(){super(),this._doc=m(oe),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ar().getBaseHref(this._doc)}onPopState(n){let r=ar().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=ar().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.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,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function of(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Iy(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function ln(e){return e&&e[0]!=="?"?"?"+e:e}var fn=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>m(sf),providedIn:"root"})}}return e})(),Oy=new C(""),sf=(()=>{class e extends fn{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(oe).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 of(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ln(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ln(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ln(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(b(rf),b(Oy,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Py=(()=>{class e extends fn{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}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 r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=of(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ln(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ln(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(b(rf),b(Oy,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),no=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=Y_(Iy(Cy(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ln(r))}normalize(n){return e.stripTrailingSlash(Z_(this._basePath,Cy(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ln(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ln(r)),o)}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(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=ln}static{this.joinWithSlash=of}static{this.stripTrailingSlash=Iy}static{this.\u0275fac=function(r){return new(r||e)(b(fn))}}static{this.\u0275prov=D({token:e,factory:()=>W_(),providedIn:"root"})}}return e})();function W_(){return new no(b(fn))}function Z_(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Cy(e){return e.replace(/\/index.html$/,"")}function Y_(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Fy={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},af=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(af||{});var ke=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ke||{}),Q=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Q||{}),Je=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Je||{}),Ne={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 Q_(e){return ze(e)[ne.LocaleId]}function K_(e,t,n){let r=ze(e),o=[r[ne.DayPeriodsFormat],r[ne.DayPeriodsStandalone]],i=at(o,t);return at(i,n)}function J_(e,t,n){let r=ze(e),o=[r[ne.DaysFormat],r[ne.DaysStandalone]],i=at(o,t);return at(i,n)}function X_(e,t,n){let r=ze(e),o=[r[ne.MonthsFormat],r[ne.MonthsStandalone]],i=at(o,t);return at(i,n)}function eM(e,t){let r=ze(e)[ne.Eras];return at(r,t)}function Za(e,t){let n=ze(e);return at(n[ne.DateFormat],t)}function Ya(e,t){let n=ze(e);return at(n[ne.TimeFormat],t)}function Qa(e,t){let r=ze(e)[ne.DateTimeFormat];return at(r,t)}function Bt(e,t){let n=ze(e),r=n[ne.NumberSymbols][t];if(typeof r>"u"){if(t===Ne.CurrencyDecimal)return n[ne.NumberSymbols][Ne.Decimal];if(t===Ne.CurrencyGroup)return n[ne.NumberSymbols][Ne.Group]}return r}function ky(e,t){return ze(e)[ne.NumberFormats][t]}function tM(e){return ze(e)[ne.Currencies]}function Ly(e){if(!e[ne.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[ne.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nM(e){let t=ze(e);return Ly(t),(t[ne.ExtraData][2]||[]).map(r=>typeof r=="string"?zd(r):[zd(r[0]),zd(r[1])])}function rM(e,t,n){let r=ze(e);Ly(r);let o=[r[ne.ExtraData][0],r[ne.ExtraData][1]],i=at(o,t)||[];return at(i,n)||[]}function at(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function zd(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}function oM(e,t,n="en"){let r=tM(n)[e]||Fy[e]||[],o=r[1];return t==="narrow"&&typeof o=="string"?o:r[0]||e}var iM=2;function sM(e){let t,n=Fy[e];return n&&(t=n[2]),typeof t=="number"?t:iM}var aM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ka={},cM=/((?:[^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]*)/,dn=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(dn||{}),z=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(z||{}),H=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(H||{});function uM(e,t,n,r){let o=yM(e);t=un(n,t)||t;let s=[],a;for(;t;)if(a=cM.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Vy(r,c),o=vM(o,r,!0));let u="";return s.forEach(l=>{let d=gM(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function rc(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function un(e,t){let n=Q_(e);if(Ka[n]??={},Ka[n][t])return Ka[n][t];let r="";switch(t){case"shortDate":r=Za(e,Je.Short);break;case"mediumDate":r=Za(e,Je.Medium);break;case"longDate":r=Za(e,Je.Long);break;case"fullDate":r=Za(e,Je.Full);break;case"shortTime":r=Ya(e,Je.Short);break;case"mediumTime":r=Ya(e,Je.Medium);break;case"longTime":r=Ya(e,Je.Long);break;case"fullTime":r=Ya(e,Je.Full);break;case"short":let o=un(e,"shortTime"),i=un(e,"shortDate");r=Ja(Qa(e,Je.Short),[o,i]);break;case"medium":let s=un(e,"mediumTime"),a=un(e,"mediumDate");r=Ja(Qa(e,Je.Medium),[s,a]);break;case"long":let c=un(e,"longTime"),u=un(e,"longDate");r=Ja(Qa(e,Je.Long),[c,u]);break;case"full":let l=un(e,"fullTime"),d=un(e,"fullDate");r=Ja(Qa(e,Je.Full),[l,d]);break}return r&&(Ka[n][t]=r),r}function Ja(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function yt(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function lM(e,t){return yt(e,3).substring(0,t)}function ae(e,t,n=0,r=!1,o=!1){return function(i,s){let a=dM(e,i);if((n>0||a>-n)&&(a+=n),e===z.Hours)a===0&&n===-12&&(a=12);else if(e===z.FractionalSeconds)return lM(a,t);let c=Bt(s,Ne.MinusSign);return yt(a,t,c,r,o)}}function dM(e,t){switch(e){case z.FullYear:return t.getFullYear();case z.Month:return t.getMonth();case z.Date:return t.getDate();case z.Hours:return t.getHours();case z.Minutes:return t.getMinutes();case z.Seconds:return t.getSeconds();case z.FractionalSeconds:return t.getMilliseconds();case z.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function X(e,t,n=ke.Format,r=!1){return function(o,i){return fM(o,i,e,t,n,r)}}function fM(e,t,n,r,o,i){switch(n){case H.Months:return X_(t,o,r)[e.getMonth()];case H.Days:return J_(t,o,r)[e.getDay()];case H.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let u=nM(t),l=rM(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,g=s>=f.hours&&a>=f.minutes,v=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(g&&v)return!0}else if(g||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return K_(t,o,r)[s<12?0:1];case H.Eras:return eM(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Xa(e){return function(t,n,r){let o=-1*r,i=Bt(n,Ne.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case dn.Short:return(o>=0?"+":"")+yt(s,2,i)+yt(Math.abs(o%60),2,i);case dn.ShortGMT:return"GMT"+(o>=0?"+":"")+yt(s,1,i);case dn.Long:return"GMT"+(o>=0?"+":"")+yt(s,2,i)+":"+yt(Math.abs(o%60),2,i);case dn.Extended:return r===0?"Z":(o>=0?"+":"")+yt(s,2,i)+":"+yt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var hM=0,tc=4;function pM(e){let t=rc(e,hM,1).getDay();return rc(e,0,1+(t<=tc?tc:tc+7)-t)}function jy(e){let t=e.getDay(),n=t===0?-3:tc-t;return rc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Gd(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=jy(n),s=pM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return yt(o,e,Bt(r,Ne.MinusSign))}}function ec(e,t=!1){return function(n,r){let i=jy(n).getFullYear();return yt(i,e,Bt(r,Ne.MinusSign),t)}}var qd={};function gM(e){if(qd[e])return qd[e];let t;switch(e){case"G":case"GG":case"GGG":t=X(H.Eras,Q.Abbreviated);break;case"GGGG":t=X(H.Eras,Q.Wide);break;case"GGGGG":t=X(H.Eras,Q.Narrow);break;case"y":t=ae(z.FullYear,1,0,!1,!0);break;case"yy":t=ae(z.FullYear,2,0,!0,!0);break;case"yyy":t=ae(z.FullYear,3,0,!1,!0);break;case"yyyy":t=ae(z.FullYear,4,0,!1,!0);break;case"Y":t=ec(1);break;case"YY":t=ec(2,!0);break;case"YYY":t=ec(3);break;case"YYYY":t=ec(4);break;case"M":case"L":t=ae(z.Month,1,1);break;case"MM":case"LL":t=ae(z.Month,2,1);break;case"MMM":t=X(H.Months,Q.Abbreviated);break;case"MMMM":t=X(H.Months,Q.Wide);break;case"MMMMM":t=X(H.Months,Q.Narrow);break;case"LLL":t=X(H.Months,Q.Abbreviated,ke.Standalone);break;case"LLLL":t=X(H.Months,Q.Wide,ke.Standalone);break;case"LLLLL":t=X(H.Months,Q.Narrow,ke.Standalone);break;case"w":t=Gd(1);break;case"ww":t=Gd(2);break;case"W":t=Gd(1,!0);break;case"d":t=ae(z.Date,1);break;case"dd":t=ae(z.Date,2);break;case"c":case"cc":t=ae(z.Day,1);break;case"ccc":t=X(H.Days,Q.Abbreviated,ke.Standalone);break;case"cccc":t=X(H.Days,Q.Wide,ke.Standalone);break;case"ccccc":t=X(H.Days,Q.Narrow,ke.Standalone);break;case"cccccc":t=X(H.Days,Q.Short,ke.Standalone);break;case"E":case"EE":case"EEE":t=X(H.Days,Q.Abbreviated);break;case"EEEE":t=X(H.Days,Q.Wide);break;case"EEEEE":t=X(H.Days,Q.Narrow);break;case"EEEEEE":t=X(H.Days,Q.Short);break;case"a":case"aa":case"aaa":t=X(H.DayPeriods,Q.Abbreviated);break;case"aaaa":t=X(H.DayPeriods,Q.Wide);break;case"aaaaa":t=X(H.DayPeriods,Q.Narrow);break;case"b":case"bb":case"bbb":t=X(H.DayPeriods,Q.Abbreviated,ke.Standalone,!0);break;case"bbbb":t=X(H.DayPeriods,Q.Wide,ke.Standalone,!0);break;case"bbbbb":t=X(H.DayPeriods,Q.Narrow,ke.Standalone,!0);break;case"B":case"BB":case"BBB":t=X(H.DayPeriods,Q.Abbreviated,ke.Format,!0);break;case"BBBB":t=X(H.DayPeriods,Q.Wide,ke.Format,!0);break;case"BBBBB":t=X(H.DayPeriods,Q.Narrow,ke.Format,!0);break;case"h":t=ae(z.Hours,1,-12);break;case"hh":t=ae(z.Hours,2,-12);break;case"H":t=ae(z.Hours,1);break;case"HH":t=ae(z.Hours,2);break;case"m":t=ae(z.Minutes,1);break;case"mm":t=ae(z.Minutes,2);break;case"s":t=ae(z.Seconds,1);break;case"ss":t=ae(z.Seconds,2);break;case"S":t=ae(z.FractionalSeconds,1);break;case"SS":t=ae(z.FractionalSeconds,2);break;case"SSS":t=ae(z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Xa(dn.Short);break;case"ZZZZZ":t=Xa(dn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Xa(dn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Xa(dn.Long);break;default:return null}return qd[e]=t,t}function Vy(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function mM(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function vM(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Vy(t,o);return mM(e,r*(i-o))}function yM(e){if(Ey(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return rc(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(aM))return DM(r)}let t=new Date(e);if(!Ey(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function DM(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Ey(e){return e instanceof Date&&!isNaN(e.valueOf())}var wM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,by=22,oc=".",ti="0",IM=";",CM=",",Wd="#",Ty="\xA4";function By(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Bt(n,Ne.Infinity);else{let u=_M(e);s&&(u=TM(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let A=i.match(wM);if(A===null)throw new Error(`${i} is not a valid digit info`);let B=A[1],re=A[3],De=A[5];B!=null&&(l=Zd(B)),re!=null&&(d=Zd(re)),De!=null?h=Zd(De):re!=null&&d>h&&(h=d)}MM(u,d,h);let f=u.digits,p=u.integerLen,g=u.exponent,v=[];for(c=f.every(A=>!A);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?v=f.splice(p,f.length):(v=f,f=[0]);let w=[];for(f.length>=t.lgSize&&w.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)w.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&w.unshift(f.join("")),a=w.join(Bt(n,r)),v.length&&(a+=Bt(n,o)+v.join("")),g&&(a+=Bt(n,Ne.Exponential)+"+"+g)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function EM(e,t,n,r,o){let i=ky(t,af.Currency),s=Uy(i,Bt(t,Ne.MinusSign));return s.minFrac=sM(r),s.maxFrac=s.minFrac,By(e,s,t,Ne.CurrencyGroup,Ne.CurrencyDecimal,o).replace(Ty,n).replace(Ty,"").trim()}function bM(e,t,n){let r=ky(t,af.Decimal),o=Uy(r,Bt(t,Ne.MinusSign));return By(e,o,t,Ne.Group,Ne.Decimal,n)}function Uy(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(IM),o=r[0],i=r[1],s=o.indexOf(oc)!==-1?o.split(oc):[o.substring(0,o.lastIndexOf(ti)+1),o.substring(o.lastIndexOf(ti)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(Wd));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===ti?n.minFrac=n.maxFrac=l+1:d===Wd?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(CM);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(Wd);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function TM(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function _M(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(oc))>-1&&(t=t.replace(oc,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===ti;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===ti;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>by&&(r=r.splice(0,by-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function MM(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Zd(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function ic(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Yd=/\s+/,_y=[],o2=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=_y,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Yd):_y}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Yd):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Yd).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(R(We),R(Nn))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})(),i2=(()=>{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 r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Fv(this.ngComponentOutletNgModule,My(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(My(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,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[r,o]of this._inputsUsed)o?(n.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(n.setInput(r,void 0),this._inputsUsed.delete(r))}static{this.\u0275fac=function(r){return new(r||e)(R(mt))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Kt]})}}return e})();function My(e){return e.get(Yt).injector}var Qd=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,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}},s2=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,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 r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Qd(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Sy(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Sy(i,o)})}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(R(mt),R(_n),R(Bd))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function Sy(e,t){e.context.$implicit=t.item}var cf=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Kd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){xy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){xy("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,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(R(mt),R(_n))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})(),Kd=class{constructor(){this.$implicit=null,this.ngIf=null}};function xy(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Pe(t)}'.`)}var Jd=class{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},SM=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return e})(),a2=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new Jd(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(r){return new(r||e)(R(mt),R(_n),R(SM,9))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return e})();var c2=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,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,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Pt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static{this.\u0275fac=function(r){return new(r||e)(R(We),R(Ud),R(Nn))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return e})(),u2=(()=>{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 r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(R(mt))}}static{this.\u0275dir=Fe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Kt]})}}return e})();function ro(e,t){return new I(2100,!1)}var Xd=class{createSubscription(t,n){return Hd(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Hd(()=>t.unsubscribe())}},ef=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},xM=new ef,NM=new Xd,l2=(()=>{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,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Xr(n))return xM;if(jd(n))return NM;throw ro(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(r){return new(r||e)(R(an,16))}}static{this.\u0275pipe=Sn({name:"async",type:e,pure:!1,standalone:!0})}}return e})();var d2=(()=>{class e{transform(n){if(n==null)return null;if(typeof n!="string")throw ro(e,n);return n.toUpperCase()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Sn({name:"uppercase",type:e,pure:!0,standalone:!0})}}return e})(),AM="mediumDate",RM=new C(""),OM=new C(""),f2=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??AM,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return uM(n,s,i||this.locale,a)}catch(s){throw ro(e,s.message)}}static{this.\u0275fac=function(r){return new(r||e)(R(eo,16),R(RM,24),R(OM,24))}}static{this.\u0275pipe=Sn({name:"date",type:e,pure:!0,standalone:!0})}}return e})();var h2=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Sn({name:"json",type:e,pure:!1,standalone:!0})}}return e})();var p2=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!$y(n))return null;o||=this._locale;try{let i=Hy(n);return bM(i,o,r)}catch(i){throw ro(e,i.message)}}static{this.\u0275fac=function(r){return new(r||e)(R(eo,16))}}static{this.\u0275pipe=Sn({name:"number",type:e,pure:!0,standalone:!0})}}return e})();var g2=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!$y(n))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=oM(a,o==="symbol"?"wide":"narrow",s):a=o);try{let c=Hy(n);return EM(c,s,a,r,i)}catch(c){throw ro(e,c.message)}}static{this.\u0275fac=function(r){return new(r||e)(R(eo,16),R(py,16))}}static{this.\u0275pipe=Sn({name:"currency",type:e,pure:!0,standalone:!0})}}return e})();function $y(e){return!(e==null||e===""||e!==e)}function Hy(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var m2=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!this.supports(n))throw ro(e,n);return n.slice(r,o)}supports(n){return typeof n=="string"||Array.isArray(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Sn({name:"slice",type:e,pure:!1,standalone:!0})}}return e})();var zy=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=kt({type:e})}static{this.\u0275inj=Ft({})}}return e})(),uf="browser",PM="server";function FM(e){return e===uf}function ni(e){return e===PM}var Gy=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>FM(m(gt))?new tf(m(oe),window):new nf})}}return e})(),tf=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=kM(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function kM(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var nf=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},to=class{};var qy=e=>e.src,LM=new C("",{providedIn:"root",factory:()=>qy});var jM=new C("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),VM=(()=>{class e{constructor(){this.preloadedImages=m(jM),this.document=m(oe)}createPreloadLinkTag(n,r,o,i){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),i&&n.setAttribute(s,"imageSizes",i),o&&n.setAttribute(s,"imageSrcset",o),n.appendChild(this.document.head,s)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var BM=/^((\s*\d+w\s*(,|$)){1,})$/;var UM=[1,2],$M=640;var HM=1920,zM=1080;var v2=(()=>{class e{constructor(){this.imageLoader=m(LM),this.config=GM(m(_m)),this.renderer=m(Nn),this.imgElement=m(We).nativeElement,this.injector=m(he),this.isServer=ni(m(gt)),this.preloadLinkCreator=m(VM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){st("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&r&&o&&r!==o&&this.injector.get($).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,o)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}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=BM.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=$M)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return UM.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>HM||this.height>zM),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==qy&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(an);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);qM(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Fe({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Rn("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",WM],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",$d],height:[2,"height","height",$d],loading:"loading",priority:[2,"priority","priority",cn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",cn],fill:[2,"fill","fill",cn],placeholder:[2,"placeholder","placeholder",ZM],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Fa,Kt]})}}return e})();function GM(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},sd,e,t)}function qM(e,t){e.complete&&e.naturalWidth&&t()}function WM(e){return typeof e=="string"?e:He(e)}function ZM(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:cn(e)}var oi=class{},ac=class{},hn=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
8
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var df=class{encodeKey(t){return Zy(t)}encodeValue(t){return Zy(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function YM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var QM=/%(\d[a-f0-9])/gi,KM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zy(e){return encodeURIComponent(e).replace(QM,(t,n)=>KM[n]??t)}function sc(e){return`${e}`}var kn=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new df,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=YM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(sc):[sc(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(sc(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(sc(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ff=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function JM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Yy(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Qy(e){return typeof Blob<"u"&&e instanceof Blob}function Ky(e){return typeof FormData<"u"&&e instanceof FormData}function XM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var ri=class e{constructor(t,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(JM(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,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 hn,this.context??=new ff,!this.params)this.params=new kn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Yy(this.body)||Qy(this.body)||Ky(this.body)||XM(this.body)?this.body:this.body instanceof kn?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||Ky(this.body)?null:Qy(this.body)?this.body.type||null:Yy(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof kn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((h,f)=>h.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},Ln=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ln||{}),ii=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new hn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},cc=class e extends ii{constructor(t={}){super(t),this.type=Ln.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},si=class e extends ii{constructor(t={}){super(t),this.type=Ln.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Fn=class extends ii{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},tD=200,eS=204;function lf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var tS=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof ri)i=n;else{let c;o.headers instanceof hn?c=o.headers:c=new hn(o.headers);let u;o.params&&(o.params instanceof kn?u=o.params:u=new kn({fromObject:o.params})),i=new ri(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=x(i).pipe(bt(c=>this.handler.handle(c)));if(n instanceof ri||o.observe==="events")return s;let a=s.pipe(ie(c=>c instanceof si));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.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 a.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 a.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 a.pipe(O(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new kn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,lf(o,r))}post(n,r,o={}){return this.request("POST",n,lf(o,r))}put(n,r,o={}){return this.request("PUT",n,lf(o,r))}static{this.\u0275fac=function(r){return new(r||e)(b(oi))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),nS=/^\)\]\}',?\n/,rS="X-Request-URL";function Jy(e){if(e.url)return e.url;let t=rS.toLocaleLowerCase();return e.headers.get(t)}var oS=(()=>{class e{constructor(){this.fetchImpl=m(hf,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=m($)}handle(n){return new L(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(pf,i=>r.error(new Fn({error:i}))),()=>o.abort()})}doRequest(n,r,o){return Ni(this,null,function*(){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,y({signal:r},i)));iS(f),o.next({type:Ln.Sent}),s=yield f}catch(f){o.error(new Fn({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new hn(s.headers),c=s.statusText,u=Jy(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new cc({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),p=[],g=s.body.getReader(),v=0,w,A,B=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ni(this,null,function*(){for(;;){let{done:De,value:ce}=yield g.read();if(De)break;if(p.push(ce),v+=ce.length,n.reportProgress){A=n.responseType==="text"?(A??"")+(w??=new TextDecoder).decode(ce,{stream:!0}):void 0;let $t=()=>o.next({type:Ln.DownloadProgress,total:f?+f:void 0,loaded:v,partialText:A});B?B.run($t):$t()}}}));let re=this.concatChunks(p,v);try{let De=s.headers.get("Content-Type")??"";d=this.parseBody(n,re,De)}catch(De){o.error(new Fn({error:De,headers:new hn(s.headers),status:s.status,statusText:s.statusText,url:Jy(s)??n.urlWithParams}));return}}l===0&&(l=d?tD:0),l>=200&&l<300?(o.next(new si({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new Fn({error:d,headers:a,status:l,statusText:c,url:u}))})}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(nS,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),hf=class{};function pf(){}function iS(e){e.then(pf,pf)}function sS(e,t){return t(e)}function aS(e,t,n){return(r,o)=>ot(n,()=>t(r,i=>e(i,o)))}var gf=new C(""),cS=new C(""),uS=new C("",{providedIn:"root",factory:()=>!0});var Xy=(()=>{class e extends oi{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=m(Vt),this.contributeToStability=m(uS)}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(gf),...this.injector.get(cS,[])]));this.chain=r.reduceRight((o,i)=>aS(o,i,this.injector),sS)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Hn(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)(b(ac),b(Se))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();var lS=/^\)\]\}',?\n/;function dS(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var eD=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new I(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?J(r.\u0275loadImpl()):x(null)).pipe(se(()=>new L(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,v)=>s.setRequestHeader(g,v.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let g=n.detectContentTypeHeader();g!==null&&s.setRequestHeader("Content-Type",g)}if(n.responseType){let g=n.responseType.toLowerCase();s.responseType=g!=="json"?g:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let g=s.statusText||"OK",v=new hn(s.getAllResponseHeaders()),w=dS(s)||n.url;return c=new cc({headers:v,status:s.status,statusText:g,url:w}),c},l=()=>{let{headers:g,status:v,statusText:w,url:A}=u(),B=null;v!==eS&&(B=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=B?tD:0);let re=v>=200&&v<300;if(n.responseType==="json"&&typeof B=="string"){let De=B;B=B.replace(lS,"");try{B=B!==""?JSON.parse(B):null}catch(ce){B=De,re&&(re=!1,B={error:ce,text:B})}}re?(i.next(new si({body:B,headers:g,status:v,statusText:w,url:A||void 0})),i.complete()):i.error(new Fn({error:B,headers:g,status:v,statusText:w,url:A||void 0}))},d=g=>{let{url:v}=u(),w=new Fn({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(w)},h=!1,f=g=>{h||(i.next(u()),h=!0);let v={type:Ln.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(v.total=g.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},p=g=>{let v={type:Ln.UploadProgress,loaded:g.loaded};g.lengthComputable&&(v.total=g.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:Ln.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(b(to))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),nD=new C(""),fS="XSRF-TOKEN",hS=new C("",{providedIn:"root",factory:()=>fS}),pS="X-XSRF-TOKEN",gS=new C("",{providedIn:"root",factory:()=>pS}),uc=class{},mS=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,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=ic(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(b(oe),b(gt),b(hS))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function vS(e,t){let n=e.url.toLowerCase();if(!m(nD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=m(uc).getToken(),o=m(gS);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var rD=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(rD||{});function yS(e,t){return{\u0275kind:e,\u0275providers:t}}function A2(...e){let t=[tS,eD,Xy,{provide:oi,useExisting:Xy},{provide:ac,useFactory:()=>m(oS,{optional:!0})??m(eD)},{provide:gf,useValue:vS,multi:!0},{provide:nD,useValue:!0},{provide:uc,useClass:mS}];for(let n of e)t.push(...n.\u0275providers);return zr(t)}function R2(e){return yS(rD.Interceptors,e.map(t=>({provide:gf,useValue:t,multi:!0})))}var yf=class extends nc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Df=class e extends yf{static makeCurrent(){Ay(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=DS();return n==null?null:wS(n)}resetBaseElement(){ai=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ic(document.cookie,t)}},ai=null;function DS(){return ai=ai||document.querySelector("base"),ai?ai.getAttribute("href"):null}function wS(e){return new URL(e,document.baseURI).pathname}var wf=class{addToWindow(t){Ce.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new I(5103,!1);return i},Ce.getAllAngularTestabilities=()=>t.getAllTestabilities(),Ce.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=Ce.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;let o=t.getTestability(n);return o??(r?ar().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},IS=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),If=new C(""),aD=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new I(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(b(If),b($))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),lc=class{constructor(t){this._doc=t}},mf="ng-app-id",cD=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ni(i),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${mf}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(mf),i;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(mf,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(b(oe),b(Ea),b(id,8),b(gt))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),vf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ef=/%COMP%/g,uD="%COMP%",CS=`_nghost-${uD}`,ES=`_ngcontent-${uD}`,bS=!0,TS=new C("",{providedIn:"root",factory:()=>bS});function _S(e){return ES.replace(Ef,e)}function MS(e){return CS.replace(Ef,e)}function lD(e,t){return t.map(n=>n.replace(Ef,e))}var oD=(()=>{class e{constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=ni(a),this.defaultRenderer=new ci(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===St.ShadowDom&&(r=U(y({},r),{encapsulation:St.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof dc?o.applyToHost(n):o instanceof ui&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case St.Emulated:i=new dc(c,u,r,this.appId,l,s,a,d);break;case St.ShadowDom:return new Cf(c,u,n,r,s,a,this.nonce,d);default:i=new ui(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(b(aD),b(cD),b(Ea),b(TS),b(oe),b(gt),b($),b(id))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),ci=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(vf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(iD(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(iD(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new I(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=vf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=vf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Pt.DashCase|Pt.Important)?t.style.setProperty(n,r,o&Pt.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Pt.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=ar().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function iD(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Cf=class extends ci{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=lD(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ui=class extends ci{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?lD(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},dc=class extends ui{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=_S(u),this.hostAttr=MS(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},SS=(()=>{class e extends lc{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(b(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),sD=["alt","control","meta","shift"],xS={"\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"},NS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},AS=(()=>{class e extends lc{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ar().onAndCancel(n,i.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),sD.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=xS[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),sD.forEach(s=>{if(s!==o){let a=NS[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(b(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function RS(){Df.makeCurrent()}function OS(){return new Ot}function PS(){return bm(document),document}var FS=[{provide:gt,useValue:uf},{provide:od,useValue:RS,multi:!0},{provide:oe,useFactory:PS,deps:[]}],W2=Vd(yy,"browser",FS),kS=new C(""),LS=[{provide:Xo,useClass:wf,deps:[]},{provide:kd,useClass:Ha,deps:[$,za,Xo]},{provide:Ha,useClass:Ha,deps:[$,za,Xo]}],jS=[{provide:la,useValue:"root"},{provide:Ot,useFactory:OS,deps:[]},{provide:If,useClass:SS,multi:!0,deps:[oe,$,gt]},{provide:If,useClass:AS,multi:!0,deps:[oe]},oD,cD,aD,{provide:jr,useExisting:oD},{provide:to,useClass:IS,deps:[]},[]],Z2=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Ea,useValue:n.appId}]}}static{this.\u0275fac=function(r){return new(r||e)(b(kS,12))}}static{this.\u0275mod=kt({type:e})}static{this.\u0275inj=Ft({providers:[...jS,...LS],imports:[zy,Dy]})}}return e})();var dD=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(b(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var bf=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=b(VS),o},providedIn:"root"})}}return e})(),VS=(()=>{class e extends bf{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ze.NONE:return r;case Ze.HTML:return en(r,"HTML")?He(r):cd(this._doc,String(r)).toString();case Ze.STYLE:return en(r,"Style")?He(r):r;case Ze.SCRIPT:if(en(r,"Script"))return He(r);throw new I(5200,!1);case Ze.URL:return en(r,"URL")?He(r):Ta(String(r));case Ze.RESOURCE_URL:if(en(r,"ResourceURL"))return He(r);throw new I(5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(n){return Nm(n)}bypassSecurityTrustStyle(n){return Am(n)}bypassSecurityTrustScript(n){return Rm(n)}bypassSecurityTrustUrl(n){return Om(n)}bypassSecurityTrustResourceUrl(n){return Pm(n)}static{this.\u0275fac=function(r){return new(r||e)(b(oe))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var k="primary",Ei=Symbol("RouteTitle"),xf=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function uo(e){return new xf(e)}function BS(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function US(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Ut(e[n],t[n]))return!1;return!0}function Ut(e,t){let n=e?Nf(e):void 0,r=t?Nf(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!bD(e[o],t[o]))return!1;return!0}function Nf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function bD(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function TD(e){return e.length>0?e[e.length-1]:null}function Vn(e){return Yc(e)?e:Xr(e)?J(Promise.resolve(e)):x(e)}var $S={exact:MD,subset:SD},_D={exact:HS,subset:zS,ignored:()=>!0};function hD(e,t,n){return $S[n.paths](e.root,t.root,n.matrixParams)&&_D[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function HS(e,t){return Ut(e,t)}function MD(e,t,n){if(!ur(e.segments,t.segments)||!pc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!MD(e.children[r],t.children[r],n))return!1;return!0}function zS(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>bD(e[n],t[n]))}function SD(e,t,n){return xD(e,t,t.segments,n)}function xD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!ur(o,n)||t.hasChildren()||!pc(o,n,r))}else if(e.segments.length===n.length){if(!ur(e.segments,n)||!pc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!SD(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!ur(e.segments,o)||!pc(e.segments,o,r)||!e.children[k]?!1:xD(e.children[k],t,i,r)}}function pc(e,t,n){return t.every((r,o)=>_D[n](e[o].parameters,r.parameters))}var gn=class{constructor(t=new q([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=uo(this.queryParams),this._queryParamMap}toString(){return WS.serialize(this)}},q=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return gc(this)}},cr=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=uo(this.parameters),this._parameterMap}toString(){return AD(this)}};function GS(e,t){return ur(e,t)&&e.every((n,r)=>Ut(n.parameters,t[r].parameters))}function ur(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function qS(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===k&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==k&&(n=n.concat(t(o,r)))}),n}var bi=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new lo,providedIn:"root"})}}return e})(),lo=class{parse(t){let n=new Rf(t);return new gn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${li(t.root,!0)}`,r=QS(t.queryParams),o=typeof t.fragment=="string"?`#${ZS(t.fragment)}`:"";return`${n}${r}${o}`}},WS=new lo;function gc(e){return e.segments.map(t=>AD(t)).join("/")}function li(e,t){if(!e.hasChildren())return gc(e);if(t){let n=e.children[k]?li(e.children[k],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==k&&r.push(`${o}:${li(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=qS(e,(r,o)=>o===k?[li(e.children[k],!1)]:[`${o}:${li(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[k]!=null?`${gc(e)}/${n[0]}`:`${gc(e)}/(${n.join("//")})`}}function ND(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fc(e){return ND(e).replace(/%3B/gi,";")}function ZS(e){return encodeURI(e)}function Af(e){return ND(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mc(e){return decodeURIComponent(e)}function pD(e){return mc(e.replace(/\+/g,"%20"))}function AD(e){return`${Af(e.path)}${YS(e.parameters)}`}function YS(e){return Object.entries(e).map(([t,n])=>`;${Af(t)}=${Af(n)}`).join("")}function QS(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${fc(n)}=${fc(o)}`).join("&"):`${fc(n)}=${fc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var KS=/^[^\/()?;#]+/;function Tf(e){let t=e.match(KS);return t?t[0]:""}var JS=/^[^\/()?;=#]+/;function XS(e){let t=e.match(JS);return t?t[0]:""}var ex=/^[^=?&#]+/;function tx(e){let t=e.match(ex);return t?t[0]:""}var nx=/^[^&#]+/;function rx(e){let t=e.match(nx);return t?t[0]:""}var Rf=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new q([],{}):new q([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[k]=new q(t,n)),r}parseSegment(){let t=Tf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new I(4009,!1);return this.capture(t),new cr(mc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=XS(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Tf(this.remaining);o&&(r=o,this.capture(r))}t[mc(n)]=mc(r)}parseQueryParam(t){let n=tx(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=rx(this.remaining);s&&(r=s,this.capture(r))}let o=pD(n),i=pD(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Tf(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new I(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=k);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[k]:new q([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new I(4011,!1)}};function RD(e){return e.segments.length>0?new q([],{[k]:e}):e}function OD(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=OD(o);if(r===k&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new q(e.segments,t);return ox(n)}function ox(e){if(e.numberOfChildren===1&&e.children[k]){let t=e.children[k];return new q(e.segments.concat(t.segments),t.children)}return e}function lr(e){return e instanceof gn}function ix(e,t,n=null,r=null){let o=PD(e);return FD(o,t,n,r)}function PD(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new q(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=RD(r);return t??o}function FD(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return _f(o,o,o,n,r);let i=sx(t);if(i.toRoot())return _f(o,o,new q([],{}),n,r);let s=ax(i,o,e),a=s.processChildren?hi(s.segmentGroup,s.index,i.commands):LD(s.segmentGroup,s.index,i.commands);return _f(o,s.segmentGroup,a,n,r)}function vc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function mi(e){return typeof e=="object"&&e!=null&&e.outlets}function _f(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=kD(e,t,n);let a=RD(OD(s));return new gn(a,i,o)}function kD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=kD(i,t,n)}),new q(e.segments,r)}var yc=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&vc(r[0]))throw new I(4003,!1);let o=r.find(mi);if(o&&o!==TD(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function sx(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new yc(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new yc(n,t,r)}var so=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function ax(e,t,n){if(e.isAbsolute)return new so(t,!0,0);if(!n)return new so(t,!1,NaN);if(n.parent===null)return new so(n,!0,0);let r=vc(e.commands[0])?0:1,o=n.segments.length-1+r;return cx(n,o,e.numberOfDoubleDots)}function cx(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new I(4005,!1);o=r.segments.length}return new so(r,!1,o-i)}function ux(e){return mi(e[0])?e[0].outlets:{[k]:e}}function LD(e,t,n){if(e??=new q([],{}),e.segments.length===0&&e.hasChildren())return hi(e,t,n);let r=lx(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new q(e.segments.slice(0,r.pathIndex),{});return i.children[k]=new q(e.segments.slice(r.pathIndex),e.children),hi(i,0,o)}else return r.match&&o.length===0?new q(e.segments,{}):r.match&&!e.hasChildren()?Of(e,t,n):r.match?hi(e,0,o):Of(e,t,n)}function hi(e,t,n){if(n.length===0)return new q(e.segments,{});{let r=ux(n),o={};if(Object.keys(r).some(i=>i!==k)&&e.children[k]&&e.numberOfChildren===1&&e.children[k].segments.length===0){let i=hi(e.children[k],t,n);return new q(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=LD(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new q(e.segments,o)}}function lx(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(mi(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!mD(c,u,s))return i;r+=2}else{if(!mD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Of(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(mi(i)){let c=dx(i.outlets);return new q(r,c)}if(o===0&&vc(n[0])){let c=e.segments[t];r.push(new cr(c.path,gD(n[0]))),o++;continue}let s=mi(i)?i.outlets[k]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&vc(a)?(r.push(new cr(s,gD(a))),o+=2):(r.push(new cr(s,{})),o++)}return new q(r,{})}function dx(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Of(new q([],{}),0,r))}),t}function gD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function mD(e,t,n){return e==n.path&&Ut(t,n.parameters)}var pi="imperative",ye=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(ye||{}),ct=class{constructor(t,n){this.id=t,this.url=n}},fo=class extends ct{constructor(t,n,r="imperative",o=null){super(t,n),this.type=ye.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},wt=class extends ct{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=ye.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},et=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(et||{}),Dc=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Dc||{}),pn=class extends ct{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=ye.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},jn=class extends ct{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=ye.NavigationSkipped}},vi=class extends ct{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=ye.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},wc=class extends ct{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ye.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pf=class extends ct{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ye.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ff=class extends ct{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=ye.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kf=class extends ct{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ye.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lf=class extends ct{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=ye.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jf=class{constructor(t){this.route=t,this.type=ye.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vf=class{constructor(t){this.route=t,this.type=ye.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Bf=class{constructor(t){this.snapshot=t,this.type=ye.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Uf=class{constructor(t){this.snapshot=t,this.type=ye.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$f=class{constructor(t){this.snapshot=t,this.type=ye.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hf=class{constructor(t){this.snapshot=t,this.type=ye.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ic=class{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=ye.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},yi=class{},ho=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function fx(e,t){return e.providers&&!e._injector&&(e._injector=Wo(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Dt(e){return e.outlet||k}function hx(e,t){let n=e.filter(r=>Dt(r)===t);return n.push(...e.filter(r=>Dt(r)!==t)),n}function Ti(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var zf=class{get injector(){return Ti(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new _i(this.rootInjector),this.attachRef=null}},_i=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new zf(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(b(Se))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Cc=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Gf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Gf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=qf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return qf(t,this._root).map(n=>n.value)}};function Gf(e,t){if(e===t.value)return t;for(let n of t.children){let r=Gf(e,n);if(r)return r}return null}function qf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=qf(e,n);if(r.length)return r.unshift(t),r}return[]}var Xe=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function io(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ec=class extends Cc{constructor(t,n){super(t),this.snapshot=n,th(this,t)}toString(){return this.snapshot.toString()}};function jD(e){let t=px(e),n=new Ie([new cr("",{})]),r=new Ie({}),o=new Ie({}),i=new Ie({}),s=new Ie(""),a=new dr(n,r,i,s,o,k,e,t.root);return a.snapshot=t.root,new Ec(new Xe(a,[]),t)}function px(e){let t={},n={},r={},o="",i=new ao([],t,r,o,n,k,e,null,{});return new Tc("",new Xe(i,[]))}var dr=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(O(u=>u[Ei]))??x(void 0),this.url=t,this.params=n,this.queryParams=r,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(t=>uo(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(O(t=>uo(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function bc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:y(y({},t.params),e.params),data:y(y({},t.data),e.data),resolve:y(y(y(y({},e.data),t.data),o?.data),e._resolvedData)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&BD(o)&&(r.resolve[Ei]=o.title),r}var ao=class{get title(){return this.data?.[Ei]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=uo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=uo(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Tc=class extends Cc{constructor(t,n){super(n),this.url=t,th(this,n)}toString(){return VD(this._root)}};function th(e,t){t.value._routerState=e,t.children.forEach(n=>th(e,n))}function VD(e){let t=e.children.length>0?` { ${e.children.map(VD).join(", ")} } `:"";return`${e.value}${t}`}function Mf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ut(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Ut(t.params,n.params)||e.paramsSubject.next(n.params),US(t.url,n.url)||e.urlSubject.next(n.url),Ut(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Wf(e,t){let n=Ut(e.params,t.params)&&GS(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Wf(e.parent,t.parent))}function BD(e){return typeof e.title=="string"||e.title===null}var gx=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=k,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=m(_i),this.location=m(mt),this.changeDetector=m(an),this.inputBinder=m(Nc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),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 I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,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,r){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Zf(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=Fe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Kt]})}}return e})(),Zf=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===dr?this.route:t===_i?this.childContexts:this.parent.get(t,n)}},Nc=new C(""),vD=(()=>{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:r}=n,o=bo([r.queryParams,r.params,r.data]).pipe(se(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?x(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=wy(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function mx(e,t,n){let r=Di(e,t._root,n?n._root:void 0);return new Ec(r,t)}function Di(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=vx(e,t,n);return new Xe(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Di(e,a)),s}}let r=yx(t.value),o=t.children.map(i=>Di(e,i));return new Xe(r,o)}}function vx(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Di(e,r,o);return Di(e,r)})}function yx(e){return new dr(new Ie(e.url),new Ie(e.params),new Ie(e.queryParams),new Ie(e.fragment),new Ie(e.data),e.outlet,e.component,e)}var wi=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},UD="ngNavigationCancelingError";function _c(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=lr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=$D(!1,et.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function $D(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[UD]=!0,n.cancellationCode=t,n}function Dx(e){return HD(e)&&lr(e.url)}function HD(e){return!!e&&e[UD]}var wx=(e,t,n,r)=>O(o=>(new Yf(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Yf=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Mf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=io(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=io(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=io(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=io(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Hf(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Uf(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Mf(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.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),Mf(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},Mc=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},co=class{constructor(t,n){this.component=t,this.route=n}};function Ix(e,t,n){let r=e._root,o=t?t._root:null;return di(r,o,n,[r.value])}function Cx(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function go(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!gg(e)?e:t.get(e):r}function di(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=io(t);return e.children.forEach(s=>{Ex(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>gi(a,n.getContext(s),o)),o}function Ex(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=bx(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Mc(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?di(e,t,a?a.children:null,r,o):di(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new co(a.outlet.component,s))}else s&&gi(t,a,o),o.canActivateChecks.push(new Mc(r)),i.component?di(e,null,a?a.children:null,r,o):di(e,null,n,r,o);return o}function bx(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!ur(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ur(e.url,t.url)||!Ut(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wf(e,t)||!Ut(e.queryParams,t.queryParams);case"paramsChange":default:return!Wf(e,t)}}function gi(e,t,n){let r=io(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?gi(s,t.children.getContext(i),n):gi(s,null,n):gi(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new co(t.outlet.component,o)):n.canDeactivateChecks.push(new co(null,o)):n.canDeactivateChecks.push(new co(null,o))}function Mi(e){return typeof e=="function"}function Tx(e){return typeof e=="boolean"}function _x(e){return e&&Mi(e.canLoad)}function Mx(e){return e&&Mi(e.canActivate)}function Sx(e){return e&&Mi(e.canActivateChild)}function xx(e){return e&&Mi(e.canDeactivate)}function Nx(e){return e&&Mi(e.canMatch)}function zD(e){return e instanceof dt||e?.name==="EmptyError"}var hc=Symbol("INITIAL_VALUE");function po(){return se(e=>bo(e.map(t=>t.pipe(Ge(1),Wi(hc)))).pipe(O(t=>{for(let n of t)if(n!==!0){if(n===hc)return hc;if(n===!1||Ax(n))return n}return!0}),ie(t=>t!==hc),Ge(1)))}function Ax(e){return lr(e)||e instanceof wi}function Rx(e,t){return ee(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?x(U(y({},n),{guardsResult:!0})):Ox(s,r,o,e).pipe(ee(a=>a&&Tx(a)?Px(r,i,e,t):x(a)),O(a=>U(y({},n),{guardsResult:a})))})}function Ox(e,t,n,r){return J(e).pipe(ee(o=>Vx(o.component,o.route,n,t,r)),ft(o=>o!==!0,!0))}function Px(e,t,n,r){return J(t).pipe(bt(o=>yn(kx(o.route.parent,r),Fx(o.route,r),jx(e,o.path,n),Lx(e,o.route,n))),ft(o=>o!==!0,!0))}function Fx(e,t){return e!==null&&t&&t(new $f(e)),x(!0)}function kx(e,t){return e!==null&&t&&t(new Bf(e)),x(!0)}function Lx(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return x(!0);let o=r.map(i=>is(()=>{let s=Ti(t)??n,a=go(i,s),c=Mx(a)?a.canActivate(t,e):ot(s,()=>a(t,e));return Vn(c).pipe(ft())}));return x(o).pipe(po())}function jx(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Cx(s)).filter(s=>s!==null).map(s=>is(()=>{let a=s.guards.map(c=>{let u=Ti(s.node)??n,l=go(c,u),d=Sx(l)?l.canActivateChild(r,e):ot(u,()=>l(r,e));return Vn(d).pipe(ft())});return x(a).pipe(po())}));return x(i).pipe(po())}function Vx(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return x(!0);let s=i.map(a=>{let c=Ti(t)??o,u=go(a,c),l=xx(u)?u.canDeactivate(e,t,n,r):ot(c,()=>u(e,t,n,r));return Vn(l).pipe(ft())});return x(s).pipe(po())}function Bx(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return x(!0);let i=o.map(s=>{let a=go(s,e),c=_x(a)?a.canLoad(t,n):ot(e,()=>a(t,n));return Vn(c)});return x(i).pipe(po(),GD(r))}function GD(e){return Bc(le(t=>{if(typeof t!="boolean")throw _c(e,t)}),O(t=>t===!0))}function Ux(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=go(s,e),c=Nx(a)?a.canMatch(t,n):ot(e,()=>a(t,n));return Vn(c)});return x(i).pipe(po(),GD(r))}var Ii=class{constructor(t){this.segmentGroup=t||null}},Ci=class extends Error{constructor(t){super(),this.urlTree=t}};function oo(e){return Ir(new Ii(e))}function $x(e){return Ir(new I(4e3,!1))}function Hx(e){return Ir($D(!1,et.GuardRejected))}var Qf=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return x(r);if(o.numberOfChildren>1||!o.children[k])return $x(`${t.redirectTo}`);o=o.children[k]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:p,title:g}=o,v=ot(i,()=>a({params:f,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:g}));if(v instanceof gn)throw new Ci(v);n=v}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new Ci(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new gn(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new q(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new I(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},Kf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zx(e,t,n,r,o){let i=qD(e,t,n);return i.matched?(r=fx(t,r),Ux(r,t,n,o).pipe(O(s=>s===!0?i:y({},Kf)))):x(i)}function qD(e,t,n){if(t.path==="**")return Gx(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Kf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||BS)(n,e,t);if(!o)return y({},Kf);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Gx(e){return{matched:!0,parameters:e.length>0?TD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function yD(e,t,n,r){return n.length>0&&Zx(e,n,r)?{segmentGroup:new q(t,Wx(r,new q(n,e.children))),slicedSegments:[]}:n.length===0&&Yx(e,n,r)?{segmentGroup:new q(e.segments,qx(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new q(e.segments,e.children),slicedSegments:n}}function qx(e,t,n,r){let o={};for(let i of n)if(Ac(e,t,i)&&!r[Dt(i)]){let s=new q([],{});o[Dt(i)]=s}return y(y({},r),o)}function Wx(e,t){let n={};n[k]=t;for(let r of e)if(r.path===""&&Dt(r)!==k){let o=new q([],{});n[Dt(r)]=o}return n}function Zx(e,t,n){return n.some(r=>Ac(e,t,r)&&Dt(r)!==k)}function Yx(e,t,n){return n.some(r=>Ac(e,t,r))}function Ac(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Qx(e,t,n){return t.length===0&&!e.children[n]}var Jf=class{};function Kx(e,t,n,r,o,i,s="emptyOnly"){return new Xf(e,t,n,r,o,s,i).recognize()}var Jx=31,Xf=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qf(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new I(4002,`'${t.segmentGroup}'`)}recognize(){let t=yD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(O(({children:n,rootSnapshot:r})=>{let o=new Xe(r,n),i=new Tc("",o),s=ix(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new ao([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),k,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,k,n).pipe(O(r=>({children:r,rootSnapshot:n})),Gt(r=>{if(r instanceof Ci)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ii?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(O(s=>s instanceof Xe?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return J(i).pipe(bt(s=>{let a=r.children[s],c=hx(n,s);return this.processSegmentGroup(t,c,a,s,o)}),as((s,a)=>(s.push(...a),s)),Dn(null),Jc(),ee(s=>{if(s===null)return oo(r);let a=WD(s);return Xx(a),x(a)}))}processSegment(t,n,r,o,i,s,a){return J(n).pipe(bt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Gt(u=>{if(u instanceof Ii)return x(null);throw u}))),ft(c=>!!c),Gt(c=>{if(zD(c))return Qx(r,o,i)?x(new Jf):oo(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return Dt(r)!==s&&(s===k||!Ac(o,i,r))?oo(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):oo(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=qD(n,o,i);if(!c)return oo(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Jx&&(this.allowRedirects=!1));let f=new ao(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,DD(o),Dt(o),o.component??o._loadedComponent??null,o,wD(o)),p=bc(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let g=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,g).pipe(ee(v=>this.processSegment(t,r,n,v.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=zx(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(se(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(se(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,p=new ao(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,DD(r),Dt(r),r.component??r._loadedComponent??null,r,wD(r)),g=bc(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(g.params),p.data=Object.freeze(g.data);let{segmentGroup:v,slicedSegments:w}=yD(n,h,f,u);if(w.length===0&&v.hasChildren())return this.processChildren(l,u,v,p).pipe(O(B=>new Xe(p,B)));if(u.length===0&&w.length===0)return x(new Xe(p,[]));let A=Dt(r)===i;return this.processSegment(l,u,v,w,A?k:i,!0,p).pipe(O(B=>new Xe(p,B instanceof Xe?[B]:[])))}))):oo(n)))}getChildConfig(t,n,r){return n.children?x({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?x({routes:n._loadedRoutes,injector:n._loadedInjector}):Bx(t,n,r,this.urlSerializer).pipe(ee(o=>o?this.configLoader.loadChildren(t,n).pipe(le(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):Hx(n))):x({routes:[],injector:t})}};function Xx(e){e.sort((t,n)=>t.value.outlet===k?-1:n.value.outlet===k?1:t.value.outlet.localeCompare(n.value.outlet))}function eN(e){let t=e.value.routeConfig;return t&&t.path===""}function WD(e){let t=[],n=new Set;for(let r of e){if(!eN(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=WD(r.children);t.push(new Xe(r.value,o))}return t.filter(r=>!n.has(r))}function DD(e){return e.data||{}}function wD(e){return e.resolve||{}}function tN(e,t,n,r,o,i){return ee(s=>Kx(e,t,n,r,s.extractedUrl,o,i).pipe(O(({state:a,tree:c})=>U(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function nN(e,t){return ee(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return x(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of ZD(c))s.add(u);let a=0;return J(s).pipe(bt(c=>i.has(c)?rN(c,r,e,t):(c.data=bc(c,c.parent,e).resolve,x(void 0))),le(()=>a++),Er(1),ee(c=>a===s.size?x(n):Ae))})}function ZD(e){let t=e.children.map(n=>ZD(n)).flat();return[e,...t]}function rN(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!BD(o)&&(i[Ei]=o.title),oN(i,e,t,r).pipe(O(s=>(e._resolvedData=s,e.data=bc(e,e.parent,n).resolve,null)))}function oN(e,t,n,r){let o=Nf(e);if(o.length===0)return x({});let i={};return J(o).pipe(ee(s=>iN(e[s],t,n,r).pipe(ft(),le(a=>{if(a instanceof wi)throw _c(new lo,a);i[s]=a}))),Er(1),To(i),Gt(s=>zD(s)?Ae:Ir(s)))}function iN(e,t,n,r){let o=Ti(t)??r,i=go(e,o),s=i.resolve?i.resolve(t,n):ot(o,()=>i(t,n));return Vn(s)}function Sf(e){return se(t=>{let n=e(t);return n?J(n).pipe(O(()=>t)):x(t)})}var YD=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===k);return r}getResolvedTitleForRoute(n){return n.data[Ei]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>m(sN),providedIn:"root"})}}return e})(),sN=(()=>{class e extends YD{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(b(dD))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Si=new C("",{providedIn:"root",factory:()=>({})}),aN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=zo({type:e,selectors:[["ng-component"]],standalone:!0,features:[Qo],decls:1,vars:0,template:function(r,o){r&1&&On(0,"router-outlet")},dependencies:[gx],encapsulation:2})}}return e})();function nh(e){let t=e.children&&e.children.map(nh),n=t?U(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==k&&(n.component=aN),n}var Sc=new C(""),rh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=m(Wa)}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 r=Vn(n.loadComponent()).pipe(O(QD),le(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Hn(()=>{this.componentLoaders.delete(n)})),o=new yr(r,()=>new G).pipe(vr());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return x({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=cN(r,this.compiler,n,this.onLoadEndListener).pipe(Hn(()=>{this.childrenLoaders.delete(r)})),s=new yr(i,()=>new G).pipe(vr());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function cN(e,t,n,r){return Vn(e.loadChildren()).pipe(O(QD),ee(o=>o instanceof Lo||Array.isArray(o)?x(o):J(t.compileModuleAsync(o))),O(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(Sc,[],{optional:!0,self:!0}).flat()),{routes:s.map(nh),injector:i}}))}function uN(e){return e&&typeof e=="object"&&"default"in e}function QD(e){return uN(e)?e.default:e}var oh=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>m(lN),providedIn:"root"})}}return e})(),lN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),KD=new C(""),JD=new C("");function dN(e,t,n){let r=e.get(JD),o=e.get(oe);return e.get($).runOutsideAngular(()=>{if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),fN(e))),{onViewTransitionCreated:c}=r;return c&&ot(e,()=>c({transition:a,from:t,to:n})),s})}function fN(e){return new Promise(t=>{xd({read:()=>setTimeout(t)},{injector:e})})}var hN=new C(""),ih=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new G,this.transitionAbortSubject=new G,this.configLoader=m(rh),this.environmentInjector=m(Se),this.urlSerializer=m(bi),this.rootContexts=m(_i),this.location=m(no),this.inputBindingEnabled=m(Nc,{optional:!0})!==null,this.titleStrategy=m(YD),this.options=m(Si,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=m(oh),this.createViewTransition=m(KD,{optional:!0}),this.navigationErrorHandler=m(hN,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=o=>this.events.next(new jf(o)),r=o=>this.events.next(new Vf(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(U(y(y({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new Ie({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:pi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ie(i=>i.id!==0),O(i=>U(y({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),se(i=>{let s=!1,a=!1;return x(i).pipe(se(c=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",et.SupersededByNewNavigation),Ae;this.currentTransition=i,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?U(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new jn(c.id,this.urlSerializer.serialize(c.rawUrl),d,Dc.IgnoredSameUrlNavigation)),c.resolve(!1),Ae}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return x(c).pipe(se(d=>{let h=this.transitions?.getValue();return this.events.next(new fo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?Ae:Promise.resolve(d)}),tN(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),le(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=U(y({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new wc(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:p,extras:g}=c,v=new fo(d,this.urlSerializer.serialize(h),f,p);this.events.next(v);let w=jD(this.rootComponentType).snapshot;return this.currentTransition=i=U(y({},c),{targetSnapshot:w,urlAfterRedirects:h,extras:U(y({},g),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(i)}else{let d="";return this.events.next(new jn(c.id,this.urlSerializer.serialize(c.extractedUrl),d,Dc.IgnoredByUrlHandlingStrategy)),c.resolve(!1),Ae}}),le(c=>{let u=new Pf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),O(c=>(this.currentTransition=i=U(y({},c),{guards:Ix(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),i)),Rx(this.environmentInjector,c=>this.events.next(c)),le(c=>{if(i.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw _c(this.urlSerializer,c.guardsResult);let u=new Ff(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),ie(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",et.GuardRejected),!1)),Sf(c=>{if(c.guards.canActivateChecks.length)return x(c).pipe(le(u=>{let l=new kf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),se(u=>{let l=!1;return x(u).pipe(nN(this.paramsInheritanceStrategy,this.environmentInjector),le({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",et.NoDataFromResolver)}}))}),le(u=>{let l=new Lf(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Sf(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(le(h=>{l.component=h}),O(()=>{})));for(let h of l.children)d.push(...u(h));return d};return bo(u(c.targetSnapshot.root)).pipe(Dn(null),Ge(1))}),Sf(()=>this.afterPreactivation()),se(()=>{let{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?J(l).pipe(O(()=>i)):x(i)}),O(c=>{let u=mx(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i=U(y({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,i}),le(()=>{this.events.next(new yi)}),wx(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ge(1),le({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new wt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Zi(this.transitionAbortSubject.pipe(le(c=>{throw c}))),Hn(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",et.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Gt(c=>{if(a=!0,HD(c))this.events.next(new pn(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),Dx(c)?this.events.next(new ho(c.url,c.navigationBehaviorOptions)):i.resolve(!1);else{let u=new vi(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0);try{let l=ot(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof wi){let{message:d,cancellationCode:h}=_c(this.urlSerializer,l);this.events.next(new pn(i.id,this.urlSerializer.serialize(i.extractedUrl),d,h)),this.events.next(new ho(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(u);let d=n.errorHandler(c);i.resolve(!!d)}}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return Ae}))}))}cancelNavigationTransition(n,r,o){let i=new pn(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function pN(e){return e!==pi}var gN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>m(mN),providedIn:"root"})}}return e})(),eh=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},mN=(()=>{class e extends eh{static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=ed(e)))(o||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),XD=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>m(vN),providedIn:"root"})}}return e})(),vN=(()=>{class e extends XD{constructor(){super(...arguments),this.location=m(no),this.urlSerializer=m(bi),this.options=m(Si,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=m(oh),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new gn,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jD(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(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof fo)this.stateMemento=this.createStateMemento();else if(n instanceof jn)this.rawUrlTree=r.initialUrl;else if(n instanceof wc){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else n instanceof yi?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof pn&&(n.code===et.GuardRejected||n.code===et.NoDataFromResolver)?this.restoreHistory(r):n instanceof vi?this.restoreHistory(r,!0):n instanceof wt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=n instanceof gn?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=y(y({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=y(y({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&i===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&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,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=ed(e)))(o||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),fi=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(fi||{});function ew(e,t){e.events.pipe(ie(n=>n instanceof wt||n instanceof pn||n instanceof vi||n instanceof jn),O(n=>n instanceof wt||n instanceof jn?fi.COMPLETE:(n instanceof pn?n.code===et.Redirect||n.code===et.SupersededByNewNavigation:!1)?fi.REDIRECTING:fi.FAILED),ie(n=>n!==fi.REDIRECTING),Ge(1)).subscribe(()=>{t()})}function yN(e){throw e}var DN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},wN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},mn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=m($a),this.stateManager=m(XD),this.options=m(Si,{optional:!0})||{},this.pendingTasks=m(Vt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=m(ih),this.urlSerializer=m(bi),this.location=m(no),this.urlHandlingStrategy=m(oh),this._events=new G,this.errorHandler=this.options.errorHandler||yN,this.navigated=!1,this.routeReuseStrategy=m(gN),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=m(Sc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!m(Nc,{optional:!0}),this.eventsSubscription=new K,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(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof pn&&r.code!==et.Redirect&&r.code!==et.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof wt)this.navigated=!0;else if(r instanceof ho){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||pN(o.source)},s);this.scheduleNavigation(a,pi,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}CN(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});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),pi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(nh),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,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=y(y({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=PD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return FD(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=lr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,pi,null,r)}navigate(n,r={skipLocationChange:!1}){return IN(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=y({},DN):r===!1?o=y({},wN):o=r,lr(n))return hD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return hD(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,h)=>{a=d,c=h});let l=this.pendingTasks.add();return ew(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function IN(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new I(4008,!1)}function CN(e){return!(e instanceof yi)&&!(e instanceof ho)}var ID=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new G,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof wt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(lr(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||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(a,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 r=this.href===null?null:Bm(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return this.routerLinkInput===null?null:lr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(R(mn),R(dr),td("tabindex"),R(Nn),R(We),R(fn))}}static{this.\u0275dir=Fe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Pn("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&An("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",cn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",cn],replaceUrl:[2,"replaceUrl","replaceUrl",cn],routerLink:"routerLink"},standalone:!0,features:[Fa,Kt]})}}return e})(),fU=(()=>{class e{get isActive(){return this._isActive}constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ee,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof wt&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(It()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=J(n).pipe(It()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}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(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),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 r=EN(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let i=o.urlTree;return i?n.isActive(i,r):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static{this.\u0275fac=function(r){return new(r||e)(R(mn),R(We),R(Nn),R(an),R(ID,8))}}static{this.\u0275dir=Fe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&ny(i,ID,5),r&2){let s;ry(s=oy())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Kt]})}}return e})();function EN(e){return!!e.paths}var xc=class{};var bN=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ie(n=>n instanceof wt),bt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Wo(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return J(o).pipe(It())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=x(null);let i=o.pipe(ee(s=>s===null?x(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(r);return J([i,s]).pipe(It())}else return i})}static{this.\u0275fac=function(r){return new(r||e)(b(mn),b(Wa),b(Se),b(xc),b(rh))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),tw=new C(""),TN=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.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 fo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof wt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof jn&&n.code===Dc.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 Ic&&(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,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ic(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){ev()}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function _N(e){return e.routerState.root}function xi(e,t){return{\u0275kind:e,\u0275providers:t}}function MN(){let e=m(he);return t=>{let n=e.get(Ke);if(t!==n.components[0])return;let r=e.get(mn),o=e.get(nw);e.get(sh)===1&&r.initialNavigation(),e.get(rw,null,V.Optional)?.setUpPreloading(),e.get(tw,null,V.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var nw=new C("",{factory:()=>new G}),sh=new C("",{providedIn:"root",factory:()=>1});function SN(){return xi(2,[{provide:sh,useValue:0},{provide:Ga,multi:!0,deps:[he],useFactory:t=>{let n=t.get(Ry,Promise.resolve());return()=>n.then(()=>new Promise(r=>{let o=t.get(mn),i=t.get(nw);ew(o,()=>{r(!0)}),t.get(ih).afterPreactivation=()=>(r(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}])}function xN(){return xi(3,[{provide:Ga,multi:!0,useFactory:()=>{let t=m(mn);return()=>{t.setUpLocationChangeListener()}}},{provide:sh,useValue:2}])}var rw=new C("");function NN(e){return xi(0,[{provide:rw,useExisting:bN},{provide:xc,useExisting:e}])}function AN(){return xi(8,[vD,{provide:Nc,useExisting:vD}])}function RN(e){let t=[{provide:KD,useValue:dN},{provide:JD,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return xi(9,t)}var CD=new C("ROUTER_FORROOT_GUARD"),ON=[no,{provide:bi,useClass:lo},mn,_i,{provide:dr,useFactory:_N,deps:[mn]},rh,[]],hU=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[ON,[],{provide:Sc,multi:!0,useValue:n},{provide:CD,useFactory:LN,deps:[[mn,new $o,new ua]]},{provide:Si,useValue:r||{}},r?.useHash?FN():kN(),PN(),r?.preloadingStrategy?NN(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?jN(r):[],r?.bindToComponentInputs?AN().\u0275providers:[],r?.enableViewTransitions?RN().\u0275providers:[],VN()]}}static forChild(n){return{ngModule:e,providers:[{provide:Sc,multi:!0,useValue:n}]}}static{this.\u0275fac=function(r){return new(r||e)(b(CD,8))}}static{this.\u0275mod=kt({type:e})}static{this.\u0275inj=Ft({})}}return e})();function PN(){return{provide:tw,useFactory:()=>{let e=m(Gy),t=m($),n=m(Si),r=m(ih),o=m(bi);return n.scrollOffset&&e.setOffset(n.scrollOffset),new TN(o,r,e,t,n)}}}function FN(){return{provide:fn,useClass:Py}}function kN(){return{provide:fn,useClass:sf}}function LN(e){return"guarded"}function jN(e){return[e.initialNavigation==="disabled"?xN().\u0275providers:[],e.initialNavigation==="enabledBlocking"?SN().\u0275providers:[]]}var ED=new C("");function VN(){return[{provide:ED,useFactory:MN},{provide:qa,multi:!0,useExisting:ED}]}var tt=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(tt||{}),mU="*";function sw(e,t){return{type:tt.Trigger,name:e,definitions:t,options:{}}}function ah(e,t=null){return{type:tt.Animate,styles:t,timings:e}}function vU(e,t=null){return{type:tt.Group,steps:e,options:t}}function yU(e,t=null){return{type:tt.Sequence,steps:e,options:t}}function Rc(e){return{type:tt.Style,styles:e,offset:null}}function Oc(e,t,n){return{type:tt.State,name:e,styles:t,options:n}}function DU(e){return{type:tt.Keyframes,steps:e}}function ch(e,t,n=null){return{type:tt.Transition,expr:e,animation:t,options:n}}function wU(e,t=null){return{type:tt.Reference,animation:e,options:t}}function IU(e=null){return{type:tt.AnimateChild,options:e}}function CU(e,t=null){return{type:tt.AnimateRef,animation:e,options:t}}function EU(e,t,n=null){return{type:tt.Query,selector:e,animation:t,options:n}}var ow=class{constructor(t=0,n=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=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},iw=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==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(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},bU="!";var aw=["toast-component",""];function BN(e,t){if(e&1){let n=Od();Ye(0,"button",5),Pn("click",function(){Gl(n);let o=Qe();return ql(o.remove())}),Ye(1,"span",6),on(2,"\xD7"),vt()()}}function UN(e,t){if(e&1&&(Zo(0),on(1),Yo()),e&2){let n=Qe(2);pe(),sn("[",n.duplicatesCount+1,"]")}}function $N(e,t){if(e&1&&(Ye(0,"div"),on(1),Jr(2,UN,2,1,"ng-container",4),vt()),e&2){let n=Qe();rn(n.options.titleClass),An("aria-label",n.title),pe(),sn(" ",n.title," "),pe(),xe("ngIf",n.duplicatesCount)}}function HN(e,t){if(e&1&&On(0,"div",7),e&2){let n=Qe();rn(n.options.messageClass),xe("innerHTML",n.message,ud)}}function zN(e,t){if(e&1&&(Ye(0,"div",8),on(1),vt()),e&2){let n=Qe();rn(n.options.messageClass),An("aria-label",n.message),pe(),sn(" ",n.message," ")}}function GN(e,t){if(e&1&&(Ye(0,"div"),On(1,"div",9),vt()),e&2){let n=Qe();pe(),Rn("width",n.width()+"%")}}function qN(e,t){if(e&1){let n=Od();Ye(0,"button",5),Pn("click",function(){Gl(n);let o=Qe();return ql(o.remove())}),Ye(1,"span",6),on(2,"\xD7"),vt()()}}function WN(e,t){if(e&1&&(Zo(0),on(1),Yo()),e&2){let n=Qe(2);pe(),sn("[",n.duplicatesCount+1,"]")}}function ZN(e,t){if(e&1&&(Ye(0,"div"),on(1),Jr(2,WN,2,1,"ng-container",4),vt()),e&2){let n=Qe();rn(n.options.titleClass),An("aria-label",n.title),pe(),sn(" ",n.title," "),pe(),xe("ngIf",n.duplicatesCount)}}function YN(e,t){if(e&1&&On(0,"div",7),e&2){let n=Qe();rn(n.options.messageClass),xe("innerHTML",n.message,ud)}}function QN(e,t){if(e&1&&(Ye(0,"div",8),on(1),vt()),e&2){let n=Qe();rn(n.options.messageClass),An("aria-label",n.message),pe(),sn(" ",n.message," ")}}function KN(e,t){if(e&1&&(Ye(0,"div"),On(1,"div",9),vt()),e&2){let n=Qe();pe(),Rn("width",n.width()+"%")}}var uh=class{_attachedHost;component;viewContainerRef;injector;constructor(t,n){this.component=t,this.injector=n}attach(t,n){return this._attachedHost=t,t.attach(this,n)}detach(){let t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},lh=class{_attachedPortal;_disposeFn;attach(t,n){return this._attachedPortal=t,this.attachComponentPortal(t,n)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}},dh=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new G;_activate=new G;_manualClose=new G;_resetTimeout=new G;_countDuplicate=new G;constructor(t){this._overlayRef=t}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(t,n){t&&this._resetTimeout.next(),n&&this._countDuplicate.next(++this.duplicatesCount)}},mo=class{toastId;config;message;title;toastType;toastRef;_onTap=new G;_onAction=new G;constructor(t,n,r,o,i,s){this.toastId=t,this.config=n,this.message=r,this.title=o,this.toastType=i,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}},cw={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},uw=new C("ToastConfig"),fh=class extends lh{_hostDomElement;_componentFactoryResolver;_appRef;constructor(t,n,r){super(),this._hostDomElement=t,this._componentFactoryResolver=n,this._appRef=r}attachComponentPortal(t,n){let r=this._componentFactoryResolver.resolveComponentFactory(t.component),o;return o=r.create(t.injector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()}),n?this._hostDomElement.insertBefore(this._getComponentRootNode(o),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(o)),o}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},JN=(()=>{class e{_document=m(oe);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n=this._document.createElement("div");n.classList.add("overlay-container"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),this._containerElement=n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hh=class{_portalHost;constructor(t){this._portalHost=t}attach(t,n=!0){return this._portalHost.attach(t,n)}detach(){return this._portalHost.detach()}},XN=(()=>{class e{_overlayContainer=m(JN);_componentFactoryResolver=m(Mn);_appRef=m(Ke);_document=m(oe);_paneElements=new Map;create(n,r){return this._createOverlayRef(this.getPaneElement(n,r))}getPaneElement(n="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[n]||(this._paneElements.get(r)[n]=this._createPaneElement(n,r)),this._paneElements.get(r)[n]}_createPaneElement(n,r){let o=this._document.createElement("div");return o.id="toast-container",o.classList.add(n),o.classList.add("toast-container"),r?r.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(n){return new fh(n,this._componentFactoryResolver,this._appRef)}_createOverlayRef(n){return new hh(this._createPortalHost(n))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lw=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(n,r,o,i,s){this.overlay=r,this._injector=o,this.sanitizer=i,this.ngZone=s,this.toastrConfig=y(y({},n.default),n.config),n.config.iconClasses&&(this.toastrConfig.iconClasses=y(y({},n.default.iconClasses),n.config.iconClasses))}show(n,r,o={},i=""){return this._preBuildNotification(i,n,r,this.applyConfig(o))}success(n,r,o={}){let i=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(i,n,r,this.applyConfig(o))}error(n,r,o={}){let i=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(i,n,r,this.applyConfig(o))}info(n,r,o={}){let i=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(i,n,r,this.applyConfig(o))}warning(n,r,o={}){let i=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(i,n,r,this.applyConfig(o))}clear(n){for(let r of this.toasts)if(n!==void 0){if(r.toastId===n){r.toastRef.manualClose();return}}else r.toastRef.manualClose()}remove(n){let r=this._findToast(n);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let o=this.toasts[this.currentlyActive].toastRef;o.isInactive()||(this.currentlyActive=this.currentlyActive+1,o.activate())}return!0}findDuplicate(n="",r="",o,i){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let c=s&&a.title===n;if((!s||c)&&a.message===r)return a.toastRef.onDuplicate(o,i),a}return null}applyConfig(n={}){return y(y({},this.toastrConfig),n)}_findToast(n){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===n)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(n,r,o,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(n,r,o,i)):this._buildNotification(n,r,o,i)}_buildNotification(n,r,o,i){if(!i.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(o,r,this.toastrConfig.resetTimeoutOnDuplicate&&i.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||r)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let c=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;let u=r;r&&i.enableHtml&&(u=this.sanitizer.sanitize(Ze.HTML,r));let l=new dh(c),d=new mo(this.index,i,u,o,n,l),h=[{provide:mo,useValue:d}],f=he.create({providers:h,parent:this._injector}),p=new uh(i.toastComponent,f),g=c.attach(p,i.newestOnTop);l.componentInstance=g.instance;let v={toastId:this.index,title:o||"",message:r||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:g};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{v.toastRef.activate()})),this.toasts.push(v),v}static \u0275fac=function(r){return new(r||e)(b(uw),b(XN),b(he),b(bf),b($))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eA=(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=Kr(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(n,r,o){this.toastrService=n,this.toastPackage=r,this.ngZone=o,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i}),this.state=Kr({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(n=>U(y({},n),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let n=new Date().getTime(),r=this.hideTime-n;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(n=>U(y({},n),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(n=>U(y({},n),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(n,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(n),r)):this.timeout=setTimeout(()=>n(),r)}outsideInterval(n,r){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(n),r)):this.intervalId=setInterval(()=>n(),r)}runInsideAngular(n){this.ngZone?this.ngZone.run(()=>n()):n()}static \u0275fac=function(r){return new(r||e)(R(lw),R(mo),R($))};static \u0275cmp=zo({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(r,o){r&1&&Pn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),r&2&&(Pd("@flyInOut",o._state),rn(o.toastClasses),Rn("display",o.displayStyle))},standalone:!0,features:[Qo],attrs:aw,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,o){r&1&&Jr(0,BN,3,0,"button",0)(1,$N,3,5,"div",1)(2,HN,1,3,"div",2)(3,zN,2,4,"div",3)(4,GN,2,2,"div",4),r&2&&(xe("ngIf",o.options.closeButton),pe(),xe("ngIf",o.title),pe(),xe("ngIf",o.message&&o.options.enableHtml),pe(),xe("ngIf",o.message&&!o.options.enableHtml),pe(),xe("ngIf",o.options.progressBar))},dependencies:[cf],encapsulation:2,data:{animation:[sw("flyInOut",[Oc("inactive",Rc({opacity:0})),Oc("active",Rc({opacity:1})),Oc("removed",Rc({opacity:0})),ch("inactive => active",ah("{{ easeTime }}ms {{ easing }}")),ch("active => removed",ah("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})(),tA=U(y({},cw),{toastComponent:eA}),nA=(e={})=>zr([{provide:uw,useValue:{default:tA,config:e}}]),jU=(()=>{class e{static forRoot(n={}){return{ngModule:e,providers:[nA(n)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=kt({type:e});static \u0275inj=Ft({})}return e})();var rA=(()=>{class e{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=Kr(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=Kr("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(n,r,o){this.toastrService=n,this.toastPackage=r,this.appRef=o,this.message=r.message,this.title=r.title,this.options=r.config,this.originalTimeout=r.config.timeOut,this.toastClasses=`${r.toastType} ${r.config.toastClass}`,this.sub=r.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=r.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=r.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=r.toastRef.countDuplicate().subscribe(i=>{this.duplicatesCount=i})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let n=new Date().getTime(),r=this.hideTime-n;this.width.set(r/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(o=>100-o),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(r){return new(r||e)(R(lw),R(mo),R(Ke))};static \u0275cmp=zo({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,o){r&1&&Pn("click",function(){return o.tapToast()})("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()}),r&2&&(rn(o.toastClasses),Rn("display",o.displayStyle))},standalone:!0,features:[Qo],attrs:aw,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(r,o){r&1&&Jr(0,qN,3,0,"button",0)(1,ZN,3,5,"div",1)(2,YN,1,3,"div",2)(3,QN,2,4,"div",3)(4,KN,2,2,"div",4),r&2&&(xe("ngIf",o.options.closeButton),pe(),xe("ngIf",o.title),pe(),xe("ngIf",o.message&&o.options.enableHtml),pe(),xe("ngIf",o.message&&!o.options.enableHtml),pe(),xe("ngIf",o.options.progressBar))},dependencies:[cf],encapsulation:2,changeDetection:0})}return e})(),VU=U(y({},cw),{toastComponent:rA});export{K as a,Bc as b,L as c,G as d,Ie as e,Io as f,Mw as g,Le as h,Sw as i,xw as j,Ae as k,yo as l,Do as m,J as n,x as o,Ir as p,Nw as q,Lh as r,Aw as s,O as t,bo as u,ee as v,It as w,yn as x,is as y,Uw as z,Qc as A,$n as B,Zw as C,Yw as D,ie as E,Qw as F,Kw as G,Jw as H,Gt as I,bt as J,Xw as K,Hh as L,Ge as M,To as N,eI as O,Gh as P,Hn as Q,ft as R,rI as S,oI as T,as as U,Gc as V,Oh as W,iI as X,sI as Y,Wi as Z,se as _,aI as $,qh as aa,Zi as ba,Wh as ca,le as da,Zh as ea,I as fa,hg as ga,D as ha,Ft as ia,C as ja,b as ka,m as la,zV as ma,$o as na,ua as oa,zo as pa,kt as qa,Fe as ra,Sn as sa,Se as ta,Bl as ua,Kt as va,Gl as wa,ql as xa,GV as ya,qV as za,ed as Aa,td as Ba,he as Ca,Ca as Da,Ee as Ea,$ as Fa,Ot as Ga,WV as Ha,We as Ia,Lu as Ja,Ea as Ka,gt as La,ZV as Ma,id as Na,Ze as Oa,ud as Pa,BE as Qa,YV as Ra,QV as Sa,KV as Ta,pe as Ua,R as Va,ev as Wa,_n as Xa,Mn as Ya,jr as Za,Nn as _a,mt as $a,_0 as ab,Kr as bb,tB as cb,nB as db,j0 as eb,Fa as fb,Jr as gb,eT as hb,xd as ib,rB as jb,oB as kb,An as lb,xe as mb,Rn as nb,MT as ob,iB as pb,rn as qb,sB as rb,aB as sb,cB as tb,uB as ub,lB as vb,dB as wb,fB as xb,hB as yb,Ye as zb,vt as Ab,On as Bb,Zo as Cb,Yo as Db,HT as Eb,Od as Fb,GT as Gb,Pd as Hb,Pn as Ib,XT as Jb,Qe as Kb,pB as Lb,gB as Mb,r_ as Nb,ty as Ob,o_ as Pb,i_ as Qb,ny as Rb,mB as Sb,ry as Tb,oy as Ub,vB as Vb,yB as Wb,DB as Xb,wB as Yb,on as Zb,c_ as _b,sn as $b,u_ as ac,l_ as bc,d_ as cc,IB as dc,f_ as ec,CB as fc,Qo as gc,EB as hc,bB as ic,TB as jc,_B as kc,MB as lc,SB as mc,xB as nc,NB as oc,AB as pc,RB as qc,OB as rc,PB as sc,FB as tc,kB as uc,LB as vc,jB as wc,$r as xc,VB as yc,Xr as zc,Ke as Ac,eo as Bc,BB as Cc,an as Dc,Ud as Ec,cn as Fc,$d as Gc,UB as Hc,Hd as Ic,z_ as Jc,$B as Kc,ar as Lc,oe as Mc,no as Nc,uM as Oc,o2 as Pc,i2 as Qc,s2 as Rc,cf as Sc,SM as Tc,a2 as Uc,c2 as Vc,u2 as Wc,l2 as Xc,d2 as Yc,f2 as Zc,h2 as _c,p2 as $c,g2 as ad,m2 as bd,zy as cd,FM as dd,ni as ed,v2 as fd,hn as gd,kn as hd,si as id,Fn as jd,tS as kd,A2 as ld,R2 as md,oD as nd,W2 as od,Z2 as pd,dD as qd,bf as rd,tt as sd,mU as td,sw as ud,ah as vd,vU as wd,yU as xd,Rc as yd,Oc as zd,DU as Ad,ch as Bd,wU as Cd,IU as Dd,CU as Ed,EU as Fd,ow as Gd,iw as Hd,bU as Id,fo as Jd,wt as Kd,dr as Ld,gx as Md,mn as Nd,ID as Od,fU as Pd,hU as Qd,mo as Rd,lw as Sd,eA as Td,jU as Ud};