@yinuo-ngm/server 1.0.15 → 1.0.17

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 (349) hide show
  1. package/lib/app.js +3 -15
  2. package/lib/common/editor.js +2 -2
  3. package/lib/env.d.ts +1 -0
  4. package/lib/env.js +1 -0
  5. package/lib/plugins/error-handler.plugin.d.ts +2 -2
  6. package/lib/plugins/error-handler.plugin.js +97 -88
  7. package/lib/plugins/ws/topics/nginx.ws.js +2 -1
  8. package/lib/plugins/ws/topics/svn.ws.d.ts +2 -1
  9. package/lib/plugins/ws/topics/svn.ws.js +3 -2
  10. package/lib/plugins/ws/topics/syslog.ws.d.ts +1 -1
  11. package/lib/plugins/ws/topics/task.ws.d.ts +2 -1
  12. package/lib/plugins/ws/topics/task.ws.js +2 -1
  13. package/lib/plugins/ws/ws.context.d.ts +1 -1
  14. package/lib/plugins/ws/ws.plugin.js +4 -3
  15. package/lib/plugins/ws/ws.router.d.ts +2 -2
  16. package/lib/plugins/ws/ws.router.js +8 -7
  17. package/lib/routes/api-client/collection.routes.js +8 -6
  18. package/lib/routes/api-client/env.routes.js +4 -3
  19. package/lib/routes/api-client/history.routes.js +3 -2
  20. package/lib/routes/api-client/hub-token.routes.js +32 -10
  21. package/lib/routes/api-client/request.routes.js +7 -6
  22. package/lib/routes/api-client/send.routes.js +3 -2
  23. package/lib/routes/config.routes.js +5 -5
  24. package/lib/routes/hub.routes.js +10 -10
  25. package/lib/routes/index.js +2 -0
  26. package/lib/routes/nginx/nginx-lifecycle.routes.js +4 -0
  27. package/lib/routes/nginx/nginx-route.context.js +23 -7
  28. package/lib/routes/nginx/nginx-server.routes.js +158 -6
  29. package/lib/routes/node-version.routes.d.ts +2 -0
  30. package/lib/routes/node-version.routes.js +56 -0
  31. package/lib/routes/project.routes.js +14 -9
  32. package/lib/routes/rss.routes.js +3 -3
  33. package/lib/routes/sprite-browse.routes.js +21 -6
  34. package/lib/routes/sprite.routes.js +18 -12
  35. package/lib/routes/static-files.routes.js +21 -5
  36. package/lib/routes/svn.routes.js +5 -3
  37. package/lib/routes/system.routes.js +20 -1
  38. package/lib/routes/task.routes.js +10 -3
  39. package/package.json +13 -6
  40. package/www/3rdpartylicenses.txt +66 -118
  41. package/www/browser/chunk-2L7NUOMX.js +2 -0
  42. package/www/browser/chunk-2NZJ7CN2.js +20 -0
  43. package/www/browser/chunk-3CM4SKDO.js +15 -0
  44. package/www/browser/chunk-3I7BQCXS.js +1 -0
  45. package/www/browser/chunk-3M56F2S2.js +1 -0
  46. package/www/browser/chunk-3OHBKMAA.js +1 -0
  47. package/www/browser/chunk-3XNNQFWR.js +1 -0
  48. package/www/browser/chunk-4BRW6LCZ.js +4 -0
  49. package/www/browser/chunk-4LBSLURA.js +1 -0
  50. package/www/browser/chunk-4X42HB6N.js +2 -0
  51. package/www/browser/chunk-5DYX4DUX.js +11 -0
  52. package/www/browser/chunk-6SYVDN5L.js +1 -0
  53. package/www/browser/chunk-6YYNHZ2A.js +1 -0
  54. package/www/browser/chunk-75W3GVSO.js +1 -0
  55. package/www/browser/chunk-7U44RF5F.js +63 -0
  56. package/www/browser/chunk-AELTP6YN.js +1 -0
  57. package/www/browser/chunk-AMXRL4GR.js +1 -0
  58. package/www/browser/chunk-AV2ZODEH.js +1 -0
  59. package/www/browser/chunk-AZ6SIMYH.js +1 -0
  60. package/www/browser/chunk-B3C35ET3.js +2 -0
  61. package/www/browser/chunk-BTQIUVTQ.js +1 -0
  62. package/www/browser/chunk-CN5J4WNO.js +1 -0
  63. package/www/browser/chunk-D2ODDESN.js +1 -0
  64. package/www/browser/chunk-DE6E23ET.js +1 -0
  65. package/www/browser/chunk-DIJPUYIA.js +1 -0
  66. package/www/browser/chunk-DLGJD6YU.js +4 -0
  67. package/www/browser/chunk-EEDA5U4V.js +1 -0
  68. package/www/browser/chunk-FK6Z4HLL.js +1 -0
  69. package/www/browser/chunk-FL6GDGHW.js +1 -0
  70. package/www/browser/chunk-FXCG34QS.js +1 -0
  71. package/www/browser/chunk-H2USFIYR.js +1 -0
  72. package/www/browser/chunk-H5HGMOE6.js +1 -0
  73. package/www/browser/chunk-HB3HECPD.js +1 -0
  74. package/www/browser/chunk-HDNG236Q.js +1 -0
  75. package/www/browser/chunk-HFZLJHYR.js +1 -0
  76. package/www/browser/chunk-HJTXXSMC.js +1 -0
  77. package/www/browser/chunk-HUMCWAKJ.js +3 -0
  78. package/www/browser/chunk-IKB3EQCP.js +2 -0
  79. package/www/browser/chunk-K7PESFPY.js +1 -0
  80. package/www/browser/chunk-KRYMOHYF.js +2 -0
  81. package/www/browser/chunk-M4QRBV3K.js +1 -0
  82. package/www/browser/chunk-N2PELLMM.js +30 -0
  83. package/www/browser/chunk-ONXBYGIG.js +1 -0
  84. package/www/browser/chunk-OSBDR36P.js +1 -0
  85. package/www/browser/chunk-OZCK4XVV.js +1 -0
  86. package/www/browser/chunk-QJP5F735.js +1 -0
  87. package/www/browser/chunk-RGOYDY7H.js +1 -0
  88. package/www/browser/chunk-UJKK4A7Y.js +1 -0
  89. package/www/browser/chunk-WD2EKZQC.js +1 -0
  90. package/www/browser/chunk-WUA5JFDD.js +1 -0
  91. package/www/browser/chunk-XLFHB7RS.js +3 -0
  92. package/www/browser/chunk-YNW4HEJO.js +37 -0
  93. package/www/browser/chunk-ZTDLWBW5.js +1 -0
  94. package/www/browser/dark.css +1 -30433
  95. package/www/browser/default.css +1 -30149
  96. package/www/browser/index.html +3 -3
  97. package/www/browser/main-N64WJCHX.js +34 -0
  98. package/www/browser/scripts-U25HCVEI.js +6 -0
  99. package/www/browser/styles-ROAHD7MY.css +1 -0
  100. package/www/browser/add-widget-drawer.component.css.map +0 -7
  101. package/www/browser/advanced-editor.component.css.map +0 -7
  102. package/www/browser/api-client.component.css.map +0 -7
  103. package/www/browser/api-history-drawer.component.css.map +0 -7
  104. package/www/browser/app.css.map +0 -7
  105. package/www/browser/attachment-viewer.component.css.map +0 -7
  106. package/www/browser/auth-editor.component.css.map +0 -7
  107. package/www/browser/body-editor.component.css.map +0 -7
  108. package/www/browser/chunk-2YSUXBGC.js +0 -627
  109. package/www/browser/chunk-2YSUXBGC.js.map +0 -1
  110. package/www/browser/chunk-3G2GEOPV.js +0 -456
  111. package/www/browser/chunk-3G2GEOPV.js.map +0 -1
  112. package/www/browser/chunk-3L72DF3R.js +0 -1683
  113. package/www/browser/chunk-3L72DF3R.js.map +0 -1
  114. package/www/browser/chunk-3MCIETCQ.js +0 -8279
  115. package/www/browser/chunk-3MCIETCQ.js.map +0 -1
  116. package/www/browser/chunk-665WC4RU.js +0 -5383
  117. package/www/browser/chunk-665WC4RU.js.map +0 -1
  118. package/www/browser/chunk-6QMSEZPT.js +0 -10044
  119. package/www/browser/chunk-6QMSEZPT.js.map +0 -1
  120. package/www/browser/chunk-6TBQERYX.js +0 -280
  121. package/www/browser/chunk-6TBQERYX.js.map +0 -1
  122. package/www/browser/chunk-6UW4MRJZ.js +0 -43
  123. package/www/browser/chunk-6UW4MRJZ.js.map +0 -7
  124. package/www/browser/chunk-6XUMIL3W.js +0 -5495
  125. package/www/browser/chunk-6XUMIL3W.js.map +0 -1
  126. package/www/browser/chunk-724YOJI3.js +0 -903
  127. package/www/browser/chunk-724YOJI3.js.map +0 -1
  128. package/www/browser/chunk-766T7YES.js +0 -437
  129. package/www/browser/chunk-766T7YES.js.map +0 -1
  130. package/www/browser/chunk-7FC7DN65.js +0 -728
  131. package/www/browser/chunk-7FC7DN65.js.map +0 -1
  132. package/www/browser/chunk-APGQRYWX.js +0 -156
  133. package/www/browser/chunk-APGQRYWX.js.map +0 -7
  134. package/www/browser/chunk-AQHSGTHS.js +0 -1960
  135. package/www/browser/chunk-AQHSGTHS.js.map +0 -1
  136. package/www/browser/chunk-CTOEAJQK.js +0 -40
  137. package/www/browser/chunk-CTOEAJQK.js.map +0 -7
  138. package/www/browser/chunk-DEGQJKKZ.js +0 -409
  139. package/www/browser/chunk-DEGQJKKZ.js.map +0 -1
  140. package/www/browser/chunk-DIJX2663.js +0 -1166
  141. package/www/browser/chunk-DIJX2663.js.map +0 -1
  142. package/www/browser/chunk-E4XD4GLT.js +0 -427
  143. package/www/browser/chunk-E4XD4GLT.js.map +0 -1
  144. package/www/browser/chunk-EQOY6A3M.js +0 -212
  145. package/www/browser/chunk-EQOY6A3M.js.map +0 -1
  146. package/www/browser/chunk-ETTBRXVA.js +0 -2643
  147. package/www/browser/chunk-ETTBRXVA.js.map +0 -1
  148. package/www/browser/chunk-FLSUSPBD.js +0 -5569
  149. package/www/browser/chunk-FLSUSPBD.js.map +0 -1
  150. package/www/browser/chunk-FZNHBEAZ.js +0 -102
  151. package/www/browser/chunk-FZNHBEAZ.js.map +0 -1
  152. package/www/browser/chunk-GJC7CZIJ.js +0 -361
  153. package/www/browser/chunk-GJC7CZIJ.js.map +0 -7
  154. package/www/browser/chunk-GMCNMOTD.js +0 -844
  155. package/www/browser/chunk-GMCNMOTD.js.map +0 -7
  156. package/www/browser/chunk-H43HGCRW.js +0 -198
  157. package/www/browser/chunk-H43HGCRW.js.map +0 -7
  158. package/www/browser/chunk-J447GBHM.js +0 -160
  159. package/www/browser/chunk-J447GBHM.js.map +0 -1
  160. package/www/browser/chunk-JN3VOWP7.js +0 -384
  161. package/www/browser/chunk-JN3VOWP7.js.map +0 -1
  162. package/www/browser/chunk-KSHAGY2M.js +0 -399
  163. package/www/browser/chunk-KSHAGY2M.js.map +0 -7
  164. package/www/browser/chunk-KV72AKOD.js +0 -59
  165. package/www/browser/chunk-KV72AKOD.js.map +0 -7
  166. package/www/browser/chunk-LAVMY2SJ.js +0 -26
  167. package/www/browser/chunk-LAVMY2SJ.js.map +0 -7
  168. package/www/browser/chunk-LLRVGHG5.js +0 -73
  169. package/www/browser/chunk-LLRVGHG5.js.map +0 -7
  170. package/www/browser/chunk-LPME4AJ3.js +0 -196
  171. package/www/browser/chunk-LPME4AJ3.js.map +0 -1
  172. package/www/browser/chunk-LVPSURVU.js +0 -4615
  173. package/www/browser/chunk-LVPSURVU.js.map +0 -1
  174. package/www/browser/chunk-MMPO7QLO.js +0 -4146
  175. package/www/browser/chunk-MMPO7QLO.js.map +0 -7
  176. package/www/browser/chunk-O7LB6VFM.js +0 -1953
  177. package/www/browser/chunk-O7LB6VFM.js.map +0 -1
  178. package/www/browser/chunk-P5CWA4FO.js +0 -685
  179. package/www/browser/chunk-P5CWA4FO.js.map +0 -1
  180. package/www/browser/chunk-RBWIWNTL.js +0 -203
  181. package/www/browser/chunk-RBWIWNTL.js.map +0 -7
  182. package/www/browser/chunk-RUXJCM3V.js +0 -26199
  183. package/www/browser/chunk-RUXJCM3V.js.map +0 -1
  184. package/www/browser/chunk-S77VVYUZ.js +0 -168
  185. package/www/browser/chunk-S77VVYUZ.js.map +0 -1
  186. package/www/browser/chunk-SCXPYFOB.js +0 -4316
  187. package/www/browser/chunk-SCXPYFOB.js.map +0 -1
  188. package/www/browser/chunk-SS73S33S.js +0 -471
  189. package/www/browser/chunk-SS73S33S.js.map +0 -7
  190. package/www/browser/chunk-T6UAOWNP.js +0 -600
  191. package/www/browser/chunk-T6UAOWNP.js.map +0 -1
  192. package/www/browser/chunk-TEW4MY4J.js +0 -148
  193. package/www/browser/chunk-TEW4MY4J.js.map +0 -7
  194. package/www/browser/chunk-TVORF3SF.js +0 -82
  195. package/www/browser/chunk-TVORF3SF.js.map +0 -7
  196. package/www/browser/chunk-UAN42EUZ.js +0 -2147
  197. package/www/browser/chunk-UAN42EUZ.js.map +0 -1
  198. package/www/browser/chunk-ULOHDK7Y.js +0 -1
  199. package/www/browser/chunk-ULOHDK7Y.js.map +0 -7
  200. package/www/browser/chunk-UYJ3FVRV.js +0 -3978
  201. package/www/browser/chunk-UYJ3FVRV.js.map +0 -1
  202. package/www/browser/chunk-VXHZMSDM.js +0 -5509
  203. package/www/browser/chunk-VXHZMSDM.js.map +0 -1
  204. package/www/browser/chunk-VYNQPZQO.js +0 -281
  205. package/www/browser/chunk-VYNQPZQO.js.map +0 -1
  206. package/www/browser/chunk-W3J23PZI.js +0 -9213
  207. package/www/browser/chunk-W3J23PZI.js.map +0 -1
  208. package/www/browser/chunk-W5HGHCQT.js +0 -1642
  209. package/www/browser/chunk-W5HGHCQT.js.map +0 -7
  210. package/www/browser/chunk-XF5H7E4L.js +0 -4723
  211. package/www/browser/chunk-XF5H7E4L.js.map +0 -1
  212. package/www/browser/chunk-XNFNEBMY.js +0 -398
  213. package/www/browser/chunk-XNFNEBMY.js.map +0 -7
  214. package/www/browser/chunk-XQY5SPGI.js +0 -30811
  215. package/www/browser/chunk-XQY5SPGI.js.map +0 -1
  216. package/www/browser/chunk-Y7JBZHNK.js +0 -514
  217. package/www/browser/chunk-Y7JBZHNK.js.map +0 -1
  218. package/www/browser/chunk-YWHRP4X3.js +0 -406
  219. package/www/browser/chunk-YWHRP4X3.js.map +0 -1
  220. package/www/browser/chunk-Z7FJIV62.js +0 -95
  221. package/www/browser/chunk-Z7FJIV62.js.map +0 -7
  222. package/www/browser/chunk-ZBZHXS46.js +0 -1674
  223. package/www/browser/chunk-ZBZHXS46.js.map +0 -1
  224. package/www/browser/chunk-ZZA5NVAI.js +0 -735
  225. package/www/browser/chunk-ZZA5NVAI.js.map +0 -1
  226. package/www/browser/collection-modal.component.css.map +0 -7
  227. package/www/browser/collection-tree-item.component.css.map +0 -7
  228. package/www/browser/collection-tree.component.css.map +0 -7
  229. package/www/browser/config-change-bar-component.css.map +0 -7
  230. package/www/browser/config-item-component.css.map +0 -7
  231. package/www/browser/config-nav-component.css.map +0 -7
  232. package/www/browser/config-section-component.css.map +0 -7
  233. package/www/browser/create-summary-aside.component.css.map +0 -7
  234. package/www/browser/curl-actions.component.css.map +0 -7
  235. package/www/browser/dark.css.map +0 -7
  236. package/www/browser/dashboard-canvas.component.css.map +0 -7
  237. package/www/browser/dashboard.component.css.map +0 -7
  238. package/www/browser/default.css.map +0 -7
  239. package/www/browser/detail-item-card.component.css.map +0 -7
  240. package/www/browser/ellipsis-text.component.css.map +0 -7
  241. package/www/browser/env-modal.component.css.map +0 -7
  242. package/www/browser/env-picker.component.css.map +0 -7
  243. package/www/browser/feedback.component.css.map +0 -7
  244. package/www/browser/fs-explorer.component.css.map +0 -7
  245. package/www/browser/git-import-modal.component.css.map +0 -7
  246. package/www/browser/hub-v2-personal-token-modal.component.css.map +0 -7
  247. package/www/browser/issue-action-area.component.css.map +0 -7
  248. package/www/browser/issue-add-participants-dialog.component.css.map +0 -7
  249. package/www/browser/issue-assign-dialog.component.css.map +0 -7
  250. package/www/browser/issue-attachment-area.component.css.map +0 -7
  251. package/www/browser/issue-base-info-area.component.css.map +0 -7
  252. package/www/browser/issue-branches.component.css.map +0 -7
  253. package/www/browser/issue-close-dialog.component.css.map +0 -7
  254. package/www/browser/issue-collaborators-panel.component.css.map +0 -7
  255. package/www/browser/issue-comment-editor.component.css.map +0 -7
  256. package/www/browser/issue-create-branch-dialog.component.css.map +0 -7
  257. package/www/browser/issue-description-area.component.css.map +0 -7
  258. package/www/browser/issue-detail.component.css.map +0 -7
  259. package/www/browser/issue-resolve-dialog.component.css.map +0 -7
  260. package/www/browser/issue-start-own-branch-dialog.component.css.map +0 -7
  261. package/www/browser/issues-list-table.component.css.map +0 -7
  262. package/www/browser/issues.component.css.map +0 -7
  263. package/www/browser/kill-port-widget.component.css.map +0 -7
  264. package/www/browser/kv-table.component.css.map +0 -7
  265. package/www/browser/layout-footer.component.css.map +0 -7
  266. package/www/browser/layout-header.component.css.map +0 -7
  267. package/www/browser/layout-menu.component.css.map +0 -7
  268. package/www/browser/layout-project-nav.component.css.map +0 -7
  269. package/www/browser/layout-sidebar.component.css.map +0 -7
  270. package/www/browser/layout.component.css.map +0 -7
  271. package/www/browser/less-viewport-component.css.map +0 -7
  272. package/www/browser/main.js +0 -1872
  273. package/www/browser/main.js.map +0 -1
  274. package/www/browser/markdown-viewer.component.css.map +0 -7
  275. package/www/browser/news-feed-widget.component.css.map +0 -7
  276. package/www/browser/ng-devtool.component.css.map +0 -7
  277. package/www/browser/nginx-config-editor.component.css.map +0 -7
  278. package/www/browser/nginx-log-viewer.component.css.map +0 -7
  279. package/www/browser/nginx-secondary-logs-tab.component.css.map +0 -7
  280. package/www/browser/nginx-secondary-perf-tab.component.css.map +0 -7
  281. package/www/browser/nginx-secondary-settings-tab.component.css.map +0 -7
  282. package/www/browser/nginx-secondary-ssl-tab.component.css.map +0 -7
  283. package/www/browser/nginx-secondary-test-tab.component.css.map +0 -7
  284. package/www/browser/nginx-secondary-traffic-tab.component.css.map +0 -7
  285. package/www/browser/nginx-secondary-upstream-tab.component.css.map +0 -7
  286. package/www/browser/nginx-section-card.component.css.map +0 -7
  287. package/www/browser/nginx-server-drawer.component.css.map +0 -7
  288. package/www/browser/nginx-server-list.component.css.map +0 -7
  289. package/www/browser/nginx-stat-card.component.css.map +0 -7
  290. package/www/browser/nginx.component.css.map +0 -7
  291. package/www/browser/page-layout.component.css.map +0 -7
  292. package/www/browser/pick-workspace-modal.component.css.map +0 -7
  293. package/www/browser/polyfills.js +0 -26584
  294. package/www/browser/polyfills.js.map +0 -7
  295. package/www/browser/project-conf.component.css.map +0 -7
  296. package/www/browser/project-create-modal.component.css.map +0 -7
  297. package/www/browser/project-create.component.css.map +0 -7
  298. package/www/browser/project-deps.component.css.map +0 -7
  299. package/www/browser/project-edit-modal.component.css.map +0 -7
  300. package/www/browser/project-import.component.css.map +0 -7
  301. package/www/browser/project-item-popover.component.css.map +0 -7
  302. package/www/browser/project-item.component.css.map +0 -7
  303. package/www/browser/project-list.component.css.map +0 -7
  304. package/www/browser/projects.component.css.map +0 -7
  305. package/www/browser/quick-task-widget.component.css.map +0 -7
  306. package/www/browser/rd-action-area.component.css.map +0 -7
  307. package/www/browser/rd-advance-stage-dialog.component.css.map +0 -7
  308. package/www/browser/rd-block-dialog.component.css.map +0 -7
  309. package/www/browser/rd-create-dialog.component.css.map +0 -7
  310. package/www/browser/rd-detail.component.css.map +0 -7
  311. package/www/browser/rd-item-card.component.css.map +0 -7
  312. package/www/browser/rd-list-board.component.css.map +0 -7
  313. package/www/browser/rd-list-table.component.css.map +0 -7
  314. package/www/browser/rd.component.css.map +0 -7
  315. package/www/browser/request-collections.component.css.map +0 -7
  316. package/www/browser/request-editor.component.css.map +0 -7
  317. package/www/browser/request-list-item.component.css.map +0 -7
  318. package/www/browser/request-list.component.css.map +0 -7
  319. package/www/browser/request-tabs-bar.component.css.map +0 -7
  320. package/www/browser/request-tabs.component.css.map +0 -7
  321. package/www/browser/request-urlbar.component.css.map +0 -7
  322. package/www/browser/response-viewer.component.css.map +0 -7
  323. package/www/browser/scripts.js +0 -245
  324. package/www/browser/scripts.js.map +0 -7
  325. package/www/browser/setting.component.css.map +0 -7
  326. package/www/browser/sprite-conf-modal.component.css.map +0 -7
  327. package/www/browser/sprite-icons-panel-component.css.map +0 -7
  328. package/www/browser/sprite-images-panel-component.css.map +0 -7
  329. package/www/browser/sprite-result-tabs.component.css.map +0 -7
  330. package/www/browser/sprite-viewport-component.css.map +0 -7
  331. package/www/browser/sprite.component.css.map +0 -7
  332. package/www/browser/step-advance.component.css.map +0 -7
  333. package/www/browser/step-basic.component.css.map +0 -7
  334. package/www/browser/step-config.component.css.map +0 -7
  335. package/www/browser/step-features.component.css.map +0 -7
  336. package/www/browser/step-preset.component.css.map +0 -7
  337. package/www/browser/step-summary-aside.component.css.map +0 -7
  338. package/www/browser/styles.css +0 -258
  339. package/www/browser/styles.css.map +0 -7
  340. package/www/browser/system-log.component.css.map +0 -7
  341. package/www/browser/task-actions.component.css.map +0 -7
  342. package/www/browser/task-console.component.css.map +0 -7
  343. package/www/browser/task-header.component.css.map +0 -7
  344. package/www/browser/task-list.component.css.map +0 -7
  345. package/www/browser/tasks.component.css.map +0 -7
  346. package/www/browser/terminal-view.component.css.map +0 -7
  347. package/www/browser/welcome-widget.component.css.map +0 -7
  348. package/www/browser/widget-base.component.css.map +0 -7
  349. package/www/browser/widget-host.component.css.map +0 -7
@@ -0,0 +1,4 @@
1
+ var Hh=Object.create;var Ai=Object.defineProperty,Bh=Object.defineProperties,$h=Object.getOwnPropertyDescriptor,Uh=Object.getOwnPropertyDescriptors,qh=Object.getOwnPropertyNames,Ar=Object.getOwnPropertySymbols,Wh=Object.getPrototypeOf,Ri=Object.prototype.hasOwnProperty,ul=Object.prototype.propertyIsEnumerable;var Si=(e,t,n)=>t in e?Ai(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,W=(e,t)=>{for(var n in t||={})Ri.call(t,n)&&Si(e,n,t[n]);if(Ar)for(var n of Ar(t))ul.call(t,n)&&Si(e,n,t[n]);return e},G=(e,t)=>Bh(e,Uh(t));var BC=(e,t)=>{var n={};for(var r in e)Ri.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ar)for(var r of Ar(e))t.indexOf(r)<0&&ul.call(e,r)&&(n[r]=e[r]);return n};var $C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Gh=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of qh(t))!Ri.call(e,o)&&o!==n&&Ai(e,o,{get:()=>t[o],enumerable:!(r=$h(t,o))||r.enumerable});return e};var UC=(e,t,n)=>(n=e!=null?Hh(Wh(e)):{},Gh(t||!e||!e.__esModule?Ai(n,"default",{value:e,enumerable:!0}):n,e));var qC=(e,t,n)=>Si(e,typeof t!="symbol"?t+"":t,n);function Ke(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 ge=Ke(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function E(e){return typeof e=="function"}var Rr=Ke(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 yt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(E(r))try{r()}catch(i){t=i instanceof Rr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{dl(i)}catch(s){t=t??[],s instanceof Rr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Rr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)dl(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&yt(n,t)}remove(t){let{_finalizers:n}=this;n&&yt(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var Oi=L.EMPTY;function Or(e){return e instanceof L||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function dl(e){E(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var zt={setTimeout(e,t,...n){let{delegate:r}=zt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=zt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function kr(e){zt.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function He(){}var fl=ki("C",void 0,void 0);function pl(e){return ki("E",void 0,e)}function hl(e){return ki("N",e,void 0)}function ki(e,t,n){return{kind:e,value:t,error:n}}var vt=null;function Qt(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!vt;if(t&&(vt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=vt;if(vt=null,n)throw r}}else e()}function ml(e){ye.useDeprecatedSynchronousErrorHandling&&vt&&(vt.errorThrown=!0,vt.error=e)}var It=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Or(t)&&t.add(this)):this.destination=Zh}static create(t,n,r){return new ve(t,n,r)}next(t){this.isStopped?Li(hl(t),this):this._next(t)}error(t){this.isStopped?Li(pl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Li(fl,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},zh=Function.prototype.bind;function Pi(e,t){return zh.call(e,t)}var Fi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Pr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Pr(r)}else Pr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Pr(n)}}},ve=class extends It{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Pi(t.next,i),error:t.error&&Pi(t.error,i),complete:t.complete&&Pi(t.complete,i)}):o=t}this.destination=new Fi(o)}};function Pr(e){ye.useDeprecatedSynchronousErrorHandling?ml(e):kr(e)}function Qh(e){throw e}function Li(e,t){let{onStoppedNotification:n}=ye;n&&zt.setTimeout(()=>n(e,t))}var Zh={closed:!0,next:He,error:Qh,complete:He};function Yh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new ve({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new ge)}});e.subscribe(i)})}var Zt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Q(e){return e}function Kh(...e){return ji(e)}function ji(e){return e.length===0?Q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Xh(n)?n:new ve(n,r,o);return Qt(()=>{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=gl(r),new r((o,i)=>{let s=new ve({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)}[Zt](){return this}pipe(...n){return ji(n)(this)}toPromise(n){return n=gl(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 gl(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function Jh(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function Xh(e){return e&&e instanceof It||Jh(e)&&Or(e)}function Vi(e){return E(e?.lift)}function v(e){return t=>{if(Vi(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 y(e,t,n,r,o){return new Hi(e,t,n,r,o)}var Hi=class extends It{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 Bi(){return v((e,t)=>{let n=null;e._refCount++;let r=y(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 $i=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Vi(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 L;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Bi()(this)}};var Yt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Yt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Yt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Yt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var yl=Ke(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Lr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new yl}next(n){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Qt(()=>{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(){Qt(()=>{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?Oi:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,yt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new Lr(t,n),e})(),Lr=class extends se{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:Oi}};var Sn=class extends se{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 An={now(){return(An.delegate||Date).now()},delegate:void 0};var Rn=class extends se{constructor(t=1/0,n=1/0,r=An){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Fr=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var On={setInterval(e,t,...n){let{delegate:r}=On;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=On;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Je=class extends Fr{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 On.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&&On.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,yt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var em=1,Ui,qi={};function vl(e){return e in qi?(delete qi[e],!0):!1}var Il={setImmediate(e){let t=em++;return qi[t]=!0,Ui||(Ui=Promise.resolve()),Ui.then(()=>vl(t)&&e()),t},clearImmediate(e){vl(e)}};var{setImmediate:tm,clearImmediate:nm}=Il,kn={setImmediate(...e){let{delegate:t}=kn;return(t?.setImmediate||tm)(...e)},clearImmediate(e){let{delegate:t}=kn;return(t?.clearImmediate||nm)(e)},delegate:void 0};var jr=class extends Je{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=kn.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&&(kn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Kt=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)}};Kt.now=An.now;var Xe=class extends Kt{constructor(t,n=Kt.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 Vr=class extends Xe{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 rm=new Vr(jr);var re=new Xe(Je),El=re;var Hr=class extends Je{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=Yt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Yt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Br=class extends Xe{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var om=new Br(Hr);var Et=new N(e=>e.complete());function $r(e){return e&&E(e.schedule)}function Wi(e){return e[e.length-1]}function Jt(e){return E(Wi(e))?e.pop():void 0}function _e(e){return $r(Wi(e))?e.pop():void 0}function Dl(e,t){return typeof Wi(e)=="number"?e.pop():t}function Kb(e,t,n,r,o,i){function s(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}for(var a=r.kind,c=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?r.static?e:e.prototype:null,u=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d,p=!1,f=n.length-1;f>=0;f--){var h={};for(var g in r)h[g]=g==="access"?{}:r[g];for(var g in r.access)h.access[g]=r.access[g];h.addInitializer=function(w){if(p)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(w||null))};var M=(0,n[f])(a==="accessor"?{get:u.get,set:u.set}:u[c],h);if(a==="accessor"){if(M===void 0)continue;if(M===null||typeof M!="object")throw new TypeError("Object expected");(d=s(M.get))&&(u.get=d),(d=s(M.set))&&(u.set=d),(d=s(M.init))&&o.unshift(d)}else(d=s(M))&&(a==="field"?o.unshift(d):u[c]=d)}l&&Object.defineProperty(l,r.name,u),p=!0}function Jb(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function wl(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Cl(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dt(e){return this instanceof Dt?(this.v=e,this):new Dt(e)}function bl(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(M,w){i.push([f,g,M,w])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof Dt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Tl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Cl=="function"?Cl(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Xt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Ur(e){return E(e?.then)}function qr(e){return E(e[Zt])}function Wr(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function Gr(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 im(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zr=im();function Qr(e){return E(e?.[zr])}function Zr(e){return bl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Dt(n.read());if(o)return yield Dt(void 0);yield yield Dt(r)}}finally{n.releaseLock()}})}function Yr(e){return E(e?.getReader)}function x(e){if(e instanceof N)return e;if(e!=null){if(qr(e))return sm(e);if(Xt(e))return am(e);if(Ur(e))return cm(e);if(Wr(e))return _l(e);if(Qr(e))return lm(e);if(Yr(e))return um(e)}throw Gr(e)}function sm(e){return new N(t=>{let n=e[Zt]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function am(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function cm(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,kr)})}function lm(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _l(e){return new N(t=>{dm(e,t).catch(n=>t.error(n))})}function um(e){return _l(Zr(e))}function dm(e,t){var n,r,o,i;return wl(this,void 0,void 0,function*(){try{for(n=Tl(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Z(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 Kr(e,t=0){return v((n,r)=>{n.subscribe(y(r,o=>Z(r,e,()=>r.next(o),t),()=>Z(r,e,()=>r.complete(),t),o=>Z(r,e,()=>r.error(o),t)))})}function Jr(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ml(e,t){return x(e).pipe(Jr(t),Kr(t))}function Nl(e,t){return x(e).pipe(Jr(t),Kr(t))}function xl(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Sl(e,t){return new N(n=>{let r;return Z(n,t,()=>{r=e[zr](),Z(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>E(r?.return)&&r.return()})}function Xr(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{Z(n,t,()=>{let r=e[Symbol.asyncIterator]();Z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Al(e,t){return Xr(Zr(e),t)}function Rl(e,t){if(e!=null){if(qr(e))return Ml(e,t);if(Xt(e))return xl(e,t);if(Ur(e))return Nl(e,t);if(Wr(e))return Xr(e,t);if(Qr(e))return Sl(e,t);if(Yr(e))return Al(e,t)}throw Gr(e)}function Me(e,t){return t?Rl(e,t):x(e)}function fm(...e){let t=_e(e);return Me(e,t)}function pm(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function hm(e){return!!e&&(e instanceof N||E(e.lift)&&E(e.subscribe))}function mm(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 ge)}})})}function eo(e){return e instanceof Date&&!isNaN(e)}var gm=Ke(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function ym(e,t){let{first:n,each:r,with:o=vm,scheduler:i=t??re,meta:s=null}=eo(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return v((a,c)=>{let l,u,d=null,p=0,f=h=>{u=Z(c,i,()=>{try{l.unsubscribe(),x(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(g){c.error(g)}},h)};l=a.subscribe(y(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function vm(e){throw new gm(e)}function Ne(e,t){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Im}=Array;function Em(e,t){return Im(t)?e(...t):e(t)}function en(e){return Ne(t=>Em(e,t))}var{isArray:Dm}=Array,{getPrototypeOf:Cm,prototype:wm,keys:bm}=Object;function to(e){if(e.length===1){let t=e[0];if(Dm(t))return{args:t,keys:null};if(Tm(t)){let n=bm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Tm(e){return e&&typeof e=="object"&&Cm(e)===wm}function no(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function _m(...e){let t=_e(e),n=Jt(e),{args:r,keys:o}=to(e);if(r.length===0)return Me([],t);let i=new N(Mm(r,t,o?s=>no(o,s):Q));return n?i.pipe(en(n)):i}function Mm(e,t,n=Q){return r=>{Ol(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ol(t,()=>{let l=Me(e[c],t),u=!1;l.subscribe(y(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ol(e,t,n){e?Z(n,e,t):t()}function kl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let M=!1;x(n(g,u++)).subscribe(y(t,w=>{o?.(w),i?f(w):t.next(w)},()=>{M=!0},void 0,()=>{if(M)try{for(l--;c.length&&l<r;){let w=c.shift();s?Z(t,s,()=>h(w)):h(w)}p()}catch(w){t.error(w)}}))};return e.subscribe(y(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ie(e,t,n=1/0){return E(t)?Ie((r,o)=>Ne((i,s)=>t(r,i,o,s))(x(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>kl(r,o,e,n)))}function Pn(e=1/0){return Ie(Q,e)}function Pl(){return Pn(1)}function tn(...e){return Pl()(Me(e,_e(e)))}function Nm(e){return new N(t=>{x(e()).subscribe(t)})}function xm(...e){let t=Jt(e),{args:n,keys:r}=to(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;x(n[u]).subscribe(y(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?no(r,a):a),i.complete())}))}});return t?o.pipe(en(t)):o}var Sm=["addListener","removeListener"],Am=["addEventListener","removeEventListener"],Rm=["on","off"];function Gi(e,t,n,r){if(E(n)&&(r=n,n=void 0),r)return Gi(e,t,n).pipe(en(r));let[o,i]=Pm(e)?Am.map(s=>a=>e[s](t,a,n)):Om(e)?Sm.map(Ll(e,t)):km(e)?Rm.map(Ll(e,t)):[];if(!o&&Xt(e))return Ie(s=>Gi(s,t,n))(x(e));if(!o)throw new TypeError("Invalid event target");return new N(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Ll(e,t){return n=>r=>e[n](t,r)}function Om(e){return E(e.addListener)&&E(e.removeListener)}function km(e){return E(e.on)&&E(e.off)}function Pm(e){return E(e.addEventListener)&&E(e.removeEventListener)}function Be(e=0,t,n=El){let r=-1;return t!=null&&($r(t)?n=t:r=t),new N(o=>{let i=eo(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 Lm(e=0,t=re){return e<0&&(e=0),Be(e,e,t)}function Fm(...e){let t=_e(e),n=Dl(e,1/0),r=e;return r.length?r.length===1?x(r[0]):Pn(n)(Me(r,t)):Et}function et(e,t){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Fl(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(y(n,l=>{r=!0,o=l,i||x(e(l)).subscribe(i=y(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function jm(e,t=re){return Fl(()=>Be(e,t))}function zi(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=x(e(s,zi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function jl(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(y(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Vm(e,t){return E(t)?Ie(e,t,1):Ie(e,1)}function Vl(e,t=re){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(y(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Ln(e){return v((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function nn(e){return e<=0?()=>Et:v((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Hl(){return v((e,t)=>{e.subscribe(y(t,He))})}function Qi(e){return Ne(()=>e)}function Zi(e,t){return t?n=>tn(t.pipe(nn(1),Hl()),n.pipe(Zi(e))):Ie((n,r)=>x(e(n,r)).pipe(nn(1),Qi(n)))}function Hm(e,t=re){let n=Be(e,t);return Zi(()=>n)}function Bl(e,t=Q){return e=e??Bm,v((n,r)=>{let o,i=!0;n.subscribe(y(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Bm(e,t){return e===t}function ro(e=$m){return v((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function $m(){return new ge}function $l(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ul(e,t){let n=arguments.length>=2;return r=>r.pipe(e?et((o,i)=>e(o,i,r)):Q,nn(1),n?Ln(t):ro(()=>new ge))}function Yi(e){return e<=0?()=>Et:v((t,n)=>{let r=[];t.subscribe(y(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 Um(e,t){let n=arguments.length>=2;return r=>r.pipe(e?et((o,i)=>e(o,i,r)):Q,Yi(1),n?Ln(t):ro(()=>new ge))}function qm(){return v((e,t)=>{let n,r=!1;e.subscribe(y(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Wm(e,t){return v(jl(e,t,arguments.length>=2,!0))}function Ji(e={}){let{connector:t=()=>new se,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return v((g,M)=>{l++,!d&&!u&&p();let w=c=c??t();M.add(()=>{l--,l===0&&!d&&!u&&(a=Ki(h,o))}),w.subscribe(M),!s&&l>0&&(s=new ve({next:Te=>w.next(Te),error:Te=>{d=!0,p(),a=Ki(f,n,Te),w.error(Te)},complete:()=>{u=!0,p(),a=Ki(f,r),w.complete()}}),x(g).subscribe(s))})(i)}}function Ki(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ve({next:()=>{r.unsubscribe(),e()}});return x(t(...n)).subscribe(r)}function Gm(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,Ji({connector:()=>new Rn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function zm(e){return et((t,n)=>e<=n)}function Qm(...e){let t=_e(e);return v((n,r)=>{(t?tn(e,n,t):tn(e,n)).subscribe(r)})}function ql(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,c=>{o?.unsubscribe();let l=0,u=i++;x(e(c,u)).subscribe(o=y(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Wl(e){return v((t,n)=>{x(e).subscribe(y(n,()=>n.complete(),He)),!n.closed&&t.subscribe(n)})}function Zm(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(y(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Gl(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Q}function zl(e,t){return v((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,i&&(f(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},p=h=>c=x(e(h)).subscribe(y(r,u,d)),f=()=>{if(s){s=!1;let h=a;a=null,r.next(h),!l&&p(h)}};n.subscribe(y(r,h=>{s=!0,a=h,!(c&&!c.closed)&&(o?f():p(h))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function Ym(e,t=re,n){let r=Be(e,t);return zl(()=>r,n)}function Km(...e){let t=Jt(e);return v((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)x(e[c]).subscribe(y(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(Q))&&(s=null))},He));n.subscribe(y(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}var Xi;function oo(){return Xi}function xe(e){let t=Xi;return Xi=e,t}var Ql=Symbol("NotFound");function rn(e){return e===Ql||e?.name==="\u0275NotFound"}var Y=null,io=!1,es=1,Jm=null,V=Symbol("SIGNAL");function D(e){let t=Y;return Y=e,t}function so(){return Y}var nt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function rt(e){if(io)throw new Error("");if(Y===null)return;Y.consumerOnSignalRead(e);let t=Y.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Y.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Y.producers,n!==void 0&&n.producer===e)){Y.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Y&&(!r||eg(o,Y)))return;let i=an(Y),s={producer:e,consumer:Y,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Y.producersTail=s,t!==void 0?t.nextProducer=s:Y.producers=s,i&&Jl(e,s)}function Zl(){es++}function wt(e){if(!(an(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===es)){if(!e.producerMustRecompute(e)&&!sn(e)){on(e);return}e.producerRecomputeValue(e),on(e)}}function ts(e){if(e.consumers===void 0)return;let t=io;io=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Xm(r)}}finally{io=t}}function ns(){return Y?.consumerAllowSignalWrites!==!1}function Xm(e){e.dirty=!0,ts(e),e.consumerMarkedDirty?.(e)}function on(e){e.dirty=!1,e.lastCleanEpoch=es}function ot(e){return e&&Yl(e),D(e)}function Yl(e){e.producersTail=void 0,e.recomputing=!0}function bt(e,t){D(t),e&&Kl(e)}function Kl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(an(e))do n=rs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function sn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(wt(n),r!==n.version))return!0}return!1}function Tt(e){if(an(e)){let t=e.producers;for(;t!==void 0;)t=rs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Jl(e,t){let n=e.consumersTail,r=an(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Jl(o.producer,o)}function rs(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!an(t)){let i=t.producers;for(;i!==void 0;)i=rs(i)}return n}function an(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Fn(e){Jm?.(e)}function eg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function jn(e,t){return Object.is(e,t)}function Vn(e,t){let n=Object.create(tg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(wt(n),rt(n),n.value===$e)throw n.error;return n.value};return r[V]=n,Fn(n),r}var tt=Symbol("UNSET"),Ct=Symbol("COMPUTING"),$e=Symbol("ERRORED"),tg=G(W({},nt),{value:tt,dirty:!0,error:null,equal:jn,kind:"computed",producerMustRecompute(e){return e.value===tt||e.value===Ct},producerRecomputeValue(e){if(e.value===Ct)throw new Error("");let t=e.value;e.value=Ct;let n=ot(e),r,o=!1;try{r=e.computation(),D(null),o=t!==tt&&t!==$e&&r!==$e&&e.equal(t,r)}catch(i){r=$e,e.error=i}finally{bt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ng(){throw new Error}var Xl=ng;function eu(e){Xl(e)}function os(e){Xl=e}var rg=null;function is(e,t){let n=Object.create(co);n.value=e,t!==void 0&&(n.equal=t);let r=()=>tu(n);return r[V]=n,Fn(n),[r,s=>it(n,s),s=>ao(n,s)]}function tu(e){return rt(e),e.value}function it(e,t){ns()||eu(e),e.equal(e.value,t)||(e.value=t,og(e))}function ao(e,t){ns()||eu(e),it(e,t(e.value))}var co=G(W({},nt),{equal:jn,value:void 0,kind:"signal"});function og(e){e.version++,Zl(),ts(e),rg?.(e)}function ss(e,t,n){let r=Object.create(ig);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(wt(r),rt(r),r.value===$e)throw r.error;return r.value};return i[V]=r,Fn(r),i}function nu(e,t){wt(e),it(e,t),on(e)}function ru(e,t){wt(e),ao(e,t),on(e)}var ig=G(W({},nt),{value:tt,dirty:!0,error:null,equal:jn,kind:"linkedSignal",producerMustRecompute(e){return e.value===tt||e.value===Ct},producerRecomputeValue(e){if(e.value===Ct)throw new Error("");let t=e.value;e.value=Ct;let n=ot(e),r;try{let o=e.source(),i=t===tt||t===$e?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=$e,e.error=o}finally{bt(e,n)}if(t!==tt&&r!==$e&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ou(e){let t=D(null);try{return e()}finally{D(t)}}var iu=G(W({},nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function su(e){if(e.dirty=!1,e.version>0&&!sn(e))return;e.version++;let t=ot(e);try{e.cleanup(),e.fn()}finally{bt(e,t)}}var po="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",T=class extends Error{code;constructor(t,n){super(qn(t,n)),this.code=t}};function sg(e){return`NG0${Math.abs(e)}`}function qn(e,t){return`${sg(e)}${t?": "+t:""}`}var Re=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("")}function lu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(qe).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function ho(e,t){return e?t?`${e} ${t}`:e:t||""}var ag=S({__forward_ref__:S});function mo(e){return e.__forward_ref__=mo,e.toString=function(){return qe(this())},e}function $(e){return vs(e)?e():e}function vs(e){return typeof e=="function"&&e.hasOwnProperty(ag)&&e.__forward_ref__===mo}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function uu(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wn(e){return lg(e,go)}function cg(e){return Wn(e)!==null}function lg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function ug(e){let t=e?.[go]??null;return t||null}function cs(e){return e&&e.hasOwnProperty(uo)?e[uo]:null}var go=S({\u0275prov:S}),uo=S({\u0275inj:S}),A=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Is(e){return e&&!!e.\u0275providers}var Es=S({\u0275cmp:S}),Ds=S({\u0275dir:S}),Cs=S({\u0275pipe:S}),ws=S({\u0275mod:S}),Bn=S({\u0275fac:S}),St=S({__NG_ELEMENT_ID__:S}),au=S({__NG_ENV_ID__:S});function le(e){return typeof e=="string"?e:e==null?"":String(e)}function du(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():le(e)}var fu=S({ngErrorCode:S}),dg=S({ngErrorMessage:S}),fg=S({ngTokenPath:S});function bs(e,t){return pu("",-200,t)}function yo(e,t){throw new T(-201,!1)}function pu(e,t,n){let r=new T(t,e);return r[fu]=t,r[dg]=e,n&&(r[fg]=n),r}function pg(e){return e[fu]}var ls;function hu(){return ls}function X(e){let t=ls;return ls=e,t}function Ts(e,t,n){let r=Wn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;yo(e,"Injector")}var hg={},_t=hg,us="__NG_DI_FLAG__",ds=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Mt(n)||0;try{return this.injector.get(t,r&8?null:_t,r)}catch(o){if(rn(o))return o;throw o}}};function mg(e,t=0){let n=oo();if(n===void 0)throw new T(-203,!1);if(n===null)return Ts(e,void 0,t);{let r=gg(t),o=n.retrieve(e,r);if(rn(o)){if(r.optional)return null;throw o}return o}}function Se(e,t=0){return(hu()||mg)($(e),t)}function C(e,t){return Se(e,Mt(t))}function Mt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function gg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function fs(e){let t=[];for(let n=0;n<e.length;n++){let r=$(e[n]);if(Array.isArray(r)){if(r.length===0)throw new T(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=yg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Se(o,i))}else t.push(Se(r))}return t}function _s(e,t){return e[us]=t,e.prototype[us]=t,e}function yg(e){return e[us]}function st(e,t){let n=e.hasOwnProperty(Bn);return n?e[Bn]:null}function mu(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function gu(e){return e.flat(Number.POSITIVE_INFINITY)}function vo(e,t){e.forEach(n=>Array.isArray(n)?vo(n,t):t(n))}function Ms(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Gn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function vu(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function zn(e,t,n){let r=ln(e,t);return r>=0?e[r|1]=n:(r=~r,vu(e,r,t,n)),r}function Io(e,t){let n=ln(e,t);if(n>=0)return e[n|1]}function ln(e,t){return vg(e,t,1)}function vg(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 De={},K=[],At=new A(""),Ns=new A("",-1),xs=new A(""),$n=class{get(t,n=_t){if(n===_t){let o=pu("",-201);throw o.name="\u0275NotFound",o}return n}};function Ss(e){return e[ws]||null}function Oe(e){return e[Es]||null}function Eo(e){return e[Ds]||null}function Iu(e){return e[Cs]||null}function Do(e){return{\u0275providers:e}}function Eu(...e){return{\u0275providers:As(!0,e),\u0275fromNgModule:!0}}function As(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return vo(t,s=>{let a=s;fo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Du(o,i),n}function Du(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Rs(o,i=>{t(i,r)})}}function fo(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=cs(e),s=!i&&Oe(e);if(!i&&!s){let c=e.ngModule;if(i=cs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)fo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{vo(i.imports,u=>{fo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Du(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:xs,useValue:o,multi:!0},o),t({provide:At,useValue:()=>Se(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Rs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Rs(e,t){for(let n of e)Is(n)&&(n=n.\u0275providers),Array.isArray(n)?Rs(n,t):t(n)}var Ig=S({provide:String,useValue:S});function Cu(e){return e!==null&&typeof e=="object"&&Ig in e}function Eg(e){return!!(e&&e.useExisting)}function Dg(e){return!!(e&&e.useFactory)}function Nt(e){return typeof e=="function"}function wu(e){return!!e.useClass}var Os=new A(""),lo={},cu={},as;function un(){return as===void 0&&(as=new $n),as}var ae=class{},xt=class extends ae{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,hs(t,s=>this.processProvider(s)),this.records.set(Ns,cn(void 0,this)),o.has("environment")&&this.records.set(ae,cn(void 0,this));let i=this.records.get(Os);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(xs,K,{self:!0}))}retrieve(t,n){let r=Mt(n)||0;try{return this.get(t,_t,r)}catch(o){if(rn(o))return o;throw o}}destroy(){Hn(this),this._destroyed=!0;let t=D(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(),D(t)}}onDestroy(t){return Hn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Hn(this);let n=xe(this),r=X(void 0),o;try{return t()}finally{xe(n),X(r)}}get(t,n=_t,r){if(Hn(this),t.hasOwnProperty(au))return t[au](this);let o=Mt(r),i,s=xe(this),a=X(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=_g(t)&&Wn(t);u&&this.injectableDefInScope(u)?l=cn(ps(t),lo):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?un():this.parent;return n=o&8&&n===_t?null:n,c.get(t,n)}catch(c){let l=pg(c);throw l===-200||l===-201?new T(l,null):c}finally{X(a),xe(s)}}resolveInjectorInitializers(){let t=D(null),n=xe(this),r=X(void 0),o;try{let i=this.get(At,K,{self:!0});for(let s of i)s()}finally{xe(n),X(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(qe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=$(t);let n=Nt(t)?t:$(t&&t.provide),r=wg(t);if(!Nt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=cn(void 0,lo,!0),o.factory=()=>fs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=D(null);try{if(n.value===cu)throw bs(qe(t));return n.value===lo&&(n.value=cu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Tg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ps(e){let t=Wn(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof A)throw new T(204,!1);if(e instanceof Function)return Cg(e);throw new T(204,!1)}function Cg(e){if(e.length>0)throw new T(204,!1);let n=ug(e);return n!==null?()=>n.factory(e):()=>new e}function wg(e){if(Cu(e))return cn(void 0,e.useValue);{let t=ks(e);return cn(t,lo)}}function ks(e,t,n){let r;if(Nt(e)){let o=$(e);return st(o)||ps(o)}else if(Cu(e))r=()=>$(e.useValue);else if(Dg(e))r=()=>e.useFactory(...fs(e.deps||[]));else if(Eg(e))r=(o,i)=>Se($(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=$(e&&(e.useClass||e.provide));if(bg(e))r=()=>new o(...fs(e.deps));else return st(o)||ps(o)}return r}function Hn(e){if(e.destroyed)throw new T(205,!1)}function cn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function bg(e){return!!e.deps}function Tg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function _g(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function hs(e,t){for(let n of e)Array.isArray(n)?hs(n,t):n&&Is(n)?hs(n.\u0275providers,t):t(n)}function Co(e,t){let n;e instanceof xt?(Hn(e),n=e):n=new ds(e);let r,o=xe(n),i=X(void 0);try{return t()}finally{xe(o),X(i)}}function bu(){return hu()!==void 0||oo()!=null}var ue=0,I=1,b=2,U=3,de=4,ee=5,Rt=6,dn=7,F=8,We=9,ke=10,O=11,fn=12,Ps=13,Ot=14,J=15,ct=16,kt=17,Pe=18,Qn=19,Ls=20,Ue=21,wo=22,Ge=23,oe=24,Pt=25,Lt=26,P=27,Fs=1,js=6,lt=7,Zn=8,Ft=9,j=10;function Le(e){return Array.isArray(e)&&typeof e[Fs]=="object"}function Ce(e){return Array.isArray(e)&&e[Fs]===!0}function Vs(e){return(e.flags&4)!==0}function ut(e){return e.componentOffset>-1}function pn(e){return(e.flags&1)===1}function fe(e){return!!e.template}function hn(e){return(e[b]&512)!==0}function jt(e){return(e[b]&256)===256}var Hs="svg",Tu="math";function pe(e){for(;Array.isArray(e);)e=e[ue];return e}function Bs(e){for(;Array.isArray(e);){if(typeof e[Fs]=="object")return e;e=e[ue]}return null}function $s(e,t){return pe(t[e])}function we(e,t){return pe(t[e.index])}function Yn(e,t){return e.data[t]}function Kn(e,t){return e[t]}function Jn(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function he(e,t){let n=t[e];return Le(n)?n:n[ue]}function _u(e){return(e[b]&4)===4}function bo(e){return(e[b]&128)===128}function Mu(e){return Ce(e[U])}function ie(e,t){return t==null?null:e[t]}function Us(e){e[kt]=0}function qs(e){e[b]&1024||(e[b]|=1024,bo(e)&&dt(e))}function Nu(e,t){for(;e>0;)t=t[Ot],e--;return t}function Xn(e){return!!(e[b]&9216||e[oe]?.dirty)}function To(e){e[ke].changeDetectionScheduler?.notify(8),e[b]&64&&(e[b]|=1024),Xn(e)&&dt(e)}function dt(e){e[ke].changeDetectionScheduler?.notify(0);let t=at(e);for(;t!==null&&!(t[b]&8192||(t[b]|=8192,!bo(t)));)t=at(t)}function Ws(e,t){if(jt(e))throw new T(911,!1);e[Ue]===null&&(e[Ue]=[]),e[Ue].push(t)}function xu(e,t){if(e[Ue]===null)return;let n=e[Ue].indexOf(t);n!==-1&&e[Ue].splice(n,1)}function at(e){let t=e[U];return Ce(t)?t[U]:t}function Gs(e){return e[dn]??=[]}function zs(e){return e.cleanup??=[]}function Su(e,t,n,r){let o=Gs(t);o.push(n),e.firstCreatePass&&zs(e).push(r,o.length-1)}var _={lFrame:Bu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ms=!1;function Au(){return _.lFrame.elementDepthCount}function Ru(){_.lFrame.elementDepthCount++}function Qs(){_.lFrame.elementDepthCount--}function _o(){return _.bindingsEnabled}function Zs(){return _.skipHydrationRootTNode!==null}function Ys(e){return _.skipHydrationRootTNode===e}function Ks(){_.skipHydrationRootTNode=null}function m(){return _.lFrame.lView}function R(){return _.lFrame.tView}function Ou(e){return _.lFrame.contextLView=e,e[F]}function ku(e){return _.lFrame.contextLView=null,e}function H(){let e=Js();for(;e!==null&&e.type===64;)e=e.parent;return e}function Js(){return _.lFrame.currentTNode}function Pu(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Vt(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Xs(){return _.lFrame.isParent}function ea(){_.lFrame.isParent=!1}function ta(){return _.lFrame.contextLView}function na(){return ms}function mn(e){let t=ms;return ms=e,t}function Ht(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ra(){return _.lFrame.bindingIndex}function Lu(e){return _.lFrame.bindingIndex=e}function Fe(){return _.lFrame.bindingIndex++}function er(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Fu(){return _.lFrame.inI18n}function ju(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Mo(t)}function Vu(){return _.lFrame.currentDirectiveIndex}function Mo(e){_.lFrame.currentDirectiveIndex=e}function No(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function xo(){return _.lFrame.currentQueryIndex}function tr(e){_.lFrame.currentQueryIndex=e}function Mg(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function oa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Mg(i),o===null||(i=i[Ot],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=Hu();return r.currentTNode=t,r.lView=e,!0}function So(e){let t=Hu(),n=e[I];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Hu(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Bu(e):t}function Bu(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 $u(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ia=$u;function Ao(){let e=$u();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 Uu(e){return(_.lFrame.contextLView=Nu(e,_.lFrame.contextLView))[F]}function me(){return _.lFrame.selectedIndex}function ft(e){_.lFrame.selectedIndex=e}function gn(){let e=_.lFrame;return Yn(e.tView,e.selectedIndex)}function qu(){_.lFrame.currentNamespace=Hs}function Wu(){return _.lFrame.currentNamespace}var Gu=!0;function Ro(){return Gu}function nr(e){Gu=e}function gs(e,t=null,n=null,r){let o=sa(e,t,n,r);return o.resolveInjectorInitializers(),o}function sa(e,t=null,n=null,r,o=new Set){let i=[n||K,Eu(e)];return r=r||(typeof e=="object"?void 0:qe(e)),new xt(i,t||un(),r||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=_t;static NULL=new $n;static create(t,n){if(Array.isArray(t))return gs({name:""},n,t,"");{let r=t.name??"";return gs({name:r},t.parent,t.providers,r)}}static \u0275prov=B({token:e,providedIn:"any",factory:()=>Se(Ns)});static __NG_ELEMENT_ID__=-1},Ng=new A(""),pt=(()=>{class e{static __NG_ELEMENT_ID__=xg;static __NG_ENV_ID__=n=>n}return e})(),Un=class extends pt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return jt(this._lView)}onDestroy(t){let n=this._lView;return Ws(n,t),()=>xu(n,t)}};function xg(){return new Un(m())}var Ae=class{_console=console;handleError(t){this._console.error("ERROR",t)}},ze=new A("",{providedIn:"root",factory:()=>{let e=C(ae),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Ae),t.handleError(n))}}}),zu={provide:At,useValue:()=>void C(Ae),multi:!0};function aa(e){return typeof e=="function"&&e[V]!==void 0}function Oo(e,t){let[n,r,o]=is(e,t?.equal),i=n,s=i[V];return i.set=r,i.update=o,i.asReadonly=rr.bind(i),i}function rr(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}function ca(e){return aa(e)&&typeof e.set=="function"}var yn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Sg}return e})();function Sg(){return new yn(m(),H())}var ce=class{},or=new A("",{providedIn:"root",factory:()=>!1});var la=new A(""),ko=new A(""),ht=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Sn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),ua=(()=>{class e{internalPendingTasks=C(ht);scheduler=C(ce);errorHandler=C(ze);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function Bt(...e){}var ir=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>new ys})}return e})(),ys=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Nn(e){return{toString:e}.toString()}var Po="__parameters__";function Fg(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Rd(e,t,n){return Nn(()=>{let r=Fg(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,l,u){let d=c.hasOwnProperty(Po)?c[Po]:Object.defineProperty(c,Po,{value:[]})[Po];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var jg=_s(Rd("Inject",e=>({token:e})),-1),Vg=_s(Rd("Optional"),8);var Hg=Function;function Bg(e){return typeof e=="function"}var Go=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Od(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var $g=(()=>{let e=()=>kd;return e.ngInherit=!0,e})();function kd(e){return e.type.prototype.ngOnChanges&&(e.setInput=qg),Ug}function Ug(){let e=Ld(this),t=e?.current;if(t){let n=e.previous;if(n===De)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function qg(e,t,n,r,o){let i=this.declaredInputs[r],s=Ld(e)||Wg(e,{previous:De,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Go(l&&l.currentValue,n,c===De),Od(e,t,o,n)}var Pd="__ngSimpleChanges__";function Ld(e){return e[Pd]||null}function Wg(e,t){return e[Pd]=t}var Qu=[];var k=function(e,t=null,n){for(let r=0;r<Qu.length;r++){let o=Qu[r];o(e,t,n)}};function Gg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=kd(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 Fd(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Bo(e,t,n){jd(e,t,3,n)}function $o(e,t,n,r){(e[b]&3)===n&&jd(e,t,n,r)}function da(e,t){let n=e[b];(n&3)===t&&(n&=16383,n+=1,e[b]=n)}function jd(e,t,n,r){let o=r!==void 0?e[kt]&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[kt]+=65536),(a<i||i==-1)&&(zg(e,n,t,c),e[kt]=(e[kt]&4294901760)+c+2),c++}function Zu(e,t){k(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),k(5,e,t)}}function zg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[b]>>14<e[kt]>>16&&(e[b]&3)===t&&(e[b]+=16384,Zu(a,i)):Zu(a,i)}var In=-1,Ut=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Qg(e){return(e.flags&8)!==0}function Zg(e){return(e.flags&16)!==0}function Yg(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];Kg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Vd(e){return e===3||e===4||e===6}function Kg(e){return e.charCodeAt(0)===64}function En(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?Yu(e,n,o,null,t[++r]):Yu(e,n,o,null,null))}}return e}function Yu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Hd(e){return e!==In}function zo(e){return e&32767}function Jg(e){return e>>16}function Qo(e,t){let n=Jg(e),r=t;for(;n>0;)r=r[Ot],n--;return r}var Da=!0;function Zo(e){let t=Da;return Da=e,t}var Xg=256,Bd=Xg-1,$d=5,ey=0,je={};function ty(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(St)&&(r=n[St]),r==null&&(r=n[St]=ey++);let o=r&Bd,i=1<<o;t.data[e+(o>>$d)]|=i}function Yo(e,t){let n=Ud(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,fa(r.data,e),fa(t,null),fa(r.blueprint,null));let o=sc(e,t),i=e.injectorIndex;if(Hd(o)){let s=zo(o),a=Qo(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function fa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ud(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sc(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=Qd(o),r===null)return In;if(n++,o=o[Ot],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return In}function Ca(e,t,n){ty(e,t,n)}function ny(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(Vd(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 qd(e,t,n){if(n&8||e!==void 0)return e;yo(t,"NodeInjector")}function Wd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[We],i=X(void 0);try{return o?o.get(t,r,n&8):Ts(t,r,n&8)}finally{X(i)}}return qd(r,t,n)}function Gd(e,t,n,r=0,o){if(e!==null){if(t[b]&2048&&!(r&2)){let s=ay(e,t,n,r,je);if(s!==je)return s}let i=zd(e,t,n,r,je);if(i!==je)return i}return Wd(t,n,r,o)}function zd(e,t,n,r,o){let i=oy(n);if(typeof i=="function"){if(!oa(t,e,r))return r&1?qd(o,n,r):Wd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))yo(n);else return s}finally{ia()}}else if(typeof i=="number"){let s=null,a=Ud(e,t),c=In,l=r&1?t[J][ee]:null;for((a===-1||r&4)&&(c=a===-1?sc(e,t):t[a+8],c===In||!Ju(r,!1)?a=-1:(s=t[I],a=zo(c),t=Qo(c,t)));a!==-1;){let u=t[I];if(Ku(i,a,u.data)){let d=ry(a,t,n,s,r,l);if(d!==je)return d}c=t[a+8],c!==In&&Ju(r,t[I].data[a+8]===l)&&Ku(i,a,t)?(s=u,a=zo(c),t=Qo(c,t)):a=-1}}return o}function ry(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?ut(a)&&Da:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Uo(a,s,n,c,l);return u!==null?lr(t,s,u,a,o):je}function Uo(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&fe(f)&&f.type===n)return c}return null}function lr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Ut){let a=i;if(a.resolving){let f=du(s[n]);throw bs(f)}let c=Zo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?X(a.injectImpl):null,p=oa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Gg(n,s[n],t)}finally{d!==null&&X(d),Zo(c),a.resolving=!1,ia()}}return i}function oy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(St)?e[St]:void 0;return typeof t=="number"?t>=0?t&Bd:iy:t}function Ku(e,t,n){let r=1<<e;return!!(n[t+(e>>$d)]&r)}function Ju(e,t){return!(e&2)&&!(e&1&&t)}var $t=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Gd(this._tNode,this._lView,t,Mt(r),n)}};function iy(){return new $t(H(),m())}function sy(e){return Nn(()=>{let t=e.prototype.constructor,n=t[Bn]||wa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Bn]||wa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wa(e){return vs(e)?()=>{let t=wa($(e));return t&&t()}:st(e)}function ay(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[b]&2048&&!hn(s);){let a=zd(i,s,n,r|2,je);if(a!==je)return a;let c=i.parent;if(!c){let l=s[Ls];if(l){let u=l.get(n,je,r);if(u!==je)return u}c=Qd(s),s=s[Ot]}i=c}return o}function Qd(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Zd(e){return ny(H(),e)}function cy(){return xn(H(),m())}function xn(e,t){return new vr(we(e,t))}var vr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=cy}return e})();function Yd(e){return e instanceof vr?e.nativeElement:e}function ly(){return this._results[Symbol.iterator]()}var Ko=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new se}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=gu(t);(this._changesDetected=!mu(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ly};function Kd(e){return(e.flags&128)===128}var ac=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(ac||{}),Jd=new Map,uy=0;function dy(){return uy++}function fy(e){Jd.set(e[Qn],e)}function ba(e){Jd.delete(e[Qn])}var Xu="__ngContext__";function Dn(e,t){Le(t)?(e[Xu]=t[Qn],fy(t)):e[Xu]=t}function Xd(e){return tf(e[fn])}function ef(e){return tf(e[de])}function tf(e){for(;e!==null&&!Ce(e);)e=e[de];return e}var Ta;function py(e){Ta=e}function cc(){if(Ta!==void 0)return Ta;if(typeof document<"u")return document;throw new T(210,!1)}var hy=new A("",{providedIn:"root",factory:()=>my}),my="ng",nf=new A(""),gy=new A("",{providedIn:"platform",factory:()=>"unknown"});var yy=new A(""),vy=new A("",{providedIn:"root",factory:()=>cc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Iy="h",Ey="b";var rf="r";var of="di";var sf=!1,af=new A("",{providedIn:"root",factory:()=>sf});var Dy=new A("");var Cy=(e,t,n,r)=>{};function wy(e,t,n,r){Cy(e,t,n,r)}function hi(e){return(e.flags&32)===32}var by=()=>null;function cf(e,t,n=!1){return by(e,t,n)}function lf(e,t){let n=e.contentQueries;if(n!==null){let r=D(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];tr(i),a.contentQueries(2,t[s],s)}}}finally{D(r)}}}function _a(e,t,n){tr(0);let r=D(null);try{t(e,n)}finally{D(r)}}function lc(e,t,n){if(Vs(t)){let r=D(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{D(r)}}}var Cn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Cn||{});var Lo;function Ty(){if(Lo===void 0&&(Lo=null,Re.trustedTypes))try{Lo=Re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Lo}function mi(e){return Ty()?.createHTML(e)||e}var Fo;function uf(){if(Fo===void 0&&(Fo=null,Re.trustedTypes))try{Fo=Re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fo}function ed(e){return uf()?.createHTML(e)||e}function td(e){return uf()?.createScriptURL(e)||e}var Ze=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${po})`}},Ma=class extends Ze{getTypeName(){return"HTML"}},Na=class extends Ze{getTypeName(){return"Style"}},xa=class extends Ze{getTypeName(){return"Script"}},Sa=class extends Ze{getTypeName(){return"URL"}},Aa=class extends Ze{getTypeName(){return"ResourceURL"}};function Wt(e){return e instanceof Ze?e.changingThisBreaksApplicationSecurity:e}function gi(e,t){let n=df(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${po})`)}return n===t}function df(e){return e instanceof Ze&&e.getTypeName()||null}function _y(e){return new Ma(e)}function My(e){return new Na(e)}function Ny(e){return new xa(e)}function xy(e){return new Sa(e)}function Sy(e){return new Aa(e)}function Ay(e){let t=new Oa(e);return Ry()?new Ra(t):t}var Ra=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(mi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Oa=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=mi(t),n}};function Ry(){try{return!!new window.DOMParser().parseFromString(mi(""),"text/html")}catch{return!1}}var Oy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function uc(e){return e=String(e),e.match(Oy)?e:"unsafe:"+e}function Ye(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ir(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var ff=Ye("area,br,col,hr,img,wbr"),pf=Ye("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hf=Ye("rp,rt"),ky=Ir(hf,pf),Py=Ir(pf,Ye("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")),Ly=Ir(hf,Ye("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")),nd=Ir(ff,Py,Ly,ky),mf=Ye("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fy=Ye("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"),jy=Ye("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"),Vy=Ir(mf,Fy,jy),Hy=Ye("script,style,template"),ka=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Uy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=$y(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=rd(t).toLowerCase();if(!nd.hasOwnProperty(n))return this.sanitizedSomething=!0,!Hy.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(!Vy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;mf[a]&&(c=uc(c)),this.buf.push(" ",s,'="',od(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=rd(t).toLowerCase();nd.hasOwnProperty(n)&&!ff.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(od(t))}};function By(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $y(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw gf(t);return t}function Uy(e){let t=e.firstChild;if(t&&By(e,t))throw gf(t);return t}function rd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function gf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var qy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wy=/([^\#-~ |!])/g;function od(e){return e.replace(/&/g,"&amp;").replace(qy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Wy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var jo;function yf(e,t){let n=null;try{jo=jo||Ay(e);let r=t?String(t):"";n=jo.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=jo.getInertBodyElement(r)}while(r!==i);let a=new ka().sanitizeChildren(id(n)||n);return mi(a)}finally{if(n){let r=id(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function id(e){return"content"in e&&Gy(e)?e.content:null}function Gy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var zy=/^>|^->|<!--|-->|--!>|<!-$/g,Qy=/(<|>)/g,Zy="\u200B$1\u200B";function Yy(e){return e.replace(zy,t=>t.replace(Qy,Zy))}function Ky(e,t){return e.createText(t)}function Jy(e,t,n){e.setValue(t,n)}function Xy(e,t){return e.createComment(Yy(t))}function vf(e,t,n){return e.createElement(t,n)}function Jo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function If(e,t,n){e.appendChild(t,n)}function sd(e,t,n,r,o){r!==null?Jo(e,t,n,r,o):If(e,t,n)}function Ef(e,t,n,r){e.removeChild(null,t,n,r)}function ev(e,t,n){e.setAttribute(t,"style",n)}function tv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Df(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Yg(e,t,r),o!==null&&tv(e,t,o),i!==null&&ev(e,t,i)}var Er=(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})(Er||{});function nv(e){let t=dc();return t?ed(t.sanitize(Er.HTML,e)||""):gi(e,"HTML")?ed(Wt(e)):yf(cc(),le(e))}function Cf(e){let t=dc();return t?t.sanitize(Er.URL,e)||"":gi(e,"URL")?Wt(e):uc(le(e))}function wf(e){let t=dc();if(t)return td(t.sanitize(Er.RESOURCE_URL,e)||"");if(gi(e,"ResourceURL"))return td(Wt(e));throw new T(904,!1)}function rv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?wf:Cf}function ov(e,t,n){return rv(t,n)(e)}function dc(){let e=m();return e&&e[ke].sanitizer}function iv(e){return e.ownerDocument.defaultView}function bf(e){return e instanceof Function?e():e}function sv(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Tf="ng-template";function av(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&sv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(fc(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 fc(e){return e.type===4&&e.value!==Tf}function cv(e,t,n){let r=e.type===4&&!n?Tf:e.value;return t===r}function lv(e,t,n){let r=4,o=e.attrs,i=o!==null?fv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be(r)&&!be(c))return!1;if(s&&be(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!cv(e,c,n)||c===""&&t.length===1){if(be(r))return!1;s=!0}}else if(r&8){if(o===null||!av(e,o,c,n)){if(be(r))return!1;s=!0}}else{let l=t[++a],u=uv(c,o,fc(e),n);if(u===-1){if(be(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function uv(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 pv(t,e)}function _f(e,t,n=!1){for(let r=0;r<t.length;r++)if(lv(e,t[r],n))return!0;return!1}function dv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function fv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Vd(n))return t}return e.length}function pv(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 hv(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 ad(e,t){return e?":not("+t.trim()+")":t}function mv(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!==""&&!be(s)&&(t+=ad(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=ad(i,o)),t}function gv(e){return e.map(mv).join(",")}function yv(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(!be(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var z={};function pc(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=vv(d,p),h=typeof l=="function"?l():l;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function vv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function Iv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=pc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function hc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ue]=o,d[b]=r|4|128|8|64|1024,(l!==null||e&&e[b]&2048)&&(d[b]|=2048),Us(d),d[U]=d[Ot]=e,d[F]=n,d[ke]=s||e&&e[ke],d[O]=a||e&&e[O],d[We]=c||e&&e[We]||null,d[ee]=i,d[Qn]=dy(),d[Rt]=u,d[Ls]=l,d[J]=t.type==2?e[J]:d,d}function Ev(e,t,n){let r=we(t,e),o=Iv(n),i=e[ke].rendererFactory,s=mc(e,hc(e,o,null,Mf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Mf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Nf(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function mc(e,t){return e[fn]?e[Ps][de]=t:e[fn]=t,e[Ps]=t,t}function Dv(e=1){xf(R(),m(),me()+e,!1)}function xf(e,t,n,r){if(!r)if((t[b]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Bo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&$o(t,i,0,n)}ft(n)}var yi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(yi||{});function Pa(e,t,n,r){let o=D(null);try{let[i,s,a]=e.inputs[n],c=null;(s&yi.SignalBased)!==0&&(c=t[i][V]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Od(t,c,i,r)}finally{D(o)}}var Xo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Xo||{}),Cv;function gc(e,t){return Cv(e,t)}var ur=new Set,vi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(vi||{}),Dr=new A(""),cd=new Set;function Ve(e){cd.has(e)||(cd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Sf=!1,La=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,bu()&&(this.destroyRef=C(pt,{optional:!0})??void 0,this.pendingTasks=C(ht,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(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 L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Qe=La;function Af(e){let t,n;function r(){e=Bt;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 ld(e){return queueMicrotask(()=>e()),()=>{e=Bt}}var yc="isAngularZone",ei=yc+"_ID",wv=0,te=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Qe(!1);onMicrotaskEmpty=new Qe(!1);onStable=new Qe(!1);onError=new Qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Sf}=t;if(typeof Zone>"u")throw new T(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,_v(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new T(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,bv,Bt,Bt);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)}},bv={};function vc(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 Tv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Af(()=>{e.callbackScheduled=!1,Fa(e),e.isCheckStableRunning=!0,vc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Fa(e)}function _v(e){let t=()=>{Tv(e)},n=wv++;e._inner=e._inner.fork({name:"angular",properties:{[yc]:!0,[ei]:n,[ei+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Mv(c))return r.invokeTask(i,s,a,c);try{return ud(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),dd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return ud(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Nv(c)&&t(),dd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Fa(e),vc(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 Fa(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ud(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dd(e){e._nesting--,vc(e)}var dr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Qe;onMicrotaskEmpty=new Qe;onStable=new Qe;onError=new Qe;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 Mv(e){return Rf(e,"__ignore_ng_zone__")}function Nv(e){return Rf(e,"__scheduler_tick__")}function Rf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ic=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),Of=[0,1,2,3],kf=(()=>{class e{ngZone=C(te);scheduler=C(ce);errorHandler=C(Ae,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(Dr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(16),this.executing=!0;for(let r of Of)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&k(17)}register(n){let{view:r}=n;r!==void 0?((r[Pt]??=[]).push(n),dt(r),r[b]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(vi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),ti=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Pt];t&&(this.view[Pt]=t.filter(n=>n!==this))}};function xv(e,t){let n=t?.injector??C(Ee);return Ve("NgAfterRender"),Pf(e,n,t,!1)}function Sv(e,t){let n=t?.injector??C(Ee);return Ve("NgAfterNextRender"),Pf(e,n,t,!0)}function Av(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Pf(e,t,n,r){let o=t.get(Ic);o.impl??=t.get(kf);let i=t.get(Dr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(pt):null,a=t.get(yn,null,{optional:!0}),c=new ti(o.impl,Av(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Lf=new A("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Ff(e,t,n){let r=e.get(Lf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Rv(e,t){let n=e.get(Lf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Ov(e,t){for(let[n,r]of t)Ff(e,r.animateFns)}function fd(e,t,n,r){let o=e?.[Lt]?.enter;t!==null&&o&&o.has(n.index)&&Ov(r,o)}function vn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ce(o)?c=o:Le(o)&&(l=!0,o=o[ue]);let u=pe(o);e===0&&r!==null?(fd(a,r,i,n),s==null?If(t,r,u):Jo(t,r,u,s||null,!0)):e===1&&r!==null?(fd(a,r,i,n),Jo(t,r,u,s||null,!0)):e===2?pd(a,i,n,d=>{Ef(t,u,l,d)}):e===3&&pd(a,i,n,()=>{t.destroyNode(u)}),c!=null&&qv(t,e,n,c,i,r,s)}}function kv(e,t){jf(e,t),t[ue]=null,t[ee]=null}function Pv(e,t,n,r,o,i){r[ue]=o,r[ee]=t,Ei(e,r,n,1,o,i)}function jf(e,t){t[ke].changeDetectionScheduler?.notify(9),Ei(e,t,t[O],2,null,null)}function Lv(e){let t=e[fn];if(!t)return pa(e[I],e);for(;t;){let n=null;if(Le(t))n=t[fn];else{let r=t[j];r&&(n=r)}if(!n){for(;t&&!t[de]&&t!==e;)Le(t)&&pa(t[I],t),t=t[U];t===null&&(t=e),Le(t)&&pa(t[I],t),n=t&&t[de]}t=n}}function Ec(e,t){let n=e[Ft],r=n.indexOf(t);n.splice(r,1)}function Ii(e,t){if(jt(t))return;let n=t[O];n.destroyNode&&Ei(e,t,n,3,null,null),Lv(t)}function pa(e,t){if(jt(t))return;let n=D(null);try{t[b]&=-129,t[b]|=256,t[oe]&&Tt(t[oe]),Vv(e,t),jv(e,t),t[I].type===1&&t[O].destroy();let r=t[ct];if(r!==null&&Ce(t[U])){r!==t[U]&&Ec(r,t);let o=t[Pe];o!==null&&o.detachView(e)}ba(t)}finally{D(n)}}function pd(e,t,n,r){let o=e?.[Lt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&ur.add(e),Ff(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Fv(e,r)}else e&&ur.delete(e),r(!1)},o)}function Fv(e,t){let n=e[Lt]?.running;if(n){n.then(()=>{e[Lt].running=void 0,ur.delete(e),t(!0)});return}t(!1)}function jv(e,t){let n=e.cleanup,r=t[dn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[dn]=null);let o=t[Ue];if(o!==null){t[Ue]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ge];if(i!==null){t[Ge]=null;for(let s of i)s.destroy()}}function Vv(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 Ut)){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];k(4,a,c);try{c.call(a)}finally{k(5,a,c)}}else{k(4,o,i);try{i.call(o)}finally{k(5,o,i)}}}}}function Vf(e,t,n){return Hv(e,t.parent,n)}function Hv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ue];if(ut(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Cn.None||o===Cn.Emulated)return null}return we(r,n)}function Hf(e,t,n){return $v(e,t,n)}function Bv(e,t,n){return e.type&40?we(e,n):null}var $v=Bv,hd;function Dc(e,t,n,r){let o=Vf(e,r,t),i=t[O],s=r.parent||t[ee],a=Hf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)sd(i,o,n[c],a,!1);else sd(i,o,n,a,!1);hd!==void 0&&hd(i,r,t,n,o)}function sr(e,t){if(t!==null){let n=t.type;if(n&3)return we(t,e);if(n&4)return ja(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return sr(e,r);{let o=e[t.index];return Ce(o)?ja(-1,o):pe(o)}}else{if(n&128)return sr(e,t.next);if(n&32)return gc(t,e)()||pe(e[t.index]);{let r=Bf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=at(e[J]);return sr(o,r)}else return sr(e,t.next)}}}return null}function Bf(e,t){if(t!==null){let r=e[J][ee],o=t.projection;return r.projection[o]}return null}function ja(e,t){let n=j+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return sr(r,o)}return t[lt]}function Cc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[We];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&Dn(pe(c),r),n.flags|=2),!hi(n))if(l&8)Cc(e,t,n.child,r,o,i,!1),vn(t,e,a,o,c,n,i,r);else if(l&32){let u=gc(n,r),d;for(;d=u();)vn(t,e,a,o,d,n,i,r);vn(t,e,a,o,c,n,i,r)}else l&16?$f(e,t,r,n,o,i):vn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ei(e,t,n,r,o,i){Cc(n,r,e.firstChild,t,o,i,!1)}function Uv(e,t,n){let r=t[O],o=Vf(e,n,t),i=n.parent||t[ee],s=Hf(i,n,t);$f(r,0,t,n,o,s)}function $f(e,t,n,r,o,i){let s=n[J],c=s[ee].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];vn(t,e,n[We],o,u,r,i,n)}else{let l=c,u=s[U];Kd(r)&&(l.flags|=128),Cc(e,t,l,u,o,i,!0)}}function qv(e,t,n,r,o,i,s){let a=r[lt],c=pe(r);a!==c&&vn(t,e,n,i,a,o,s);for(let l=j;l<r.length;l++){let u=r[l];Ei(u[I],u,e,t,i,a)}}function Wv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Xo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Xo.Important),e.setStyle(n,r,o,i))}}function Uf(e,t,n,r,o){let i=me(),s=r&2;try{ft(-1),s&&t.length>P&&xf(e,t,P,!1),k(s?2:0,o,n),n(r,o)}finally{ft(i),k(s?3:1,o,n)}}function Di(e,t,n){Kv(e,t,n),(n.flags&64)===64&&Jv(e,t,n)}function Cr(e,t,n=we){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 Gv(e,t,n,r){let i=r.get(af,sf)||n===Cn.ShadowDom,s=e.selectRootElement(t,i);return zv(s),s}function zv(e){Qv(e)}var Qv=()=>null;function Zv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function qf(e,t,n,r,o,i){let s=t[I];if(Mc(e,s,t,n,r)){ut(e)&&Yv(t,e.index);return}e.type&3&&(n=Zv(n)),wc(e,t,n,r,o,i)}function wc(e,t,n,r,o,i){if(e.type&3){let s=we(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Yv(e,t){let n=he(t,e);n[b]&16||(n[b]|=64)}function Kv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ut(n)&&Ev(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Yo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=lr(t,e,s,n);if(Dn(c,t),i!==null&&nI(t,s-r,c,a,n,i),fe(a)){let l=he(n.index,t);l[F]=lr(t,e,s,n)}}}function Jv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Vu();try{ft(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Mo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Xv(c,l)}}finally{ft(-1),Mo(s)}}function Xv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function bc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];_f(t,i.selectors,!1)&&(r??=[],fe(i)?r.unshift(i):r.push(i))}return r}function eI(e,t,n,r,o,i){let s=we(e,t);tI(t[O],s,i,e.value,n,r,o)}function tI(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?le(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function nI(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Pa(r,n,c,l)}}function Tc(e,t,n,r,o){let i=P+n,s=t[I],a=o(s,t,e,r,n);t[i]=a,Vt(e,!0);let c=e.type===2;return c?(Df(t[O],a,e),(Au()===0||pn(e))&&Dn(a,t),Ru()):Dn(a,t),Ro()&&(!c||!hi(e))&&Dc(s,t,a,e),e}function _c(e){let t=e;return Xs()?ea():(t=t.parent,Vt(t,!1)),t}function Wf(e,t,n){return(e===null||fe(e))&&(n=Bs(n[t.index])),n[O]}function rI(e,t){let n=e[We];if(!n)return;let r;try{r=n.get(ze,null)}catch{r=null}r?.(t)}function Mc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Pa(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Pa(u,l,r,o),a=!0}return a}function oI(e,t){let n=he(t,e),r=n[I];iI(r,n);let o=n[ue];o!==null&&n[Rt]===null&&(n[Rt]=cf(o,n[We])),k(18),Nc(r,n,n[F]),k(19,n[F])}function iI(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Nc(e,t,n){So(t);try{let r=e.viewQuery;r!==null&&_a(1,r,n);let o=e.template;o!==null&&Uf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&lf(e,t),e.staticViewQueries&&_a(2,e.viewQuery,n);let i=e.components;i!==null&&sI(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[b]&=-5,Ao()}}function sI(e,t){for(let n=0;n<t.length;n++)oI(e,t[n])}function wr(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[b]&4096?4096:16,c=hc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ct]=l;let u=e[Pe];return u!==null&&(c[Pe]=u.createEmbeddedView(i)),Nc(i,c,n),c}finally{D(o)}}function wn(e,t){return!t||t.firstChild===null||Kd(e)}function fr(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(pe(i)),Ce(i)&&Gf(i,r);let s=n.type;if(s&8)fr(e,t,n.child,r);else if(s&32){let a=gc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Bf(t,n);if(Array.isArray(a))r.push(...a);else{let c=at(t[J]);fr(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Gf(e,t){for(let n=j;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&fr(r[I],r,o,t)}e[lt]!==e[ue]&&t.push(e[lt])}function zf(e){if(e[Pt]!==null){for(let t of e[Pt])t.impl.addSequence(t);e[Pt].length=0}}var Qf=[];function aI(e){return e[oe]??cI(e)}function cI(e){let t=Qf.pop()??Object.create(uI);return t.lView=e,t}function lI(e){e.lView[oe]!==e&&(e.lView=null,Qf.push(e))}var uI=G(W({},nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{dt(e.lView)},consumerOnSignalRead(){this.lView[oe]=this}});function dI(e){let t=e[oe]??Object.create(fI);return t.lView=e,t}var fI=G(W({},nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=at(e.lView);for(;t&&!Zf(t[I]);)t=at(t);t&&qs(t)},consumerOnSignalRead(){this.lView[oe]=this}});function Zf(e){return e.type!==2}function Yf(e){if(e[Ge]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ge])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[b]&8192)}}var pI=100;function Kf(e,t=0){let r=e[ke].rendererFactory,o=!1;o||r.begin?.();try{hI(e,t)}finally{o||r.end?.()}}function hI(e,t){let n=na();try{mn(!0),Va(e,t);let r=0;for(;Xn(e);){if(r===pI)throw new T(103,!1);r++,Va(e,1)}}finally{mn(n)}}function mI(e,t,n,r){if(jt(t))return;let o=t[b],i=!1,s=!1;So(t);let a=!0,c=null,l=null;i||(Zf(e)?(l=aI(t),c=ot(l)):so()===null?(a=!1,l=dI(t),c=ot(l)):t[oe]&&(Tt(t[oe]),t[oe]=null));try{Us(t),Lu(e.bindingStartIndex),n!==null&&Uf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Bo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&$o(t,f,0,null),da(t,0)}if(s||gI(t),Yf(t),Jf(t,0),e.contentQueries!==null&&lf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Bo(t,f)}else{let f=e.contentHooks;f!==null&&$o(t,f,1),da(t,1)}vI(e,t);let d=e.components;d!==null&&ep(t,d,0);let p=e.viewQuery;if(p!==null&&_a(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Bo(t,f)}else{let f=e.viewHooks;f!==null&&$o(t,f,2),da(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[wo]){for(let f of t[wo])f();t[wo]=null}i||(zf(t),t[b]&=-73)}catch(u){throw i||dt(t),u}finally{l!==null&&(bt(l,c),a&&lI(l)),Ao()}}function Jf(e,t){for(let n=Xd(e);n!==null;n=ef(n))for(let r=j;r<n.length;r++){let o=n[r];Xf(o,t)}}function gI(e){for(let t=Xd(e);t!==null;t=ef(t)){if(!(t[b]&2))continue;let n=t[Ft];for(let r=0;r<n.length;r++){let o=n[r];qs(o)}}}function yI(e,t,n){k(18);let r=he(t,e);Xf(r,n),k(19,r[F])}function Xf(e,t){bo(e)&&Va(e,t)}function Va(e,t){let r=e[I],o=e[b],i=e[oe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&sn(i)),s||=!1,i&&(i.dirty=!1),e[b]&=-9217,s)mI(r,e,r.template,e[F]);else if(o&8192){let a=D(null);try{Yf(e),Jf(e,1);let c=r.components;c!==null&&ep(e,c,1),zf(e)}finally{D(a)}}}function ep(e,t,n){for(let r=0;r<t.length;r++)yI(e,t[r],n)}function vI(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)ft(~o);else{let i=o,s=n[++r],a=n[++r];ju(s,i);let c=t[i];k(24,c),a(2,c),k(25,c)}}}finally{ft(-1)}}function xc(e,t){let n=na()?64:1088;for(e[ke].changeDetectionScheduler?.notify(t);e;){e[b]|=n;let r=at(e);if(hn(e)&&!r)return e;e=r}return null}function tp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function np(e,t){let n=j+t;if(n<e.length)return e[n]}function br(e,t,n,r=!0){let o=t[I];if(II(o,t,e,n),r){let s=ja(n,e),a=t[O],c=a.parentNode(e[lt]);c!==null&&Pv(o,e[ee],a,t,c,s)}let i=t[Rt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function rp(e,t){let n=pr(e,t);return n!==void 0&&Ii(n[I],n),n}function pr(e,t){if(e.length<=j)return;let n=j+t,r=e[n];if(r){let o=r[ct];o!==null&&o!==e&&Ec(o,r),t>0&&(e[n-1][de]=r[de]);let i=Gn(e,j+t);kv(r[I],r);let s=i[Pe];s!==null&&s.detachView(i[I]),r[U]=null,r[de]=null,r[b]&=-129}return r}function II(e,t,n,r){let o=j+r,i=n.length;r>0&&(n[o-1][de]=t),r<i-j?(t[de]=n[o],Ms(n,j+r,t)):(n.push(t),t[de]=null),t[U]=n;let s=t[ct];s!==null&&n!==s&&op(s,t);let a=t[Pe];a!==null&&a.insertView(e),To(t),t[b]|=128}function op(e,t){let n=e[Ft],r=t[U];if(Le(r))e[b]|=2;else{let o=r[U][J];t[J]!==o&&(e[b]|=2)}n===null?e[Ft]=[t]:n.push(t)}var mt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[I];return fr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[F]}set context(t){this._lView[F]=t}get destroyed(){return jt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[U];if(Ce(t)){let n=t[Zn],r=n?n.indexOf(this):-1;r>-1&&(pr(t,r),Gn(n,r))}this._attachedToViewContainer=!1}Ii(this._lView[I],this._lView)}onDestroy(t){Ws(this._lView,t)}markForCheck(){xc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[b]&=-129}reattach(){To(this._lView),this._lView[b]|=128}detectChanges(){this._lView[b]|=1024,Kf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=hn(this._lView),n=this._lView[ct];n!==null&&!t&&Ec(n,this._lView),jf(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=t;let n=hn(this._lView),r=this._lView[ct];r!==null&&!n&&op(r,this._lView),To(this._lView)}};var hr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=EI;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=wr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new mt(i)}}return e})();function EI(){return Ci(H(),m())}function Ci(e,t){return e.type&4?new hr(t,e,xn(e,t)):null}function Gt(e,t,n,r,o){let i=e.data[t];if(i===null)i=DI(e,t,n,r,o),Fu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Pu();i.injectorIndex=s===null?-1:s.injectorIndex}return Vt(i,!0),i}function DI(e,t,n,r,o){let i=Js(),s=Xs(),a=s?i:i&&i.parent,c=e.data[t]=wI(e,a,n,t,r,o);return CI(e,c,i,s),c}function CI(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function wI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var yO=new RegExp(`^(\\d+)*(${Ey}|${Iy})*(.*)`);function bI(e){let t=e[js]??[],r=e[U][O],o=[];for(let i of t)i.data[of]!==void 0?o.push(i):TI(i,r);e[js]=o}function TI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[rf];for(;n<o;){let i=r.nextSibling;Ef(t,r,!1),r=i,n++}}}var _I=()=>null,MI=()=>null;function ni(e,t){return _I(e,t)}function ip(e,t,n){return MI(e,t,n)}var sp=class{},wi=class{},Ha=class{resolveComponentFactory(t){throw new T(917,!1)}},Tr=class{static NULL=new Ha},mr=class{},NI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>xI()}return e})();function xI(){let e=m(),t=H(),n=he(t.index,e);return(Le(n)?n:e)[O]}var ap=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();var qo={},Ba=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,qo,r);return o!==qo||n===qo?o:this.parentInjector.get(t,n,r)}};function ri(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=ho(o,a);else if(i==2){let c=a,l=t[++s];r=ho(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function _r(e,t=0){let n=m();if(n===null)return Se(e,t);let r=H();return Gd(r,n,$(e),t)}function SI(){let e="invalid";throw new Error(e)}function cp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}OI(e,t,n,a,i,c,l)}i!==null&&r!==null&&AI(n,r,i)}function AI(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new T(-301,!1);r.push(t[o],i)}}function RI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function OI(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&fe(f)&&(c=!0,RI(e,n,p)),Ca(Yo(n,t),e,f.type)}VI(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Nf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=En(n.mergedAttrs,f.hostAttrs),PI(e,n,t,d,f),jI(d,f,o),s!==null&&s.has(f)){let[g,M]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,M+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}kI(e,n,i)}function kI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))md(0,t,o,r),md(1,t,o,r),yd(t,r,!1);else{let i=n.get(o);gd(0,t,i,r),gd(1,t,i,r),yd(t,r,!0)}}}function md(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),lp(t,i)}}function gd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),lp(t,s)}}function lp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function yd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||fc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function PI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new Ut(i,fe(o),_r,null);e.blueprint[r]=s,n[r]=s,LI(e,t,r,Nf(e,n,o.hostVars,z),o)}function LI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;FI(s)!=a&&s.push(a),s.push(n,r,i)}}function FI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function jI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;fe(t)&&(n[""]=e)}}function VI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Sc(e,t,n,r,o,i,s,a){let c=t[I],l=c.consts,u=ie(l,s),d=Gt(c,e,n,r,u);return i&&cp(c,t,d,ie(l,a),o),d.mergedAttrs=En(d.mergedAttrs,d.attrs),d.attrs!==null&&ri(d,d.attrs,!1),d.mergedAttrs!==null&&ri(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ac(e,t){Fd(e,t),Vs(t)&&e.queries.elementEnd(t)}function HI(e,t,n,r,o,i){let s=t.consts,a=ie(s,o),c=Gt(t,e,n,r,a);if(c.mergedAttrs=En(c.mergedAttrs,c.attrs),i!=null){let l=ie(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&ri(c,c.attrs,!1),c.mergedAttrs!==null&&ri(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Rc(e){return bi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function up(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 bi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ti(e,t,n){return e[t]=n}function BI(e,t){return e[t]}function ne(e,t,n){if(n===z)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Oc(e,t,n,r){let o=ne(e,t,n);return ne(e,t+1,r)||o}function dp(e,t,n,r,o){let i=Oc(e,t,n,r);return ne(e,t+2,o)||i}function Wo(e,t,n){return function r(o){let i=ut(e)?he(e.index,t):t;xc(i,5);let s=t[F],a=vd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=vd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function vd(e,t,n,r){let o=D(null);try{return k(6,t,n),n(r)!==!1}catch(i){return rI(e,i),!1}finally{k(7,t,n),D(o)}}function fp(e,t,n,r,o,i,s,a){let c=pn(e),l=!1,u=null;if(!r&&c&&(u=UI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=we(e,n),p=r?r(d):d;wy(n,p,i,a);let f=o.listen(p,i,a);if(!$I(i)){let h=r?g=>r(pe(g[e.index])):e.index;pp(h,t,n,i,a,f,!1)}}return l}function $I(e){return e.startsWith("animation")||e.startsWith("transition")}function UI(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[dn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function pp(e,t,n,r,o,i,s){let a=t.firstCreatePass?zs(t):null,c=Gs(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Id(e,t,n,r,o,i){let s=t[n],a=t[I],l=a.data[n].outputs[r],d=s[l].subscribe(i);pp(e.index,a,t,o,i,d,!0)}var $a=Symbol("BINDING");var oi=class extends Tr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Oe(t);return new gt(n,this.ngModule)}};function qI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&yi.SignalBased)!==0};return o&&(i.transform=o),i})}function WI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function GI(e,t,n){let r=t instanceof ae?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ba(n,r):n}function zI(e){let t=e.get(mr,null);if(t===null)throw new T(407,!1);let n=e.get(ap,null),r=e.get(ce,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function QI(e,t){let n=hp(e);return vf(t,n,n==="svg"?Hs:n==="math"?Tu:null)}function hp(e){return(e.selectors[0][0]||"div").toLowerCase()}var gt=class extends wi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=qI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=WI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=gv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){k(22);let a=D(null);try{let c=this.componentDef,l=ZI(r,c,s,i),u=GI(c,o||this.ngModule,t),d=zI(u),p=d.rendererFactory.createRenderer(null,c),f=r?Gv(p,r,c.encapsulation,u):QI(c,p),h=s?.some(Ed)||i?.some(w=>typeof w!="function"&&w.bindings.some(Ed)),g=hc(null,l,null,512|Mf(c),null,null,d,p,u,null,cf(f,u,!0));g[P]=f,So(g);let M=null;try{let w=Sc(P,g,2,"#host",()=>l.directiveRegistry,!0,0);Df(p,f,w),Dn(f,g),Di(l,g,w),lc(l,w,g),Ac(l,w),n!==void 0&&KI(w,this.ngContentSelectors,n),M=he(w.index,g),g[F]=M[F],Nc(l,g,null)}catch(w){throw M!==null&&ba(M),ba(g),w}finally{k(23),Ao()}return new ii(this.componentType,g,!!h)}finally{D(a)}}};function ZI(e,t,n,r){let o=e?["ng-version","20.3.15"]:yv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[$a].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[$a].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Eo(d);c.push(p)}return pc(0,null,YI(i,s),1,a,c,null,null,null,[o],null)}function YI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Ed(e){let t=e[$a].kind;return t==="input"||t==="twoWay"}var ii=class extends sp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Yn(n[I],P),this.location=xn(this._tNode,n),this.instance=he(this._tNode.index,n)[F],this.hostView=this.changeDetectorRef=new mt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Mc(r,o[I],o,t,n);this.previousInputValues.set(t,n);let s=he(r.index,o);xc(s,1)}get injector(){return new $t(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function KI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var _i=(()=>{class e{static __NG_ELEMENT_ID__=JI}return e})();function JI(){let e=H();return gp(e,m())}var XI=_i,mp=class extends XI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return xn(this._hostTNode,this._hostLView)}get injector(){return new $t(this._hostTNode,this._hostLView)}get parentInjector(){let t=sc(this._hostTNode,this._hostLView);if(Hd(t)){let n=Qo(t,this._hostLView),r=zo(t),o=n[I].data[r+8];return new $t(o,n)}else return new $t(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Dd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ni(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,wn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Bg(t),l;if(c)l=n;else{let M=n||{};l=M.index,r=M.injector,o=M.projectableNodes,i=M.environmentInjector||M.ngModuleRef,s=M.directives,a=M.bindings}let u=c?t:new gt(Oe(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let w=(c?d:this.parentInjector).get(ae,null);w&&(i=w)}let p=Oe(u.componentType??{}),f=ni(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,wn(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Mu(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[U],l=new mp(c,c[ee],c[U]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return br(s,o,i,r),t.attachToViewContainerRef(),Ms(ha(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Dd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=pr(this._lContainer,n);r&&(Gn(ha(this._lContainer),n),Ii(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=pr(this._lContainer,n);return r&&Gn(ha(this._lContainer),n)!=null?new mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Dd(e){return e[Zn]}function ha(e){return e[Zn]||(e[Zn]=[])}function gp(e,t){let n,r=t[e.index];return Ce(r)?n=r:(n=tp(r,t,null,e),t[e.index]=n,mc(t,n)),tE(n,t,e,r),new mp(n,e,t)}function eE(e,t){let n=e[O],r=n.createComment(""),o=we(t,e),i=n.parentNode(o);return Jo(n,i,r,n.nextSibling(o),!1),r}var tE=oE,nE=()=>!1;function rE(e,t,n){return nE(e,t,n)}function oE(e,t,n,r){if(e[lt])return;let o;n.type&8?o=pe(r):o=eE(t,n),e[lt]=o}var Ua=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},qa=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Pc(t,n).matches!==null&&this.queries[n].setDirty()}},si=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=lE(t):this.predicate=t}},Wa=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Ga=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,iE(n,i)),this.matchTNodeWithReadOption(t,n,Uo(n,t,i,!1,!1))}else r===hr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Uo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===vr||o===_i||o===hr&&n.type&4)this.addMatch(n.index,-2);else{let i=Uo(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function iE(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function sE(e,t){return e.type&11?xn(e,t):e.type&4?Ci(e,t):null}function aE(e,t,n,r){return n===-1?sE(t,e):n===-2?cE(e,t,r):lr(e,e[I],n,t)}function cE(e,t,n){if(n===vr)return xn(t,e);if(n===hr)return Ci(t,e);if(n===_i)return gp(t,e)}function yp(e,t,n,r){let o=t[Pe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(aE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function za(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=yp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=j;d<u.length;d++){let p=u[d];p[ct]===p[U]&&za(p[I],p,l,r)}if(u[Ft]!==null){let d=u[Ft];for(let p=0;p<d.length;p++){let f=d[p];za(f[I],f,l,r)}}}}}return r}function kc(e,t){return e[Pe].queries[t].queryList}function vp(e,t,n){let r=new Ko((n&4)===4);return Su(e,t,r,r.destroy),(t[Pe]??=new qa).queries.push(new Ua(r))-1}function Ip(e,t,n){let r=R();return r.firstCreatePass&&(Dp(r,new si(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),vp(r,m(),t)}function Ep(e,t,n,r){let o=R();if(o.firstCreatePass){let i=H();Dp(o,new si(t,n,r),i.index),uE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return vp(o,m(),n)}function lE(e){return e.split(",").map(t=>t.trim())}function Dp(e,t,n){e.queries===null&&(e.queries=new Wa),e.queries.track(new Ga(t,n))}function uE(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Pc(e,t){return e.queries.getByIndex(t)}function Cp(e,t){let n=e[I],r=Pc(n,t);return r.crossesNgTemplate?za(n,e,t,[]):yp(n,e,r,t)}function Lc(e,t,n){let r,o=Vn(()=>{r._dirtyCounter();let i=dE(r,e);if(t&&i===void 0)throw new T(-951,!1);return i});return r=o[V],r._dirtyCounter=Oo(0),r._flatValue=void 0,o}function Fc(e){return Lc(!0,!1,e)}function jc(e){return Lc(!0,!0,e)}function wp(e){return Lc(!1,!1,e)}function bp(e,t){let n=e[V];n._lView=m(),n._queryIndex=t,n._queryList=kc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function dE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[b]&4)return t?void 0:K;let o=kc(n,r),i=Cp(n,r);return o.reset(i,Yd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var bn=class{},Tp=class{};var ai=class extends bn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new oi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ss(t);this._bootstrapComponents=bf(i.bootstrap),this._r3Injector=sa(t,n,[{provide:bn,useValue:this},{provide:Tr,useValue:this.componentFactoryResolver},...r],qe(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)}},ci=class extends Tp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ai(this.moduleType,t,[])}};var gr=class extends bn{injector;componentFactoryResolver=new oi(this);instance=null;constructor(t){super();let n=new xt([...t.providers,{provide:bn,useValue:this},{provide:Tr,useValue:this.componentFactoryResolver}],t.parent||un(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function _p(e,t,n=null){return new gr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var fE=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=As(!1,n.type),o=r.length>0?_p([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 \u0275prov=B({token:e,providedIn:"environment",factory:()=>new e(Se(ae))})}return e})();function pE(e){return Nn(()=>{let t=Mp(e),n=G(W({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ac.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(fE).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Cn.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ve("NgStandalone"),Np(n);let r=e.dependencies;return n.directiveDefs=Cd(r,hE),n.pipeDefs=Cd(r,Iu),n.id=EE(n),n})}function hE(e){return Oe(e)||Eo(e)}function mE(e){return Nn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gE(e,t){if(e==null)return De;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=yi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function yE(e){if(e==null)return De;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function vE(e){return Nn(()=>{let t=Mp(e);return Np(t),t})}function IE(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 Mp(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,inputConfig:e.inputs||De,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:gE(e.inputs,t),outputs:yE(e.outputs),debugInfo:null}}function Np(e){e.features?.forEach(t=>t(e))}function Cd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function EE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function DE(e){return Object.getPrototypeOf(e.prototype).constructor}function xp(e){let t=DE(e.type),n=!0,r=[e];for(;t;){let o;if(fe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new T(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ma(e.inputs),s.declaredInputs=ma(e.declaredInputs),s.outputs=ma(e.outputs);let a=o.hostBindings;a&&_E(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&bE(e,c),l&&TE(e,l),CE(e,o),lu(e.outputs,o.outputs),fe(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===xp&&(n=!1)}}t=Object.getPrototypeOf(t)}wE(r)}function CE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function wE(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=En(o.hostAttrs,n=En(n,o.hostAttrs))}}function ma(e){return e===De?{}:e===K?[]:e}function bE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function TE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function _E(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ME(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=NE,n.hostDirectives=r?e.map(Qa):[e]):r?n.hostDirectives.unshift(...e.map(Qa)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function NE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Sp(s,t,r),o.set(s,[a,t.length-1])}i===0&&fe(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Sp(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)wd(Qa(i),t,n)}else wd(r,t,n)}function wd(e,t,n){let r=Eo(e.directive);xE(r.declaredInputs,e.inputs),Sp(r,t,n),n.set(r,e),t.push(r)}function Qa(e){return typeof e=="function"?{directive:$(e),inputs:De,outputs:De}:{directive:$(e.directive),inputs:bd(e.inputs),outputs:bd(e.outputs)}}function bd(e){if(e===void 0||e.length===0)return De;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function xE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Ap(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=En(e.mergedAttrs,e.attrs);let u=e.tView=pc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Vt(e,!1);let c=AE(n,t,e,r);Ro()&&Dc(n,t,c,e),Dn(c,t);let l=tp(c,t,c,e);t[r+P]=l,mc(t,l),rE(l,e,t)}function SE(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;return t.firstCreatePass?(p=Gt(t,d,4,s||null,a||null),_o()&&cp(t,e,p,ie(t.consts,l),bc),Fd(t,p)):p=t.data[d],Ap(p,e,t,n,r,o,i,c),pn(p)&&Di(t,e,p),l!=null&&Cr(e,p,u),p}function Tn(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;if(t.firstCreatePass){if(p=Gt(t,d,4,s||null,a||null),l!=null){let f=ie(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Ap(p,e,t,n,r,o,i,c),l!=null&&Cr(e,p,u),p}function Rp(e,t,n,r,o,i,s,a){let c=m(),l=R(),u=ie(l.consts,i);return SE(c,l,e,t,n,r,o,u,void 0,s,a),Rp}function Op(e,t,n,r,o,i,s,a){let c=m(),l=R(),u=ie(l.consts,i);return Tn(c,l,e,t,n,r,o,u,void 0,s,a),Op}var AE=RE;function RE(e,t,n,r){return nr(!0),t[O].createComment("")}var OE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var kp=new A("");function Vc(e){return!!e&&typeof e.then=="function"}function Pp(e){return!!e&&typeof e.subscribe=="function"}var Hc=new A("");function kE(e){return Do([{provide:Hc,multi:!0,useValue:e}])}var Bc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(Hc,{optional:!0})??[];injector=C(Ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Co(this.injector,o);if(Vc(i))n.push(i);else if(Pp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Lp=new A("");function Fp(){os(()=>{let e="";throw new T(600,e)})}function jp(e){return e.isBoundToModule}var PE=10;var Mr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(ze);afterRenderManager=C(Ic);zonelessEnabled=C(or);rootEffectScheduler=C(ir);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new se;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C(ht);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ne(n=>!n))}constructor(){C(Dr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ee.NULL){return this._injector.get(te).run(()=>{k(10);let s=n instanceof wi;if(!this._injector.get(Bc).done){let h="";throw new T(405,h)}let c;s?c=n:c=this._injector.get(Tr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=jp(c)?void 0:this._injector.get(bn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(kp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),ar(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),k(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(vi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new T(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,D(n),this.afterTick.next(),k(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(mr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<PE;)k(14),this.synchronizeOnce(),k(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Xn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Kf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Xn(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;ar(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Lp,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ar(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ar(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Vp(e,t,n,r){let o=m(),i=Fe();if(ne(o,i,t)){let s=R(),a=gn();eI(a,o,e,t,n,r)}return Vp}var bO=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function LE(){return m()[J][F]}var Za=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ga(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function FE(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 l=e.at(i),u=t[i],d=ga(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=ga(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),M=n(s,p),w=n(i,u);if(Object.is(w,M)){let Te=n(c,f);Object.is(Te,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new li,o??=_d(e,i,s,n),Ya(e,r,i,w))e.updateValue(i,u),i++,s++;else if(o.has(w))r.set(g,e.detach(i)),s--;else{let Te=e.create(i,t[i]);e.attach(i,Te),i++,s++}}for(;i<=c;)Td(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=ga(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new li,o??=_d(e,i,s,n);let f=n(i,d);if(Ya(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Td(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ya(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Td(e,t,n,r,o){if(Ya(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function _d(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 li=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function jE(e,t,n,r,o,i,s,a){Ve("NgControlFlow");let c=m(),l=R(),u=ie(l.consts,i);return Tn(c,l,e,t,n,r,o,u,256,s,a),$c}function $c(e,t,n,r,o,i,s,a){Ve("NgControlFlow");let c=m(),l=R(),u=ie(l.consts,i);return Tn(c,l,e,t,n,r,o,u,512,s,a),$c}function VE(e,t){Ve("NgControlFlow");let n=m(),r=Fe(),o=n[r]!==z?n[r]:-1,i=o!==-1?ui(n,P+o):void 0,s=0;if(ne(n,r,e)){let a=D(null);try{if(i!==void 0&&rp(i,s),e!==-1){let c=P+e,l=ui(n,c),u=ec(n[I],c),d=ip(l,u,n),p=wr(n,u,t,{dehydratedView:d});br(l,p,s,wn(u,d))}}finally{D(a)}}else if(i!==void 0){let a=np(i,s);a!==void 0&&(a[F]=t)}}var Ka=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-j}};function HE(e){return e}function BE(e,t){return t}var Ja=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function $E(e,t,n,r,o,i,s,a,c,l,u,d,p){Ve("NgControlFlow");let f=m(),h=R(),g=c!==void 0,M=m(),w=a?s.bind(M[J][F]):s,Te=new Ja(g,w);M[P+e]=Te,Tn(f,h,e+1,t,n,r,o,ie(h.consts,i),256),g&&Tn(f,h,e+2,c,l,u,d,ie(h.consts,p),512)}var Xa=class extends Za{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-j}at(t){return this.getLView(t)[F].$implicit}attach(t,n){let r=n[Rt];this.needsIndexUpdate||=t!==this.length,br(this.lContainer,n,t,wn(this.templateTNode,r)),qE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,WE(this.lContainer,t),GE(this.lContainer,t)}create(t,n){let r=ni(this.lContainer,this.templateTNode.tView.ssrId),o=wr(this.hostLView,this.templateTNode,new Ka(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ii(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[F].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[F].$index=t}getLView(t){return zE(this.lContainer,t)}};function UE(e){let t=D(null),n=me();try{let r=m(),o=r[I],i=r[n],s=n+1,a=ui(r,s);if(i.liveCollection===void 0){let l=ec(o,s);i.liveCollection=new Xa(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(FE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Fe(),u=c.length===0;if(ne(r,l,u)){let d=n+2,p=ui(r,d);if(u){let f=ec(o,d),h=ip(p,f,r),g=wr(r,f,void 0,{dehydratedView:h});br(p,g,0,wn(f,h))}else o.firstUpdatePass&&bI(p),rp(p,0)}}}finally{D(t)}}function ui(e,t){return e[t]}function qE(e,t){if(e.length<=j)return;let n=j+t,r=e[n],o=r?r[Lt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[We];Rv(i,o),ur.delete(r),o.detachedLeaveAnimationFns=void 0}}function WE(e,t){if(e.length<=j)return;let n=j+t,r=e[n],o=r?r[Lt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function GE(e,t){return pr(e,t)}function zE(e,t){return np(e,t)}function ec(e,t){return Yn(e,t)}function Hp(e,t,n){let r=m(),o=Fe();if(ne(r,o,t)){let i=R(),s=gn();qf(s,r,e,t,r[O],n)}return Hp}function tc(e,t,n,r,o){Mc(t,e,n,o?"class":"style",r)}function Uc(e,t,n,r){let o=m(),i=o[I],s=e+P,a=i.firstCreatePass?Sc(s,o,2,t,bc,_o(),n,r):i.data[s];if(Tc(a,o,e,t,Up),pn(a)){let c=o[I];Di(c,o,a),lc(c,a,o)}return r!=null&&Cr(o,a),Uc}function qc(){let e=R(),t=H(),n=_c(t);return e.firstCreatePass&&Ac(e,n),Ys(n)&&Ks(),Qs(),n.classesWithoutHost!=null&&Qg(n)&&tc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Zg(n)&&tc(e,n,m(),n.stylesWithoutHost,!1),qc}function Bp(e,t,n,r){return Uc(e,t,n,r),qc(),Bp}function Wc(e,t,n,r){let o=m(),i=o[I],s=e+P,a=i.firstCreatePass?HI(s,i,2,t,n,r):i.data[s];return Tc(a,o,e,t,Up),r!=null&&Cr(o,a),Wc}function Gc(){let e=H(),t=_c(e);return Ys(t)&&Ks(),Qs(),Gc}function $p(e,t,n,r){return Wc(e,t,n,r),Gc(),$p}var Up=(e,t,n,r,o)=>(nr(!0),vf(t[O],r,Wu()));function zc(e,t,n){let r=m(),o=r[I],i=e+P,s=o.firstCreatePass?Sc(i,r,8,"ng-container",bc,_o(),t,n):o.data[i];if(Tc(s,r,e,"ng-container",QE),pn(s)){let a=r[I];Di(a,r,s),lc(a,s,r)}return n!=null&&Cr(r,s),zc}function Qc(){let e=R(),t=H(),n=_c(t);return e.firstCreatePass&&Ac(e,n),Qc}function qp(e,t,n){return zc(e,t,n),Qc(),qp}var QE=(e,t,n,r,o)=>(nr(!0),Xy(t[O],""));function ZE(){return m()}function Wp(e,t,n){let r=m(),o=Fe();if(ne(r,o,t)){let i=R(),s=gn();wc(s,r,e,t,r[O],n)}return Wp}function Gp(e,t,n){let r=m(),o=Fe();if(ne(r,o,t)){let i=R(),s=gn(),a=No(i.data),c=Wf(a,s,r);wc(s,r,e,t,c,n)}return Gp}var Vo=void 0;function YE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var KE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Vo,[["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"]],Vo,[["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}",Vo,"{1} 'at' {0}",Vo],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",YE],cr={};function JE(e,t,n){typeof t!="string"&&(n=t,t=e[di.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),cr[t]=e,n&&(cr[t][di.ExtraData]=n)}function XE(e){let t=eD(e),n=Md(t);if(n)return n;let r=t.split("-")[0];if(n=Md(r),n)return n;if(r==="en")return KE;throw new T(701,!1)}function Md(e){return e in cr||(cr[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),cr[e]}var di=(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})(di||{});function eD(e){return e.toLowerCase().replace(/_/g,"-")}var Nr="en-US";var tD=Nr;function zp(e){typeof e=="string"&&(tD=e.toLowerCase().replace(/_/g,"-"))}function Qp(e,t,n){let r=m(),o=R(),i=H();return Zc(o,r,r[O],i,e,t,n),Qp}function Zp(e,t){let n=H(),r=m(),o=R(),i=No(o.data),s=Wf(i,n,r);return Zc(o,r,s,n,e,t),Zp}function Yp(e,t,n){let r=m(),o=R(),i=H();return(i.type&3||n)&&fp(i,o,r,n,r[O],e,t,Wo(i,r,t)),Yp}function Zc(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Wo(r,t,i),fp(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Wo(r,t,i),Id(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Wo(r,t,i),Id(r,t,d,o,o,c)}}function nD(e=1){return Uu(e)}function rD(e,t){let n=null,r=dv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?_f(e,i,!0):hv(r,i))return o}return n}function oD(e){let t=m()[J][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=yu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?rD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function iD(e,t=0,n,r,o,i){let s=m(),a=R(),c=r?e+1:null;c!==null&&Tn(s,a,c,r,o,i,null,n);let l=Gt(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),ea();let d=!s[Rt]||Zs();s[J][ee].projection[l.projection]===null&&c!==null?sD(s,a,c):d&&!hi(l)&&Uv(a,s,l)}function sD(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=ni(i,o.tView.ssrId),a=wr(e,o,void 0,{dehydratedView:s});br(i,a,0,wn(o,s))}function aD(e,t,n,r){Ep(e,t,n,r)}function cD(e,t,n){Ip(e,t,n)}function lD(e){let t=m(),n=R(),r=xo();tr(r+1);let o=Pc(n,r);if(e.dirty&&_u(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Cp(t,r);e.reset(i,Yd),e.notifyOnChanges()}return!0}return!1}function uD(){return kc(m(),xo())}function dD(e,t,n,r,o){bp(t,Ep(e,n,r,o))}function fD(e,t,n,r){bp(e,Ip(t,n,r))}function pD(e=1){tr(xo()+e)}function hD(e){let t=ta();return Kn(t,P+e)}function Ho(e,t){return e<<17|t<<2}function qt(e){return e>>17&32767}function mD(e){return(e&2)==2}function gD(e,t){return e&131071|t<<17}function nc(e){return e|2}function _n(e){return(e&131068)>>2}function ya(e,t){return e&-131069|t<<2}function yD(e){return(e&1)===1}function rc(e){return e|1}function vD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=qt(s),c=_n(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||ln(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=qt(e[a+1]);e[r+1]=Ho(p,a),p!==0&&(e[p+1]=ya(e[p+1],r)),e[a+1]=gD(e[a+1],r)}else e[r+1]=Ho(a,0),a!==0&&(e[a+1]=ya(e[a+1],r)),a=r;else e[r+1]=Ho(c,0),a===0?a=r:e[c+1]=ya(e[c+1],r),c=r;l&&(e[r+1]=nc(e[r+1])),Nd(e,u,r,!0),Nd(e,u,r,!1),ID(t,u,e,r,i),s=Ho(a,c),i?t.classBindings=s:t.styleBindings=s}function ID(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&ln(i,t)>=0&&(n[r+1]=rc(n[r+1]))}function Nd(e,t,n,r){let o=e[n+1],i=t===null,s=r?qt(o):_n(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];ED(c,t)&&(a=!0,e[s+1]=r?rc(l):nc(l)),s=r?qt(l):_n(l)}a&&(e[n+1]=r?nc(o):rc(o))}function ED(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?ln(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kp(e){return e.substring(q.key,q.keyEnd)}function DD(e){return e.substring(q.value,q.valueEnd)}function CD(e){return eh(e),Jp(e,Mn(e,0,q.textEnd))}function Jp(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=bD(e,q.key=t,n),Mn(e,t,n))}function wD(e){return eh(e),Xp(e,Mn(e,0,q.textEnd))}function Xp(e,t){let n=q.textEnd,r=q.key=Mn(e,t,n);return n===r?-1:(r=q.keyEnd=TD(e,r,n),r=xd(e,r,n,58),r=q.value=Mn(e,r,n),r=q.valueEnd=_D(e,r,n),xd(e,r,n,59))}function eh(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function Mn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function bD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function TD(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function xd(e,t,n,r){return t=Mn(e,t,n),t<n&&t++,t}function _D(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Sd(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Sd(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Sd(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 th(e,t,n){return rh(e,t,n,!1),th}function nh(e,t){return rh(e,t,null,!0),nh}function MD(e){oh(ah,ND,e,!1)}function ND(e,t){for(let n=wD(t);n>=0;n=Xp(t,n))ah(e,Kp(t),DD(t))}function xD(e){oh(LD,SD,e,!0)}function SD(e,t){for(let n=CD(t);n>=0;n=Jp(t,n))zn(e,Kp(t),!0)}function rh(e,t,n,r){let o=m(),i=R(),s=er(2);if(i.firstUpdatePass&&sh(i,e,s,r),t!==z&&ne(o,s,t)){let a=i.data[me()];ch(i,a,o,o[O],e,o[s+1]=jD(t,n),r,s)}}function oh(e,t,n,r){let o=R(),i=er(2);o.firstUpdatePass&&sh(o,null,i,r);let s=m();if(n!==z&&ne(s,i,n)){let a=o.data[me()];if(lh(a,r)&&!ih(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ho(c,n||"")),tc(o,a,s,n,r)}else FD(o,a,s,s[O],s[i+1],s[i+1]=PD(e,t,n),r,i)}}function ih(e,t){return t>=e.expandoStartIndex}function sh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[me()],s=ih(e,n);lh(i,r)&&t===null&&!s&&(t=!1),t=AD(o,i,t,r),vD(o,i,t,n,s,r)}}function AD(e,t,n,r){let o=No(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=va(null,e,t,n,r),n=yr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=va(o,e,t,n,r),i===null){let c=RD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=va(null,e,t,c[1],r),c=yr(c,t.attrs,r),OD(e,t,r,c))}else i=kD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function RD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(_n(r)!==0)return e[qt(r)]}function OD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[qt(o)]=r}function kD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=yr(r,s,n)}return yr(r,t.attrs,n)}function va(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=yr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function yr(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),zn(e,s,n?!0:t[++i]))}return e===void 0?null:e}function PD(e,t,n){if(n==null||n==="")return K;let r=[],o=Wt(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 ah(e,t,n){zn(e,t,Wt(n))}function LD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&zn(e,r,n)}function FD(e,t,n,r,o,i,s,a){o===z&&(o=K);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&ch(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function ch(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=yD(l)?Ad(c,t,n,o,_n(l),s):void 0;if(!fi(u)){fi(i)||mD(l)&&(i=Ad(c,null,n,o,a,s));let d=$s(me(),n);Wv(r,s,d,o,i)}}function Ad(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===z&&(p=d?K:void 0);let f=d?Io(p,r):u===r?p:void 0;if(l&&!fi(f)&&(f=Io(c,r)),fi(f)&&(a=f,s))return a;let h=e[o+1];o=s?qt(h):_n(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Io(c,r))}return a}function fi(e){return e!==void 0}function jD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=qe(Wt(e)))),e}function lh(e,t){return(e.flags&(t?8:16))!==0}function VD(e,t=""){let n=m(),r=R(),o=e+P,i=r.firstCreatePass?Gt(r,o,1,t,null):r.data[o],s=HD(r,n,i,t,e);n[o]=s,Ro()&&Dc(r,n,s,i),Vt(i,!1)}var HD=(e,t,n,r,o)=>(nr(!0),Ky(t[O],r));function uh(e,t,n,r=""){return ne(e,Fe(),n)?t+le(n)+r:z}function dh(e,t,n,r,o,i=""){let s=ra(),a=Oc(e,s,n,o);return er(2),a?t+le(n)+r+le(o)+i:z}function BD(e,t,n,r,o,i,s,a=""){let c=ra(),l=dp(e,c,n,o,s);return er(3),l?t+le(n)+r+le(o)+i+le(s)+a:z}function fh(e){return Yc("",e),fh}function Yc(e,t,n){let r=m(),o=uh(r,e,t,n);return o!==z&&Kc(r,me(),o),Yc}function ph(e,t,n,r,o){let i=m(),s=dh(i,e,t,n,r,o);return s!==z&&Kc(i,me(),s),ph}function hh(e,t,n,r,o,i,s){let a=m(),c=BD(a,e,t,n,r,o,i,s);return c!==z&&Kc(a,me(),c),hh}function Kc(e,t,n){let r=$s(t,e);Jy(e[O],r,n)}function mh(e,t,n){ca(t)&&(t=t());let r=m(),o=Fe();if(ne(r,o,t)){let i=R(),s=gn();qf(s,r,e,t,r[O],n)}return mh}function $D(e,t){let n=ca(e);return n&&e.set(t),n}function gh(e,t){let n=m(),r=R(),o=H();return Zc(r,n,n[O],o,e,t),gh}var yh={};function vh(e){let t=R(),n=m(),r=e+P,o=Gt(t,r,128,null,null);return Vt(o,!1),Jn(t,n,r,yh),vh}function UD(e){Ve("NgLet");let t=R(),n=m(),r=me();return Jn(t,n,r,e),e}function qD(e){let t=ta(),n=Kn(t,P+e);if(n===yh)throw new T(314,!1);return n}function WD(e){return ne(m(),Fe(),e)?le(e):z}function GD(e,t,n=""){return uh(m(),e,t,n)}function zD(e,t,n,r,o=""){return dh(m(),e,t,n,r,o)}function QD(e,t,n){let r=R();if(r.firstCreatePass){let o=fe(e);oc(n,r.data,r.blueprint,o,!0),oc(t,r.data,r.blueprint,o,!1)}}function oc(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)oc(e[i],t,n,r,o);else{let i=R(),s=m(),a=H(),c=Nt(e)?e:$(e.provide),l=ks(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Nt(e)||!e.multi){let f=new Ut(l,o,_r,null),h=Ea(c,t,o?u:u+p,d);h===-1?(Ca(Yo(a,s),i,c),Ia(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ea(c,t,u+p,d),h=Ea(c,t,u,u+p),g=f>=0&&n[f],M=h>=0&&n[h];if(o&&!M||!o&&!g){Ca(Yo(a,s),i,c);let w=KD(o?YD:ZD,n.length,o,r,l,e);!o&&M&&(n[h].providerFactory=w),Ia(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=Ih(n[o?h:f],l,!o&&r);Ia(i,e,f>-1?f:h,w)}!o&&r&&M&&n[h].componentProviders++}}}function Ia(e,t,n,r){let o=Nt(t),i=wu(t);if(o||i){let c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Ih(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ea(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ZD(e,t,n,r,o){return ic(this.multi,[])}function YD(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=lr(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),ic(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],ic(i,s);return s}function ic(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function KD(e,t,n,r,o,i){let s=new Ut(e,n,_r,null);return s.multi=[],s.index=t,s.componentProviders=0,Ih(s,o,r&&!n),s}function JD(e,t=[]){return n=>{n.providersResolver=(r,o)=>QD(r,o?o(e):e,t)}}function XD(e,t,n){let r=Ht()+e,o=m();return o[r]===z?Ti(o,r,n?t.call(n):t()):BI(o,r)}function eC(e,t,n,r){return Eh(m(),Ht(),e,t,n,r)}function tC(e,t,n,r,o){return Dh(m(),Ht(),e,t,n,r,o)}function nC(e,t,n,r,o,i){return rC(m(),Ht(),e,t,n,r,o,i)}function Jc(e,t){let n=e[t];return n===z?void 0:n}function Eh(e,t,n,r,o,i){let s=t+n;return ne(e,s,o)?Ti(e,s+1,i?r.call(i,o):r(o)):Jc(e,s+1)}function Dh(e,t,n,r,o,i,s){let a=t+n;return Oc(e,a,o,i)?Ti(e,a+2,s?r.call(s,o,i):r(o,i)):Jc(e,a+2)}function rC(e,t,n,r,o,i,s,a){let c=t+n;return dp(e,c,o,i,s)?Ti(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Jc(e,c+3)}function oC(e,t){let n=R(),r,o=e+P;n.firstCreatePass?(r=iC(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=st(r.type,!0)),s,a=X(_r);try{let c=Zo(!1),l=i();return Zo(c),Jn(n,m(),o,l),l}finally{X(a)}}function iC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function sC(e,t,n){let r=e+P,o=m(),i=Kn(o,r);return Ch(o,r)?Eh(o,Ht(),t,i.transform,n,i):i.transform(n)}function aC(e,t,n,r){let o=e+P,i=m(),s=Kn(i,o);return Ch(i,o)?Dh(i,Ht(),t,s.transform,n,r,s):s.transform(n,r)}function Ch(e,t){return e[I].data[t].pure}function cC(e,t){return Ci(e,t)}var pi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},lC=(()=>{class e{compileModuleSync(n){return new ci(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ss(n),i=bf(o.declarations).reduce((s,a)=>{let c=Oe(a);return c&&s.push(new gt(c)),s},[]);return new pi(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uC=(()=>{class e{zone=C(te);changeDetectionScheduler=C(ce);applicationRef=C(Mr);applicationErrorHandler=C(ze);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new te(G(W({},bh()),{scheduleInRootZone:n})),[{provide:te,useFactory:e},{provide:At,multi:!0,useFactory:()=>{let r=C(uC,{optional:!0});return()=>r.initialize()}},{provide:At,multi:!0,useFactory:()=>{let r=C(dC);return()=>{r.initialize()}}},t===!0?{provide:la,useValue:!0}:[],{provide:ko,useValue:n??Sf},{provide:ze,useFactory:()=>{let r=C(te),o=C(ae),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Ae),i.handleError(s))})}}}]}function bh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var dC=(()=>{class e{subscription=new L;initialized=!1;zone=C(te);pendingTasks=C(ht);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(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xc=(()=>{class e{applicationErrorHandler=C(ze);appRef=C(Mr);taskService=C(ht);ngZone=C(te);zonelessEnabled=C(or);tracing=C(Dr,{optional:!0});disableScheduling=C(la,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ei):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(ko,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 dr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?ld:Af;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ei+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ld(()=>{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 \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fC(){return Ve("NgZoneless"),Do([{provide:ce,useExisting:Xc},{provide:te,useClass:dr},{provide:or,useValue:!0},{provide:ko,useValue:!1},[]])}function pC(){return typeof $localize<"u"&&$localize.locale||Nr}var el=new A("",{providedIn:"root",factory:()=>C(el,{optional:!0,skipSelf:!0})||pC()});var xr=class{destroyed=!1;listeners=null;errorHandler=C(Ae,{optional:!0});destroyRef=C(pt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new T(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(qn(953,!1));return}if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function hC(e){return ou(e)}function mC(e,t){return Vn(e,t?.equal)}var tl=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function gC(e,t){let n=t?.injector??C(Ee),r=t?.manualCleanup!==!0?n.get(pt):null,o,i=n.get(yn,null,{optional:!0}),s=n.get(ce);return i!==null?(o=IC(i.view,s,e),r instanceof Un&&r._lView===i.view&&(r=null)):o=EC(e,n.get(ir),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new tl(o)}var _h=G(W({},iu),{cleanupFns:void 0,zone:null,onDestroyFn:Bt,run(){let e=mn(!1);try{su(this)}finally{mn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=D(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],D(e)}}}),yC=G(W({},_h),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Tt(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),vC=G(W({},_h),{consumerMarkedDirty(){this.view[b]|=8192,dt(this.view),this.notifier.notify(13)},destroy(){Tt(this),this.onDestroyFn(),this.cleanup(),this.view[Ge]?.delete(this)}});function IC(e,t,n){let r=Object.create(vC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Mh(r,n),e[Ge]??=new Set,e[Ge].add(r),r.consumerMarkedDirty(r),r}function EC(e,t,n){let r=Object.create(yC);return r.fn=Mh(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Mh(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var DC=e=>e;function CC(e,t){if(typeof e=="function"){let n=ss(e,DC,t?.equal);return Th(n,t?.debugName)}else{let n=ss(e.source,e.computation,e.equal);return Th(n,e.debugName)}}function Th(e,t){let n=e[V],r=e;return r.set=o=>nu(n,o),r.update=o=>ru(n,o),r.asReadonly=rr.bind(e),r}var xi=Symbol("InputSignalNode#UNSET"),Fh=G(W({},co),{transformFn:void 0,applyValueToInputSignal(e,t){it(e,t)}});function jh(e,t){let n=Object.create(Fh);n.value=e,n.transformFn=t?.transform;function r(){if(rt(n),n.value===xi){let o=null;throw new T(-950,o)}return n.value}return r[V]=n,r}var Nh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Zd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},bC=new A("");bC.__NG_ELEMENT_ID__=e=>{let t=H();if(t===null)throw new T(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new T(204,!1)};function r1(e){return new xr}function xh(e,t){return jh(e,t)}function TC(e){return jh(xi,e)}var o1=(xh.required=TC,xh);function Sh(e,t){return Fc(t)}function _C(e,t){return jc(t)}var i1=(Sh.required=_C,Sh);function Ah(e,t){return Fc(t)}function MC(e,t){return jc(t)}var s1=(Ah.required=MC,Ah);function a1(e,t){return wp(t)}function Vh(e,t){let n=Object.create(Fh),r=new xr;n.value=e;function o(){return rt(n),Rh(n.value),n.value}return o[V]=n,o.asReadonly=rr.bind(o),o.set=i=>{n.equal(n.value,i)||(it(n,i),r.emit(i))},o.update=i=>{Rh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Rh(e){if(e===xi)throw new T(952,!1)}function Oh(e,t){return Vh(e,t)}function NC(e){return Vh(xi,e)}var c1=(Oh.required=NC,Oh);var nl=new A(""),xC=new A("");function Sr(e){return!e.moduleRef}function SC(e){let t=Sr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(te);return n.run(()=>{Sr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ze),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Sr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(nl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(nl);s.add(i),e.moduleRef.onDestroy(()=>{ar(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return RC(r,n,()=>{let i=t.get(ht),s=i.add(),a=t.get(Bc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(el,Nr);if(zp(c||Nr),!t.get(xC,!0))return Sr(e)?t.get(Mr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Sr(e)){let u=t.get(Mr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return AC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var AC;function RC(e,t,n){try{let r=n();return Vc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Mi=null;function OC(e=[],t){return Ee.create({name:t,providers:[{provide:Os,useValue:"platform"},{provide:nl,useValue:new Set([()=>Mi=null])},...e]})}function kC(e=[]){if(Mi)return Mi;let t=OC(e);return Mi=t,Fp(),PC(t),t}function PC(e){let t=e.get(nf,null);Co(e,()=>{t?.forEach(n=>n())})}function l1(){return!1}var u1=(()=>{class e{static __NG_ELEMENT_ID__=LC}return e})();function LC(e){return FC(H(),m(),(e&16)===16)}function FC(e,t,n){if(ut(e)&&!n){let r=he(e.index,t);return new mt(r,r)}else if(e.type&175){let r=t[J];return new mt(r,t)}return null}var rl=class{constructor(){}supports(t){return Rc(t)}create(t){return new ol(t)}},jC=(e,t)=>t,ol=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||jC}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<kh(r,o,i)?n:r,a=kh(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Rc(t))throw new T(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,up(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 il(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 Ni),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 Ni),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}},il=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},sl=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ni=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new sl,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 kh(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 al=class{constructor(){}supports(t){return t instanceof Map||bi(t)}create(){return new cl}},cl=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_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||bi(t)))throw new T(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 ll(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))}},ll=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Ph(){return new VC([new rl])}var VC=(()=>{class e{factories;static \u0275prov=B({token:e,providedIn:"root",factory:Ph});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=C(e,{optional:!0,skipSelf:!0});return e.create(n,r||Ph())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new T(901,!1)}}return e})();function Lh(){return new HC([new al])}var HC=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:Lh});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=C(e,{optional:!0,skipSelf:!0});return e.create(n,r||Lh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new T(901,!1)}}return e})();function d1(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;k(8);try{let i=o?.injector??kC(r),s=[wh({}),{provide:ce,useExisting:Xc},zu,...n||[]],a=new gr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return SC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{k(9)}}function f1(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function p1(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function h1(e,t){let n=Oe(e),r=t.elementInjector||un();return new gt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function m1(e){let t=Oe(e);if(!t)return null;let n=new gt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{W as a,G as b,BC as c,$C as d,UC as e,qC as f,L as g,Kh as h,N as i,Bi as j,$i as k,se as l,Sn as m,Rn as n,rm as o,om as p,Et as q,Kb as r,Jb as s,Me as t,fm as u,pm as v,hm as w,ge as x,mm as y,Yh as z,ym as A,Ne as B,_m as C,Ie as D,Pn as E,tn as F,Nm as G,xm as H,Gi as I,Be as J,Lm as K,Fm as L,et as M,jm as N,zi as O,Vm as P,Vl as Q,Ln as R,nn as S,Qi as T,Hm as U,Bl as V,$l as W,Ul as X,Yi as Y,Um as Z,qm as _,Wm as $,Ji as aa,Gm as ba,zm as ca,Qm as da,ql as ea,Wl as fa,Zm as ga,Gl as ha,Ym as ia,Km as ja,T as ka,qn as la,mo as ma,B as na,uu as oa,cg as pa,A as qa,Se as ra,C as sa,Do as ta,Eu as ua,Os as va,ae as wa,Co as xa,Ou as ya,ku as za,qu as Aa,Ee as Ba,Ng as Ca,pt as Da,Ae as Ea,ze as Fa,aa as Ga,Oo as Ha,ce as Ia,ht as Ja,ua as Ka,jg as La,Vg as Ma,Hg as Na,$g as Oa,sy as Pa,Zd as Qa,vr as Ra,Ko as Sa,py as Ta,hy as Ua,nf as Va,gy as Wa,yy as Xa,vy as Ya,Dy as Za,Cn as _a,Wt as $a,gi as ab,_y as bb,My as cb,Ny as db,xy as eb,Sy as fb,uc as gb,yf as hb,Er as ib,nv as jb,Cf as kb,ov as lb,iv as mb,Dv as nb,Xo as ob,ur as pb,Dr as qb,Ve as rb,Qe as sb,te as tb,xv as ub,Sv as vb,hr as wb,mr as xb,NI as yb,_r as zb,SI as Ab,_i as Bb,bn as Cb,Tp as Db,_p as Eb,pE as Fb,mE as Gb,vE as Hb,IE as Ib,xp as Jb,ME as Kb,Rp as Lb,Op as Mb,OE as Nb,Vc as Ob,Pp as Pb,Hc as Qb,kE as Rb,Lp as Sb,Mr as Tb,Vp as Ub,LE as Vb,jE as Wb,$c as Xb,VE as Yb,HE as Zb,BE as _b,$E as $b,UE as ac,Hp as bc,Uc as cc,qc as dc,Bp as ec,Wc as fc,Gc as gc,$p as hc,zc as ic,Qc as jc,qp as kc,ZE as lc,Wp as mc,Gp as nc,JE as oc,XE as pc,di as qc,Qp as rc,Zp as sc,Yp as tc,nD as uc,oD as vc,iD as wc,aD as xc,cD as yc,lD as zc,uD as Ac,dD as Bc,fD as Cc,pD as Dc,hD as Ec,th as Fc,nh as Gc,MD as Hc,xD as Ic,VD as Jc,fh as Kc,Yc as Lc,ph as Mc,hh as Nc,mh as Oc,$D as Pc,gh as Qc,vh as Rc,UD as Sc,qD as Tc,WD as Uc,GD as Vc,zD as Wc,JD as Xc,XD as Yc,eC as Zc,tC as _c,nC as $c,oC as ad,sC as bd,aC as cd,cC as dd,lC as ed,fC as fd,el as gd,hC as hd,mC as id,gC as jd,CC as kd,Nh as ld,bC as md,r1 as nd,o1 as od,i1 as pd,s1 as qd,a1 as rd,c1 as sd,l1 as td,u1 as ud,VC as vd,HC as wd,d1 as xd,f1 as yd,p1 as zd,h1 as Ad,m1 as Bd};
@@ -0,0 +1 @@
1
+ import{c as Te}from"./chunk-OZCK4XVV.js";import{a as ue,c as fe,f as be,g as ze,i as _e}from"./chunk-FXCG34QS.js";import{Ga as mt,Ha as pt,Ia as J,Ja as tt,L,R as At,S as re,a as kt,ab as ce,eb as he,fb as me,gb as ut,h as Dt,m as oe,pa as le,pb as pe,ra as U,ta as de,va as K,x as se}from"./chunk-3CM4SKDO.js";import{b as ne,e as ie,f as ae}from"./chunk-WUA5JFDD.js";import{i as ht}from"./chunk-KRYMOHYF.js";import{$b as ot,Ac as I,Bc as Zt,Da as et,Dc as Ut,Ec as Z,Fb as O,Fc as xt,Gb as qt,Gc as M,Hb as W,Hc as Kt,Jc as It,L as X,Lb as S,Lc as St,M as Ft,Mb as Gt,N as Pt,Oa as vt,Ra as P,Sa as nt,U as Ht,Ub as q,Wb as N,X as Vt,Xa as Yt,Xc as Jt,Yb as k,Yc as lt,_b as at,ac as st,bc as u,cc as g,da as Ct,dc as C,dd as dt,ec as V,f as _t,g as Tt,ic as G,id as wt,jc as j,l as Lt,lc as B,ma as $t,md as te,nb as f,nc as jt,o as Ot,oa as Qt,od as Nt,p as Wt,qa as Xt,r as Q,rc as A,rd as ee,s as R,sa as h,sb as z,tb as Y,u as gt,uc as c,ud as ct,vc as yt,wb as it,wc as rt,xc as H,ya as _,yc as F,yd as y,za as T,zc as x}from"./chunk-4BRW6LCZ.js";function Me(e,d){if(e&1&&(G(0),V(1,"nz-icon",1),j()),e&2){let t=d.$implicit;f(),u("nzType",t)}}var Le=["nz-tab-body",""];function Oe(e,d){}function We(e,d){if(e&1&&(G(0),V(1,"nz-icon",1),j()),e&2){let t=d.$implicit;f(),u("nzType",t)}}var Fe=()=>({minWidth:"46px"}),Pe=()=>({visible:!1});function He(e,d){if(e&1&&(G(0),It(1),j()),e&2){let t=c().$implicit;f(),St(" ",t.tab.label," ")}}function Ve(e,d){if(e&1){let t=B();g(0,"li",7),A("click",function(){let i=_(t).$implicit,a=c(2);return T(a.onSelect(i))})("contextmenu",function(i){let a=_(t).$implicit,l=c(2);return T(l.onContextmenu(a,i))}),S(1,He,2,1,"ng-container",8),C()}if(e&2){let t=d.$implicit;M("ant-tabs-dropdown-menu-item-disabled",t.disabled),u("nzSelected",t.active)("nzDisabled",t.disabled),f(),u("nzStringTemplateOutlet",t.tab.label)("nzStringTemplateOutletContext",lt(6,Pe))}}function $e(e,d){if(e&1&&(g(0,"ul",4),ot(1,Ve,2,7,"li",6,at),C()),e&2){let t=c();f(),st(t.items)}}function Qe(e,d){if(e&1){let t=B();g(0,"button",9),A("click",function(){_(t);let i=c();return T(i.addClicked.emit())}),C()}if(e&2){let t=c();u("addIcon",t.addIcon)}}var Xe=["navWrap"],Ye=["navList"],qe=["*"];function Ge(e,d){}function je(e,d){if(e&1&&(g(0,"div",2),S(1,Ge,0,0,"ng-template",8),C()),e&2){let t=c();f(),u("ngTemplateOutlet",t.startExtraContent().templateRef)}}function Ze(e,d){if(e&1){let t=B();g(0,"button",9),A("click",function(){_(t);let i=c();return T(i.addClicked.emit())}),C()}if(e&2){let t=c();u("addIcon",t.addIcon),q("tabindex",-1)}}function Ue(e,d){}function Ke(e,d){if(e&1&&(g(0,"div",2),S(1,Ue,0,0,"ng-template",8),C()),e&2){let t=c();f(),u("ngTemplateOutlet",t.endExtraContent().templateRef)}}function Je(e,d){}function tn(e,d){if(e&1&&(g(0,"div",2),S(1,Je,0,0,"ng-template",8),C()),e&2){let t=c();f(),u("ngTemplateOutlet",t.extraTemplate)}}var en=["contentTemplate"],nn=[[["","nz-tab-link",""]],"*"],an=["[nz-tab-link]","*"];function on(e,d){e&1&&rt(0)}function sn(e,d){e&1&&rt(0,1)}var rn=()=>({visible:!0});function ln(e,d){if(e&1&&(G(0),It(1),j()),e&2){let t=c().$implicit;f(),St(" ",t.label," ")}}function dn(e,d){if(e&1){let t=B();g(0,"button",10),A("click",function(i){_(t);let a=c().$index,l=c(2);return T(l.onClose(a,i))}),C()}if(e&2){let t=c().$implicit;u("closeIcon",t.nzCloseIcon)}}function cn(e,d){if(e&1){let t=B();g(0,"div",6),A("click",function(i){let a=_(t),l=a.$implicit,p=a.$index,b=c(2);return T(b.clickNavItem(l,p,i))})("contextmenu",function(i){let a=_(t).$implicit,l=c(2);return T(l.contextmenuNavItem(a,i))}),g(1,"button",7),S(2,ln,2,1,"ng-container",8),N(3,dn,1,1,"button",9),C()()}if(e&2){let t=d.$implicit,n=d.$index,i=c(2);xt("margin-right",i.position==="horizontal"?i.nzTabBarGutter:null,"px")("margin-bottom",i.position==="vertical"?i.nzTabBarGutter:null,"px"),M("ant-tabs-tab-active",i.nzSelectedIndex===n)("ant-tabs-tab-disabled",t.nzDisabled),f(),u("id",i.getTabContentId(n))("disabled",t.nzDisabled)("tab",t)("active",i.nzSelectedIndex===n),q("tabIndex",i.getTabIndex(t,n))("aria-disabled",t.nzDisabled)("aria-selected",i.nzSelectedIndex===n&&!i.nzHideAll)("aria-controls",i.getTabContentId(n)),f(),u("nzStringTemplateOutlet",t.label)("nzStringTemplateOutletContext",lt(19,rn)),f(),k(t.nzClosable&&i.closable&&!t.nzDisabled?3:-1)}}function hn(e,d){if(e&1){let t=B();g(0,"nz-tabs-nav",4),A("tabScroll",function(i){_(t);let a=c();return T(a.nzTabListScroll.emit(i))})("selectFocusedIndex",function(i){_(t);let a=c();return T(a.setSelectedIndex(i))})("addClicked",function(){_(t);let i=c();return T(i.onAdd())}),ot(1,cn,4,20,"div",5,at),C()}if(e&2){let t=c();Kt(t.nzTabBarStyle),u("selectedIndex",t.nzSelectedIndex||0)("inkBarAnimated",t.inkBarAnimated)("addable",t.addable)("addIcon",t.nzAddIcon)("hideBar",t.nzHideAll)("position",t.position)("extraTemplate",t.nzTabBarExtraContent)("extraContents",t.extraContents()),f(),st(t.tabs)}}function mn(e,d){}function pn(e,d){if(e&1&&S(0,mn,0,0,"ng-template",11),e&2){c();let t=Z(4);u("ngTemplateOutlet",t)}}function un(e,d){}function fn(e,d){if(e&1&&S(0,un,0,0,"ng-template",11),e&2){c(2);let t=Z(4);u("ngTemplateOutlet",t)}}function bn(e,d){if(e&1&&N(0,fn,1,1,null,11),e&2){let t=c().$index,n=c(2);k(n.nzSelectedIndex===t?0:-1)}}function zn(e,d){}function _n(e,d){if(e&1&&S(0,zn,0,0,"ng-template",11),e&2){c(2);let t=Z(4);u("ngTemplateOutlet",t)}}function Tn(e,d){if(e&1&&N(0,_n,1,1,null,11),e&2){let t=c(),n=t.$implicit,i=t.$index,a=c(2);k(a.nzSelectedIndex===i||n.hasBeenActive?0:-1)}}function gn(e,d){if(e&1&&V(0,"div",12),e&2){let t=c(),n=t.$implicit,i=t.$index,a=c(2);u("id",a.getTabContentId(i))("active",a.nzSelectedIndex===i)("content",n.content)("animated",a.tabPaneAnimated),q("aria-labelledby",a.getTabContentId(i))}}function Cn(e,d){if(e&1&&(N(0,pn,1,1,null,11)(1,bn,1,1)(2,Tn,1,1),S(3,gn,1,5,"ng-template",null,0,dt)),e&2){let t=d.$implicit,n=c(2);k(t.nzForceRender?0:n.nzDestroyInactiveTabPane?1:2)}}function vn(e,d){if(e&1&&ot(0,Cn,5,1,null,null,at),e&2){let t=c();st(t.tabs)}}var Et=class{index;tab},bt=(()=>{class e{addIcon="plus";element=h(P).nativeElement;getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=O({type:e,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nzTheme","outline",3,"nzType"]],template:function(n,i){n&1&&S(0,Me,2,1,"ng-container",0),n&2&&u("nzStringTemplateOutlet",i.addIcon)},dependencies:[tt,J,pt,mt],encapsulation:2})}return e})(),ge=(()=>{class e{position=Nt("end",{alias:"nzTabBarExtraContent"});templateRef=h(it);static \u0275fac=function(n){return new(n||e)};static \u0275dir=W({type:e,selectors:[["","nzTabBarExtraContent","",5,"nz-tabset",5,"nz-tabs"]],inputs:{position:[1,"nzTabBarExtraContent","position"]}})}return e})(),yn=(()=>{class e{content=null;active=!1;animated=!0;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=O({type:e,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:10,hostBindings:function(n,i){n&2&&(jt("@tabSwitchMotion",i.active?"enter":"leave")("@.disabled",!i.animated),q("tabindex",i.active?0:-1)("aria-hidden",!i.active),xt("overflow-y",i.animated?i.active?null:"none":null),M("ant-tabs-tabpane-active",i.active)("ant-tabs-tabpane-hidden",i.animated?null:!i.active))},inputs:{content:"content",active:"active",animated:"animated"},exportAs:["nzTabBody"],attrs:Le,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(n,i){n&1&&S(0,Oe,0,0,"ng-template",0),n&2&&u("ngTemplateOutlet",i.content)},dependencies:[ht],encapsulation:2,data:{animation:[pe]},changeDetection:0})}return e})(),Ie=(()=>{class e{closeIcon="close";static \u0275fac=function(n){return new(n||e)};static \u0275cmp=O({type:e,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nzTheme","outline",3,"nzType"]],template:function(n,i){n&1&&S(0,We,2,1,"ng-container",0),n&2&&u("nzStringTemplateOutlet",i.closeIcon)},dependencies:[tt,J,pt,mt],encapsulation:2})}return e})(),xn=(()=>{class e{templateRef=h(it,{host:!0});static \u0275fac=function(n){return new(n||e)};static \u0275dir=W({type:e,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]})}return e})(),Se=(()=>{class e{elementRef=h(P);routerLink=h(ae,{self:!0,optional:!0});static \u0275fac=function(n){return new(n||e)};static \u0275dir=W({type:e,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]})}return e})(),we=(()=>{class e{disabled=!1;tab;active=!1;elementRef=h(P);el=this.elementRef.nativeElement;parentElement=this.el.parentElement;focus(){this.el.focus({preventScroll:!0})}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}static \u0275fac=function(n){return new(n||e)};static \u0275dir=W({type:e,selectors:[["","nzTabNavItem",""]],inputs:{disabled:[2,"disabled","disabled",y],tab:"tab",active:[2,"active","active",y]}})}return e})(),Rt=(()=>{class e{items=[];addable=!1;addIcon="plus";addClicked=new z;selected=new z;closeAnimationWaitTimeoutId;menuOpened=!1;cdr=h(ct);element=h(P).nativeElement;onSelect(t){t.disabled||(t.tab.nzClick.emit(),this.selected.emit(t))}onContextmenu(t,n){t.disabled||t.tab.nzContextmenu.emit(n)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(t){t||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){return this.element?.offsetWidth||0}getElementHeight(){return this.element?.offsetHeight||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=O({type:e,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(n,i){n&2&&M("ant-tabs-nav-operations-hidden",i.items.length===0)},inputs:{items:"items",addable:[2,"addable","addable",y],addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["dropdownTrigger","nzDropdown"],["menu","nzDropdownMenu"],["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzVisibleChange","mouseenter","nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement"],["nzType","ellipsis"],["nz-menu",""],["nz-tab-add-button","",3,"addIcon"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"click","contextmenu","nzSelected","nzDisabled"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"click","addIcon"]],template:function(n,i){if(n&1){let a=B();g(0,"button",2,0),A("nzVisibleChange",function(p){return _(a),T(i.menuVisChange(p))})("mouseenter",function(){return _(a),T(i.showItems())}),V(2,"nz-icon",3),C(),g(3,"nz-dropdown-menu",null,1),N(5,$e,3,0,"ul",4),C(),N(6,Qe,1,1,"button",5)}if(n&2){let a=Z(4);u("nzDropdownMenu",a)("nzOverlayStyle",lt(5,Fe))("nzMatchWidthElement",null),f(5),k(i.menuOpened?5:-1),f(),k(i.addable?6:-1)}},dependencies:[pt,mt,tt,J,bt,_e,be,fe,ue,ze],encapsulation:2,changeDetection:0})}return e})(),In=.1,Ce=.01,ft=20,ve=.995**ft,Sn=(()=>{class e{ngZone=h(Y);destroyRef=h(et);el=h(P).nativeElement;lastWheelDirection=null;lastWheelTimestamp=0;lastTimestamp=0;lastTimeDiff=0;lastMixedWheel=0;lastWheelPrevent=!1;touchPosition=null;lastOffset=null;motion=-1;offsetChange=new z;tabScroll=new z;ngOnInit(){let t=U(this.el,"wheel"),n=U(this.el,"touchstart"),i=U(this.el,"touchmove"),a=U(this.el,"touchend");this.subscribeWrap("wheel",t,this.onWheel),this.subscribeWrap("touchstart",n,this.onTouchStart),this.subscribeWrap("touchmove",i,this.onTouchMove),this.subscribeWrap("touchend",a,this.onTouchEnd)}subscribeWrap(t,n,i){return n.pipe(L(this.destroyRef)).subscribe(a=>{this.tabScroll.emit({type:t,event:a}),a.defaultPrevented||i(a)})}onTouchEnd=t=>{if(!this.touchPosition)return;let n=this.lastOffset,i=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,n){let a=n.x/i,l=n.y/i,p=Math.abs(a),b=Math.abs(l);if(Math.max(p,b)<In)return;let w=a,E=l;this.motion=window.setInterval(()=>{if(Math.abs(w)<Ce&&Math.abs(E)<Ce){window.clearInterval(this.motion);return}w*=ve,E*=ve,this.onOffset(w*ft,E*ft,t)},ft)}};onTouchMove=t=>{if(!this.touchPosition)return;t.preventDefault();let{screenX:n,screenY:i}=t.touches[0],a=n-this.touchPosition.x,l=i-this.touchPosition.y;this.onOffset(a,l,t);let p=Date.now();this.lastTimeDiff=p-this.lastTimestamp,this.lastTimestamp=p,this.lastOffset={x:a,y:l},this.touchPosition={x:n,y:i}};onTouchStart=t=>{let{screenX:n,screenY:i}=t.touches[0];this.touchPosition={x:n,y:i},window.clearInterval(this.motion)};onWheel=t=>{let{deltaX:n,deltaY:i}=t,a,l=Math.abs(n),p=Math.abs(i);l===p?a=this.lastWheelDirection==="x"?n:i:l>p?(a=n,this.lastWheelDirection="x"):(a=i,this.lastWheelDirection="y");let b=Date.now(),w=Math.abs(a);(b-this.lastWheelTimestamp>100||w-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-a,-a,t),(t.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=b,this.lastMixedWheel=w};onOffset(t,n,i){this.offsetChange.observers.length&&this.ngZone.run(()=>{this.offsetChange.emit({x:t,y:n,event:i})})}static \u0275fac=function(n){return new(n||e)};static \u0275dir=W({type:e,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}})}return e})(),ye=(()=>{class e{ngZone=h(Y);el=h(P).nativeElement;position="horizontal";animated=!0;animationMode=h(Yt,{optional:!0});get _animated(){return this.animationMode!=="NoopAnimations"&&this.animated}alignToElement(t){this.ngZone.runOutsideAngular(()=>{ut(()=>this.setStyles(t))})}setStyles(t){this.position==="horizontal"?(this.el.style.top="",this.el.style.height="",this.el.style.left=this.getLeftPosition(t),this.el.style.width=this.getElementWidth(t)):(this.el.style.left="",this.el.style.width="",this.el.style.top=this.getTopPosition(t),this.el.style.height=this.getElementHeight(t))}getLeftPosition(t){return t?`${t.offsetLeft||0}px`:"0"}getElementWidth(t){return t?`${t.offsetWidth||0}px`:"0"}getTopPosition(t){return t?`${t.offsetTop||0}px`:"0"}getElementHeight(t){return t?`${t.offsetHeight||0}px`:"0"}static \u0275fac=function(n){return new(n||e)};static \u0275dir=W({type:e,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(n,i){n&2&&M("ant-tabs-ink-bar-animated",i._animated)},inputs:{position:"position",animated:"animated"}})}return e})(),wn=typeof ut<"u"?Wt:Ot,xe=150,Bt=(()=>{class e{cdr=h(ct);ngZone=h(Y);viewportRuler=h(oe);nzResizeObserver=h(Te);dir=h(kt);destroyRef=h(et);indexFocused=new z;selectFocusedIndex=new z;addClicked=new z;tabScroll=new z;position="horizontal";addable=!1;hideBar=!1;addIcon="plus";inkBarAnimated=!0;extraTemplate;extraContents=Nt.required();startExtraContent=wt(()=>this.extraContents().find(t=>t.position()==="start"));endExtraContent=wt(()=>this.extraContents().find(t=>t.position()==="end"));get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let n=Dt(t);this._selectedIndex!==n&&(this._selectedIndex=t,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(t))}navWrapRef;navListRef;operationRef;addBtnRef;inkBar;items;get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(t){!this.isValidIndex(t)||this.focusIndex===t||!this.keyManager||this.keyManager.setActiveItem(t)}get showAddButton(){return this.hiddenItems.length===0&&this.addable}translate=null;transformX=0;transformY=0;pingLeft=!1;pingRight=!1;pingTop=!1;pingBottom=!1;hiddenItems=[];keyManager;_selectedIndex=0;wrapperWidth=0;wrapperHeight=0;scrollListWidth=0;scrollListHeight=0;operationWidth=0;operationHeight=0;addButtonWidth=0;addButtonHeight=0;selectedIndexChanged=!1;lockAnimationTimeoutId;cssTransformTimeWaitingId;constructor(){this.destroyRef.onDestroy(()=>{clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId)})}ngAfterViewInit(){let t=this.dir?this.dir.change.asObservable():gt(null),n=this.viewportRuler.change(150),i=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new me(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),ut(i),X(this.nzResizeObserver.observe(this.navWrapRef),this.nzResizeObserver.observe(this.navListRef)).pipe(L(this.destroyRef),Pt(16,wn)).subscribe(()=>{i()}),X(t,n,this.items.changes).pipe(L(this.destroyRef)).subscribe(()=>{Promise.resolve().then(i),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe(L(this.destroyRef)).subscribe(a=>{this.indexFocused.emit(a),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}onSelectedFromMenu(t){let n=this.items.toArray().findIndex(i=>i===t);n!==-1&&(this.keyManager.updateActiveItem(n),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(t)))}onOffsetChange(t){if(this.position==="horizontal"){if(!this.lockAnimationTimeoutId&&(this.transformX>=0&&t.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&t.x<0))return;t.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+t.x),this.setTransform(this.transformX,0)}else{if(!this.lockAnimationTimeoutId&&(this.transformY>=0&&t.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&t.y<0))return;t.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+t.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(t){let n=this.navWrapRef.nativeElement.contains(t.target);if(!(se(t)||!n))switch(t.keyCode){case 37:case 38:case 39:case 40:this.lockAnimation(),this.keyManager.onKeydown(t);break;case 13:case 32:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(t)}}isValidIndex(t){if(!this.items)return!0;let n=this.items?this.items.toArray()[t]:null;return!!n&&!n.disabled}scrollToTab(t){if(!this.items.find(i=>i===t))return;let n=this.items.toArray();if(this.position==="horizontal"){let i=this.transformX;if(this.getLayoutDirection()==="rtl"){let a=n[0].left+n[0].width-t.left-t.width;a<this.transformX?i=a:a+t.width>this.transformX+this.wrapperWidth&&(i=a+t.width-this.wrapperWidth)}else t.left<-this.transformX?i=-t.left:t.left+t.width>-this.transformX+this.wrapperWidth&&(i=-(t.left+t.width-this.wrapperWidth));this.transformX=i,this.transformY=0,this.setTransform(i,0)}else{let i=this.transformY;t.top<-this.transformY?i=-t.top:t.top+t.height>-this.transformY+this.wrapperHeight&&(i=-(t.top+t.height-this.wrapperHeight)),this.transformY=i,this.transformX=0,this.setTransform(0,i)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},xe)}lockAnimation(){this.lockAnimationTimeoutId||this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=void 0},xe)})}setTransform(t,n){this.navListRef.nativeElement.style.transform=`translate(${t}px, ${n}px)`}clampTransformX(t){let n=this.wrapperWidth-this.scrollListWidth;return this.getLayoutDirection()==="rtl"?Math.max(Math.min(n,t),0):Math.min(Math.max(n,t),0)}clampTransformY(t){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,t),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWrapRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWrapRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){let t=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,n=t?t.elementRef.nativeElement:null;n&&this.inkBar.alignToElement(n.parentElement)}setPingStatus(){let t={top:!1,right:!1,bottom:!1,left:!1},n=this.navWrapRef.nativeElement;this.position==="horizontal"?this.getLayoutDirection()==="rtl"?(t.right=this.transformX>0,t.left=this.transformX+this.wrapperWidth<this.scrollListWidth):(t.left=this.transformX<0,t.right=-this.transformX+this.wrapperWidth<this.scrollListWidth):(t.top=this.transformY<0,t.bottom=-this.transformY+this.wrapperHeight<this.scrollListHeight),Object.keys(t).forEach(i=>{let a=`ant-tabs-nav-wrap-ping-${i}`;t[i]?n.classList.add(a):n.classList.remove(a)})}setVisibleRange(){let t,n,i,a,l,p,b=this.items.toArray(),w={width:0,height:0,left:0,top:0,right:0},E=m=>{let D,zt=b[m]||w;return n==="right"?D=b[0].left+b[0].width-b[m].left-b[m].width:D=zt[n],D};this.position==="horizontal"?(t="width",a=this.wrapperWidth,l=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),p=this.addButtonWidth,i=Math.abs(this.transformX),this.getLayoutDirection()==="rtl"?(n="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidth<this.scrollListWidth):(this.pingLeft=this.transformX<0,this.pingRight=-this.transformX+this.wrapperWidth<this.scrollListWidth,n="left")):(t="height",a=this.wrapperHeight,l=this.scrollListHeight-(this.hiddenItems.length?this.operationHeight:0),p=this.addButtonHeight,n="top",i=-this.transformY,this.pingTop=this.transformY<0,this.pingBottom=-this.transformY+this.wrapperHeight<this.scrollListHeight);let $=a;if(l+p>a&&($=a-p),!b.length){this.hiddenItems=[],this.cdr.markForCheck();return}let v=b.length,Mt=v;for(let m=0;m<v;m+=1){let D=E(m),zt=b[m]||w;if(D+zt[t]>i+$){Mt=m-1;break}}let s=0;for(let m=v-1;m>=0;m-=1)if(E(m)<i){s=m+1;break}let o=b.slice(0,s),r=b.slice(Mt+1);this.hiddenItems=[...o,...r],this.cdr.markForCheck()}getLayoutDirection(){return this.dir&&this.dir.value==="rtl"?"rtl":"ltr"}ngOnChanges(t){let{position:n}=t;n&&!n.isFirstChange()&&(this.alignInkBarToSelectedTab(),this.lockAnimation(),this.updateScrollListPosition())}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=O({type:e,selectors:[["nz-tabs-nav"]],contentQueries:function(n,i,a){if(n&1&&H(a,we,5),n&2){let l;x(l=I())&&(i.items=l)}},viewQuery:function(n,i){if(n&1&&(F(Xe,7),F(Ye,7),F(Rt,7),F(bt,5),F(ye,7)),n&2){let a;x(a=I())&&(i.navWrapRef=a.first),x(a=I())&&(i.navListRef=a.first),x(a=I())&&(i.operationRef=a.first),x(a=I())&&(i.addBtnRef=a.first),x(a=I())&&(i.inkBar=a.first)}},hostAttrs:[1,"ant-tabs-nav"],hostBindings:function(n,i){n&1&&A("keydown",function(l){return i.handleKeydown(l)})},inputs:{position:"position",addable:[2,"addable","addable",y],hideBar:[2,"hideBar","hideBar",y],addIcon:"addIcon",inkBarAnimated:"inkBarAnimated",extraTemplate:"extraTemplate",extraContents:[1,"extraContents"],selectedIndex:"selectedIndex"},outputs:{indexFocused:"indexFocused",selectFocusedIndex:"selectFocusedIndex",addClicked:"addClicked",tabScroll:"tabScroll"},exportAs:["nzTabsNav"],features:[vt],ngContentSelectors:qe,decls:11,vars:17,consts:[["navWrap",""],["navList",""],[1,"ant-tabs-extra-content"],[1,"ant-tabs-nav-wrap"],["nzTabScrollList","","role","tablist",1,"ant-tabs-nav-list",3,"offsetChange","tabScroll"],["role","tab","nz-tab-add-button","",3,"addIcon"],["nz-tabs-ink-bar","",3,"hidden","position","animated"],[3,"addClicked","selected","addIcon","addable","items"],[3,"ngTemplateOutlet"],["role","tab","nz-tab-add-button","",3,"click","addIcon"]],template:function(n,i){if(n&1){let a=B();yt(),N(0,je,2,1,"div",2),g(1,"div",3,0)(3,"div",4,1),A("offsetChange",function(p){return _(a),T(i.onOffsetChange(p))})("tabScroll",function(p){return _(a),T(i.tabScroll.emit(p))}),rt(5),N(6,Ze,1,2,"button",5),V(7,"div",6),C()(),g(8,"nz-tab-nav-operation",7),A("addClicked",function(){return _(a),T(i.addClicked.emit())})("selected",function(p){return _(a),T(i.onSelectedFromMenu(p))}),C(),N(9,Ke,2,1,"div",2)(10,tn,2,1,"div",2)}n&2&&(k(i.startExtraContent()?0:-1),f(),M("ant-tabs-nav-wrap-ping-left",i.pingLeft)("ant-tabs-nav-wrap-ping-right",i.pingRight)("ant-tabs-nav-wrap-ping-top",i.pingTop)("ant-tabs-nav-wrap-ping-bottom",i.pingBottom),f(5),k(i.showAddButton?6:-1),f(),u("hidden",i.hideBar)("position",i.position)("animated",i.inkBarAnimated),f(),u("addIcon",i.addIcon)("addable",i.addable)("items",i.hiddenItems),f(),k(i.endExtraContent()?9:i.extraTemplate?10:-1))},dependencies:[Sn,bt,ye,Rt,ht],encapsulation:2,changeDetection:0})}return e})(),Nn=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275dir=W({type:e,selectors:[["","nz-tab",""]],exportAs:["nzTab"]})}return e})(),Ne=new Xt(""),kn=(()=>{class e{nzTitle="";nzClosable=!1;nzCloseIcon="close";nzDisabled=!1;nzForceRender=!1;nzSelect=new z;nzDeselect=new z;nzClick=new z;nzContextmenu=new z;nzTabLinkTemplateDirective;template=null;linkDirective;contentTemplate;isActive=!1;hasBeenActive=!1;position=null;origin=null;closestTabSet=h(Ne);stateChanges=new Lt;get content(){return this.template||this.contentTemplate}get label(){return this.nzTitle||this.nzTabLinkTemplateDirective?.templateRef}ngOnChanges(t){let{nzTitle:n,nzDisabled:i,nzForceRender:a}=t;(n||i||a)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}setActive(t){this.isActive=t,t&&(this.hasBeenActive=!0)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=O({type:e,selectors:[["nz-tab"]],contentQueries:function(n,i,a){if(n&1&&(H(a,xn,5),H(a,Nn,5,it),H(a,Se,5)),n&2){let l;x(l=I())&&(i.nzTabLinkTemplateDirective=l.first),x(l=I())&&(i.template=l.first),x(l=I())&&(i.linkDirective=l.first)}},viewQuery:function(n,i){if(n&1&&F(en,7),n&2){let a;x(a=I())&&(i.contentTemplate=a.first)}},inputs:{nzTitle:"nzTitle",nzClosable:[2,"nzClosable","nzClosable",y],nzCloseIcon:"nzCloseIcon",nzDisabled:[2,"nzDisabled","nzDisabled",y],nzForceRender:[2,"nzForceRender","nzForceRender",y]},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[vt],ngContentSelectors:an,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(n,i){n&1&&(yt(nn),Gt(0,on,1,0,"ng-template",null,0,dt)(2,sn,1,0,"ng-template",null,1,dt))},encapsulation:2,changeDetection:0})}return e})(),Dn="tabs",An=0,En=(()=>{var v;let e,d=[],t=[],n,i=[],a=[],l,p=[],b=[],w,E=[],$=[];return v=class{_nzModuleName=Dn;nzConfigService=h(de);ngZone=h(Y);cdr=h(ct);directionality=h(kt);destroyRef=h(et);get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(s){this.indexToSelect=Dt(s,null)}nzTabPosition="top";nzTabBarExtraContent;nzCanDeactivate=null;nzAddIcon="plus";nzTabBarStyle=null;nzType=R(this,d,"line");nzSize=(R(this,t),R(this,i,"default"));nzAnimated=(R(this,a),R(this,p,!0));nzTabBarGutter=(R(this,b),R(this,E,void 0));nzHideAdd=(R(this,$),!1);nzCentered=!1;nzHideAll=!1;nzLinkRouter=!1;nzLinkExact=!0;nzDestroyInactiveTabPane=!1;nzSelectChange=new z(!0);nzSelectedIndexChange=new z;nzTabListScroll=new z;nzClose=new z;nzAdd=new z;get position(){return["top","bottom"].indexOf(this.nzTabPosition)===-1?"vertical":"horizontal"}get addable(){return this.nzType==="editable-card"&&!this.nzHideAdd}get closable(){return this.nzType==="editable-card"}get line(){return this.nzType==="line"}get inkBarAnimated(){return this.line&&(typeof this.nzAnimated=="boolean"?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return typeof this.nzAnimated=="boolean"?this.nzAnimated:this.nzAnimated.tabPane}allTabs=new nt;tabLinks=new nt;tabNavBarRef;tabs=new nt;extraContents=ee(ge);dir="ltr";tabSetId;indexToSelect=0;selectedIndex=null;tabLabelSubscription=Tt.EMPTY;canDeactivateSubscription=Tt.EMPTY;router=h(ie,{optional:!0});constructor(){this.tabSetId=An++,h(te)==="nz-tabset"&&re(`${At} <nz-tabset> is deprecated, please use <nz-tabs> instead.`),this.destroyRef.onDestroy(()=>{this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()})}ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(L(this.destroyRef)).subscribe(s=>{this.dir=s,this.cdr.detectChanges()})}ngAfterContentInit(){this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>this.setUpRouter())}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabs.changes.pipe(L(this.destroyRef)).subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){let o=this.tabs.toArray();for(let r=0;r<o.length;r++)if(o[r].isActive){this.indexToSelect=this.selectedIndex=r;break}}this.subscribeToTabLabels(),this.cdr.markForCheck()})}ngAfterContentChecked(){let s=this.indexToSelect=this.clampTabIndex(this.indexToSelect);if(this.selectedIndex!==s){let o=this.selectedIndex==null;o||this.nzSelectChange.emit(this.createChangeEvent(s)),Promise.resolve().then(()=>{this.tabs.forEach((r,m)=>r.setActive(m===s)),o||this.nzSelectedIndexChange.emit(s)})}this.tabs.forEach((o,r)=>{o.position=r-s,this.selectedIndex!=null&&o.position===0&&!o.origin&&(o.origin=s-this.selectedIndex)}),this.selectedIndex!==s&&(this.selectedIndex=s,this.cdr.markForCheck())}onClose(s,o){o.preventDefault(),o.stopPropagation(),this.nzClose.emit({index:s})}onAdd(){this.nzAdd.emit()}clampTabIndex(s){return Math.min(this.tabs.length-1,Math.max(s||0,0))}createChangeEvent(s){let o=new Et;return o.index=s,this.tabs&&this.tabs.length&&(o.tab=this.tabs.toArray()[s],this.tabs.forEach((r,m)=>{m!==s&&r.nzDeselect.emit()}),o.tab.nzSelect.emit()),o}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=X(...this.tabs.map(s=>s.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe(Ct(this.allTabs)).subscribe(s=>{this.tabs.reset(s.filter(o=>o.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(s,o){return typeof this.nzCanDeactivate=="function"?le(this.nzCanDeactivate(s,o)).pipe(Vt(),L(this.destroyRef)):gt(!0)}clickNavItem(s,o,r){s.nzDisabled||(s.nzClick.emit(),this.isRouterLinkClickEvent(o,r)||this.setSelectedIndex(o))}isRouterLinkClickEvent(s,o){let r=o.target;return this.nzLinkRouter?!!this.tabs.toArray()[s]?.linkDirective?.elementRef.nativeElement.contains(r):!1}contextmenuNavItem(s,o){s.nzDisabled||s.nzContextmenu.emit(o)}setSelectedIndex(s){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,s).subscribe(o=>{o&&(this.nzSelectedIndex=s,this.tabNavBarRef.focusIndex=s,this.cdr.markForCheck())})}getTabIndex(s,o){return s.nzDisabled?null:this.selectedIndex===o?0:-1}getTabContentId(s){return`nz-tabs-${this.tabSetId}-tab-${s}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${At} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);X(this.router.events.pipe(Ft(s=>s instanceof ne)),this.tabLinks.changes).pipe(Ct(!0),Ht(0),L(this.destroyRef)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router?.navigated){let s=this.findShouldActiveTabIndex();s!==this.selectedIndex&&this.setSelectedIndex(s),Promise.resolve().then(()=>this.nzHideAll=s===-1)}}findShouldActiveTabIndex(){let s=this.tabs.toArray(),o=this.isLinkActive(this.router);return s.findIndex(r=>{let m=r.linkDirective;return m?o(m.routerLink):!1})}isLinkActive(s){return o=>o?!!s?.isActive(o.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"}):!1}},(()=>{let s=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;e=[K()],n=[K()],l=[K()],w=[K()],Q(null,null,e,{kind:"field",name:"nzType",static:!1,private:!1,access:{has:o=>"nzType"in o,get:o=>o.nzType,set:(o,r)=>{o.nzType=r}},metadata:s},d,t),Q(null,null,n,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:o=>"nzSize"in o,get:o=>o.nzSize,set:(o,r)=>{o.nzSize=r}},metadata:s},i,a),Q(null,null,l,{kind:"field",name:"nzAnimated",static:!1,private:!1,access:{has:o=>"nzAnimated"in o,get:o=>o.nzAnimated,set:(o,r)=>{o.nzAnimated=r}},metadata:s},p,b),Q(null,null,w,{kind:"field",name:"nzTabBarGutter",static:!1,private:!1,access:{has:o=>"nzTabBarGutter"in o,get:o=>o.nzTabBarGutter,set:(o,r)=>{o.nzTabBarGutter=r}},metadata:s},E,$),s&&Object.defineProperty(v,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s})})(),_t(v,"\u0275fac",function(o){return new(o||v)}),_t(v,"\u0275cmp",O({type:v,selectors:[["nz-tabs"],["nz-tabset"]],contentQueries:function(o,r,m){if(o&1&&(Zt(m,r.extraContents,ge,4),H(m,kn,5),H(m,Se,5)),o&2){Ut();let D;x(D=I())&&(r.allTabs=D),x(D=I())&&(r.tabLinks=D)}},viewQuery:function(o,r){if(o&1&&F(Bt,5),o&2){let m;x(m=I())&&(r.tabNavBarRef=m.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(o,r){o&2&&M("ant-tabs-card",r.nzType==="card"||r.nzType==="editable-card")("ant-tabs-editable",r.nzType==="editable-card")("ant-tabs-editable-card",r.nzType==="editable-card")("ant-tabs-centered",r.nzCentered)("ant-tabs-rtl",r.dir==="rtl")("ant-tabs-top",r.nzTabPosition==="top")("ant-tabs-bottom",r.nzTabPosition==="bottom")("ant-tabs-left",r.nzTabPosition==="left")("ant-tabs-right",r.nzTabPosition==="right")("ant-tabs-default",r.nzSize==="default")("ant-tabs-small",r.nzSize==="small")("ant-tabs-large",r.nzSize==="large")},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:[2,"nzHideAdd","nzHideAdd",y],nzCentered:[2,"nzCentered","nzCentered",y],nzHideAll:[2,"nzHideAll","nzHideAll",y],nzLinkRouter:[2,"nzLinkRouter","nzLinkRouter",y],nzLinkExact:[2,"nzLinkExact","nzLinkExact",y],nzDestroyInactiveTabPane:[2,"nzDestroyInactiveTabPane","nzDestroyInactiveTabPane",y]},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabs"],features:[Jt([{provide:Ne,useExisting:$t(()=>v)}])],decls:4,vars:12,consts:[["tabpaneTmpl",""],[3,"style","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","extraContents"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],[3,"tabScroll","selectFocusedIndex","addClicked","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","extraContents"],[1,"ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled"],[1,"ant-tabs-tab",3,"click","contextmenu"],["type","button","role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"id","disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["type","button","nz-tab-close-button","",3,"closeIcon"],["type","button","nz-tab-close-button","",3,"click","closeIcon"],[3,"ngTemplateOutlet"],["role","tabpanel","nz-tab-body","",3,"id","active","content","animated"]],template:function(o,r){o&1&&(N(0,hn,3,10,"nz-tabs-nav",1),g(1,"div",2)(2,"div",3),N(3,vn,2,0),C()()),o&2&&(k(r.tabs.length||r.addable?0:-1),f(2),M("ant-tabs-content-top",r.nzTabPosition==="top")("ant-tabs-content-bottom",r.nzTabPosition==="bottom")("ant-tabs-content-left",r.nzTabPosition==="left")("ant-tabs-content-right",r.nzTabPosition==="right")("ant-tabs-content-animated",r.tabPaneAnimated),f(),k(r.nzHideAll?-1:3))},dependencies:[Bt,ht,we,he,ce,tt,J,Ie,yn],encapsulation:2})),v})();var bi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=qt({type:e});static \u0275inj=Qt({imports:[En,Bt,Rt,bt,Ie]})}return e})();export{Nn as a,kn as b,En as c,bi as d};