@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,15 @@
1
+ import{c as be,d as V,f as v,g as he,h as T,i as c4,j as l4}from"./chunk-HFZLJHYR.js";import{A as _6,a as p2,e as g6,i as mt,p as Z1,t as z6,w as y6}from"./chunk-KRYMOHYF.js";import{$b as Jt,Ac as We,Ad as r4,B as J,Ba as oe,Bb as Be,Bc as Te,C as O3,Ca as Q,Cb as u2,Cc as s6,D as L3,Da as F,Dc as $1,Ec as De,F as B3,Fb as ee,Fc as a4,Ga as s2,Gb as C,Gc as N,H as I3,Ha as D,Hb as u,Hc as i4,I as N3,Ib as t6,Ic as qe,Jb as R,Jc as Ke,Ka as h2,Kb as q1,Kc as Je,L as R3,La as $3,Lb as Z,Lc as h6,M as ve,Ma as Z3,N as O1,Na as X3,O as j3,Oa as P,Ob as n6,Pa as Me,Q as L1,Ra as z,Rc as d6,S as B1,Sa as d2,Sc as u6,Tb as z1,Tc as m2,U as U3,Ua as Q3,Ub as Re,V as Ne,W as I1,Wa as j1,Wb as H,Xa as U1,Xc as O,Ya as W1,Yb as E,Zb as a6,Zc as o4,_ as W3,_b as i6,a as y,aa as q3,ac as e4,b as G,ba as K3,bc as k,ca as Xt,cc as $,da as Ve,dc as X,dd as n1,ea as Qt,ec as le,f as H1,fa as Qe,fc as o6,g as Ie,ga as G3,gc as r6,ha as N1,hc as c6,hd as we,i as Fe,ib as J3,ic as t4,id as S,jc as n4,jd as c1,k as A3,ka as g1,kc as l6,kd as m6,l as g,lc as y1,m as E1,ma as ie,n as Kt,na as p,nb as w,nd as v2,o as Y1,oa as M,od as te,p as Gt,pd as v6,q as $t,qa as b,qd as He,r as Zt,ra as dt,rc as _e,s as A1,sa as l,sb as W,sd as p6,t as F3,ta as r1,tb as I,td as ut,u as ke,ub as e6,uc as m,ud as fe,vb as Ce,vc as je,vd as f6,w as F1,wa as R1,wb as pe,wc as se,xb as Pe,xc as K1,ya as Oe,yb as ne,yc as G1,yd as _,za as Le,zb as x,zc as Ue,zd as _1}from"./chunk-4BRW6LCZ.js";function Y(t){t||(t=l(F));let n=new Fe(e=>{if(t.destroyed){e.next();return}return t.onDestroy(e.next.bind(e))});return e=>e.pipe(Qe(n))}function b6(t,n){let e=n?.injector??l(oe),a=new Kt(1),i=c1(()=>{let o;try{o=t()}catch(r){we(()=>a.error(r));return}we(()=>a.next(o))},{injector:e,manualCleanup:!0});return e.get(F).onDestroy(()=>{i.destroy(),a.complete()}),a.asObservable()}function vt(t,n){let a=!n?.manualCleanup?n?.injector?.get(F)??l(F):null,i=Pa(n?.equal),o;n?.requireSync?o=D({kind:0},{equal:i}):o=D({kind:1,value:n?.initialValue},{equal:i});let r,c=t.subscribe({next:s=>o.set({kind:1,value:s}),error:s=>{o.set({kind:2,error:s}),r?.()},complete:()=>{r?.()}});if(n?.requireSync&&o().kind===0)throw new g1(601,!1);return r=a?.onDestroy(c.unsubscribe.bind(c)),S(()=>{let s=o();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new g1(601,!1)}},{equal:n?.equal})}function Pa(t=Object.is){return(n,e)=>n.kind===1&&e.kind===1&&t(n.value,e.value)}function b1(t){"@babel/helpers - typeof";return b1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b1(t)}function M6(t,n){if(b1(t)!="object"||!t)return t;var e=t[Symbol.toPrimitive];if(e!==void 0){var a=e.call(t,n||"default");if(b1(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(t)}function C6(t){var n=M6(t,"string");return b1(n)=="symbol"?n:n+""}function Ee(t,n,e){return(n=C6(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var re=Math.round;function f2(t,n){let e=t.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],a=e.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)a[i]=n(a[i]||0,e[i]||"",i);return e[3]?a[3]=e[3].includes("%")?a[3]/100:a[3]:a[3]=1,a}var w6=(t,n,e)=>e===0?t:t/100;function pt(t,n){let e=n||255;return t>e?e:t<0?0:t}var M1=class t{constructor(n){Ee(this,"isValid",!0),Ee(this,"r",0),Ee(this,"g",0),Ee(this,"b",0),Ee(this,"a",1),Ee(this,"_h",void 0),Ee(this,"_s",void 0),Ee(this,"_l",void 0),Ee(this,"_v",void 0),Ee(this,"_max",void 0),Ee(this,"_min",void 0),Ee(this,"_brightness",void 0);function e(i){return i[0]in n&&i[1]in n&&i[2]in n}if(n)if(typeof n=="string"){let o=function(r){return i.startsWith(r)};var a=o;let i=n.trim();/^#?[A-F\d]{3,8}$/i.test(i)?this.fromHexString(i):o("rgb")?this.fromRgbString(i):o("hsl")?this.fromHslString(i):(o("hsv")||o("hsb"))&&this.fromHsvString(i)}else if(n instanceof t)this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this._h=n._h,this._s=n._s,this._l=n._l,this._v=n._v;else if(e("rgb"))this.r=pt(n.r),this.g=pt(n.g),this.b=pt(n.b),this.a=typeof n.a=="number"?pt(n.a,1):1;else if(e("hsl"))this.fromHsl(n);else if(e("hsv"))this.fromHsv(n);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(n))}setR(n){return this._sc("r",n)}setG(n){return this._sc("g",n)}setB(n){return this._sc("b",n)}setA(n){return this._sc("a",n,1)}setHue(n){let e=this.toHsv();return e.h=n,this._c(e)}getLuminance(){function n(o){let r=o/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}let e=n(this.r),a=n(this.g),i=n(this.b);return .2126*e+.7152*a+.0722*i}getHue(){if(typeof this._h>"u"){let n=this.getMax()-this.getMin();n===0?this._h=0:this._h=re(60*(this.r===this.getMax()?(this.g-this.b)/n+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/n+2:(this.r-this.g)/n+4))}return this._h}getSaturation(){if(typeof this._s>"u"){let n=this.getMax()-this.getMin();n===0?this._s=0:this._s=n/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(n=10){let e=this.getHue(),a=this.getSaturation(),i=this.getLightness()-n/100;return i<0&&(i=0),this._c({h:e,s:a,l:i,a:this.a})}lighten(n=10){let e=this.getHue(),a=this.getSaturation(),i=this.getLightness()+n/100;return i>1&&(i=1),this._c({h:e,s:a,l:i,a:this.a})}mix(n,e=50){let a=this._c(n),i=e/100,o=c=>(a[c]-this[c])*i+this[c],r={r:re(o("r")),g:re(o("g")),b:re(o("b")),a:re(o("a")*100)/100};return this._c(r)}tint(n=10){return this.mix({r:255,g:255,b:255,a:1},n)}shade(n=10){return this.mix({r:0,g:0,b:0,a:1},n)}onBackground(n){let e=this._c(n),a=this.a+e.a*(1-this.a),i=o=>re((this[o]*this.a+e[o]*e.a*(1-this.a))/a);return this._c({r:i("r"),g:i("g"),b:i("b"),a})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(n){return this.r===n.r&&this.g===n.g&&this.b===n.b&&this.a===n.a}clone(){return this._c(this)}toHexString(){let n="#",e=(this.r||0).toString(16);n+=e.length===2?e:"0"+e;let a=(this.g||0).toString(16);n+=a.length===2?a:"0"+a;let i=(this.b||0).toString(16);if(n+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){let o=re(this.a*255).toString(16);n+=o.length===2?o:"0"+o}return n}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let n=this.getHue(),e=re(this.getSaturation()*100),a=re(this.getLightness()*100);return this.a!==1?`hsla(${n},${e}%,${a}%,${this.a})`:`hsl(${n},${e}%,${a}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(n,e,a){let i=this.clone();return i[n]=pt(e,a),i}_c(n){return new this.constructor(n)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(n){let e=n.replace("#","");function a(i,o){return parseInt(e[i]+e[o||i],16)}e.length<6?(this.r=a(0),this.g=a(1),this.b=a(2),this.a=e[3]?a(3)/255:1):(this.r=a(0,1),this.g=a(2,3),this.b=a(4,5),this.a=e[6]?a(6,7)/255:1)}fromHsl({h:n,s:e,l:a,a:i}){if(this._h=n%360,this._s=e,this._l=a,this.a=typeof i=="number"?i:1,e<=0){let B=re(a*255);this.r=B,this.g=B,this.b=B}let o=0,r=0,c=0,s=n/60,h=(1-Math.abs(2*a-1))*e,d=h*(1-Math.abs(s%2-1));s>=0&&s<1?(o=h,r=d):s>=1&&s<2?(o=d,r=h):s>=2&&s<3?(r=h,c=d):s>=3&&s<4?(r=d,c=h):s>=4&&s<5?(o=d,c=h):s>=5&&s<6&&(o=h,c=d);let f=a-h/2;this.r=re((o+f)*255),this.g=re((r+f)*255),this.b=re((c+f)*255)}fromHsv({h:n,s:e,v:a,a:i}){this._h=n%360,this._s=e,this._v=a,this.a=typeof i=="number"?i:1;let o=re(a*255);if(this.r=o,this.g=o,this.b=o,e<=0)return;let r=n/60,c=Math.floor(r),s=r-c,h=re(a*(1-e)*255),d=re(a*(1-e*s)*255),f=re(a*(1-e*(1-s))*255);switch(c){case 0:this.g=f,this.b=h;break;case 1:this.r=d,this.b=h;break;case 2:this.r=h,this.b=f;break;case 3:this.r=h,this.g=d;break;case 4:this.r=f,this.g=h;break;case 5:default:this.g=h,this.b=d;break}}fromHsvString(n){let e=f2(n,w6);this.fromHsv({h:e[0],s:e[1],v:e[2],a:e[3]})}fromHslString(n){let e=f2(n,w6);this.fromHsl({h:e[0],s:e[1],l:e[2],a:e[3]})}fromRgbString(n){let e=f2(n,(a,i)=>i.includes("%")?re(a/100*255):a);this.r=e[0],this.g=e[1],this.b=e[2],this.a=e[3]}};var s4=2,x6=.16,Ta=.05,Da=.05,Ha=.15,P6=5,T6=4,Ea=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S6(t,n,e){var a;return Math.round(t.h)>=60&&Math.round(t.h)<=240?a=e?Math.round(t.h)-s4*n:Math.round(t.h)+s4*n:a=e?Math.round(t.h)+s4*n:Math.round(t.h)-s4*n,a<0?a+=360:a>=360&&(a-=360),a}function k6(t,n,e){if(t.h===0&&t.s===0)return t.s;var a;return e?a=t.s-x6*n:n===T6?a=t.s+x6:a=t.s+Ta*n,a>1&&(a=1),e&&n===P6&&a>.1&&(a=.1),a<.06&&(a=.06),Math.round(a*100)/100}function V6(t,n,e){var a;return e?a=t.v+Da*n:a=t.v-Ha*n,a=Math.max(0,Math.min(1,a)),Math.round(a*100)/100}function h4(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=[],a=new M1(t),i=a.toHsv(),o=P6;o>0;o-=1){var r=new M1({h:S6(i,o,!0),s:k6(i,o,!0),v:V6(i,o,!0)});e.push(r)}e.push(a);for(var c=1;c<=T6;c+=1){var s=new M1({h:S6(i,c),s:k6(i,c),v:V6(i,c)});e.push(s)}return n.theme==="dark"?Ea.map(function(h){var d=h.index,f=h.amount;return new M1(n.backgroundColor||"#141414").mix(e[d],f).toHexString()}):e.map(function(h){return h.toHexString()})}var D6=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];D6.primary=D6[5];var H6=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];H6.primary=H6[5];var E6=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];E6.primary=E6[5];var Y6=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Y6.primary=Y6[5];var A6=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];A6.primary=A6[5];var F6=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];F6.primary=F6[5];var O6=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];O6.primary=O6[5];var L6=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];L6.primary=L6[5];var B6=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];B6.primary=B6[5];var I6=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];I6.primary=I6[5];var N6=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];N6.primary=N6[5];var R6=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];R6.primary=R6[5];var j6=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];j6.primary=j6[5];var U6=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];U6.primary=U6[5];var W6=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];W6.primary=W6[5];var q6=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];q6.primary=q6[5];var K6=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];K6.primary=K6[5];var G6=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];G6.primary=G6[5];var $6=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];$6.primary=$6[5];var Z6=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Z6.primary=Z6[5];var X6=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];X6.primary=X6[5];var Q6=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Q6.primary=Q6[5];var J6=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];J6.primary=J6[5];var e8=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];e8.primary=e8[5];var t8=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];t8.primary=t8[5];var n8=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];n8.primary=n8[5];var a1="[@ant-design/icons-angular]:";function Ya(t){console.error(`${a1} ${t}.`)}function o8(t){ut()&&console.warn(`${a1} ${t}.`)}function a8(t){return h4(t)[0]}function d4(t,n){switch(n){case"fill":return`${t}-fill`;case"outline":return`${t}-o`;case"twotone":return`${t}-twotone`;case void 0:return t;default:throw new Error(`${a1}Theme "${n}" is not a recognized theme!`)}}function Aa(t,n,e,a){return`${d4(t,n)}-${e}-${a}`}function Fa(t){return t==="o"?"outline":t}function Oa(t){return t.endsWith("-fill")||t.endsWith("-o")||t.endsWith("-twotone")}function r8(t){return typeof t=="object"&&typeof t.name=="string"&&(typeof t.theme=="string"||t.theme===void 0)&&typeof t.icon=="string"}function La(t){let n=t.split("-"),e=Fa(n.splice(n.length-1,1)[0]);return{name:n.join("-"),theme:e,icon:""}}function Ba(t){return t.cloneNode(!0)}function Ia(t){return t.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')}function u4(t){let n=t.split(":");switch(n.length){case 1:return[t,""];case 2:return[n[1],n[0]];default:throw new Error(`${a1}The icon type ${t} is not valid!`)}}function Na(t){return u4(t)[1]!==""}function Ra(){return new Error(`${a1}Type should have a namespace. Try "namespace:${name}".`)}function i8(t){return new Error(`${a1}the icon ${t} does not exist or is not registered.`)}function ja(){return Ya('you need to import "HttpClientModule" to use dynamic importing.'),null}function Ua(t){return new Error(`${a1}The url "${t}" is unsafe.`)}function Wa(){return new Error(`${a1}<svg> tag not found.`)}function qa(){return new Error(`${a1}Importing timeout error.`)}var Ka="__ant_icon_load",Ga=new b("ant_icons"),g2=(()=>{let n=class n{set twoToneColor({primaryColor:a,secondaryColor:i}){this._twoToneColorPalette.primaryColor=a,this._twoToneColorPalette.secondaryColor=i||a8(a)}get twoToneColor(){return y({},this._twoToneColorPalette)}get _disableDynamicLoading(){return!1}constructor(a){this._antIcons=a,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new g,this._rendererFactory=l(Pe),this._handler=l(z6,{optional:!0}),this._document=l(Q),this.sanitizer=l(_6),this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new y6(this._handler)),this._antIcons&&this.addIcon(...this._antIcons)}useJsonpLoading(){this._enableJsonpLoading?o8("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window[Ka]=a=>{this._jsonpIconLoad$.next(a)})}changeAssetsSource(a){this._assetsUrlRoot=a.endsWith("/")?a:a+"/"}addIcon(...a){a.forEach(i=>{this._svgDefinitions.set(d4(i.name,i.theme),i)})}addIconLiteral(a,i){let[o,r]=u4(a);if(!r)throw Ra();this.addIcon({name:a,icon:i})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(a,i){let o=r8(a)?a:this._svgDefinitions.get(a)||null;if(!o&&this._disableDynamicLoading)throw i8(a);return(o?ke(o):this._loadIconDynamically(a)).pipe(J(c=>{if(!c)throw i8(a);return this._loadSVGFromCacheOrCreateNew(c,i)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(a){if(!this._http&&!this._enableJsonpLoading)return ke(ja());let i=this._inProgressFetches.get(a);if(!i){let[o,r]=u4(a),c=r?{name:a,icon:""}:La(o),s=this._enableJsonpLoading?".js":".svg",h=(r?`${this._assetsUrlRoot}assets/${r}/${o}`:`${this._assetsUrlRoot}assets/${c.theme}/${c.name}`)+s,d=this.sanitizer.sanitize(J3.URL,h);if(!d)throw Ua(h);i=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(c,d):this._http.get(d,{responseType:"text"}).pipe(J(B=>G(y({},c),{icon:B})))).pipe(N1(B=>this.addIcon(B)),I1(()=>this._inProgressFetches.delete(a)),j3(()=>ke(null)),q3()),this._inProgressFetches.set(a,i)}return i}_loadIconDynamicallyWithJsonp(a,i){return new Fe(o=>{let r=this._document.createElement("script"),c=setTimeout(()=>{s(),o.error(qa())},6e3);r.src=i;function s(){r.parentNode.removeChild(r),clearTimeout(c)}this._document.body.appendChild(r),this._jsonpIconLoad$.pipe(ve(h=>h.name===a.name&&h.theme===a.theme),B1(1)).subscribe(h=>{o.next(h),s()})})}_loadSVGFromCacheOrCreateNew(a,i){let o,r=i||this._twoToneColorPalette.primaryColor,c=a8(r)||this._twoToneColorPalette.secondaryColor,s=a.theme==="twotone"?Aa(a.name,a.theme,r,c):a.theme===void 0?a.name:d4(a.name,a.theme),h=this._svgRenderedDefinitions.get(s);return h?o=h.icon:(o=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(Na(a.name)?a.icon:Ia(a.icon)),a.theme==="twotone",r,c)),this._svgRenderedDefinitions.set(s,G(y({},a),{icon:o}))),Ba(o)}_createSVGElementFromString(a){let i=this._document.createElement("div");i.innerHTML=a;let o=i.querySelector("svg");if(!o)throw Wa;return o}_setSVGAttribute(a){return this._renderer.setAttribute(a,"width","1em"),this._renderer.setAttribute(a,"height","1em"),a}_colorizeSVGIcon(a,i,o,r){if(i){let c=a.childNodes,s=c.length;for(let h=0;h<s;h++){let d=c[h];d.getAttribute("fill")==="secondaryColor"?this._renderer.setAttribute(d,"fill",r):this._renderer.setAttribute(d,"fill",o)}}return this._renderer.setAttribute(a,"fill","currentColor"),a}};n.\u0275fac=function(i){return new(i||n)(dt(Ga,8))},n.\u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})();function $a(t,n){return t.type===n.type&&t.theme===n.theme&&t.twoToneColor===n.twoToneColor}var c8=(()=>{let n=class n{constructor(a){this._iconService=a,this._elementRef=l(z),this._renderer=l(ne)}ngOnChanges(a){(a.type||a.theme||a.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(a=>{if(!this.type){this._clearSVGElement(),a(null);return}let i=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(o=>{let r=this._getSelfRenderMeta();$a(i,r)?(this._setSVGElement(o),a(o)):a(null)})})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(a,i){if(r8(a))return a;{let[o,r]=u4(a);return r?a:Oa(o)?(i&&o8(`'type' ${o} already gets a theme inside so 'theme' ${i} would be ignored`),o):d4(o,i||this._iconService.defaultTheme)}}_setSVGElement(a){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,a)}_clearSVGElement(){let a=this._elementRef.nativeElement,i=a.childNodes,o=i.length;for(let r=o-1;r>=0;r--){let c=i[r];c.tagName?.toLowerCase()==="svg"&&this._renderer.removeChild(a,c)}}};n.\u0275fac=function(i){return new(i||n)(x(g2))},n.\u0275dir=u({type:n,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[P]});let t=n;return t})();var m4={isTestMode:!1};var l8={},Za="[NG-ZORRO]:";function Xa(...t){let n=t.reduce((e,a)=>e+a.toString(),"");return l8[n]?!1:(l8[n]=!0,!0)}function Qa(t,...n){(m4.isTestMode||ut()&&Xa(...n))&&t(...n)}var C1=(...t)=>Qa((...n)=>console.warn(Za,...n),...t);function l1(t,n=0){return s8(t)?Number(t):arguments.length===2?n:0}function s8(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function w1(t){return t instanceof z?t.nativeElement:t}function X1(t){return Array.isArray(t)?t:[t]}function q(t){return t==null?"":typeof t=="string"?t:`${t}px`}function h8(t){return t!=null&&`${t}`!="false"}function ss(t,n){if(!t||!n||t.length!==n.length)return!1;let e=t.length;for(let a=0;a<e;a++)if(t[a]!==n[a])return!1;return!0}function w2(t){return typeof t<"u"&&t!==null}function hs(t){return typeof t>"u"||t===null}function ft(t){return t instanceof pe}function m8(t){return h8(t)}function ds(t){return _1(t,0)}function us(t){return _1(t,1/0)}function ms(t,n=0){return l1(t,n)}function vs(t){return q(t)}function ps(t){t.stopPropagation(),t.preventDefault()}function fs(t){if(!t.getClientRects().length)return{top:0,left:0};let n=t.getBoundingClientRect(),e=t.ownerDocument.defaultView;return{top:n.top+e.pageYOffset,left:n.left+e.pageXOffset}}function Ja(t){let n=Array.isArray(t)?t:[t],e=n.join("").replace(/(\$|\^)/g,"\\$1");return n.length>1&&(e=`[${e}]`),new RegExp(`(\\s|^)(${e})[^\\s]*`,"g")}function gs(t,n="@"){if(typeof t!="string")return[];let e=Ja(n),a=t.match(e);return a!==null?a.map(i=>i.trim()):[]}function ei(t){return!!t&&typeof t.then=="function"&&typeof t.catch=="function"}function zs(t,n,e){return(e-t)/(n-t)*100}function ys(t){let n=t.toString(),e=n.indexOf(".");return e>=0?n.length-e-1:0}function _s(t,n,e){return isNaN(t)||t<n?n:t>e?e:t}function bs(t){return typeof t=="number"&&isFinite(t)}function Ms(t,n){return Math.round(t*Math.pow(10,n))/Math.pow(10,n)}function Cs(t){let n=t;if(n.scrollIntoViewIfNeeded){n.scrollIntoViewIfNeeded(!1);return}if(t.scrollIntoView){t.scrollIntoView(!1);return}}var ti=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],v8=typeof window<"u",ni=v8&&window.mozInnerScreenX!=null,v4=t=>parseInt(t,10);function ws(t,n,e){if(!v8)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");let a=e&&e.debug||!1;if(a){let d=document.querySelector("#input-textarea-caret-position-mirror-div");d&&d.parentNode.removeChild(d)}let i=document.createElement("div");i.id="input-textarea-caret-position-mirror-div",document.body.appendChild(i);let o=i.style,r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,c=t.nodeName==="INPUT";o.whiteSpace="pre-wrap",c||(o.wordWrap="break-word"),o.position="absolute",a||(o.visibility="hidden"),ti.forEach(d=>{c&&d==="lineHeight"?o.lineHeight=r.height:o[d]=r[d]}),ni?t.scrollHeight>v4(r.height)&&(o.overflowY="scroll"):o.overflow="hidden",i.textContent=t.value.substring(0,n),c&&(i.textContent=i.textContent.replace(/\s/g,"\xA0"));let s=document.createElement("span");s.textContent=t.value.substring(n)||".",i.appendChild(s);let h={top:s.offsetTop+v4(r.borderTopWidth),left:s.offsetLeft+v4(r.borderLeftWidth),height:v4(r.lineHeight)};return a?(s.style.backgroundColor="#eee",ai(t,h)):document.body.removeChild(i),h}function ai(t,n){let e=getComputedStyle(t).getPropertyValue("font-size"),a=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(a),a.id="DEBUG",a.style.position="absolute",a.style.backgroundColor="red",a.style.height=e,a.style.width="1px",a.style.top=`${t.getBoundingClientRect().top-t.scrollTop+window.pageYOffset+n.top}px`,a.style.left=`${t.getBoundingClientRect().left-t.scrollLeft+window.pageXOffset+n.left}px`}function xs(t){if(typeof window<"u"&&window.document&&window.document.documentElement){let n=Array.isArray(t)?t:[t],{documentElement:e}=window.document;return n.some(a=>a in e.style)}return!1}var ii=1,M2=3,oi=8,A,z2={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function y2(t){if(!t)return 0;let n=t.match(/^\d*(\.\d*)?/);return n?Number(n[0]):0}function ri(t){let n={},e=Array.prototype.slice.apply(t);for(let a of e)n[a]=t.getPropertyValue(a);return n}function ci(t){let n=[];return t.forEach(e=>{let a=n[n.length-1];a&&e.nodeType===M2&&a.nodeType===M2?a.data+=e.data:n.push(e)}),n}function Ss(t,n,e,a,i,o=""){A||(A=document.createElement("div"),A.setAttribute("aria-hidden","true"),document.body.appendChild(A));let r=window.getComputedStyle(t),c=ri(r),s=y2(r.lineHeight),h=Math.round(s*(n+1)+y2(r.paddingTop)+y2(r.paddingBottom));for(let[U,Se]of Object.entries(c))A.style.setProperty(U,Se);A.style.position="fixed",A.style.left="0",A.style.height="auto",A.style.minHeight="auto",A.style.maxHeight="auto",A.style.top="-999999px",A.style.zIndex="-1000",A.style.textOverflow="clip",A.style.whiteSpace="normal",A.style.webkitLineClamp="none";let d=ci(e),f=document.createElement("div"),B=document.createElement("span"),me=document.createTextNode(o),ce=document.createElement("span");Object.assign(f.style,z2),Object.assign(B.style,z2),Object.assign(ce.style,z2),d.forEach(U=>{B.appendChild(U)}),B.appendChild(me),a.forEach(U=>{ce.appendChild(U.cloneNode(!0))}),f.appendChild(B),f.appendChild(ce),A.appendChild(f);function ye(){return A.offsetHeight<h}if(ye()){let U=A.innerHTML;return A.removeChild(f),{contentNodes:e,text:U,ellipsis:!1}}let Rt=Array.prototype.slice.apply(A.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:U})=>U!==oi),xa=Array.prototype.slice.apply(A.childNodes[0].childNodes[1].cloneNode(!0).childNodes);A.removeChild(f),A.innerHTML="";let jt=document.createElement("span");A.appendChild(jt);let E3=document.createTextNode(i+o);jt.appendChild(E3),xa.forEach(U=>{A.appendChild(U)});function Sa(U){jt.insertBefore(U,E3)}function c2(U,Se,t1=0,Xe=Se.length,Ut=0){let Wt=Math.floor((t1+Xe)/2);if(U.textContent=Se.slice(0,Wt),t1>=Xe-1)for(let qt=Xe;qt>=t1;qt-=1){let l2=Se.slice(0,qt);if(U.textContent=l2,ye()||!l2)return qt===Se.length?{finished:!1,node:document.createTextNode(Se)}:{finished:!0,node:document.createTextNode(l2)}}return ye()?c2(U,Se,Wt,Xe,Wt):c2(U,Se,t1,Wt,Ut)}function ka(U,Se){let t1=U.nodeType;if(t1===ii)return ye()?{finished:!1,node:d[Se]}:(jt.removeChild(U),{finished:!0,node:null});if(t1===M2){let Xe=U.textContent||"",Ut=document.createTextNode(Xe);return Sa(Ut),c2(Ut,Xe)}return{finished:!1,node:null}}let Y3=[];Rt.some((U,Se)=>{let{finished:t1,node:Xe}=ka(U,Se);return Xe&&Y3.push(Xe),t1});let Va={contentNodes:Y3,text:A.innerHTML,ellipsis:!0};for(;A.firstChild;)A.removeChild(A.firstChild);return Va}var _2,b2,d8={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function ks(t="vertical",n="ant"){if(typeof document>"u"||typeof window>"u")return 0;let e=t==="vertical";if(e&&_2)return _2;if(!e&&b2)return b2;let a=document.createElement("div");Object.keys(d8).forEach(o=>{a.style[o]=d8[o]}),a.className=`${n}-hide-scrollbar scroll-div-append-to-body`,e?a.style.overflowY="scroll":a.style.overflowX="scroll",document.body.appendChild(a);let i=0;return e?(i=a.offsetWidth-a.clientWidth,_2=i):(i=a.offsetHeight-a.clientHeight,b2=i),document.body.removeChild(a),i}function Vs(){let t=new g;return Promise.resolve().then(()=>t.next()),t.pipe(B1(1))}function p8(t){return F1(t)?t:ei(t)?new Fe(n=>{Promise.resolve(t).then(e=>{n.next(e),n.complete()}).catch(e=>n.error(e))}):ke(t)}function x2(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var li="rc-util-key";function f8({mark:t}={}){return t?t.startsWith("data-")?t:`data-${t}`:li}function S2(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function u8(t,n={}){if(!x2())return null;let e=document.createElement("style");n.cspNonce&&(e.nonce=n.cspNonce),e.innerHTML=t;let a=S2(n),{firstChild:i}=a;return n.prepend&&a.prepend?a.prepend(e):n.prepend&&i?a.insertBefore(e,i):a.appendChild(e),e}var C2=new Map;function si(t,n={}){let e=S2(n);return Array.from(C2.get(e)?.children||[]).find(a=>a.tagName==="STYLE"&&a.getAttribute(f8(n))===t)}function g8(t,n,e={}){let a=S2(e);if(!C2.has(a)){let r=u8("",e),{parentNode:c}=r;C2.set(a,c),c.removeChild(r)}let i=si(n,e);if(i)return e.cspNonce&&i.nonce!==e.cspNonce&&(i.nonce=e.cspNonce),i.innerHTML!==t&&(i.innerHTML=t),i;let o=u8(t,e);return o?.setAttribute(f8(e),n),o}function x1(t,n,e){return{[`${t}-status-success`]:n==="success",[`${t}-status-warning`]:n==="warning",[`${t}-status-error`]:n==="error",[`${t}-status-validating`]:n==="validating",[`${t}-has-feedback`]:e}}function hi(t){return typeof Zone<"u"?Zone.root.run(t):t()}function z8(t,n,e){return t?new Fe(a=>hi(()=>N3(t,n,e).subscribe(a))):$t}function k2(t,n,e){return{[`${t}-borderless`]:n==="borderless"||n==="outlined"&&e,[`${t}-filled`]:n==="filled",[`${t}-underlined`]:n==="underlined"}}var V2;try{V2=typeof Intl<"u"&&Intl.v8BreakIterator}catch{V2=!1}var K=(()=>{class t{_platformId=l(j1);isBrowser=this._platformId?Z1(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||V2)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gt;function di(){if(gt==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gt=!0}))}finally{gt=gt||!1}return gt}function y8(t){return di()?t:!!t.capture}var Ge=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Ge||{}),p4,S1;function f4(){if(S1==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return S1=!1,S1;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)S1=!0;else{let t=Element.prototype.scrollTo;t?S1=!/\{\s*\[native code\]\s*\}/.test(t.toString()):S1=!1}}return S1}function Q1(){if(typeof document!="object"||!document)return Ge.NORMAL;if(p4==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),a=e.style;a.width="2px",a.height="1px",t.appendChild(e),document.body.appendChild(t),p4=Ge.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,p4=t.scrollLeft===0?Ge.NEGATED:Ge.INVERTED),t.remove()}return p4}var P2;function _8(){if(P2==null){let t=typeof document<"u"?document.head:null;P2=!!(t&&(t.createShadowRoot||t.attachShadow))}return P2}function T2(t){if(_8()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function D2(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Ye(t){return t.composedPath?t.composedPath()[0]:t.target}function H2(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function ae(t,n){ui(t)&&(t="100%");var e=mi(t);return t=n===360?t:Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(String(t*n),10)/100),Math.abs(t-n)<1e-6?1:(n===360?t=(t<0?t%n+n:t%n)/parseFloat(String(n)):t=t%n/parseFloat(String(n)),t)}function zt(t){return Math.min(1,Math.max(0,t))}function ui(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function mi(t){return typeof t=="string"&&t.indexOf("%")!==-1}function g4(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function yt(t){return t<=1?"".concat(Number(t)*100,"%"):t}function s1(t){return t.length===1?"0"+t:String(t)}function b8(t,n,e){return{r:ae(t,255)*255,g:ae(n,255)*255,b:ae(e,255)*255}}function Y2(t,n,e){t=ae(t,255),n=ae(n,255),e=ae(e,255);var a=Math.max(t,n,e),i=Math.min(t,n,e),o=0,r=0,c=(a+i)/2;if(a===i)r=0,o=0;else{var s=a-i;switch(r=c>.5?s/(2-a-i):s/(a+i),a){case t:o=(n-e)/s+(n<e?6:0);break;case n:o=(e-t)/s+2;break;case e:o=(t-n)/s+4;break;default:break}o/=6}return{h:o,s:r,l:c}}function E2(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+(n-t)*(6*e):e<1/2?n:e<2/3?t+(n-t)*(2/3-e)*6:t}function M8(t,n,e){var a,i,o;if(t=ae(t,360),n=ae(n,100),e=ae(e,100),n===0)i=e,o=e,a=e;else{var r=e<.5?e*(1+n):e+n-e*n,c=2*e-r;a=E2(c,r,t+1/3),i=E2(c,r,t),o=E2(c,r,t-1/3)}return{r:a*255,g:i*255,b:o*255}}function _t(t,n,e){t=ae(t,255),n=ae(n,255),e=ae(e,255);var a=Math.max(t,n,e),i=Math.min(t,n,e),o=0,r=a,c=a-i,s=a===0?0:c/a;if(a===i)o=0;else{switch(a){case t:o=(n-e)/c+(n<e?6:0);break;case n:o=(e-t)/c+2;break;case e:o=(t-n)/c+4;break;default:break}o/=6}return{h:o,s,v:r}}function C8(t,n,e){t=ae(t,360)*6,n=ae(n,100),e=ae(e,100);var a=Math.floor(t),i=t-a,o=e*(1-n),r=e*(1-i*n),c=e*(1-(1-i)*n),s=a%6,h=[e,r,o,o,c,e][s],d=[c,e,e,r,o,o][s],f=[o,o,c,e,e,r][s];return{r:h*255,g:d*255,b:f*255}}function bt(t,n,e,a){var i=[s1(Math.round(t).toString(16)),s1(Math.round(n).toString(16)),s1(Math.round(e).toString(16))];return a&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function w8(t,n,e,a,i){var o=[s1(Math.round(t).toString(16)),s1(Math.round(n).toString(16)),s1(Math.round(e).toString(16)),s1(vi(a))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function vi(t){return Math.round(parseFloat(t)*255).toString(16)}function A2(t){return xe(t)/255}function xe(t){return parseInt(t,16)}function x8(t){return{r:t>>16,g:(t&65280)>>8,b:t&255}}var Mt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function d1(t){var n={r:0,g:0,b:0},e=1,a=null,i=null,o=null,r=!1,c=!1;return typeof t=="string"&&(t=gi(t)),typeof t=="object"&&(i1(t.r)&&i1(t.g)&&i1(t.b)?(n=b8(t.r,t.g,t.b),r=!0,c=String(t.r).substr(-1)==="%"?"prgb":"rgb"):i1(t.h)&&i1(t.s)&&i1(t.v)?(a=yt(t.s),i=yt(t.v),n=C8(t.h,a,i),r=!0,c="hsv"):i1(t.h)&&i1(t.s)&&i1(t.l)&&(a=yt(t.s),o=yt(t.l),n=M8(t.h,a,o),r=!0,c="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(e=t.a)),e=g4(e),{ok:r,format:t.format||c,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:e}}var pi="[-\\+]?\\d+%?",fi="[-\\+]?\\d*\\.\\d+%?",h1="(?:".concat(fi,")|(?:").concat(pi,")"),F2="[\\s|\\(]+(".concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")\\s*\\)?"),O2="[\\s|\\(]+(".concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")[,|\\s]+(").concat(h1,")\\s*\\)?"),$e={CSS_UNIT:new RegExp(h1),rgb:new RegExp("rgb"+F2),rgba:new RegExp("rgba"+O2),hsl:new RegExp("hsl"+F2),hsla:new RegExp("hsla"+O2),hsv:new RegExp("hsv"+F2),hsva:new RegExp("hsva"+O2),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function gi(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var n=!1;if(Mt[t])t=Mt[t],n=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var e=$e.rgb.exec(t);return e?{r:e[1],g:e[2],b:e[3]}:(e=$e.rgba.exec(t),e?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=$e.hsl.exec(t),e?{h:e[1],s:e[2],l:e[3]}:(e=$e.hsla.exec(t),e?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=$e.hsv.exec(t),e?{h:e[1],s:e[2],v:e[3]}:(e=$e.hsva.exec(t),e?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=$e.hex8.exec(t),e?{r:xe(e[1]),g:xe(e[2]),b:xe(e[3]),a:A2(e[4]),format:n?"name":"hex8"}:(e=$e.hex6.exec(t),e?{r:xe(e[1]),g:xe(e[2]),b:xe(e[3]),format:n?"name":"hex"}:(e=$e.hex4.exec(t),e?{r:xe(e[1]+e[1]),g:xe(e[2]+e[2]),b:xe(e[3]+e[3]),a:A2(e[4]+e[4]),format:n?"name":"hex8"}:(e=$e.hex3.exec(t),e?{r:xe(e[1]+e[1]),g:xe(e[2]+e[2]),b:xe(e[3]+e[3]),format:n?"name":"hex"}:!1)))))))))}function i1(t){return!!$e.CSS_UNIT.exec(String(t))}var z4=(function(){function t(n,e){n===void 0&&(n=""),e===void 0&&(e={});var a;if(n instanceof t)return n;typeof n=="number"&&(n=x8(n)),this.originalInput=n;var i=d1(n);this.originalInput=n,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(a=e.format)!==null&&a!==void 0?a:i.format,this.gradientType=e.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var n=this.toRgb();return(n.r*299+n.g*587+n.b*114)/1e3},t.prototype.getLuminance=function(){var n=this.toRgb(),e,a,i,o=n.r/255,r=n.g/255,c=n.b/255;return o<=.03928?e=o/12.92:e=Math.pow((o+.055)/1.055,2.4),r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),c<=.03928?i=c/12.92:i=Math.pow((c+.055)/1.055,2.4),.2126*e+.7152*a+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(n){return this.a=g4(n),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var n=this.toHsl().s;return n===0},t.prototype.toHsv=function(){var n=_t(this.r,this.g,this.b);return{h:n.h*360,s:n.s,v:n.v,a:this.a}},t.prototype.toHsvString=function(){var n=_t(this.r,this.g,this.b),e=Math.round(n.h*360),a=Math.round(n.s*100),i=Math.round(n.v*100);return this.a===1?"hsv(".concat(e,", ").concat(a,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(a,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var n=Y2(this.r,this.g,this.b);return{h:n.h*360,s:n.s,l:n.l,a:this.a}},t.prototype.toHslString=function(){var n=Y2(this.r,this.g,this.b),e=Math.round(n.h*360),a=Math.round(n.s*100),i=Math.round(n.l*100);return this.a===1?"hsl(".concat(e,", ").concat(a,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(a,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(n){return n===void 0&&(n=!1),bt(this.r,this.g,this.b,n)},t.prototype.toHexString=function(n){return n===void 0&&(n=!1),"#"+this.toHex(n)},t.prototype.toHex8=function(n){return n===void 0&&(n=!1),w8(this.r,this.g,this.b,this.a,n)},t.prototype.toHex8String=function(n){return n===void 0&&(n=!1),"#"+this.toHex8(n)},t.prototype.toHexShortString=function(n){return n===void 0&&(n=!1),this.a===1?this.toHexString(n):this.toHex8String(n)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var n=Math.round(this.r),e=Math.round(this.g),a=Math.round(this.b);return this.a===1?"rgb(".concat(n,", ").concat(e,", ").concat(a,")"):"rgba(".concat(n,", ").concat(e,", ").concat(a,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var n=function(e){return"".concat(Math.round(ae(e,255)*100),"%")};return{r:n(this.r),g:n(this.g),b:n(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var n=function(e){return Math.round(ae(e,255)*100)};return this.a===1?"rgb(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%)"):"rgba(".concat(n(this.r),"%, ").concat(n(this.g),"%, ").concat(n(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var n="#"+bt(this.r,this.g,this.b,!1),e=0,a=Object.entries(Mt);e<a.length;e++){var i=a[e],o=i[0],r=i[1];if(n===r)return o}return!1},t.prototype.toString=function(n){var e=!!n;n=n??this.format;var a=!1,i=this.a<1&&this.a>=0,o=!e&&i&&(n.startsWith("hex")||n==="name");return o?n==="name"&&this.a===0?this.toName():this.toRgbString():(n==="rgb"&&(a=this.toRgbString()),n==="prgb"&&(a=this.toPercentageRgbString()),(n==="hex"||n==="hex6")&&(a=this.toHexString()),n==="hex3"&&(a=this.toHexString(!0)),n==="hex4"&&(a=this.toHex8String(!0)),n==="hex8"&&(a=this.toHex8String()),n==="name"&&(a=this.toName()),n==="hsl"&&(a=this.toHslString()),n==="hsv"&&(a=this.toHsvString()),a||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.l+=n/100,e.l=zt(e.l),new t(e)},t.prototype.brighten=function(n){n===void 0&&(n=10);var e=this.toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(255*-(n/100)))),e.g=Math.max(0,Math.min(255,e.g-Math.round(255*-(n/100)))),e.b=Math.max(0,Math.min(255,e.b-Math.round(255*-(n/100)))),new t(e)},t.prototype.darken=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.l-=n/100,e.l=zt(e.l),new t(e)},t.prototype.tint=function(n){return n===void 0&&(n=10),this.mix("white",n)},t.prototype.shade=function(n){return n===void 0&&(n=10),this.mix("black",n)},t.prototype.desaturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s-=n/100,e.s=zt(e.s),new t(e)},t.prototype.saturate=function(n){n===void 0&&(n=10);var e=this.toHsl();return e.s+=n/100,e.s=zt(e.s),new t(e)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(n){var e=this.toHsl(),a=(e.h+n)%360;return e.h=a<0?360+a:a,new t(e)},t.prototype.mix=function(n,e){e===void 0&&(e=50);var a=this.toRgb(),i=new t(n).toRgb(),o=e/100,r={r:(i.r-a.r)*o+a.r,g:(i.g-a.g)*o+a.g,b:(i.b-a.b)*o+a.b,a:(i.a-a.a)*o+a.a};return new t(r)},t.prototype.analogous=function(n,e){n===void 0&&(n=6),e===void 0&&(e=30);var a=this.toHsl(),i=360/e,o=[this];for(a.h=(a.h-(i*n>>1)+720)%360;--n;)a.h=(a.h+i)%360,o.push(new t(a));return o},t.prototype.complement=function(){var n=this.toHsl();return n.h=(n.h+180)%360,new t(n)},t.prototype.monochromatic=function(n){n===void 0&&(n=6);for(var e=this.toHsv(),a=e.h,i=e.s,o=e.v,r=[],c=1/n;n--;)r.push(new t({h:a,s:i,v:o})),o=(o+c)%1;return r},t.prototype.splitcomplement=function(){var n=this.toHsl(),e=n.h;return[this,new t({h:(e+72)%360,s:n.s,l:n.l}),new t({h:(e+216)%360,s:n.s,l:n.l})]},t.prototype.onBackground=function(n){var e=this.toRgb(),a=new t(n).toRgb(),i=e.a+a.a*(1-e.a);return new t({r:(e.r*e.a+a.r*a.a*(1-e.a))/i,g:(e.g*e.a+a.g*a.a*(1-e.a))/i,b:(e.b*e.a+a.b*a.a*(1-e.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(n){for(var e=this.toHsl(),a=e.h,i=[this],o=360/n,r=1;r<n;r++)i.push(new t({h:(a+r*o)%360,s:e.s,l:e.l}));return i},t.prototype.equals=function(n){return this.toRgbString()===new t(n).toRgbString()},t})();var zi=["success","processing","error","default","warning"],yi=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];function D8(t){return yi.indexOf(t)!==-1}function t5(t){return zi.indexOf(t)!==-1}var y4=2,S8=.16,_i=.05,bi=.05,Mi=.15,H8=5,E8=4,Ci=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function k8({r:t,g:n,b:e}){let a=_t(t,n,e);return{h:a.h*360,s:a.s,v:a.v}}function _4({r:t,g:n,b:e}){return`#${bt(t,n,e,!1)}`}function wi(t,n,e){let a=e/100;return{r:(n.r-t.r)*a+t.r,g:(n.g-t.g)*a+t.g,b:(n.b-t.b)*a+t.b}}function V8(t,n,e){let a;return Math.round(t.h)>=60&&Math.round(t.h)<=240?a=e?Math.round(t.h)-y4*n:Math.round(t.h)+y4*n:a=e?Math.round(t.h)+y4*n:Math.round(t.h)-y4*n,a<0?a+=360:a>=360&&(a-=360),a}function P8(t,n,e){if(t.h===0&&t.s===0)return t.s;let a;return e?a=t.s-S8*n:n===E8?a=t.s+S8:a=t.s+_i*n,a>1&&(a=1),e&&n===H8&&a>.1&&(a=.1),a<.06&&(a=.06),Number(a.toFixed(2))}function T8(t,n,e){let a;return e?a=t.v+bi*n:a=t.v-Mi*n,a>1&&(a=1),Number(a.toFixed(2))}function L2(t,n={}){let e=[],a=d1(t);for(let i=H8;i>0;i-=1){let o=k8(a),r=_4(d1({h:V8(o,i,!0),s:P8(o,i,!0),v:T8(o,i,!0)}));e.push(r)}e.push(_4(a));for(let i=1;i<=E8;i+=1){let o=k8(a),r=_4(d1({h:V8(o,i),s:P8(o,i),v:T8(o,i)}));e.push(r)}return n.theme==="dark"?Ci.map(({index:i,opacity:o})=>_4(wi(d1(n.backgroundColor||"#141414"),d1(e[i]),o*100))):e}var xi=new b("");var Si=`-ant-${Date.now()}-${Math.random()}`;function ki(t,n){let e={},a=(r,c)=>{let s=r.clone();return s=c?.(s)||s,s.toRgbString()},i=(r,c)=>{let s=new z4(r),h=L2(s.toRgbString());e[`${c}-color`]=a(s),e[`${c}-color-disabled`]=h[1],e[`${c}-color-hover`]=h[4],e[`${c}-color-active`]=h[7],e[`${c}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),e[`${c}-color-deprecated-bg`]=h[1],e[`${c}-color-deprecated-border`]=h[3]};if(n.primaryColor){i(n.primaryColor,"primary");let r=new z4(n.primaryColor),c=L2(r.toRgbString());c.forEach((h,d)=>{e[`primary-${d+1}`]=h}),e["primary-color-deprecated-l-35"]=a(r,h=>h.lighten(35)),e["primary-color-deprecated-l-20"]=a(r,h=>h.lighten(20)),e["primary-color-deprecated-t-20"]=a(r,h=>h.tint(20)),e["primary-color-deprecated-t-50"]=a(r,h=>h.tint(50)),e["primary-color-deprecated-f-12"]=a(r,h=>h.setAlpha(h.getAlpha()*.12));let s=new z4(c[0]);e["primary-color-active-deprecated-f-30"]=a(s,h=>h.setAlpha(h.getAlpha()*.3)),e["primary-color-active-deprecated-d-02"]=a(s,h=>h.darken(2))}return n.successColor&&i(n.successColor,"success"),n.warningColor&&i(n.warningColor,"warning"),n.errorColor&&i(n.errorColor,"error"),n.infoColor&&i(n.infoColor,"info"),`
2
+ :root {
3
+ ${Object.keys(e).map(r=>`--${t}-${r}: ${e[r]};`).join(`
4
+ `)}
5
+ }
6
+ `.trim()}function Y8(t,n,e){let a=ki(t,n);x2()?g8(a,`${Si}-dynamic-theme`,{cspNonce:e}):C1("NzConfigService: SSR do not support dynamic theme with css variables.")}function A8(t){return t!==void 0}var F8="ant",u1=(()=>{class t{configUpdated$=new g;_configMap=new Map;config=l(xi,{optional:!0})||{};cspNonce=l(W1,{optional:!0});constructor(){this.config.theme&&Y8(this.getConfig().prefixCls?.prefixCls||F8,this.config.theme,this.cspNonce)}_getConfigValue(e){let a=this._configMap.get(e);return a||(a=D(this.config[e]),this._configMap.set(e,a),a)}getConfig(){return this.config}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(ve(a=>a===e),J(()=>{}))}set(e,a){this.config[e]=y(y({},this.config[e]),a),this._configMap.get(e)?.set(this.config[e]),e==="theme"&&this.config.theme&&Y8(this.getConfig().prefixCls?.prefixCls||F8,this.config.theme,this.cspNonce),this.configUpdated$.next(e)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function b4(t,n){let e=l(F),a=l(u1),i=null,o=Ce(()=>{i=a.getConfigChangeEventForComponent(t).pipe(Y(e)).subscribe(n)});return()=>{o.destroy(),i?.unsubscribe()}}function M4(){return function(t,n){n.addInitializer(function(){let e=l(u1),a=this[n.name],i,o=!1;Object.defineProperty(this,n.name,{get:()=>{let r=e.getConfigForComponent(this._nzModuleName)?.[n.name];return o?i:A8(r)?r:a},set:r=>{o=A8(r),i=r},enumerable:!0,configurable:!0})})}}var O8={name:"bars",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var L8={name:"caret-down",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var B8={name:"caret-down",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /></svg>'};var I8={name:"caret-up",theme:"fill",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var N8={name:"caret-up",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /></svg>'};var R8={name:"check-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" /></svg>'};var j8={name:"check-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" /><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /></svg>'};var U8={name:"check",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" /></svg>'};var W8={name:"calendar",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /></svg>'};var q8={name:"close-circle",theme:"fill",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /></svg>'},K8={name:"clock-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /></svg>'};var G8={name:"close",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" /></svg>'},$8={name:"close-circle",theme:"outline",icon:'<svg fill-rule="evenodd" viewBox="64 64 896 896" focusable="false"><path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" /></svg>'};var Z8={name:"copy",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /></svg>'};var X8={name:"delete",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" /></svg>'};var Q8={name:"double-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" /></svg>'};var J8={name:"double-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /></svg>'},e0={name:"down",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /></svg>'};var t0={name:"edit",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" /></svg>'};var n0={name:"ellipsis",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /></svg>'};var a0={name:"exclamation-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'};var i0={name:"exclamation-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" /></svg>'};var o0={name:"eye",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /></svg>'};var r0={name:"eye-invisible",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" /><path d="M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" /></svg>'};var c0={name:"file",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2z" /></svg>'};var l0={name:"file",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" /></svg>'};var s0={name:"filter",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /></svg>'};var h0={name:"left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /></svg>'};var d0={name:"info-circle",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" /></svg>'},u0={name:"info-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /></svg>'};var m0={name:"loading",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /></svg>'};var v0={name:"paper-clip",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" /></svg>'};var p0={name:"question-circle",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /><path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /></svg>'};var f0={name:"right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /></svg>'};var g0={name:"rotate-left",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" /><path d="M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" /></svg>'};var z0={name:"rotate-right",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><defs><style /></defs><path d="M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" /><path d="M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" /></svg>'};var y0={name:"search",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /></svg>'};var B2={name:"star",theme:"fill",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" /></svg>'};var _0={name:"swap",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" /></svg>'};var b0={name:"swap-right",theme:"outline",icon:'<svg viewBox="0 0 1024 1024" focusable="false"><path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /></svg>'};var M0={name:"up",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /></svg>'};var C0={name:"upload",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" /></svg>'};var w0={name:"vertical-align-top",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z" /></svg>'};var x0={name:"zoom-in",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var S0={name:"zoom-out",theme:"outline",icon:'<svg viewBox="64 64 896 896" focusable="false"><path d="M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" /></svg>'};var Vi=[O8,W8,I8,N8,L8,B8,R8,j8,U8,K8,$8,q8,G8,Z8,X8,Q8,J8,e0,t0,n0,a0,i0,o0,r0,c0,l0,s0,d0,u0,h0,m0,v0,p0,f0,z0,g0,B2,y0,B2,C0,w0,M0,_0,b0,x0,S0],V0=new b("");var k0="#1890ff",P0=(()=>{class t extends g2{nzConfigService=l(u1);platform=l(K);configUpdated$=new g;get _disableDynamicLoading(){return!this.platform.isBrowser}iconfontCache=new Set;normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),(!e.getAttribute("width")||!e.getAttribute("height"))&&(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){let{scriptUrl:a}=e;if(this._document&&!this.iconfontCache.has(a)){let i=this._renderer.createElement("script");this._renderer.setAttribute(i,"src",a),this._renderer.setAttribute(i,"data-namespace",a.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,i),this.iconfontCache.add(a)}}createIconfontIcon(e){return this._createSVGElementFromString(`<svg><use xlink:href="${e}"></svg>`)}constructor(){super([...Vi,...l(V0,{optional:!0})||[]]),this.onConfigChange(),this.configDefaultTwotoneColor(),this.configDefaultTheme()}onConfigChange(){b4("icon",()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){let e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){let a=this.getConfig().nzTwotoneColor||k0,i=k0;a&&(a.startsWith("#")?i=a:C1("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:i}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),T0=new b("nz_icons_patch"),D0=(()=>{class t{rootIconService;patched=!1;extraIcons=l(T0,{self:!0});constructor(e){this.rootIconService=e}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}static \u0275fac=function(a){return new(a||t)(dt(P0))};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),Ae=(()=>{class t extends c8{iconService;ngZone=l(I);changeDetectorRef=l(fe);renderer=l(ne);destroyRef=l(F);pendingTasks=l(h2);isBrowser=Z1(l(j1));nzSpin=!1;nzRotate=0;set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}hostClass;el;iconfont;constructor(e){super(e),this.iconService=e,l(D0,{optional:!0})?.doPatch(),this.el=this._elementRef.nativeElement}ngOnChanges(e){let{nzType:a,nzTwotoneColor:i,nzTheme:o,nzRotate:r,nzSpin:c}=e;a||i||o||c?this.ngZone.runOutsideAngular(()=>this.changeIcon2()):r?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngAfterContentChecked(){if(!this.type){let e=this.el.children,a=e.length;if(!this.type&&e.length)for(;a--;){let i=e[a];i.tagName.toLowerCase()==="svg"&&this.iconService.normalizeSvgElement(i)}}}changeIcon2(){let e=this.pendingTasks.add();p8(this._changeIcon()).pipe(L1(0,this.isBrowser?Gt:Y1),Y(this.destroyRef),I1(e)).subscribe({next:i=>{this.ngZone.run(()=>{this.changeDetectorRef.detectChanges(),i&&(this.setSVGData(i),this.handleRotate(i))})},error:C1})}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}static \u0275fac=function(a){return new(a||t)(x(P0))};static \u0275dir=u({type:t,selectors:[["nz-icon"],["","nz-icon",""]],hostAttrs:["role","img",1,"anticon"],hostVars:5,hostBindings:function(a,i){a&2&&(Re("aria-label",i.type),qe("anticon-"+i.type),N("anticon-spin",i.nzSpin||i.type==="loading"))},inputs:{nzSpin:[2,"nzSpin","nzSpin",_],nzRotate:[2,"nzRotate","nzRotate",_1],nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[R,P]})}return t})(),Pi=t=>r1([{provide:V0,useValue:t}]),Ti=t=>[D0,{provide:T0,useValue:t}],k1=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[Pi(e)]}}static forChild(e){return{ngModule:t,providers:[Ti(e)]}}static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var Di=new b("cdk-dir-doc",{providedIn:"root",factory:Hi});function Hi(){return l(Q)}var Ei=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function H0(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?Ei.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var ge=(()=>{class t{get value(){return this.valueSignal()}valueSignal=D("ltr");change=new W;constructor(){let e=l(Di,{optional:!0});if(e){let a=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(H0(a||i||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ct=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var J1=(()=>{class t{viewContainer=l(Be);templateRef=l(pe);embeddedViewRef=null;context=new N2;nzStringTemplateOutletContext=null;nzStringTemplateOutlet=null;static ngTemplateContextGuard(e,a){return!0}recreateView(){this.viewContainer.clear(),ft(this.nzStringTemplateOutlet)?this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.nzStringTemplateOutlet,this.nzStringTemplateOutletContext):this.embeddedViewRef=this.viewContainer.createEmbeddedView(this.templateRef,this.context)}updateContext(){let e=ft(this.nzStringTemplateOutlet)?this.nzStringTemplateOutletContext:this.context,a=this.embeddedViewRef.context;if(e)for(let i of Object.keys(e))a[i]=e[i]}ngOnChanges(e){let{nzStringTemplateOutletContext:a,nzStringTemplateOutlet:i}=e,o=()=>{let c=!1;return i&&(c=i.firstChange||ft(i.previousValue)||ft(i.currentValue)),a&&(d=>{let f=Object.keys(d.previousValue||{}),B=Object.keys(d.currentValue||{});if(f.length===B.length){for(let me of B)if(f.indexOf(me)===-1)return!0;return!1}else return!0})(a)||c};i&&(this.context.$implicit=i.currentValue),o()?this.recreateView():this.updateContext()}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[P]})}return t})(),N2=class{$implicit},C4=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var Y0=["*"],Yi=t=>({$implicit:t});function Ai(t,n){if(t&1&&Ke(0),t&2){let e=m(3);Je(e.nzSplit)}}function Fi(t,n){if(t&1&&($(0,"span",2),Z(1,Ai,1,1,"ng-template",3),X()),t&2){let e=m().$index,a=m();w(),k("nzStringTemplateOutlet",a.nzSplit)("nzStringTemplateOutletContext",o4(2,Yi,e))}}function Oi(t,n){if(t&1&&($(0,"div",0),l6(1,1),X(),H(2,Fi,2,4,"span",2)),t&2){let e=n.$implicit,a=n.$index,i=n.$count,o=m();w(),k("ngTemplateOutlet",e),w(),E(o.nzSplit&&a!==i-1?2:-1)}}var et=new b(""),A0=new b(""),V1=new b(""),Li=(()=>{class t{nzBlock=te(!1,{transform:_});nzDirection=te("horizontal");nzSize=te("default");elementRef=l(z);static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(a,i){a&2&&N("ant-space-compact-block",i.nzBlock())("ant-space-compact-vertical",i.nzDirection()==="vertical")},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[O([{provide:et,useFactory:()=>l(t).nzSize},{provide:A0,useFactory:()=>D([])}])],ngContentSelectors:Y0,decls:1,vars:0,template:function(a,i){a&1&&(je(),se(0))},encapsulation:2,changeDetection:0})}return t})(),tt=(()=>{class t{spaceCompactCmp=l(Li,{host:!0,optional:!0});items=l(A0,{host:!0,optional:!0});type=l(V1);elementRef=l(z);directionality=l(ge);dir=vt(this.directionality.change,{initialValue:this.directionality.value});get parentElement(){return this.elementRef.nativeElement?.parentElement}class=S(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;let e=this.items(),a=this.spaceCompactCmp.nzDirection(),i=[Bi(this.type,a,this.dir()==="rtl")],o=e.indexOf(this),r=e.findIndex(c=>c);return o===r&&i.push(Ii(this.type,a)),o===e.length-1&&i.push(Ni(this.type,a)),i});constructor(){!this.spaceCompactCmp||!this.items||(Ce(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){let e=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(a=>{let i=a.slice();return i.splice(e,0,this),i})}}),l(F).onDestroy(()=>{this.items?.update(e=>e.filter(a=>a!==this))}))}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,hostVars:2,hostBindings:function(a,i){a&2&&qe(i.class())},exportAs:["nzSpaceCompactItem"]})}return t})();function R2(t,n,e){return`ant-${t}-compact-${n==="vertical"?"vertical-":""}${e}`}function Bi(t,n,e){let a=e?"-rtl":"";return`${R2(t,n,"item")}${a}`}function Ii(t,n){return R2(t,n,"first-item")}function Ni(t,n){return R2(t,n,"last-item")}var Ri=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzSpaceItem",""]]})}return t})(),ji="space",Ui={small:8,middle:16,large:24},J5=(()=>{var a;let t,n=[],e=[];return a=class{_nzModuleName=ji;nzConfigService=l(u1);cdr=l(fe);destroyRef=l(F);nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=!1;nzSize=A1(this,n,"small");items=A1(this,e);mergedAlign;horizontalSize;verticalSize;constructor(){this.updateSpaceSize()}ngOnChanges(o){let{nzSize:r}=o;r&&this.updateSpaceSize(),this.mergedAlign=this.nzAlign===void 0&&this.nzDirection==="horizontal"?"center":this.nzAlign}ngAfterContentInit(){this.items.changes.pipe(Y(this.destroyRef)).subscribe(()=>{this.cdr.markForCheck()})}updateSpaceSize(){let{horizontalSize:o,verticalSize:r}=Wi(this.nzSize);this.horizontalSize=o,this.verticalSize=r}},(()=>{let o=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[M4()],Zt(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:r=>"nzSize"in r,get:r=>r.nzSize,set:(r,c)=>{r.nzSize=c}},metadata:o},n,e),o&&Object.defineProperty(a,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),H1(a,"\u0275fac",function(r){return new(r||a)}),H1(a,"\u0275cmp",ee({type:a,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(r,c,s){if(r&1&&K1(s,Ri,4,pe),r&2){let h;Ue(h=We())&&(c.items=h)}},hostAttrs:[1,"ant-space"],hostVars:18,hostBindings:function(r,c){r&2&&(a4("flex-wrap",c.nzWrap?"wrap":null)("column-gap",c.horizontalSize,"px")("row-gap",c.verticalSize,"px"),N("ant-space-horizontal",c.nzDirection==="horizontal")("ant-space-vertical",c.nzDirection==="vertical")("ant-space-align-start",c.mergedAlign==="start")("ant-space-align-end",c.mergedAlign==="end")("ant-space-align-center",c.mergedAlign==="center")("ant-space-align-baseline",c.mergedAlign==="baseline"))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",_],nzSize:"nzSize"},exportAs:["nzSpace"],features:[P],ngContentSelectors:Y0,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(r,c){r&1&&(je(),se(0),Jt(1,Oi,3,2,null,null,i6)),r&2&&(w(),e4(c.items))},dependencies:[mt,J1],encapsulation:2,changeDetection:0})),a})();function Wi(t){let[n,e]=(Array.isArray(t)?t:[t,t]).map(a=>typeof a=="number"?a:Ui[a]);return{horizontalSize:n,verticalSize:e}}var e7=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var O0=(()=>{class t{elementRef=l(z);renderer=l(ne);hidden=null;setHiddenAttribute(){this.hidden?typeof this.hidden=="string"?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden):this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden")}constructor(){this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nz-button",""],["","nz-icon",""],["nz-icon"],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[P]})}return t})(),L0=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var j2=class{triggerElement;ngZone;insertExtraNode;platform;cspNonce;waveTransitionDuration=400;styleForPseudo=null;extraNode=null;lastTime=0;clickHandler;get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}constructor(n,e,a,i,o){this.triggerElement=n,this.ngZone=e,this.insertExtraNode=a,this.platform=i,this.cspNonce=o,this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}onClick=n=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||n.target.tagName==="INPUT"||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()};bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){let n=this.triggerElement,e=this.getWaveColor(n);n.setAttribute(this.waveAttributeName,"true"),!(Date.now()<this.lastTime+this.waveTransitionDuration)&&(this.isValidColor(e)&&(this.styleForPseudo||(this.styleForPseudo=document.createElement("style"),this.cspNonce&&(this.styleForPseudo.nonce=this.cspNonce)),this.styleForPseudo.innerHTML=`
7
+ [ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node {
8
+ --antd-wave-shadow-color: ${e};
9
+ }`,document.body.appendChild(this.styleForPseudo)),this.insertExtraNode&&(this.extraNode||(this.extraNode=document.createElement("div")),this.extraNode.className="ant-click-animating-node",n.appendChild(this.extraNode)),this.lastTime=Date.now(),this.runTimeoutOutsideZone(()=>{n.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(n){return!!n&&n!=="#ffffff"&&n!=="rgb(255, 255, 255)"&&this.isNotGrey(n)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(n)&&n!=="transparent"}isNotGrey(n){let e=n.match(/rgba?\((\d*), (\d*), (\d*)(, [.\d]*)?\)/);return e&&e[1]&&e[2]&&e[3]?!(e[1]===e[2]&&e[2]===e[3]):!0}getWaveColor(n){let e=getComputedStyle(n);return e.getPropertyValue("border-top-color")||e.getPropertyValue("border-color")||e.getPropertyValue("background-color")}runTimeoutOutsideZone(n,e){this.ngZone.runOutsideAngular(()=>setTimeout(n,e))}},Ki={disabled:!1},B0=new b("");function Gi(t){return r1([{provide:B0,useValue:t}])}var I0=(()=>{class t{nzWaveExtraNode=!1;waveRenderer;waveDisabled=!1;get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}cspNonce=l(W1,{optional:!0});platform=l(K);config=l(B0,{optional:!0});animationType=l(U1,{optional:!0});ngZone=l(I);elementRef=l(z);constructor(){this.waveDisabled=this.isConfigDisabled()}isConfigDisabled(){let e=!1;return this.config&&typeof this.config.disabled=="boolean"&&(e=this.config.disabled),this.animationType==="NoopAnimations"&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new j2(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platform,this.cspNonce))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]})}return t})(),N0=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({providers:[Gi(Ki)]})}return t})();var Zi=["nz-button",""],Xi=["*"];function Qi(t,n){t&1&&($(0,"span",0),le(1,"nz-icon",1),X())}var R0="button",U2=(()=>{var a;let t,n=[],e=[];return a=class{elementRef=l(z);cdr=l(fe);renderer=l(ne);directionality=l(ge);destroyRef=l(F);_nzModuleName=R0;nzIconDirectiveElement;nzBlock=!1;nzGhost=!1;nzSearch=!1;nzLoading=!1;nzDanger=!1;disabled=!1;tabIndex=null;nzType=null;nzShape=null;nzSize=A1(this,n,"default");dir=(A1(this,e),"ltr");elementOnly=D(!1);size=D(this.nzSize);compactSize=l(et,{optional:!0});loading$=new g;finalSize=S(()=>this.compactSize?this.compactSize():this.size());iconDir=He(Ae);loadingIconDir=v6(Ae);iconOnly=S(()=>this.elementOnly()&&(!!this.iconDir()||!!this.loadingIconDir()));constructor(){b4(R0,()=>{this.size.set(this.nzSize),this.cdr.markForCheck()}),e6({read:()=>{let{children:o}=this.elementRef.nativeElement,r=Array.from(o).filter(c=>c.style.display!=="none");this.elementOnly.set(r.length===1)}})}ngOnInit(){this.size.set(this.nzSize),this.directionality.change?.pipe(Y(this.destroyRef)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,z8(this.elementRef.nativeElement,"click",{capture:!0}).pipe(Y(this.destroyRef)).subscribe(o=>{(this.disabled&&o.target?.tagName==="A"||this.nzLoading)&&(o.preventDefault(),o.stopImmediatePropagation())})}ngOnChanges({nzLoading:o,nzSize:r}){o&&this.loading$.next(this.nzLoading),r&&this.size.set(r.currentValue)}ngAfterViewInit(){this.insertSpan()}ngAfterContentInit(){this.loading$.pipe(Ve(this.nzLoading),ve(()=>!!this.nzIconDirectiveElement),Y(this.destroyRef)).subscribe(o=>{let r=this.nzIconDirectiveElement.nativeElement;o?this.renderer.setStyle(r,"display","none"):this.renderer.removeStyle(r,"display")})}insertSpan(){this.elementRef.nativeElement.childNodes.forEach(o=>{if(o.nodeType===Node.TEXT_NODE&&o.textContent.trim().length>0){let r=this.renderer.createElement("span"),c=this.renderer.parentNode(o);this.renderer.insertBefore(c,r,o),this.renderer.appendChild(r,o)}})}},(()=>{let o=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[M4()],Zt(null,null,t,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:r=>"nzSize"in r,get:r=>r.nzSize,set:(r,c)=>{r.nzSize=c}},metadata:o},n,e),o&&Object.defineProperty(a,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})})(),H1(a,"\u0275fac",function(r){return new(r||a)}),H1(a,"\u0275cmp",ee({type:a,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(r,c,s){if(r&1&&(Te(s,c.iconDir,Ae,5),K1(s,Ae,5,z)),r&2){$1();let h;Ue(h=We())&&(c.nzIconDirectiveElement=h.first)}},viewQuery:function(r,c){r&1&&s6(c.loadingIconDir,Ae,5),r&2&&$1()},hostAttrs:[1,"ant-btn"],hostVars:34,hostBindings:function(r,c){r&2&&(Re("tabindex",c.disabled?-1:c.tabIndex===null?null:c.tabIndex)("disabled",c.disabled||null),N("ant-btn-default",c.nzType==="default")("ant-btn-primary",c.nzType==="primary")("ant-btn-dashed",c.nzType==="dashed")("ant-btn-link",c.nzType==="link")("ant-btn-text",c.nzType==="text")("ant-btn-circle",c.nzShape==="circle")("ant-btn-round",c.nzShape==="round")("ant-btn-lg",c.finalSize()==="large")("ant-btn-sm",c.finalSize()==="small")("ant-btn-dangerous",c.nzDanger)("ant-btn-loading",c.nzLoading)("ant-btn-background-ghost",c.nzGhost)("ant-btn-block",c.nzBlock)("ant-input-search-button",c.nzSearch)("ant-btn-rtl",c.dir==="rtl")("ant-btn-icon-only",c.iconOnly()))},inputs:{nzBlock:[2,"nzBlock","nzBlock",_],nzGhost:[2,"nzGhost","nzGhost",_],nzSearch:[2,"nzSearch","nzSearch",_],nzLoading:[2,"nzLoading","nzLoading",_],nzDanger:[2,"nzDanger","nzDanger",_],disabled:[2,"disabled","disabled",_],tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[O([{provide:V1,useValue:"btn"}]),q1([tt]),P],attrs:Zi,ngContentSelectors:Xi,decls:2,vars:1,consts:[[1,"ant-btn-icon","ant-btn-loading-icon"],["nzType","loading"]],template:function(r,c){r&1&&(je(),H(0,Qi,2,0,"span",0),se(1)),r&2&&E(c.nzLoading?0:-1)},dependencies:[k1,Ae],encapsulation:2,changeDetection:0})),a})(),j0=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[U2,L0,N0]})}return t})();var X0=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,a){this._renderer=e,this._elementRef=a}setProperty(e,a){this._renderer.setProperty(this._elementRef.nativeElement,e,a)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(a){return new(a||t)(x(ne),x(z))};static \u0275dir=u({type:t})}return t})(),G2=(()=>{class t extends X0{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275dir=u({type:t,features:[R]})}return t})(),v1=new b(""),eo={provide:v1,useExisting:ie(()=>to),multi:!0},to=(()=>{class t extends G2{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275dir=u({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(a,i){a&1&&_e("change",function(r){return i.onChange(r.target.checked)})("blur",function(){return i.onTouched()})},standalone:!1,features:[O([eo]),R]})}return t})(),no={provide:v1,useExisting:ie(()=>A4),multi:!0};function ao(){let t=p2()?p2().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var io=new b(""),A4=(()=>{class t extends X0{_compositionMode;_composing=!1;constructor(e,a,i){super(e,a),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!ao())}writeValue(e){let a=e??"";this.setProperty("value",a)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(a){return new(a||t)(x(ne),x(z),x(io,8))};static \u0275dir=u({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,i){a&1&&_e("input",function(r){return i._handleInput(r.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(r){return i._compositionEnd(r.target.value)})},standalone:!1,features:[O([no]),R]})}return t})();function $2(t){return t==null||Z2(t)===0}function Z2(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var p1=new b(""),Ht=new b(""),oo=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,x4=class{static min(n){return Q0(n)}static max(n){return ro(n)}static required(n){return J0(n)}static requiredTrue(n){return co(n)}static email(n){return lo(n)}static minLength(n){return so(n)}static maxLength(n){return en(n)}static pattern(n){return ho(n)}static nullValidator(n){return S4()}static compose(n){return cn(n)}static composeAsync(n){return ln(n)}};function Q0(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function ro(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function J0(t){return $2(t.value)?{required:!0}:null}function co(t){return t.value===!0?null:{required:!0}}function lo(t){return $2(t.value)||oo.test(t.value)?null:{email:!0}}function so(t){return n=>{let e=n.value?.length??Z2(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function en(t){return n=>{let e=n.value?.length??Z2(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function ho(t){if(!t)return S4;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),a=>{if($2(a.value))return null;let i=a.value;return n.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function S4(t){return null}function tn(t){return t!=null}function nn(t){return n6(t)?F3(t):t}function an(t){let n={};return t.forEach(e=>{n=e!=null?y(y({},n),e):n}),Object.keys(n).length===0?null:n}function on(t,n){return n.map(e=>e(t))}function uo(t){return!t.validate}function rn(t){return t.map(n=>uo(n)?n:e=>n.validate(e))}function cn(t){if(!t)return null;let n=t.filter(tn);return n.length==0?null:function(e){return an(on(e,n))}}function X2(t){return t!=null?cn(rn(t)):null}function ln(t){if(!t)return null;let n=t.filter(tn);return n.length==0?null:function(e){let a=on(e,n).map(nn);return I3(a).pipe(J(an))}}function Q2(t){return t!=null?ln(rn(t)):null}function U0(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function sn(t){return t._rawValidators}function hn(t){return t._rawAsyncValidators}function W2(t){return t?Array.isArray(t)?t:[t]:[]}function k4(t,n){return Array.isArray(t)?t.includes(n):t===n}function W0(t,n){let e=W2(n);return W2(t).forEach(i=>{k4(e,i)||e.push(i)}),e}function q0(t,n){return W2(n).filter(e=>!k4(t,e))}var V4=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=X2(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Q2(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},o1=class extends V4{name;get formDirective(){return null}get path(){return null}},Ze=class extends V4{_parent=null;name=null;valueAccessor=null},P4=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},mo={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},K7=G(y({},mo),{"[class.ng-submitted]":"isSubmitted"}),dn=(()=>{class t extends P4{constructor(e){super(e)}static \u0275fac=function(a){return new(a||t)(x(Ze,2))};static \u0275dir=u({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,i){a&2&&N("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[R]})}return t})(),G7=(()=>{class t extends P4{constructor(e){super(e)}static \u0275fac=function(a){return new(a||t)(x(o1,10))};static \u0275dir=u({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,i){a&2&&N("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},standalone:!1,features:[R]})}return t})();var wt="VALID",w4="INVALID",nt="PENDING",xt="DISABLED",m1=class{},T4=class extends m1{value;source;constructor(n,e){super(),this.value=n,this.source=e}},kt=class extends m1{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},Vt=class extends m1{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},at=class extends m1{status;source;constructor(n,e){super(),this.status=n,this.source=e}},D4=class extends m1{source;constructor(n){super(),this.source=n}},Tt=class extends m1{source;constructor(n){super(),this.source=n}};function J2(t){return(F4(t)?t.validators:t)||null}function vo(t){return Array.isArray(t)?X2(t):t||null}function e3(t,n){return(F4(n)?n.asyncValidators:t)||null}function po(t){return Array.isArray(t)?Q2(t):t||null}function F4(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function un(t,n,e){let a=t.controls;if(!(n?Object.keys(a):a).length)throw new g1(1e3,"");if(!a[e])throw new g1(1001,"")}function mn(t,n,e){t._forEachChild((a,i)=>{if(e[i]===void 0)throw new g1(1002,"")})}var it=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return we(this.statusReactive)}set status(n){we(()=>this.statusReactive.set(n))}_status=S(()=>this.statusReactive());statusReactive=D(void 0);get valid(){return this.status===wt}get invalid(){return this.status===w4}get pending(){return this.status==nt}get disabled(){return this.status===xt}get enabled(){return this.status!==xt}errors;get pristine(){return we(this.pristineReactive)}set pristine(n){we(()=>this.pristineReactive.set(n))}_pristine=S(()=>this.pristineReactive());pristineReactive=D(!0);get dirty(){return!this.pristine}get touched(){return we(this.touchedReactive)}set touched(n){we(()=>this.touchedReactive.set(n))}_touched=S(()=>this.touchedReactive());touchedReactive=D(!1);get untouched(){return!this.touched}_events=new g;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(W0(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(W0(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(q0(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(q0(n,this._rawAsyncValidators))}hasValidator(n){return k4(this._rawValidators,n)}hasAsyncValidator(n){return k4(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let a=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(G(y({},n),{sourceControl:a})),e&&n.emitEvent!==!1&&this._events.next(new Vt(!0,a))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let a=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:a})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,a),e&&n.emitEvent!==!1&&this._events.next(new Vt(!1,a))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let a=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(G(y({},n),{sourceControl:a})),e&&n.emitEvent!==!1&&this._events.next(new kt(!1,a))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let a=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,a),e&&n.emitEvent!==!1&&this._events.next(new kt(!0,a))}markAsPending(n={}){this.status=nt;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new at(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(G(y({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=xt,this.errors=null,this._forEachChild(i=>{i.disable(G(y({},n),{onlySelf:!0}))}),this._updateValue();let a=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new T4(this.value,a)),this._events.next(new at(this.status,a)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(G(y({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=wt,this._forEachChild(a=>{a.enable(G(y({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(G(y({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(a=>a(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let a=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===wt||this.status===nt)&&this._runAsyncValidator(a,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new T4(this.value,e)),this._events.next(new at(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(G(y({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xt:wt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=nt,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let a=nn(this.asyncValidator(this));this._asyncValidationSubscription=a.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((a,i)=>a&&a._find(i),this)}getError(n,e){let a=e?this.get(e):this;return a&&a.errors?a.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,a){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||a)&&this._events.next(new at(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,a)}_initObservables(){this.valueChanges=new W,this.statusChanges=new W}_calculateStatus(){return this._allControlsDisabled()?xt:this.errors?w4:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(nt)?nt:this._anyControlsHaveStatus(w4)?w4:wt}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let a=!this._anyControlsDirty(),i=this.pristine!==a;this.pristine=a,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),i&&this._events.next(new kt(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Vt(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){F4(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=vo(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=po(this._rawAsyncValidators)}},ot=class extends it{constructor(n,e,a){super(J2(e),e3(a,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,a={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,a={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){mn(this,!0,n),Object.keys(n).forEach(a=>{un(this,!0,a),this.controls[a].setValue(n[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(a=>{let i=this.controls[a];i&&i.patchValue(n[a],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((a,i)=>{a.reset(n?n[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Tt(this))}getRawValue(){return this._reduceChildren({},(n,e,a)=>(n[a]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,a)=>a._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let a=this.controls[e];a&&n(a,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,a]of Object.entries(this.controls))if(this.contains(e)&&n(a))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,a,i)=>((a.enabled||this.disabled)&&(e[i]=a.value),e))}_reduceChildren(n,e){let a=n;return this._forEachChild((i,o)=>{a=e(a,i,o)}),a}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var q2=class extends ot{};var rt=new b("",{providedIn:"root",factory:()=>O4}),O4="always";function vn(t,n){return[...n.path,t]}function Dt(t,n,e=O4){t3(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),go(t,n),yo(t,n),zo(t,n),fo(t,n)}function H4(t,n,e=!0){let a=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(a),n.valueAccessor.registerOnTouched(a)),Y4(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function E4(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function fo(t,n){if(n.valueAccessor.setDisabledState){let e=a=>{n.valueAccessor.setDisabledState(a)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function t3(t,n){let e=sn(t);n.validator!==null?t.setValidators(U0(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let a=hn(t);n.asyncValidator!==null?t.setAsyncValidators(U0(a,n.asyncValidator)):typeof a=="function"&&t.setAsyncValidators([a]);let i=()=>t.updateValueAndValidity();E4(n._rawValidators,i),E4(n._rawAsyncValidators,i)}function Y4(t,n){let e=!1;if(t!==null){if(n.validator!==null){let i=sn(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(r=>r!==n.validator);o.length!==i.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let i=hn(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(r=>r!==n.asyncValidator);o.length!==i.length&&(e=!0,t.setAsyncValidators(o))}}}let a=()=>{};return E4(n._rawValidators,a),E4(n._rawAsyncValidators,a),e}function go(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&pn(t,n)})}function zo(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&pn(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function pn(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function yo(t,n){let e=(a,i)=>{n.valueAccessor.writeValue(a),i&&n.viewToModelUpdate(a)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function fn(t,n){t==null,t3(t,n)}function _o(t,n){return Y4(t,n)}function n3(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function bo(t){return Object.getPrototypeOf(t.constructor)===G2}function gn(t,n){t._syncPendingControls(),n.forEach(e=>{let a=e.control;a.updateOn==="submit"&&a._pendingChange&&(e.viewToModelUpdate(a._pendingValue),a._pendingChange=!1)})}function a3(t,n){if(!n)return null;Array.isArray(n);let e,a,i;return n.forEach(o=>{o.constructor===A4?e=o:bo(o)?a=o:i=o}),i||a||e||null}function Mo(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var Co={provide:o1,useExisting:ie(()=>wo)},St=Promise.resolve(),wo=(()=>{class t extends o1{callSetDisabledState;get submitted(){return we(this.submittedReactive)}_submitted=S(()=>this.submittedReactive());submittedReactive=D(!1);_directives=new Set;form;ngSubmit=new W;options;constructor(e,a,i){super(),this.callSetDisabledState=i,this.form=new ot({},X2(e),Q2(a))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){St.then(()=>{let a=this._findContainer(e.path);e.control=a.registerControl(e.name,e.control),Dt(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){St.then(()=>{let a=this._findContainer(e.path);a&&a.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){St.then(()=>{let a=this._findContainer(e.path),i=new ot({});fn(i,e),a.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){St.then(()=>{let a=this._findContainer(e.path);a&&a.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,a){St.then(()=>{this.form.get(e.path).setValue(a)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),gn(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new D4(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(a){return new(a||t)(x(p1,10),x(Ht,10),x(rt,8))};static \u0275dir=u({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,i){a&1&&_e("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[O([Co]),R]})}return t})();function K0(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function G0(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Pt=class extends it{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,a){super(J2(e),e3(a,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),F4(e)&&(e.nonNullable||e.initialValueIsDefault)&&(G0(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(a=>a(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Tt(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){K0(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){K0(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){G0(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var xo=t=>t instanceof Pt;var So={provide:Ze,useExisting:ie(()=>ko)},$0=Promise.resolve(),ko=(()=>{class t extends Ze{_changeDetectorRef;callSetDisabledState;control=new Pt;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new W;constructor(e,a,i,o,r,c){super(),this._changeDetectorRef=r,this.callSetDisabledState=c,this._parent=e,this._setValidators(a),this._setAsyncValidators(i),this.valueAccessor=a3(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let a=e.name.previousValue;this.formDirective.removeControl({name:a,path:this._getPath(a)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),n3(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Dt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){$0.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let a=e.isDisabled.currentValue,i=a!==0&&_(a);$0.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?vn(e,this._parent):[e]}static \u0275fac=function(a){return new(a||t)(x(o1,9),x(p1,10),x(Ht,10),x(v1,10),x(fe,8),x(rt,8))};static \u0275dir=u({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[O([So]),R,P]})}return t})();var Z7=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),Vo={provide:v1,useExisting:ie(()=>Po),multi:!0},Po=(()=>{class t extends G2{writeValue(e){let a=e??"";this.setProperty("value",a)}registerOnChange(e){this.onChange=a=>{e(a==""?null:parseFloat(a))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275dir=u({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,i){a&1&&_e("input",function(r){return i.onChange(r.target.value)})("blur",function(){return i.onTouched()})},standalone:!1,features:[O([Vo]),R]})}return t})();var i3=new b(""),To={provide:Ze,useExisting:ie(()=>o3)},o3=(()=>{class t extends Ze{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new W;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,a,i,o,r){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(a),this.valueAccessor=a3(this,i)}ngOnChanges(e){if(this._isControlChanged(e)){let a=e.form.previousValue;a&&H4(a,this,!1),Dt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}n3(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&H4(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(a){return new(a||t)(x(p1,10),x(Ht,10),x(v1,10),x(i3,8),x(rt,8))};static \u0275dir=u({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[O([To]),R,P]})}return t})(),Do={provide:o1,useExisting:ie(()=>Ho)},Ho=(()=>{class t extends o1{callSetDisabledState;get submitted(){return we(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=S(()=>this._submittedReactive());_submittedReactive=D(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new W;constructor(e,a,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(a)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Y4(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let a=this.form.get(e.path);return Dt(a,e,this.callSetDisabledState),a.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),a}getControl(e){return this.form.get(e.path)}removeControl(e){H4(e.control||null,e,!1),Mo(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,a){this.form.get(e.path).setValue(a)}onSubmit(e){return this._submittedReactive.set(!0),gn(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new D4(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0,a={}){this.form.reset(e,a),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(e=>{let a=e.control,i=this.form.get(e.path);a!==i&&(H4(a||null,e),xo(i)&&(Dt(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let a=this.form.get(e.path);fn(a,e),a.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let a=this.form.get(e.path);a&&_o(a,e)&&a.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){t3(this.form,this),this._oldForm&&Y4(this._oldForm,this)}static \u0275fac=function(a){return new(a||t)(x(p1,10),x(Ht,10),x(rt,8))};static \u0275dir=u({type:t,selectors:[["","formGroup",""]],hostBindings:function(a,i){a&1&&_e("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[O([Do]),R,P]})}return t})();var Eo={provide:Ze,useExisting:ie(()=>Yo)},Yo=(()=>{class t extends Ze{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new W;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,a,i,o,r){super(),this._ngModelWarningConfig=r,this._parent=e,this._setValidators(a),this._setAsyncValidators(i),this.valueAccessor=a3(this,o)}ngOnChanges(e){this._added||this._setUpControl(),n3(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return vn(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(a){return new(a||t)(x(o1,13),x(p1,10),x(Ht,10),x(v1,10),x(i3,8))};static \u0275dir=u({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[O([Eo]),R,P]})}return t})();function Ao(t){return typeof t=="number"?t:parseInt(t,10)}function Fo(t){return typeof t=="number"?t:parseFloat(t)}var r3=(()=>{class t{_validator=S4;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let a=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(a),this._validator=this._enabled?this.createValidator(a):S4,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,features:[P]})}return t})();var Oo={provide:p1,useExisting:ie(()=>Lo),multi:!0},Lo=(()=>{class t extends r3{min;inputName="min";normalizeInput=e=>Fo(e);createValidator=e=>Q0(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275dir=u({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(a,i){a&2&&Re("min",i._enabled?i.min:null)},inputs:{min:"min"},standalone:!1,features:[O([Oo]),R]})}return t})(),Bo={provide:p1,useExisting:ie(()=>Io),multi:!0};var Io=(()=>{class t extends r3{required;inputName="required";normalizeInput=_;createValidator=e=>J0;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275dir=u({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,i){a&2&&Re("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[O([Bo]),R]})}return t})();var No={provide:p1,useExisting:ie(()=>c3),multi:!0},c3=(()=>{class t extends r3{maxlength;inputName="maxlength";normalizeInput=e=>Ao(e);createValidator=e=>en(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275dir=u({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,i){a&2&&Re("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[O([No]),R]})}return t})();var zn=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})(),K2=class extends it{constructor(n,e,a){super(J2(e),e3(a,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){Array.isArray(n)?n.forEach(a=>{this.controls.push(a),this._registerControl(a)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,a={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:a.emitEvent})}removeAt(n,e={}){let a=this._adjustIndex(n);a<0&&(a=0),this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,a={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:a.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){mn(this,!1,n),n.forEach((a,i)=>{un(this,!1,i),this.at(i).setValue(a,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((a,i)=>{this.at(i)&&this.at(i).patchValue(a,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((a,i)=>{a.reset(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Tt(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,a)=>a._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,a)=>{n(e,a)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};function Z0(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var l3=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,a=null){let i=this._reduceControls(e),o={};return Z0(a)?o=a:a!==null&&(o.validators=a.validator,o.asyncValidators=a.asyncValidator),new ot(i,o)}record(e,a=null){let i=this._reduceControls(e);return new q2(i,a)}control(e,a,i){let o={};return this.useNonNullable?(Z0(a)?o=a:(o.validators=a,o.asyncValidators=i),new Pt(e,G(y({},o),{nonNullable:!0}))):new Pt(e,a,i)}array(e,a,i){let o=e.map(r=>this._createControl(r));return new K2(o,a,i)}_reduceControls(e){let a={};return Object.keys(e).forEach(i=>{a[i]=this._createControl(e[i])}),a}_createControl(e){if(e instanceof Pt)return e;if(e instanceof it)return e;if(Array.isArray(e)){let a=e[0],i=e.length>1?e[1]:null,o=e.length>2?e[2]:null;return this.control(a,i,o)}else return this.control(e)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),X7=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:()=>l(l3).nonNullable,providedIn:"root"})}return t})();var Q7=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:rt,useValue:e.callSetDisabledState??O4}]}}static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[zn]})}return t})(),yn=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:i3,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:rt,useValue:e.callSetDisabledState??O4}]}}static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[zn]})}return t})();var e9=typeof globalThis.requestAnimationFrame=="function"?globalThis.requestAnimationFrame:globalThis.setTimeout,t9=typeof globalThis.requestAnimationFrame=="function"?globalThis.cancelAnimationFrame:globalThis.clearTimeout;var _n=new Set,P1,L4=(()=>{class t{_platform=l(K);_nonce=l(W1,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Uo}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&jo(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jo(t,n){if(!_n.has(t))try{P1||(P1=document.createElement("style"),n&&P1.setAttribute("nonce",n),P1.setAttribute("type","text/css"),document.head.appendChild(P1)),P1.sheet&&(P1.sheet.insertRule(`@media ${t} {body{ }}`,0),_n.add(t))}catch(e){console.error(e)}}function Uo(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var s3=(()=>{class t{_mediaMatcher=l(L4);_zone=l(I);_queries=new Map;_destroySubject=new g;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return bn(X1(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=bn(X1(e)).map(r=>this._registerQuery(r).observable),o=O3(i);return o=B3(o.pipe(B1(1)),o.pipe(Xt(1),L1(0))),o.pipe(J(r=>{let c={matches:!1,breakpoints:{}};return r.forEach(({matches:s,query:h})=>{c.matches=c.matches||s,c.breakpoints[h]=s}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let a=this._mediaMatcher.matchMedia(e),o={observable:new Fe(r=>{let c=s=>this._zone.run(()=>r.next(s));return a.addListener(c),()=>{a.removeListener(c)}}).pipe(Ve(a),J(({matches:r})=>({query:e,matches:r})),Qe(this._destroySubject)),mql:a};return this._queries.set(e,o),o}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bn(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var h3=()=>{},d3=(()=>{class t{ngZone=l(I);destroyRef=l(F);resizeSource$=new g;listeners=0;renderer=l(Pe).createRenderer(null,null);disposeHandle=h3;handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})};constructor(){this.destroyRef.onDestroy(()=>{this.handler=h3})}connect(){return this.registerListener(),this.resizeSource$.pipe(O1(16),I1(()=>this.unregisterListener()))}disconnet(){this.unregisterListener()}registerListener(){this.listeners===0&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,this.listeners===0&&(this.disposeHandle(),this.disposeHandle=h3)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wo=new Map,y9=(()=>{class t{get singletonRegistry(){return m4.isTestMode?Wo:this._singletonRegistry}_singletonRegistry=new Map;registerSingletonWithKey(e,a){let i=this.singletonRegistry.has(e),o=i?this.singletonRegistry.get(e):this.withNewTarget(a);i||this.singletonRegistry.set(e,o)}unregisterSingletonWithKey(e){this.singletonRegistry.has(e)&&this.singletonRegistry.delete(e)}getSingletonWithKey(e){return this.singletonRegistry.has(e)?this.singletonRegistry.get(e).target:null}withNewTarget(e){return{target:e}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Mn=(function(t){return t.xxl="xxl",t.xl="xl",t.lg="lg",t.md="md",t.sm="sm",t.xs="xs",t})(Mn||{}),qo={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},_9={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"},b9=(()=>{class t{resizeService=l(d3);mediaMatcher=l(L4);constructor(){this.resizeService.connect().pipe(Y()).subscribe(()=>{})}subscribe(e,a){if(a){let i=()=>this.matchMedia(e,!0);return this.resizeService.connect().pipe(J(i),Ve(i()),Ne((o,r)=>o[0]===r[0]),J(o=>o[1]))}else{let i=()=>this.matchMedia(e);return this.resizeService.connect().pipe(J(i),Ve(i()),Ne())}}matchMedia(e,a){let i=Mn.md,o={};return Object.keys(e).map(r=>{let c=r,s=this.mediaMatcher.matchMedia(qo[c]).matches;o[r]=s,s&&(i=c)}),a?[i,o]:i}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Cn(t){return t.buttons===0||t.detail===0}function wn(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var xn=new b("cdk-input-modality-detector-options"),Sn={ignoreKeys:[18,17,224,91,16]},kn=650,u3={passive:!0,capture:!0},Vn=(()=>{class t{_platform=l(K);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new E1(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(a=>a===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ye(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<kn||(this._modality.next(Cn(e)?"keyboard":"mouse"),this._mostRecentTarget=Ye(e))};_onTouchstart=e=>{if(wn(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ye(e)};constructor(){let e=l(I),a=l(Q),i=l(xn,{optional:!0});if(this._options=y(y({},Sn),i),this.modalityDetected=this._modality.pipe(Xt(1)),this.modalityChanged=this.modalityDetected.pipe(Ne()),this._platform.isBrowser){let o=l(Pe).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(a,"keydown",this._onKeydown,u3),o.listen(a,"mousedown",this._onMousedown,u3),o.listen(a,"touchstart",this._onTouchstart,u3)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Et=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Et||{}),Pn=new b("cdk-focus-monitor-default-options"),B4=y8({passive:!0,capture:!0}),ct=(()=>{class t{_ngZone=l(I);_platform=l(K);_inputModalityDetector=l(Vn);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=l(Q);_stopInputModalityDetector=new g;constructor(){let e=l(Pn,{optional:!0});this._detectionMode=e?.detectionMode||Et.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let a=Ye(e);for(let i=a;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,a=!1){let i=w1(e);if(!this._platform.isBrowser||i.nodeType!==1)return ke();let o=T2(i)||this._document,r=this._elementInfo.get(i);if(r)return a&&(r.checkChildren=!0),r.subject;let c={checkChildren:a,subject:new g,rootNode:o};return this._elementInfo.set(i,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){let a=w1(e),i=this._elementInfo.get(a);i&&(i.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(i))}focusVia(e,a,i){let o=w1(e),r=this._document.activeElement;o===r?this._getClosestElementsInfo(o).forEach(([c,s])=>this._originChanged(c,a,s)):(this._setOrigin(a),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,a)=>this.stopMonitoring(a))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Et.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,a){e.classList.toggle("cdk-focused",!!a),e.classList.toggle("cdk-touch-focused",a==="touch"),e.classList.toggle("cdk-keyboard-focused",a==="keyboard"),e.classList.toggle("cdk-mouse-focused",a==="mouse"),e.classList.toggle("cdk-program-focused",a==="program")}_setOrigin(e,a=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&a,this._detectionMode===Et.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?kn:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,a){let i=this._elementInfo.get(a),o=Ye(e);!i||!i.checkChildren&&a!==o||this._originChanged(a,this._getFocusOrigin(o),i)}_onBlur(e,a){let i=this._elementInfo.get(a);!i||i.checkChildren&&e.relatedTarget instanceof Node&&a.contains(e.relatedTarget)||(this._setClasses(a),this._emitOrigin(i,null))}_emitOrigin(e,a){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(a))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let a=e.rootNode,i=this._rootNodeFocusListenerCount.get(a)||0;i||this._ngZone.runOutsideAngular(()=>{a.addEventListener("focus",this._rootNodeFocusAndBlurListener,B4),a.addEventListener("blur",this._rootNodeFocusAndBlurListener,B4)}),this._rootNodeFocusListenerCount.set(a,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Qe(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let a=e.rootNode;if(this._rootNodeFocusListenerCount.has(a)){let i=this._rootNodeFocusListenerCount.get(a);i>1?this._rootNodeFocusListenerCount.set(a,i-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,B4),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,B4),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,a,i){this._setClasses(e,a),this._emitOrigin(i,a),this._lastFocusOrigin=a}_getClosestElementsInfo(e){let a=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&a.push([o,i])}),a}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:a,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!a||a===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let r=0;r<o.length;r++)if(o[r].contains(a))return!0}return!1}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ko=(()=>{class t{_elementRef=l(z);_focusMonitor=l(ct);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new W;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(a=>{this._focusOrigin=a,this.cdkFocusChange.emit(a)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var I4=new WeakMap,Yt=(()=>{class t{_appRef;_injector=l(oe);_environmentInjector=l(R1);load(e){let a=this._appRef=this._appRef||this._injector.get(z1),i=I4.get(a);i||(i={loaders:new Set,refs:[]},I4.set(a,i),a.onDestroy(()=>{I4.get(a)?.refs.forEach(o=>o.destroy()),I4.delete(a)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(r4(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Tn=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(a,i){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
10
+ `],encapsulation:2,changeDetection:0})}return t})();var Go=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dn=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({providers:[Go]})}return t})();var $o=(()=>{class t{_platform=l(K);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Xo(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let a=Zo(or(e));if(a&&(Hn(a)===-1||!this.isVisible(a)))return!1;let i=e.nodeName.toLowerCase(),o=Hn(e);return e.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!ar(e)?!1:i==="audio"?e.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,a){return ir(e)&&!this.isDisabled(e)&&(a?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Zo(t){try{return t.frameElement}catch{return null}}function Xo(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Qo(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Jo(t){return tr(t)&&t.type=="hidden"}function er(t){return nr(t)&&t.hasAttribute("href")}function tr(t){return t.nodeName.toLowerCase()=="input"}function nr(t){return t.nodeName.toLowerCase()=="a"}function An(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Hn(t){if(!An(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function ar(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function ir(t){return Jo(t)?!1:Qo(t)||er(t)||t.hasAttribute("contenteditable")||An(t)}function or(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var v3=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,a,i,o=!1,r){this._element=n,this._checker=e,this._ngZone=a,this._document=i,this._injector=r,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let a=this._getFirstTabbableElement(e);return a?.focus(n),!!a}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let a=0;a<e.length;a++){let i=e[a].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[a]):null;if(i)return i}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let a=e.length-1;a>=0;a--){let i=e[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[a]):null;if(i)return i}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Ce(n,{injector:this._injector}):setTimeout(n)}},Fn=(()=>{class t{_checker=l($o);_ngZone=l(I);_document=l(Q);_injector=l(oe);constructor(){l(Yt).load(Tn)}create(e,a=!1){return new v3(e,this._checker,this._ngZone,this._document,a,this._injector)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),rr=(()=>{class t{_elementRef=l(z);_focusTrapFactory=l(Fn);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){l(K).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let a=e.autoCapture;a&&!a.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=D2(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",_],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",_]},exportAs:["cdkTrapFocus"],features:[P]})}return t})();var f1=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(f1||{}),En="cdk-high-contrast-black-on-white",Yn="cdk-high-contrast-white-on-black",m3="cdk-high-contrast-active",On=(()=>{class t{_platform=l(K);_hasCheckedHighContrastMode;_document=l(Q);_breakpointSubscription;constructor(){this._breakpointSubscription=l(s3).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return f1.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let a=this._document.defaultView||window,i=a&&a.getComputedStyle?a.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return f1.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return f1.BLACK_ON_WHITE}return f1.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(m3,En,Yn),this._hasCheckedHighContrastMode=!0;let a=this.getHighContrastMode();a===f1.BLACK_ON_WHITE?e.add(m3,En):a===f1.WHITE_ON_BLACK&&e.add(m3,Yn)}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cr=(()=>{class t{constructor(){l(On)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[Dn]})}return t})();var p3={},Ln=(()=>{class t{_appId=l(Q3);getId(e){return this._appId!=="ng"&&(e+=this._appId),p3.hasOwnProperty(e)||(p3[e]=0),`${e}${p3[e]++}`}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var lr=200,N4=class{_letterKeyStream=new g;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new g;selectedItem=this._selectedItem;constructor(n,e){let a=typeof e?.debounceInterval=="number"?e.debounceInterval:lr;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(a)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(N1(e=>this._pressedLetters.push(e)),L1(n),ve(()=>this._pressedLetters.length>0),J(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let a=1;a<this._items.length+1;a++){let i=(this._selectedItemIndex+a)%this._items.length,o=this._items[i];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function R4(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var j4=class{_items;_activeItemIndex=D(-1);_activeItem=D(null);_wrap=!1;_typeaheadSubscription=Ie.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof d2?this._itemChangesSubscription=n.changes.subscribe(a=>this._itemsChanged(a.toArray())):s2(n)&&(this._effectRef=c1(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new g;change=new g;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new N4(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:a=>this._skipPredicateFn(a)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(a=>{this.setActiveItem(a)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()+this._pageUpAndDown.delta,r=this._getItemsArray().length;this._setActiveItemByIndex(o<r?o:r-1,-1);break}else return;default:(i||R4(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),a=typeof n=="number"?n:e.indexOf(n),i=e[a];this._activeItem.set(i??null),this._activeItemIndex.set(a),this._typeahead?.setCurrentSelectedItemIndex(a)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let a=1;a<=e.length;a++){let i=(this._activeItemIndex()+n*a+e.length)%e.length,o=e[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let a=this._getItemsArray();if(a[n]){for(;this._skipPredicateFn(a[n]);)if(n+=e,!a[n])return;this.setActiveItem(n)}}_getItemsArray(){return s2(this._items)?this._items():this._items instanceof d2?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let a=n.indexOf(e);a>-1&&a!==this._activeItemIndex()&&(this._activeItemIndex.set(a),this._typeahead?.setCurrentSelectedItemIndex(a))}}};var f3=class extends j4{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function dr(t,n){if(t&1&&le(0,"nz-icon",0),t&2){let e=m();k("nzType",e.iconType)}}var g3=(()=>{class t{formStatusChanges=new Kt(1);static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),U4=(()=>{class t{noFormStatus=new E1(!1);static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac})}return t})(),ur={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},W4=(()=>{class t{cdr=l(fe);status="";iconType=null;ngOnChanges(e){this.updateIcon()}updateIcon(){this.iconType=this.status?ur[this.status]:null,this.cdr.markForCheck()}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["nz-form-item-feedback-icon"]],hostAttrs:[1,"ant-form-item-feedback-icon"],hostVars:8,hostBindings:function(a,i){a&2&&N("ant-form-item-feedback-icon-error",i.status==="error")("ant-form-item-feedback-icon-warning",i.status==="warning")("ant-form-item-feedback-icon-success",i.status==="success")("ant-form-item-feedback-icon-validating",i.status==="validating")},inputs:{status:"status"},exportAs:["nzFormFeedbackIcon"],features:[P],decls:1,vars:1,consts:[[3,"nzType"]],template:function(a,i){a&1&&H(0,dr,1,1,"nz-icon",0),a&2&&E(i.iconType?0:-1)},dependencies:[k1,Ae],encapsulation:2,changeDetection:0})}return t})();var mr=["nz-input-group-slot",""],Wn=["*"];function vr(t,n){if(t&1&&le(0,"nz-icon",0),t&2){let e=m();k("nzType",e.icon)}}function pr(t,n){if(t&1&&(t4(0),Ke(1),n4()),t&2){let e=m();w(),Je(e.template)}}function fr(t,n){if(t&1&&le(0,"span",3),t&2){let e=m(2);k("icon",e.nzAddOnBeforeIcon)("template",e.nzAddOnBefore)}}function gr(t,n){}function zr(t,n){if(t&1&&($(0,"span",6),Z(1,gr,0,0,"ng-template",5),X()),t&2){let e=m(2),a=De(3);qe(e.affixInGroupStatusCls),N("ant-input-affix-wrapper-disabled",e.disabled)("ant-input-affix-wrapper-sm",e.isSmall)("ant-input-affix-wrapper-lg",e.isLarge)("ant-input-affix-wrapper-focused",e.focused),w(),k("ngTemplateOutlet",a)}}function yr(t,n){}function _r(t,n){if(t&1&&Z(0,yr,0,0,"ng-template",5),t&2){m(2);let e=De(5);k("ngTemplateOutlet",e)}}function br(t,n){if(t&1&&le(0,"span",3),t&2){let e=m(2);k("icon",e.nzAddOnAfterIcon)("template",e.nzAddOnAfter)}}function Mr(t,n){if(t&1&&($(0,"span",2),H(1,fr,1,2,"span",3),H(2,zr,2,11,"span",4)(3,_r,1,1,null,5),H(4,br,1,2,"span",3),X()),t&2){let e=m();w(),E(e.nzAddOnBefore||e.nzAddOnBeforeIcon?1:-1),w(),E(e.isAffix||e.hasFeedback?2:3),w(2),E(e.nzAddOnAfter||e.nzAddOnAfterIcon?4:-1)}}function Cr(t,n){}function wr(t,n){if(t&1&&Z(0,Cr,0,0,"ng-template",5),t&2){m(2);let e=De(3);k("ngTemplateOutlet",e)}}function xr(t,n){}function Sr(t,n){if(t&1&&Z(0,xr,0,0,"ng-template",5),t&2){m(2);let e=De(5);k("ngTemplateOutlet",e)}}function kr(t,n){if(t&1&&H(0,wr,1,1,null,5)(1,Sr,1,1,null,5),t&2){let e=m();E(e.isAffix?0:1)}}function Vr(t,n){if(t&1&&le(0,"span",7),t&2){let e=m(2);k("icon",e.nzPrefixIcon)("template",e.nzPrefix)}}function Pr(t,n){}function Tr(t,n){if(t&1&&le(0,"nz-form-item-feedback-icon",9),t&2){let e=m(3);k("status",e.status)}}function Dr(t,n){if(t&1&&($(0,"span",8),H(1,Tr,1,1,"nz-form-item-feedback-icon",9),X()),t&2){let e=m(2);k("icon",e.nzSuffixIcon)("template",e.nzSuffix),w(),E(e.isFeedback?1:-1)}}function Hr(t,n){if(t&1&&(H(0,Vr,1,2,"span",7),Z(1,Pr,0,0,"ng-template",5),H(2,Dr,2,3,"span",8)),t&2){let e=m(),a=De(5);E(e.nzPrefix||e.nzPrefixIcon?0:-1),w(),k("ngTemplateOutlet",a),w(),E(e.nzSuffix||e.nzSuffixIcon||e.isFeedback?2:-1)}}function Er(t,n){if(t&1&&($(0,"span",10),le(1,"nz-form-item-feedback-icon",9),X()),t&2){let e=m(2);w(),k("status",e.status)}}function Yr(t,n){if(t&1&&(se(0),H(1,Er,2,1,"span",10)),t&2){let e=m();w(),E(!e.isAddOn&&!e.isAffix&&e.isFeedback?1:-1)}}var Ar=["otpInput"];function Fr(t,n){if(t&1){let e=y1();$(0,"input",2,0),_e("input",function(i){let o=Oe(e).$index,r=m();return Le(r.onInput(o,i))})("focus",function(i){Oe(e);let o=m();return Le(o.onFocus(i))})("keydown",function(i){let o=Oe(e).$index,r=m();return Le(r.onKeyDown(o,i))})("paste",function(i){let o=Oe(e).$index,r=m();return Le(r.onPaste(o,i))}),X()}if(t&2){let e=n.$implicit,a=m();k("nzSize",a.nzSize)("formControl",e)("nzStatus",a.nzStatus)}}var Or=[[["","nzInputAddonBefore",""]],[["","nzInputAddonAfter",""]],[["","nzInputSearchEnterButton",""]],[["","nzInputPrefix",""]],[["","nzInputSuffix",""]],[["","nzInputClearIcon",""]],[["","nz-input",""]]],Lr=["[nzInputAddonBefore]","[nzInputAddonAfter]","[nzInputSearchEnterButton]","[nzInputPrefix]","[nzInputSuffix]","[nzInputClearIcon]","[nz-input]"],Br=t=>({$implicit:t});function Ir(t,n){}function Nr(t,n){if(t&1&&Z(0,Ir,0,0,"ng-template",4),t&2){m();let e=De(4);k("ngTemplateOutlet",e)}}function Rr(t,n){}function jr(t,n){if(t&1&&Z(0,Rr,0,0,"ng-template",4),t&2){m();let e=De(8);k("ngTemplateOutlet",e)}}function Ur(t,n){}function Wr(t,n){if(t&1&&Z(0,Ur,0,0,"ng-template",4),t&2){m();let e=De(10);k("ngTemplateOutlet",e)}}function qr(t,n){if(t&1&&Ke(0),t&2){let e=m(3);Je(e.nzAddonBefore())}}function Kr(t,n){t&1&&($(0,"span",6),se(1,0,null,qr,1,1),X())}function Gr(t,n){}function $r(t,n){if(t&1&&Z(0,Gr,0,0,"ng-template",4),t&2){m(2);let e=De(6);k("ngTemplateOutlet",e)}}function Zr(t,n){}function Xr(t,n){if(t&1&&Z(0,Zr,0,0,"ng-template",4),t&2){m(2);let e=De(10);k("ngTemplateOutlet",e)}}function Qr(t,n){if(t&1&&Ke(0),t&2){m(2);let e=m2(0);h6(" ",e," ")}}function Jr(t,n){t&1&&le(0,"nz-icon",9)}function ec(t,n){if(t&1&&H(0,Qr,1,1)(1,Jr,1,0,"nz-icon",9),t&2){m();let e=m2(0);E(e&&typeof e=="string"?0:1)}}function tc(t,n){if(t&1){let e=y1();d6(0),$(1,"button",8),_e("click",function(i){Oe(e);let o=m(3);return Le(o.inputSearchDir.search(i))}),se(2,2,null,ec,2,1),X()}if(t&2){let e=m(3),a=u6(e.inputSearchDir.nzEnterButton()),i=e.inputSearchEnterButton()??a!==!1;w(),k("nzType",i?"primary":"default")("nzSize",e.size())("nzLoading",e.inputSearchDir.nzLoading())}}function nc(t,n){if(t&1&&Ke(0),t&2){let e=m(3);Je(e.nzAddonAfter())}}function ac(t,n){if(t&1&&($(0,"span",6),H(1,tc,4,4,"button",7),se(2,1,null,nc,1,1),X()),t&2){let e=m(2);w(),E(e.inputSearchDir?1:-1)}}function ic(t,n){if(t&1&&($(0,"span",5),H(1,Kr,3,0,"span",6),H(2,$r,1,1,null,4)(3,Xr,1,1,null,4),H(4,ac,4,1,"span",6),X()),t&2){let e=m();w(),E(e.hasAddonBefore()?1:-1),w(),E(e.hasAffix()?2:3),w(2),E(e.hasAddonAfter()?4:-1)}}function oc(t,n){}function rc(t,n){if(t&1&&($(0,"span"),Z(1,oc,0,0,"ng-template",4),X()),t&2){let e=m(),a=De(8);qe(e.affixWrapperClass()),w(),k("ngTemplateOutlet",a)}}function cc(t,n){if(t&1&&Ke(0),t&2){let e=m(3);Je(e.nzPrefix())}}function lc(t,n){t&1&&($(0,"span",10),se(1,3,null,cc,1,1),X())}function sc(t,n){}function hc(t,n){t&1&&le(0,"nz-icon",16)}function dc(t,n){if(t&1){let e=y1();$(0,"span",15),_e("click",function(i){Oe(e);let o=m(3);return o.clear(),Le(o.inputSearchDir==null?null:o.inputSearchDir.search(i,"clear"))}),se(1,5,null,hc,1,0),X()}if(t&2){let e=m(3);N("ant-input-clear-icon-has-suffix",e.nzSuffix()||e.suffix()||e.hasFeedback()||(e.inputPasswordDir==null?null:e.inputPasswordDir.nzVisibilityToggle()))("ant-input-clear-icon-hidden",!e.inputDir().value()||e.disabled()||e.readOnly())}}function uc(t,n){}function mc(t,n){if(t&1&&Z(0,uc,0,0,"ng-template",18),t&2){let e=m(4);k("ngTemplateOutlet",n)("ngTemplateOutletContext",o4(2,Br,e.inputPasswordDir.nzVisible()))}}function vc(t,n){if(t&1&&le(0,"nz-icon",19),t&2){let e=m(4);k("nzType",e.inputPasswordDir.nzVisible()?"eye":"eye-invisible")}}function pc(t,n){if(t&1){let e=y1();$(0,"span",17),_e("click",function(){Oe(e);let i=m(3);return Le(i.inputPasswordDir.toggleVisible())}),H(1,mc,1,4,null,18)(2,vc,1,1,"nz-icon",19),X()}if(t&2){let e,a=m(3);w(),E((e=a.inputPasswordIconTmpl())?1:2,e)}}function fc(t,n){if(t&1&&Ke(0),t&2){let e=m(3);Je(e.nzSuffix())}}function gc(t,n){if(t&1&&le(0,"nz-form-item-feedback-icon",14),t&2){let e=m(3);k("status",e.status())}}function zc(t,n){if(t&1&&($(0,"span",11),H(1,dc,3,4,"span",12),H(2,pc,3,1,"span",13),se(3,4,null,fc,1,1),H(5,gc,1,1,"nz-form-item-feedback-icon",14),X()),t&2){let e=m(2);w(),E(e.nzAllowClear()?1:-1),w(),E(e.inputPasswordDir&&e.inputPasswordDir.nzVisibilityToggle()?2:-1),w(3),E(e.hasFeedback()&&e.status()?5:-1)}}function yc(t,n){if(t&1&&(H(0,lc,3,0,"span",10),Z(1,sc,0,0,"ng-template",4),H(2,zc,6,3,"span",11)),t&2){let e=m(),a=De(10);E(e.hasPrefix()?0:-1),w(),k("ngTemplateOutlet",a),w(),E(e.hasSuffix()?2:-1)}}function _c(t,n){t&1&&se(0,6)}var Cd=(()=>{class t{ngZone=l(I);platform=l(K);destroyRef=l(F);resizeService=l(d3);el=l(z).nativeElement;autosize=!1;cachedLineHeight;previousValue;previousMinRows;minRows;maxRows;maxHeight=null;minHeight=null;inputGap=10;destroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0})}set nzAutosize(e){typeof e=="string"||e===!0?this.autosize=!0:(i=>typeof i!="string"&&typeof i!="boolean"&&(!!i.maxRows||!!i.minRows))(e)&&(this.autosize=!0,this.minRows=e.minRows,this.maxRows=e.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent(e=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;let a=this.el,i=a.value;if(!e&&this.minRows===this.previousMinRows&&i===this.previousValue)return;let o=a.placeholder;a.classList.add("nz-textarea-autosize-measuring"),a.placeholder="";let r=Math.round((a.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;this.maxHeight!==null&&r>this.maxHeight&&(r=this.maxHeight),this.minHeight!==null&&r<this.minHeight&&(r=this.minHeight),a.style.height=`${r}px`,a.classList.remove("nz-textarea-autosize-measuring"),a.placeholder=o,typeof requestAnimationFrame<"u"&&this.ngZone.runOutsideAngular(()=>requestAnimationFrame(()=>{let{selectionStart:c,selectionEnd:s}=a;!this.destroyed&&document.activeElement===a&&a.setSelectionRange(c,s)})),this.previousValue=i,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;let e=this.el.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this.el.parentNode.appendChild(e),this.cachedLineHeight=e.clientHeight-this.inputGap,this.el.parentNode.removeChild(e),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){let e=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return e!==null&&(this.el.style.minHeight=`${e}px`),e}setMaxHeight(){let e=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return e!==null&&(this.el.style.maxHeight=`${e}px`),e}noopInputHandler(){}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.connect().pipe(Y(this.destroyRef)).subscribe(()=>this.resizeToFitContent(!0)))}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(a,i){a&1&&_e("input",function(){return i.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]})}return t})(),Bn=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzInputAddonBefore",""]]})}return t})(),In=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzInputAddonAfter",""]]})}return t})(),Nn=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzInputPrefix",""]]})}return t})(),Rn=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzInputSuffix",""]]})}return t})(),qn=(()=>{class t{icon=null;type=null;template=null;static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(a,i){a&2&&N("ant-input-group-addon",i.type==="addon")("ant-input-prefix",i.type==="prefix")("ant-input-suffix",i.type==="suffix")},inputs:{icon:"icon",type:"type",template:"template"},attrs:mr,ngContentSelectors:Wn,decls:3,vars:2,consts:[[3,"nzType"],[4,"nzStringTemplateOutlet"]],template:function(a,i){a&1&&(je(),H(0,vr,1,1,"nz-icon",0),Z(1,pr,2,1,"ng-container",1),se(2)),a&2&&(E(i.icon?0:-1),w(),k("nzStringTemplateOutlet",i.template))},dependencies:[k1,Ae,C4,J1],encapsulation:2,changeDetection:0})}return t})(),Kn=(()=>{class t{nzVisibilityToggle=te(!0);nzVisible=p6(!1);toggleVisible(){this.nzVisible.update(e=>!e)}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["nz-input-password"]],hostAttrs:[1,"ant-input-password"],inputs:{nzVisibilityToggle:[1,"nzVisibilityToggle"],nzVisible:[1,"nzVisible"]},outputs:{nzVisible:"nzVisibleChange"},exportAs:["nzInputPassword"]})}return t})(),jn=(()=>{class t{static ngTemplateContextGuard(e,a){return!0}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzInputPasswordIcon",""]]})}return t})(),Gn=new b(""),$n=new b(""),bc="ant-input",e1=(()=>{class t{elementRef=l(z);compactSize=l(et,{optional:!0});destroyRef=l(F);nzFormStatusService=l(g3,{optional:!0});nzFormNoStatusService=l(U4,{optional:!0});inputWrapper=l(Gn,{host:!0,optional:!0});focusMonitor=l(ct);hostView=l(Be);inputPasswordDir=l(Kn,{host:!0,optional:!0});inputSearchDir=l($n,{host:!0,optional:!0});ngControl=l(Ze,{self:!0,optional:!0});value=D(this.elementRef.nativeElement.value);nzBorderless=te(!1,{transform:_});nzVariant=te("outlined");nzSize=te("default");nzStepperless=te(!0,{transform:_});nzStatus=te("");disabled=te(!1,{transform:_});readonly=te(!1,{transform:_});controlDisabled=D(!1);finalDisabled=this.ngControl?this.controlDisabled:this.disabled;dir=l(ge).valueSignal;size=m6(this.nzSize);status=this.nzFormStatusService?vt(this.nzFormStatusService.formStatusChanges.pipe(J(e=>e.status)),{initialValue:""}):this.nzStatus;hasFeedback=vt(this.nzFormStatusService?.formStatusChanges.pipe(J(e=>e.hasFeedback))??$t,{initialValue:!1});classes=S(()=>x1(bc,this.status(),this.hasFeedback()));type=S(()=>this.inputPasswordDir?this.inputPasswordDir.nzVisible()?"text":"password":this.inputSearchDir?"search":this.elementRef.nativeElement.getAttribute("type")||"text");focused=D(!1);finalSize=S(()=>this.compactSize?this.compactSize():this.size());feedbackRef=null;disabled$=b6(this.finalDisabled);constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.elementRef)}),this.focusMonitor.monitor(this.elementRef,!1).pipe(Y()).subscribe(e=>this.focused.set(!!e)),c1(()=>{this.renderFeedbackIcon()})}ngOnInit(){this.ngControl?.statusChanges?.pipe(Ve(null),Y(this.destroyRef)).subscribe(()=>{this.controlDisabled.set(!!this.ngControl.disabled)}),this.ngControl?.valueChanges?.pipe(Y(this.destroyRef)).subscribe(e=>{this.value.set(e)})}renderFeedbackIcon(){if(!this.status()||!this.hasFeedback()||this.inputWrapper||this.nzFormNoStatusService){this.hostView.clear(),this.feedbackRef=null;return}this.feedbackRef=this.feedbackRef||this.hostView.createComponent(W4),this.feedbackRef.location.nativeElement.classList.add("ant-input-suffix"),this.feedbackRef.instance.status=this.status(),this.feedbackRef.instance.updateIcon()}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostAttrs:[1,"ant-input"],hostVars:23,hostBindings:function(a,i){a&2&&(Re("type",i.type())("disabled",i.finalDisabled()||null)("readonly",i.readonly()||null),qe(i.classes()),N("ant-input-disabled",i.finalDisabled())("ant-input-borderless",i.nzVariant()==="borderless"||i.nzVariant()==="outlined"&&i.nzBorderless())("ant-input-filled",i.nzVariant()==="filled")("ant-input-underlined",i.nzVariant()==="underlined")("ant-input-lg",i.finalSize()==="large")("ant-input-sm",i.finalSize()==="small")("ant-input-rtl",i.dir()==="rtl")("ant-input-stepperless",i.nzStepperless())("ant-input-focused",i.focused()))},inputs:{nzBorderless:[1,"nzBorderless"],nzVariant:[1,"nzVariant"],nzSize:[1,"nzSize"],nzStepperless:[1,"nzStepperless"],nzStatus:[1,"nzStatus"],disabled:[1,"disabled"],readonly:[1,"readonly"]},exportAs:["nzInput"],features:[O([{provide:V1,useValue:"input"}]),q1([tt])]})}return t})(),wd=(()=>{class t{elementRef=l(z);static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]})}return t})(),Mc=(()=>{class t{focusMonitor=l(ct);elementRef=l(z);renderer=l(ne);cdr=l(fe);directionality=l(ge);destroyRef=l(F);nzFormStatusService=l(g3,{optional:!0});nzFormNoStatusService=l(U4,{optional:!0});listOfNzInputDirective;nzAddOnBeforeIcon=null;nzAddOnAfterIcon=null;nzPrefixIcon=null;nzSuffixIcon=null;nzAddOnBefore;nzAddOnAfter;nzPrefix;nzStatus="";nzSuffix;nzSize="default";nzSearch=!1;isLarge=!1;isSmall=!1;isAffix=!1;isAddOn=!1;isFeedback=!1;focused=!1;disabled=!1;dir="ltr";prefixCls="ant-input";affixStatusCls={};groupStatusCls={};affixInGroupStatusCls={};status="";hasFeedback=!1;constructor(){this.destroyRef.onDestroy(()=>this.focusMonitor.stopMonitoring(this.elementRef))}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach(e=>e.size.set(this.nzSize))}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Ne((e,a)=>e.status===a.status&&e.hasFeedback===a.hasFeedback),Y(this.destroyRef)).subscribe(({status:e,hasFeedback:a})=>{this.setStatusStyles(e,a)}),this.focusMonitor.monitor(this.elementRef,!0).pipe(Y(this.destroyRef)).subscribe(e=>{this.focused=!!e,this.cdr.markForCheck()}),this.dir=this.directionality.value,this.directionality.change?.pipe(Y(this.destroyRef)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.updateChildrenInputSize();let e=this.listOfNzInputDirective.changes.pipe(Ve(this.listOfNzInputDirective));e.pipe(Qt(a=>R3(e,...a.map(i=>i.disabled$))),L3(()=>e),J(a=>a.some(i=>i.finalDisabled())),Y(this.destroyRef)).subscribe(a=>{this.disabled=a,this.cdr.markForCheck()})}ngOnChanges(e){let{nzSize:a,nzSuffix:i,nzPrefix:o,nzPrefixIcon:r,nzSuffixIcon:c,nzAddOnAfter:s,nzAddOnBefore:h,nzAddOnAfterIcon:d,nzAddOnBeforeIcon:f,nzStatus:B}=e;a&&(this.updateChildrenInputSize(),this.isLarge=this.nzSize==="large",this.isSmall=this.nzSize==="small"),(i||o||r||c)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(s||h||d||f)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon),this.nzFormNoStatusService?.noFormStatus?.next(this.isAddOn)),B&&this.setStatusStyles(this.nzStatus,this.hasFeedback)}setStatusStyles(e,a){this.status=e,this.hasFeedback=a,this.isFeedback=!!e&&a;let i=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon);this.isAffix=i||!this.isAddOn&&a,this.affixInGroupStatusCls=this.isAffix||this.isFeedback?this.affixStatusCls=x1(`${this.prefixCls}-affix-wrapper`,e,a):{},this.cdr.markForCheck(),this.affixStatusCls=x1(`${this.prefixCls}-affix-wrapper`,this.isAddOn?"":e,this.isAddOn?!1:a),this.groupStatusCls=x1(`${this.prefixCls}-group-wrapper`,this.isAddOn?e:"",this.isAddOn?a:!1);let o=y(y({},this.affixStatusCls),this.groupStatusCls);Object.keys(o).forEach(r=>{o[r]?this.renderer.addClass(this.elementRef.nativeElement,r):this.renderer.removeClass(this.elementRef.nativeElement,r)})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["nz-input-group"]],contentQueries:function(a,i,o){if(a&1&&K1(o,e1,4),a&2){let r;Ue(r=We())&&(i.listOfNzInputDirective=r)}},hostVars:38,hostBindings:function(a,i){a&2&&N("ant-input-search-enter-button",i.nzSearch)("ant-input-search",i.nzSearch)("ant-input-search-rtl",i.dir==="rtl")("ant-input-search-sm",i.nzSearch&&i.isSmall)("ant-input-search-large",i.nzSearch&&i.isLarge)("ant-input-group-wrapper",i.isAddOn)("ant-input-group-wrapper-rtl",i.dir==="rtl")("ant-input-group-wrapper-lg",i.isAddOn&&i.isLarge)("ant-input-group-wrapper-sm",i.isAddOn&&i.isSmall)("ant-input-affix-wrapper",i.isAffix&&!i.isAddOn)("ant-input-affix-wrapper-rtl",i.dir==="rtl")("ant-input-affix-wrapper-focused",i.isAffix&&i.focused)("ant-input-affix-wrapper-disabled",i.isAffix&&i.disabled)("ant-input-affix-wrapper-lg",i.isAffix&&!i.isAddOn&&i.isLarge)("ant-input-affix-wrapper-sm",i.isAffix&&!i.isAddOn&&i.isSmall)("ant-input-group",!i.isAffix&&!i.isAddOn)("ant-input-group-rtl",i.dir==="rtl")("ant-input-group-lg",!i.isAffix&&!i.isAddOn&&i.isLarge)("ant-input-group-sm",!i.isAffix&&!i.isAddOn&&i.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzStatus:"nzStatus",nzSuffix:"nzSuffix",nzSize:"nzSize",nzSearch:[2,"nzSearch","nzSearch",_]},exportAs:["nzInputGroup"],features:[O([U4,{provide:V1,useValue:"input"}]),q1([tt]),P],ngContentSelectors:Wn,decls:6,vars:1,consts:[["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper",3,"ant-input-affix-wrapper-disabled","ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg","ant-input-affix-wrapper-focused","class"],[3,"ngTemplateOutlet"],[1,"ant-input-affix-wrapper"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"],[3,"status"],["nz-input-group-slot","","type","suffix"]],template:function(a,i){a&1&&(je(),H(0,Mr,5,3,"span",2)(1,kr,2,1),Z(2,Hr,3,3,"ng-template",null,0,n1)(4,Yr,2,1,"ng-template",null,1,n1)),a&2&&E(i.isAddOn?0:1)},dependencies:[qn,mt,W4],encapsulation:2,changeDetection:0})}return t})(),Cc=(()=>{class t{formBuilder=l(l3);destroyRef=l(F);otpInputs;nzLength=6;nzSize="default";disabled=!1;nzStatus="";nzFormatter=e=>e;nzMask=null;otpArray;internalValue=[];onChangeCallback;onTouched=()=>{};constructor(){this.createFormArray()}ngOnChanges(e){e.nzLength?.currentValue&&this.createFormArray(),e.disabled&&this.setDisabledState(this.disabled)}onInput(e,a){let i=a.target,o=this.otpInputs.toArray()[e+1];i.value&&o?o.nativeElement.focus():o||this.selectInputBox(e)}onFocus(e){e.target.select()}onKeyDown(e,a){let i=this.otpInputs.toArray()[e-1];a.keyCode===8?(a.preventDefault(),this.internalValue[e]="",this.otpArray.at(e).setValue("",{emitEvent:!1}),i&&this.selectInputBox(e-1),this.emitValue()):a.keyCode===37?(a.preventDefault(),this.selectInputBox(e-1)):a.keyCode===39&&(a.preventDefault(),this.selectInputBox(e+1))}writeValue(e){if(!e){this.otpArray.reset();return}let a=e.split("");this.internalValue=a,a.forEach((i,o)=>{let r=this.nzFormatter(i),c=this.nzMask?this.nzMask:r;this.otpArray.at(o).setValue(c,{emitEvent:!1})})}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?this.otpArray.disable():this.otpArray.enable()}onPaste(e,a){let i=a.clipboardData?.getData("text")||"";if(!i)return;let o=e;for(let r of i.split(""))if(o<this.nzLength){let c=this.nzFormatter(r);this.internalValue[o]=r;let s=this.nzMask?this.nzMask:c;this.otpArray.at(o).setValue(s,{emitEvent:!1}),o++}else break;a.preventDefault(),this.selectInputBox(o),this.emitValue()}createFormArray(){this.otpArray=this.formBuilder.array([]),this.internalValue=new Array(this.nzLength).fill("");for(let e=0;e<this.nzLength;e++){let a=this.formBuilder.nonNullable.control("",[x4.required]);a.valueChanges.pipe(N1(i=>{let o=this.nzFormatter(i);this.internalValue[e]=o,a.setValue(this.nzMask??o,{emitEvent:!1}),this.emitValue()}),Y(this.destroyRef)).subscribe(),this.otpArray.push(a)}}emitValue(){let e=this.internalValue.join("");this.onChangeCallback&&this.onChangeCallback(e)}selectInputBox(e){let a=this.otpInputs.toArray();e<=0&&(e=0),e>=a.length&&(e=a.length-1),a[e].nativeElement.select()}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["nz-input-otp"]],viewQuery:function(a,i){if(a&1&&G1(Ar,5),a&2){let o;Ue(o=We())&&(i.otpInputs=o)}},hostAttrs:[1,"ant-otp"],inputs:{nzLength:[2,"nzLength","nzLength",_1],nzSize:"nzSize",disabled:[2,"disabled","disabled",_],nzStatus:"nzStatus",nzFormatter:"nzFormatter",nzMask:"nzMask"},exportAs:["nzInputOtp"],features:[O([{provide:v1,useExisting:ie(()=>t),multi:!0}]),P],decls:2,vars:0,consts:[["otpInput",""],["nz-input","","type","text","maxlength","1","size","1",1,"ant-otp-input",3,"nzSize","formControl","nzStatus"],["nz-input","","type","text","maxlength","1","size","1",1,"ant-otp-input",3,"input","focus","keydown","paste","nzSize","formControl","nzStatus"]],template:function(a,i){a&1&&Jt(0,Fr,2,3,"input",1,a6),a&2&&e4(i.otpArray.controls)},dependencies:[e1,yn,A4,dn,c3,o3],encapsulation:2,changeDetection:0})}return t})(),wc=(()=>{class t{inputDir=He.required(e1);inputRef=He.required(e1,{read:z});nzEnterButton=te(!1);nzLoading=te(!1,{transform:_});nzSearch=v2();size=S(()=>this.inputDir().nzSize());search(e,a="input"){this.nzLoading()||this.nzSearch.emit({value:this.inputRef().nativeElement.value,event:e,source:a})}onEnter(e){e.target===this.inputRef().nativeElement&&this.search(e)}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["nz-input-search"]],contentQueries:function(a,i,o){a&1&&(Te(o,i.inputDir,e1,5),Te(o,i.inputRef,e1,5,z)),a&2&&$1(2)},hostAttrs:[1,"ant-input-search"],hostVars:6,hostBindings:function(a,i){a&1&&_e("keydown.enter",function(r){return i.onEnter(r)}),a&2&&N("ant-input-search-large",i.size()==="large")("ant-input-search-small",i.size()==="small")("ant-input-search-with-button",i.nzEnterButton()!==!1)},inputs:{nzEnterButton:[1,"nzEnterButton"],nzLoading:[1,"nzLoading"]},outputs:{nzSearch:"nzSearch"},exportAs:["nzInputSearch"],features:[O([{provide:$n,useExisting:ie(()=>t)}])]})}return t})(),Un=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzInputSearchEnterButton",""]]})}return t})(),xc=(()=>{class t{focusMonitor=l(ct);inputPasswordDir=l(Kn,{self:!0,optional:!0});inputSearchDir=l(wc,{self:!0,optional:!0});inputRef=He.required(e1,{read:z});inputDir=He.required(e1);prefix=He(Nn);suffix=He(Rn);addonBefore=He(Bn);addonAfter=He(In);inputPasswordIconTmpl=He(jn,{read:pe});inputSearchEnterButton=He(Un);nzAllowClear=te(!1,{transform:_});nzPrefix=te();nzSuffix=te();nzAddonBefore=te();nzAddonAfter=te();nzClear=v2();size=S(()=>this.inputDir().nzSize());variant=S(()=>this.inputDir().nzVariant());disabled=S(()=>this.inputDir().finalDisabled());readOnly=S(()=>this.inputDir().readonly());status=S(()=>this.inputDir().status());hasFeedback=S(()=>this.inputDir().hasFeedback());hasPrefix=S(()=>!!this.nzPrefix()||!!this.prefix());hasSuffix=S(()=>!!this.nzSuffix()||!!this.suffix()||this.nzAllowClear()||this.hasFeedback()||this.inputPasswordDir);hasAffix=S(()=>this.hasPrefix()||this.hasSuffix());hasAddonBefore=S(()=>!!this.nzAddonBefore()||!!this.addonBefore());hasAddonAfter=S(()=>!!this.nzAddonAfter()||!!this.addonAfter()||!!this.inputSearchDir);hasAddon=S(()=>this.hasAddonBefore()||this.hasAddonAfter());compactSize=l(et,{optional:!0});dir=l(ge).valueSignal;focused=D(!1);isTextarea=S(()=>this.inputRef().nativeElement instanceof HTMLTextAreaElement);finalSize=S(()=>this.compactSize?this.compactSize():this.size());class=S(()=>this.hasAddon()?this.groupWrapperClass():this.hasAffix()?this.affixWrapperClass():null);affixWrapperClass=S(()=>y(y({"ant-input-affix-wrapper":!0,"ant-input-affix-wrapper-lg":this.finalSize()==="large","ant-input-affix-wrapper-sm":this.finalSize()==="small","ant-input-affix-wrapper-disabled":this.disabled(),"ant-input-affix-wrapper-readonly":this.readOnly(),"ant-input-affix-wrapper-focused":this.focused(),"ant-input-affix-wrapper-rtl":this.dir()==="rtl"},x1("ant-input-affix-wrapper",this.status(),this.hasFeedback())),k2("ant-input-affix-wrapper",this.variant())));groupWrapperClass=S(()=>y(y({"ant-input-group-wrapper":!0,"ant-input-group-wrapper-sm":this.finalSize()==="small","ant-input-group-wrapper-lg":this.finalSize()==="large","ant-input-group-wrapper-rtl":this.dir()==="rtl"},x1("ant-input-group-wrapper",this.status(),this.hasFeedback())),k2("ant-input-group-wrapper",this.variant())));constructor(){let e=l(F);Ce(()=>{let a=this.inputRef();this.focusMonitor.monitor(a).pipe(Y(e)).subscribe(i=>{this.focused.set(!!i)}),e.onDestroy(()=>{this.focusMonitor.stopMonitoring(a)})})}clear(){this.inputDir().ngControl?.control?.setValue(""),this.nzClear.emit()}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["nz-input-wrapper"],["nz-input-password"],["nz-input-search"]],contentQueries:function(a,i,o){a&1&&(Te(o,i.inputRef,e1,5,z),Te(o,i.inputDir,e1,5),Te(o,i.prefix,Nn,5),Te(o,i.suffix,Rn,5),Te(o,i.addonBefore,Bn,5),Te(o,i.addonAfter,In,5),Te(o,i.inputPasswordIconTmpl,jn,5,pe),Te(o,i.inputSearchEnterButton,Un,5)),a&2&&$1(8)},hostVars:6,hostBindings:function(a,i){a&2&&(qe(i.class()),N("ant-input-disabled",i.disabled())("ant-input-affix-wrapper-textarea-with-clear-btn",i.nzAllowClear()&&i.isTextarea()))},inputs:{nzAllowClear:[1,"nzAllowClear"],nzPrefix:[1,"nzPrefix"],nzSuffix:[1,"nzSuffix"],nzAddonBefore:[1,"nzAddonBefore"],nzAddonAfter:[1,"nzAddonAfter"]},outputs:{nzClear:"nzClear"},exportAs:["nzInputWrapper"],features:[O([{provide:V1,useValue:"input"},{provide:Gn,useExisting:ie(()=>t)}]),q1([tt])],ngContentSelectors:Lr,decls:11,vars:1,consts:[["inputWithAddonInner",""],["inputWithAffix",""],["inputWithAffixInner",""],["input",""],[3,"ngTemplateOutlet"],[1,"ant-input-wrapper","ant-input-group"],[1,"ant-input-group-addon"],["nz-button","","type","button",1,"ant-input-search-button",3,"nzType","nzSize","nzLoading"],["nz-button","","type","button",1,"ant-input-search-button",3,"click","nzType","nzSize","nzLoading"],["nzType","search","nzTheme","outline"],[1,"ant-input-prefix"],[1,"ant-input-suffix"],["role","button","tabindex","-1",1,"ant-input-clear-icon",3,"ant-input-clear-icon-has-suffix","ant-input-clear-icon-hidden"],["role","button","tabindex","-1",1,"ant-input-password-icon"],[3,"status"],["role","button","tabindex","-1",1,"ant-input-clear-icon",3,"click"],["nzType","close-circle","nzTheme","fill"],["role","button","tabindex","-1",1,"ant-input-password-icon",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nzTheme","outline",3,"nzType"]],template:function(a,i){a&1&&(je(Or),H(0,Nr,1,1,null,4)(1,jr,1,1,null,4)(2,Wr,1,1,null,4),Z(3,ic,5,3,"ng-template",null,0,n1)(5,rc,2,3,"ng-template",null,1,n1)(7,yc,3,3,"ng-template",null,2,n1)(9,_c,1,0,"ng-template",null,3,n1)),a&2&&E(i.hasAddon()?0:i.hasAffix()?1:2)},dependencies:[k1,Ae,j0,U2,O0,I0,W4,mt],encapsulation:2,changeDetection:0})}return t})();var xd=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[xc,Mc,qn,Cc]})}return t})();var q4=class{};function Zn(t){return t&&typeof t.connect=="function"&&!(t instanceof A3)}var K4=class extends q4{_data;constructor(n){super(),this._data=n}connect(){return F1(this._data)?this._data:ke(this._data)}disconnect(){}},At=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(At||{}),z3=new b("_ViewRepeater"),G4=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,a,i,o){n.forEachOperation((r,c,s)=>{let h,d;if(r.previousIndex==null){let f=()=>a(r,c,s);h=this._insertView(f,s,e,i(r)),d=h?At.INSERTED:At.REPLACED}else s==null?(this._detachAndCacheView(c,e),d=At.REMOVED):(h=this._moveView(c,s,e,i(r)),d=At.MOVED);o&&o({context:h?.context,operation:d,record:r})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,a,i){let o=this._insertViewFromCache(e,a);if(o){o.context.$implicit=i;return}let r=n();return a.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(n,e){let a=e.detach(n);this._maybeCacheView(a,e)}_moveView(n,e,a,i){let o=a.get(n);return a.move(o,e),o.context.$implicit=i,o}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let a=e.indexOf(n);a===-1?n.destroy():e.remove(a)}}_insertViewFromCache(n,e){let a=this._viewCache.pop();return a&&e.insert(a,n),a||null}};var Sc=["contentWrapper"],kc=["*"],Jn=new b("VIRTUAL_SCROLL_STRATEGY"),y3=class{_scrolledIndexChange=new g;scrolledIndexChange=this._scrolledIndexChange.pipe(Ne());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,a){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=a}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,a){a<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=a,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},a=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),r=this._itemSize>0?o/this._itemSize:0;if(e.end>i){let s=Math.ceil(a/this._itemSize),h=Math.max(0,Math.min(r,i-s));r!=h&&(r=h,o=h*this._itemSize,e.start=Math.floor(r)),e.end=Math.max(0,Math.min(i,e.start+s))}let c=o-e.start*this._itemSize;if(c<this._minBufferPx&&e.start!=0){let s=Math.ceil((this._maxBufferPx-c)/this._itemSize);e.start=Math.max(0,e.start-s),e.end=Math.min(i,Math.ceil(r+(a+this._minBufferPx)/this._itemSize))}else{let s=e.end*this._itemSize-(o+a);if(s<this._minBufferPx&&e.end!=i){let h=Math.ceil((this._maxBufferPx-s)/this._itemSize);h>0&&(e.end=Math.min(i,e.end+h),e.start=Math.max(0,Math.floor(r-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(r))}};function Vc(t){return t._scrollStrategy}var Pc=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=l1(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=l1(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=l1(e)}_maxBufferPx=200;_scrollStrategy=new y3(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[O([{provide:Jn,useFactory:Vc,deps:[ie(()=>t)]}]),P]})}return t})(),Tc=20,Ft=(()=>{class t{_ngZone=l(I);_platform=l(K);_renderer=l(Pe).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new g;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let a=this.scrollContainers.get(e);a&&(a.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Tc){return this._platform.isBrowser?new Fe(a=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=e>0?this._scrolled.pipe(O1(e)).subscribe(a):this._scrolled.subscribe(a);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ke()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,a)=>this.deregister(a)),this._scrolled.complete()}ancestorScrolled(e,a){let i=this.getAncestorScrollContainers(e);return this.scrolled(a).pipe(ve(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(e){let a=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,e)&&a.push(o)}),a}_scrollableContainsElement(e,a){let i=w1(a),o=e.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),b3=(()=>{class t{elementRef=l(z);scrollDispatcher=l(Ft);ngZone=l(I);dir=l(ge,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new g;_renderer=l(ne);_cleanupScroll;_elementScrolled=new g;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let a=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=i?e.end:e.start),e.right==null&&(e.right=i?e.start:e.end),e.bottom!=null&&(e.top=a.scrollHeight-a.clientHeight-e.bottom),i&&Q1()!=Ge.NORMAL?(e.left!=null&&(e.right=a.scrollWidth-a.clientWidth-e.left),Q1()==Ge.INVERTED?e.left=e.right:Q1()==Ge.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=a.scrollWidth-a.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let a=this.elementRef.nativeElement;f4()?a.scrollTo(e):(e.top!=null&&(a.scrollTop=e.top),e.left!=null&&(a.scrollLeft=e.left))}measureScrollOffset(e){let a="left",i="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let r=this.dir&&this.dir.value=="rtl";return e=="start"?e=r?i:a:e=="end"&&(e=r?a:i),r&&Q1()==Ge.INVERTED?e==a?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:r&&Q1()==Ge.NEGATED?e==a?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==a?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),Dc=20,T1=(()=>{class t{_platform=l(K);_listeners;_viewportSize;_change=new g;_document=l(Q);constructor(){let e=l(I),a=l(Pe).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[a.listen("window","resize",i),a.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:a,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+a,height:i,width:a}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,a=this._getWindow(),i=e.documentElement,o=i.getBoundingClientRect(),r=-o.top||e.body.scrollTop||a.scrollY||i.scrollTop||0,c=-o.left||e.body.scrollLeft||a.scrollX||i.scrollLeft||0;return{top:r,left:c}}change(e=Dc){return e>0?this._change.pipe(O1(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Xn=new b("VIRTUAL_SCROLLABLE"),Hc=(()=>{class t extends b3{constructor(){super()}measureViewportSize(e){let a=this.elementRef.nativeElement;return e==="horizontal"?a.clientWidth:a.clientHeight}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,features:[R]})}return t})();function Ec(t,n){return t.start==n.start&&t.end==n.end}var Yc=typeof requestAnimationFrame<"u"?Gt:Y1,ea=(()=>{class t extends Hc{elementRef=l(z);_changeDetectorRef=l(fe);_scrollStrategy=l(Jn,{optional:!0});scrollable=l(Xn,{optional:!0});_platform=l(K);_detachedSubject=new g;_renderedRangeSubject=new g;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new Fe(e=>this._scrollStrategy.scrolledIndexChange.subscribe(a=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(a)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;_totalContentSize=0;_totalContentWidth=D("");_totalContentHeight=D("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=D(!1);_runAfterChangeDetection=[];_viewportChanges=Ie.EMPTY;_injector=l(oe);_isDestroyed=!1;constructor(){super();let e=l(T1);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let a=c1(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:l(z1).injector});l(F).onDestroy(()=>void a.destroy())}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Ve(null),O1(0,Yc),Qe(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Qe(this._detachedSubject)).subscribe(a=>{let i=a.length;i!==this._dataLength&&(this._dataLength=i,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){Ec(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,a="to-start"){e=this.appendOnly&&a==="to-start"?0:e;let i=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",r=o?"X":"Y",s=`translate${r}(${Number((o&&i?-1:1)*e)}px)`;this._renderedContentOffset=e,a==="to-end"&&(s+=` translate${r}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=s&&(this._renderedContentTransform=s,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,a="auto"){let i={behavior:a};this.orientation==="horizontal"?i.start=e:i.top=e,this.scrollable.scrollTo(i)}scrollToIndex(e,a="auto"){this._scrollStrategy.scrollToIndex(e,a)}measureScrollOffset(e){let a;return this.scrollable==this?a=i=>super.measureScrollOffset(i):a=i=>this.scrollable.measureScrollOffset(i),Math.max(0,a(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let a,i="left",o="right",r=this.dir?.value=="rtl";e=="start"?a=r?o:i:e=="end"?a=r?i:o:e?a=e:a=this.orientation==="horizontal"?"left":"top";let c=this.scrollable.measureBoundingClientRectWithScrollOffset(a);return this.elementRef.nativeElement.getBoundingClientRect()[a]-c}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!we(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,Ce(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let a of e)a()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,i){if(a&1&&G1(Sc,7),a&2){let o;Ue(o=We())&&(i._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,i){a&2&&N("cdk-virtual-scroll-orientation-horizontal",i.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",i.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",_]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[O([{provide:b3,useFactory:(e,a)=>e||a,deps:[[new Z3,new $3(Xn)],t]}]),R],ngContentSelectors:kc,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(a,i){a&1&&(je(),o6(0,"div",1,0),se(2),r6(),c6(3,"div",2)),a&2&&(w(3),a4("width",i._totalContentWidth())("height",i._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}
11
+ `],encapsulation:2,changeDetection:0})}return t})();function Qn(t,n,e){let a=e;if(!a.getBoundingClientRect)return 0;let i=a.getBoundingClientRect();return t==="horizontal"?n==="start"?i.left:i.right:n==="start"?i.top:i.bottom}var Ac=(()=>{class t{_viewContainerRef=l(Be);_template=l(pe);_differs=l(f6);_viewRepeater=l(z3);_viewport=l(ea,{skipSelf:!0});viewChange=new g;_dataSourceChanges=new g;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Zn(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new K4(F1(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(a,i)=>e(a+(this._renderedRange?this._renderedRange.start:0),i):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=l1(e)}dataStream=this._dataSourceChanges.pipe(Ve(null),W3(),Qt(([e,a])=>this._changeDataSource(e,a)),K3(1));_differ=null;_data;_renderedItems;_renderedRange;_needsUpdate=!1;_destroyed=new g;constructor(){let e=l(I);this.dataStream.subscribe(a=>{this._data=a,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Qe(this._destroyed)).subscribe(a=>{this._renderedRange=a,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,a){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let i=e.start-this._renderedRange.start,o=e.end-e.start,r,c;for(let s=0;s<o;s++){let h=this._viewContainerRef.get(s+i);if(h&&h.rootNodes.length){r=c=h.rootNodes[0];break}}for(let s=o-1;s>-1;s--){let h=this._viewContainerRef.get(s+i);if(h&&h.rootNodes.length){c=h.rootNodes[h.rootNodes.length-1];break}}return r&&c?Qn(a,"end",c)-Qn(a,"start",r):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,a)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,a):a)),this._needsUpdate=!0)}_changeDataSource(e,a){return e&&e.disconnect(this),this._needsUpdate=!0,a?a.connect(this):ke()}_updateContext(){let e=this._data.length,a=this._viewContainerRef.length;for(;a--;){let i=this._viewContainerRef.get(a);i.context.index=this._renderedRange.start+a,i.context.count=e,this._updateComputedContextProperties(i.context),i.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(o,r,c)=>this._getEmbeddedViewArgs(o,c),o=>o.item),e.forEachIdentityChange(o=>{let r=this._viewContainerRef.get(o.currentIndex);r.context.$implicit=o.item});let a=this._data.length,i=this._viewContainerRef.length;for(;i--;){let o=this._viewContainerRef.get(i);o.context.index=this._renderedRange.start+i,o.context.count=a,this._updateComputedContextProperties(o.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,a){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:a}}static ngTemplateContextGuard(e,a){return!0}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[O([{provide:z3,useClass:G4}])]})}return t})();var _3=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})(),M3=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[Ct,_3,Ct,_3]})}return t})();var Ot=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},C3=class extends Ot{component;viewContainerRef;injector;projectableNodes;constructor(n,e,a,i){super(),this.component=n,this.viewContainerRef=e,this.injector=a,this.projectableNodes=i}},Lt=class extends Ot{templateRef;viewContainerRef;context;injector;constructor(n,e,a,i){super(),this.templateRef=n,this.viewContainerRef=e,this.context=a,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},w3=class extends Ot{element;constructor(n){super(),this.element=n instanceof z?n.nativeElement:n}},$4=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof C3)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Lt)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof w3)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Z4=class extends $4{outletElement;_appRef;_defaultInjector;constructor(n,e,a){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=a}attachComponentPortal(n){let e;if(n.viewContainerRef){let a=n.injector||n.viewContainerRef.injector,i=a.get(u2,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:a,ngModuleRef:i,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let a=this._appRef,i=n.injector||this._defaultInjector||oe.NULL,o=i.get(R1,a.injector);e=r4(n.component,{elementInjector:i,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),a.attachView(e.hostView),this.setDisposeFn(()=>{a.viewCount>0&&a.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,a=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return a.rootNodes.forEach(i=>this.outletElement.appendChild(i)),a.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(a);i!==-1&&e.remove(i)}),this._attachedPortal=n,a}attachDomPortal=n=>{let e=n.element;e.parentNode;let a=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(a,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(e,a)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var ou=(()=>{class t extends $4{_moduleRef=l(u2,{optional:!0});_document=l(Q);_viewContainerRef=l(Be);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new W;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let a=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,i=a.createComponent(e.component,{index:a.length,injector:e.injector||a.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return a!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);let a=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachDomPortal=e=>{let a=e.element;a.parentNode;let i=this._document.createComment("dom-portal");e.setAttachedHost(this),a.parentNode.insertBefore(i,a),this._getRootNode().appendChild(a),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(a,i)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[R]})}return t})();var ta=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();var na=f4();function sa(t){return new X4(t.get(T1),t.get(Q))}var X4=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=q(-this._previousScrollPosition.left),n.style.top=q(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,a=n.style,i=e.style,o=a.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,a.left=this._previousHTMLStyles.left,a.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),na&&(a.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),na&&(a.scrollBehavior=o,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,a=this._viewportRuler.getViewportSize();return e.scrollHeight>a.height||e.scrollWidth>a.width}};function ha(t,n){return new Q4(t.get(Ft),t.get(I),t.get(T1),n)}var Q4=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,a,i){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=a,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ve(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};function Fc(){return new lt}var lt=class{enable(){}disable(){}attach(){}};function x3(t,n){return n.some(e=>{let a=t.bottom<e.top,i=t.top>e.bottom,o=t.right<e.left,r=t.left>e.right;return a||i||o||r})}function aa(t,n){return n.some(e=>{let a=t.top<e.top,i=t.bottom>e.bottom,o=t.left<e.left,r=t.right>e.right;return a||i||o||r})}function i2(t,n){return new J4(t.get(Ft),t.get(T1),t.get(I),n)}var J4=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,a,i){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=a,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:a,height:i}=this._viewportRuler.getViewportSize();x3(e,[{width:a,height:i,bottom:i,right:a,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},da=(()=>{class t{_injector=l(oe);constructor(){}noop=()=>new lt;close=e=>ha(this._injector,e);block=()=>sa(this._injector);reposition=e=>i2(this._injector,e);static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bt=class{positionStrategy;scrollStrategy=new lt;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let e=Object.keys(n);for(let a of e)n[a]!==void 0&&(this[a]=n[a])}}},j=class{offsetX;offsetY;panelClass;originX;originY;overlayX;overlayY;constructor(n,e,a,i,o){this.offsetX=a,this.offsetY=i,this.panelClass=o,this.originX=n.originX,this.originY=n.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}};var e2=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var ua=(()=>{class t{_attachedOverlays=[];_document=l(Q);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let a=this._attachedOverlays.indexOf(e);a>-1&&this._attachedOverlays.splice(a,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ma=(()=>{class t extends ua{_ngZone=l(I);_renderer=l(Pe).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let a=this._attachedOverlays;for(let i=a.length-1;i>-1;i--)if(a[i]._keydownEvents.observers.length>0){this._ngZone.run(()=>a[i]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),va=(()=>{class t extends ua{_platform=l(K);_ngZone=l(I);_renderer=l(Pe).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let a=this._document.body,i={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(a,"pointerdown",this._pointerDownListener,i),o.listen(a,"click",this._clickListener,i),o.listen(a,"auxclick",this._clickListener,i),o.listen(a,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=a.style.cursor,a.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Ye(e)};_clickListener=e=>{let a=Ye(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let r=o.length-1;r>-1;r--){let c=o[r];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(ia(c.overlayElement,a)||ia(c.overlayElement,i))break;let s=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>s.next(e)):s.next(e)}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ia(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,a=n;for(;a;){if(a===t)return!0;a=e&&a instanceof ShadowRoot?a.host:a.parentNode}return!1}var pa=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275cmp=ee({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(a,i){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
12
+ `],encapsulation:2,changeDetection:0})}return t})(),fa=(()=>{class t{_platform=l(K);_containerElement;_document=l(Q);_styleLoader=l(Yt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||H2()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let a=this._document.createElement("div");a.classList.add(e),H2()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._containerElement=a}_loadStyles(){this._styleLoader.load(pa)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),S3=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,a,i){this._renderer=e,this._ngZone=a,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},t2=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new g;_attachments=new g;_detachments=new g;_positionStrategy;_scrollStrategy;_locationChanges=Ie.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new g;_outsidePointerEvents=new g;_afterNextRenderRef;constructor(n,e,a,i,o,r,c,s,h,d=!1,f,B){this._portalOutlet=n,this._host=e,this._pane=a,this._config=i,this._ngZone=o,this._keyboardDispatcher=r,this._document=c,this._location=s,this._outsideClickDispatcher=h,this._animationsDisabled=d,this._injector=f,this._renderer=B,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Ce(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=y(y({},this._config),n),this._updateElementSize()}setDirection(n){this._config=G(y({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=q(this._config.width),n.height=q(this._config.height),n.minWidth=q(this._config.minWidth),n.minHeight=q(this._config.minHeight),n.maxWidth=q(this._config.maxWidth),n.maxHeight=q(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new S3(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,a){let i=X1(e||[]).filter(o=>!!o);i.length&&(a?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Ce(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},oa="cdk-overlay-connected-position-bounding-box",Oc=/([A-Za-z%]+)$/;function k3(t,n){return new n2(n,t.get(T1),t.get(Q),t.get(K),t.get(fa))}var n2=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new g;_resizeSubscription=Ie.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,a,i,o){this._viewportRuler=e,this._document=a,this._platform=i,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(oa),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,a=this._viewportRect,i=this._containerRect,o=[],r;for(let c of this._preferredPositions){let s=this._getOriginPoint(n,i,c),h=this._getOverlayPoint(s,e,c),d=this._getOverlayFit(h,e,a,c);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(c,s);return}if(this._canFitWithFlexibleDimensions(d,h,a)){o.push({position:c,origin:s,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(s,c)});continue}(!r||r.overlayFit.visibleArea<d.visibleArea)&&(r={overlayFit:d,overlayPoint:h,originPoint:s,position:c,overlayRect:e})}if(o.length){let c=null,s=-1;for(let h of o){let d=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);d>s&&(s=d,c=h)}this._isPushed=!1,this._applyPosition(c.position,c.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&D1(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(oa),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,a){let i;if(a.originX=="center")i=n.left+n.width/2;else{let r=this._isRtl()?n.right:n.left,c=this._isRtl()?n.left:n.right;i=a.originX=="start"?r:c}e.left<0&&(i-=e.left);let o;return a.originY=="center"?o=n.top+n.height/2:o=a.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:i,y:o}}_getOverlayPoint(n,e,a){let i;a.overlayX=="center"?i=-e.width/2:a.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let o;return a.overlayY=="center"?o=-e.height/2:o=a.overlayY=="top"?0:-e.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,e,a,i){let o=ca(e),{x:r,y:c}=n,s=this._getOffset(i,"x"),h=this._getOffset(i,"y");s&&(r+=s),h&&(c+=h);let d=0-r,f=r+o.width-a.width,B=0-c,me=c+o.height-a.height,ce=this._subtractOverflows(o.width,d,f),ye=this._subtractOverflows(o.height,B,me),Rt=ce*ye;return{visibleArea:Rt,isCompletelyWithinViewport:o.width*o.height===Rt,fitsInViewportVertically:ye===o.height,fitsInViewportHorizontally:ce==o.width}}_canFitWithFlexibleDimensions(n,e,a){if(this._hasFlexibleDimensions){let i=a.bottom-e.y,o=a.right-e.x,r=ra(this._overlayRef.getConfig().minHeight),c=ra(this._overlayRef.getConfig().minWidth),s=n.fitsInViewportVertically||r!=null&&r<=i,h=n.fitsInViewportHorizontally||c!=null&&c<=o;return s&&h}return!1}_pushOverlayOnScreen(n,e,a){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let i=ca(e),o=this._viewportRect,r=Math.max(n.x+i.width-o.width,0),c=Math.max(n.y+i.height-o.height,0),s=Math.max(o.top-a.top-n.y,0),h=Math.max(o.left-a.left-n.x,0),d=0,f=0;return i.width<=o.width?d=h||-r:d=n.x<this._viewportMargin?o.left-a.left-n.x:0,i.height<=o.height?f=s||-c:f=n.y<this._viewportMargin?o.top-a.top-n.y:0,this._previousPushAmount={x:d,y:f},{x:n.x+d,y:n.y+f}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let a=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!Lc(this._lastScrollVisibility,a)){let i=new e2(n,a);this._positionChanges.next(i)}this._lastScrollVisibility=a}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),a,i=n.overlayY;n.overlayX==="center"?a="center":this._isRtl()?a=n.overlayX==="start"?"right":"left":a=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${a} ${i}`}_calculateBoundingBoxRect(n,e){let a=this._viewportRect,i=this._isRtl(),o,r,c;if(e.overlayY==="top")r=n.y,o=a.height-r+this._viewportMargin;else if(e.overlayY==="bottom")c=a.height-n.y+this._viewportMargin*2,o=a.height-c+this._viewportMargin;else{let me=Math.min(a.bottom-n.y+a.top,n.y),ce=this._lastBoundingBoxSize.height;o=me*2,r=n.y-me,o>ce&&!this._isInitialRender&&!this._growAfterOpen&&(r=n.y-ce/2)}let s=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,h=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,d,f,B;if(h)B=a.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(s)f=n.x,d=a.right-n.x;else{let me=Math.min(a.right-n.x+a.left,n.x),ce=this._lastBoundingBoxSize.width;d=me*2,f=n.x-me,d>ce&&!this._isInitialRender&&!this._growAfterOpen&&(f=n.x-ce/2)}return{top:r,left:f,bottom:c,right:B,width:d,height:o}}_setBoundingBoxStyles(n,e){let a=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=q(a.height),i.top=q(a.top),i.bottom=q(a.bottom),i.width=q(a.width),i.left=q(a.left),i.right=q(a.right),e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=q(o)),r&&(i.maxWidth=q(r))}this._lastBoundingBoxSize=a,D1(this._boundingBox.style,i)}_resetBoundingBoxStyles(){D1(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){D1(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let a={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();D1(a,this._getExactOverlayY(e,n,d)),D1(a,this._getExactOverlayX(e,n,d))}else a.position="static";let c="",s=this._getOffset(e,"x"),h=this._getOffset(e,"y");s&&(c+=`translateX(${s}px) `),h&&(c+=`translateY(${h}px)`),a.transform=c.trim(),r.maxHeight&&(i?a.maxHeight=q(r.maxHeight):o&&(a.maxHeight="")),r.maxWidth&&(i?a.maxWidth=q(r.maxWidth):o&&(a.maxWidth="")),D1(this._pane.style,a)}_getExactOverlayY(n,e,a){let i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,a)),n.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(o.y+this._overlayRect.height)}px`}else i.top=q(o.y);return i}_getExactOverlayX(n,e,a){let i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,a));let r;if(this._isRtl()?r=n.overlayX==="end"?"left":"right":r=n.overlayX==="end"?"right":"left",r==="right"){let c=this._document.documentElement.clientWidth;i.right=`${c-(o.x+this._overlayRect.width)}px`}else i.left=q(o.x);return i}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),a=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:aa(n,a),isOriginOutsideView:x3(n,a),isOverlayClipped:aa(e,a),isOverlayOutsideView:x3(e,a)}}_subtractOverflows(n,...e){return e.reduce((a,i)=>a-Math.max(i,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,a=this._viewportRuler.getViewportScrollPosition();return{top:a.top+this._viewportMargin,left:a.left+this._viewportMargin,right:a.left+n-this._viewportMargin,bottom:a.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&X1(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof z)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,a=n.height||0;return{top:n.y,bottom:n.y+a,left:n.x,right:n.x+e,height:a,width:e}}};function D1(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function ra(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Oc);return!e||e==="px"?parseFloat(n):null}return t||null}function ca(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function Lc(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var la="cdk-global-overlay-wrapper";function ga(t){return new a2}var a2=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(la),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,a=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:r,maxHeight:c}=a,s=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),h=(o==="100%"||o==="100vh")&&(!c||c==="100%"||c==="100vh"),d=this._xPosition,f=this._xOffset,B=this._overlayRef.getConfig().direction==="rtl",me="",ce="",ye="";s?ye="flex-start":d==="center"?(ye="center",B?ce=f:me=f):B?d==="left"||d==="end"?(ye="flex-end",me=f):(d==="right"||d==="start")&&(ye="flex-start",ce=f):d==="left"||d==="start"?(ye="flex-start",me=f):(d==="right"||d==="end")&&(ye="flex-end",ce=f),n.position=this._cssPosition,n.marginLeft=s?"0":me,n.marginTop=h?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=s?"0":ce,e.justifyContent=ye,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,a=e.style;e.classList.remove(la),a.justifyContent=a.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},za=(()=>{class t{_injector=l(oe);constructor(){}global(){return ga()}flexibleConnectedTo(e){return k3(this._injector,e)}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function V3(t,n){t.get(Yt).load(pa);let e=t.get(fa),a=t.get(Q),i=t.get(Ln),o=t.get(z1),r=t.get(ge),c=a.createElement("div"),s=a.createElement("div");s.id=i.getId("cdk-overlay-"),s.classList.add("cdk-overlay-pane"),c.appendChild(s),e.getContainerElement().appendChild(c);let h=new Z4(s,o,t),d=new Bt(n),f=t.get(ne,null,{optional:!0})||t.get(Pe).createRenderer(null,null);return d.direction=d.direction||r.value,new t2(h,c,s,d,t.get(I),t.get(ma),a,t.get(g6),t.get(va),n?.disableAnimations??t.get(U1,null,{optional:!0})==="NoopAnimations",t.get(R1),f)}var ya=(()=>{class t{scrollStrategies=l(da);_positionBuilder=l(za);_injector=l(oe);constructor(){}create(e){return V3(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Bc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],_a=new b("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=l(oe);return()=>i2(t)}}),It=(()=>{class t{elementRef=l(z);constructor(){}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Nt=(()=>{class t{_dir=l(ge,{optional:!0});_injector=l(oe);_overlayRef;_templatePortal;_backdropSubscription=Ie.EMPTY;_attachSubscription=Ie.EMPTY;_detachSubscription=Ie.EMPTY;_positionSubscription=Ie.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=l(_a);_disposeOnNavigation=!1;_ngZone=l(I);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new W;positionChange=new W;attach=new W;detach=new W;overlayKeydown=new W;overlayOutsideClick=new W;constructor(){let e=l(pe),a=l(Be);this._templatePortal=new Lt(e,a),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Bc);let e=this._overlayRef=V3(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(a=>{this.overlayKeydown.next(a),a.keyCode===27&&!this.disableClose&&!R4(a)&&(a.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(a=>{let i=this._getOriginElement(),o=Ye(a);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(a)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),a=new Bt({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(a.width=this.width),(this.height||this.height===0)&&(a.height=this.height),(this.minWidth||this.minWidth===0)&&(a.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}_updatePositionStrategy(e){let a=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(a).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=k3(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof It?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof It?this.origin.elementRef.nativeElement:this.origin instanceof z?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(G3(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",_],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",_],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",_],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",_],push:[2,"cdkConnectedOverlayPush","push",_],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",_]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[P]})}return t})();function Ic(t){let n=l(oe);return()=>i2(n)}var Nc={provide:_a,useFactory:Ic},P3=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({providers:[ya,Nc],imports:[Ct,ta,M3,M3]})}return t})();var ue=(()=>{class t{static SLOW="0.3s";static BASE="0.2s";static FAST="0.1s"}return t})(),de=(()=>{class t{static EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)";static EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)";static EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)";static EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)";static EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)";static EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)";static EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)";static EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)";static EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)";static EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)";static EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)";static EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)";static EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)";static EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)"}return t})(),am=be("collapseMotion",[he("expanded",v({height:"*"})),he("collapsed",v({height:0,overflow:"hidden"})),he("hidden",v({height:0,overflow:"hidden",borderTopWidth:"0"})),T("expanded => collapsed",V(`150ms ${de.EASE_IN_OUT}`)),T("expanded => hidden",V(`150ms ${de.EASE_IN_OUT}`)),T("collapsed => expanded",V(`150ms ${de.EASE_IN_OUT}`)),T("hidden => expanded",V(`150ms ${de.EASE_IN_OUT}`))]),im=be("treeCollapseMotion",[T("* => *",[c4("nz-tree-node:leave,nz-tree-builtin-node:leave",[v({overflow:"hidden"}),l4(0,[V(`150ms ${de.EASE_IN_OUT}`,v({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),c4("nz-tree-node:enter,nz-tree-builtin-node:enter",[v({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),l4(0,[V(`150ms ${de.EASE_IN_OUT}`,v({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),om=be("drawerMaskMotion",[T(":enter",[v({opacity:0}),V(`${ue.SLOW}`,v({opacity:1}))]),T(":leave",[v({opacity:1}),V(`${ue.SLOW}`,v({opacity:0}))])]),rm=be("fadeMotion",[T("* => enter",[v({opacity:0}),V(`${ue.BASE}`,v({opacity:1}))]),T("* => leave, :leave",[v({opacity:1}),V(`${ue.BASE}`,v({opacity:0}))])]),cm=be("helpMotion",[T(":enter",[v({opacity:0,transform:"translateY(-5px)"}),V(`${ue.SLOW} ${de.EASE_IN_OUT}`,v({opacity:1,transform:"translateY(0)"}))]),T(":leave",[v({opacity:1,transform:"translateY(0)"}),V(`${ue.SLOW} ${de.EASE_IN_OUT}`,v({opacity:0,transform:"translateY(-5px)"}))])]),lm=be("moveUpMotion",[T("* => enter",[v({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),V(`${ue.BASE}`,v({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),T("* => leave",[v({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),V(`${ue.BASE}`,v({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),sm=be("notificationMotion",[he("enterRight",v({opacity:1,transform:"translateX(0)"})),T("* => enterRight",[v({opacity:0,transform:"translateX(5%)"}),V("100ms linear")]),he("enterLeft",v({opacity:1,transform:"translateX(0)"})),T("* => enterLeft",[v({opacity:0,transform:"translateX(-5%)"}),V("100ms linear")]),he("enterTop",v({opacity:1,transform:"translateY(0)"})),T("* => enterTop",[v({opacity:0,transform:"translateY(-5%)"}),V("100ms linear")]),he("enterBottom",v({opacity:1,transform:"translateY(0)"})),T("* => enterBottom",[v({opacity:0,transform:"translateY(5%)"}),V("100ms linear")]),he("leave",v({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),T("* => leave",[v({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),V("100ms linear")])]),jc=`${ue.BASE} ${de.EASE_OUT_QUINT}`,Uc=`${ue.BASE} ${de.EASE_IN_QUINT}`,hm=be("slideMotion",[he("void",v({opacity:0,transform:"scaleY(0.8)"})),he("enter",v({opacity:1,transform:"scaleY(1)"})),T("void => *",[V(jc)]),T("* => void",[V(Uc)])]),dm=be("slideAlertMotion",[T(":leave",[v({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),V(`${ue.SLOW} ${de.EASE_IN_OUT_CIRC}`,v({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),um=be("tabSwitchMotion",[he("leave",v({display:"none"})),T("* => enter",[v({display:"block",opacity:0}),V(ue.SLOW)]),T("* => leave, :leave",[v({position:"absolute",top:0,left:0,width:"100%"}),V(ue.SLOW,v({opacity:0})),v({display:"none"})])]),mm=be("thumbMotion",[he("from",v({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:0,width:0}}),he("to",v({transform:"translateX({{ transform }}px)",width:"{{ width }}px"}),{params:{transform:100,width:0}}),he("fromVertical",v({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:0,width:0,height:0}}),he("toVertical",v({transform:"translateY({{ transform }}px)",width:"{{ width }}px",height:"{{ height }}px"}),{params:{transform:100,width:0,height:0}}),T("from => to",V(`300ms ${de.EASE_IN_OUT}`)),T("fromVertical => toVertical",V(`300ms ${de.EASE_IN_OUT}`))]),ba=be("zoomBigMotion",[T("void => active",[v({opacity:0,transform:"scale(0.8)"}),V(`${ue.BASE} ${de.EASE_OUT_CIRC}`,v({opacity:1,transform:"scale(1)"}))]),T("active => void",[v({opacity:1,transform:"scale(1)"}),V(`${ue.BASE} ${de.EASE_IN_OUT_CIRC}`,v({opacity:0,transform:"scale(0.8)"}))])]),vm=be("zoomBadgeMotion",[T(":enter",[v({opacity:0,transform:"scale(0) translate(50%, -50%)"}),V(`${ue.SLOW} ${de.EASE_OUT_BACK}`,v({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),T(":leave",[v({opacity:1,transform:"scale(1) translate(50%, -50%)"}),V(`${ue.SLOW} ${de.EASE_IN_BACK}`,v({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])]);var o2=(()=>{class t{animationType=l(U1,{optional:!0});nzNoAnimation=!1;static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nzNoAnimation",""]],hostVars:2,hostBindings:function(a,i){a&2&&N("nz-animate-disabled",i.nzNoAnimation||i.animationType==="NoopAnimations")},inputs:{nzNoAnimation:[2,"nzNoAnimation","nzNoAnimation",_]},exportAs:["nzNoAnimation"]})}return t})();var ze={top:new j({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new j({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new j({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new j({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new j({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new j({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new j({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new j({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new j({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new j({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new j({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new j({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new j({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},Wc=(t=12)=>({top:[0,-t],topCenter:[0,-t],topLeft:[0,-t],topRight:[0,-t],right:[t,0],rightTop:[t,0],rightBottom:[t,0],bottom:[0,t],bottomCenter:[0,t],bottomLeft:[0,t],bottomRight:[0,t],left:[-t,0],leftTop:[-t,0],leftBottom:[-t,0]}),st=Wc(),T3=[ht(ze.top,st.top),ht(ze.right,st.right),ht(ze.bottom,st.bottom),ht(ze.left,st.left)],km=[ze.bottomLeft,ze.bottomRight,ze.topLeft,ze.topRight],Vm=[new j({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],Pm=[ze.bottomLeft,new j({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function D3(t){for(let n in ze)if(t.connectionPair.originX===ze[n].originX&&t.connectionPair.originY===ze[n].originY&&t.connectionPair.overlayX===ze[n].overlayX&&t.connectionPair.overlayY===ze[n].overlayY)return n}var r2={bottomLeft:new j({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},void 0,2),topLeft:new j({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,-2),bottomRight:new j({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},void 0,2),topRight:new j({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,-2)},Tm=[r2.bottomLeft,r2.topLeft,r2.bottomRight,r2.topRight];function qc(t){return Array.isArray(t)?t:[t,t]}function ht(t,n){let[e,a]=qc(n);return G(y({},t),{offsetX:e,offsetY:a})}var Ma=(()=>{class t{cdkConnectedOverlay=l(Nt);nzArrowPointAtCenter=!1;constructor(){this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop",this.cdkConnectedOverlay.positionChange.pipe(Y()).subscribe(e=>{this.nzArrowPointAtCenter&&this.updateArrowPosition(e)})}updateArrowPosition(e){let a=this.getOriginRect(),i=D3(e),o=0,r=0;i==="topLeft"||i==="bottomLeft"?o=a.width/2-14:i==="topRight"||i==="bottomRight"?o=-(a.width/2-14):i==="leftTop"||i==="rightTop"?r=a.height/2-10:(i==="leftBottom"||i==="rightBottom")&&(r=-(a.height/2-10)),(this.cdkConnectedOverlay.offsetX!==o||this.cdkConnectedOverlay.offsetY!==r)&&(this.cdkConnectedOverlay.offsetY=r,this.cdkConnectedOverlay.offsetX=o,this.cdkConnectedOverlay.overlayRef.updatePosition())}getFlexibleConnectedPositionStrategyOrigin(){return this.cdkConnectedOverlay.origin instanceof It?this.cdkConnectedOverlay.origin.elementRef:this.cdkConnectedOverlay.origin}getOriginRect(){let e=this.getFlexibleConnectedPositionStrategyOrigin();if(e instanceof z)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let a=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+a,height:i,width:a}}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],inputs:{nzArrowPointAtCenter:[2,"nzArrowPointAtCenter","nzArrowPointAtCenter",_]},exportAs:["nzConnectedOverlay"]})}return t})(),Ca=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();function Dm(t,n){n&&(t._host.style.zIndex=`${n}`)}var Gc=["overlay"];function $c(t,n){if(t&1&&(t4(0),Ke(1),n4()),t&2){let e=m(2);w(),Je(e.nzTitle)}}function Zc(t,n){if(t&1&&($(0,"div",2),le(1,"div",3),$(2,"div",4)(3,"div",5),Z(4,$c,2,1,"ng-container",6),X()()()),t&2){let e=m();i4(e.nzOverlayStyle),qe(e._classMap),N("ant-tooltip-rtl",e.dir==="rtl"),k("@.disabled",!!(e.noAnimation!=null&&e.noAnimation.nzNoAnimation))("nzNoAnimation",e.noAnimation==null?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),w(),i4(e._arrowStyleMap),w(2),i4(e._contentStyleMap),w(),k("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext)}}var Xc=(()=>{class t{componentType;config;cdkConnectedOverlayPush;visibleChange=new W;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){let e=this.placement;return Array.isArray(e)&&e.length>0?e:typeof e=="string"&&e?[e]:["top"]}get _visible(){return(typeof this.visible<"u"?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??!0}internalVisible=!1;getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new g;triggerDisposables=[];delayTimer;elementRef=l(z);hostView=l(Be);renderer=l(ne);noAnimation=l(o2,{host:!0,optional:!0});nzConfigService=l(u1);destroyRef=l(F);platformId=l(j1);constructor(e){this.componentType=e,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners()})}ngAfterViewInit(){Z1(this.platformId)&&(this.createComponent(),this.registerTriggers())}ngOnChanges(e){let{trigger:a}=e;a&&!a.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e)}show(){this.component?.show()}hide(){this.component?.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){let e=this.hostView.createComponent(this.componentType);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();let a=this.component.nzVisibleChange.pipe(Ne());a.pipe(Y(this.destroyRef)).subscribe(i=>{this.internalVisible=i,this.visibleChange.emit(i)}),a.pipe(ve(i=>i),U3(0,Y1),ve(()=>!!this.component?.overlay?.overlayRef),Y(this.destroyRef)).subscribe(()=>{this.component?.updatePosition()})}registerTriggers(){let e=this.elementRef.nativeElement,a=this.trigger;if(this.removeTriggerListeners(),a==="hover"){let i;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!i&&(i=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(i,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(i,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else a==="focus"?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):a==="click"&&this.triggerDisposables.push(this.renderer.listen(e,"click",i=>{i.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){let a=y({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter],cdkConnectedOverlayPush:["cdkConnectedOverlayPush",()=>this.cdkConnectedOverlayPush]},this.getProxyPropertyMap());(e||Object.keys(a).filter(i=>!i.startsWith("directive"))).forEach(i=>{if(a[i]){let[o,r]=a[i];this.updateComponentValue(o,r())}}),this.component?.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,a){typeof a<"u"&&(this.component[e]=a)}delayEnterLeave(e,a,i=-1){this.delayTimer?this.clearTogglingTimer():i>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,a?this.show():this.hide()},i*1e3):a&&e?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}static \u0275fac=function(a){return new(a||t)(x(X3))};static \u0275dir=u({type:t,features:[P]})}return t})(),Qc=(()=>{class t{overlay;noAnimation=l(o2,{host:!0,optional:!0});directionality=l(ge);cdr=l(fe);elementRef=l(z);destroyRef=l(F);nzTitle=null;nzContent=null;nzArrowPointAtCenter=!1;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=!0;nzBackdrop=!1;nzMouseEnterDelay;nzMouseLeaveDelay;cdkConnectedOverlayPush=!0;nzVisibleChange=new g;set nzVisible(e){let a=m8(e);this._visible!==a&&(this._visible=a,this.nzVisibleChange.next(a))}get nzVisible(){return this._visible}_visible=!1;set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){let a=e.map(i=>ht(ze[i],st[i]));this._positions=[...a,...T3]}preferredPlacement="top";origin;dir="ltr";_classMap={};_prefix="ant-tooltip";_positions=[...T3];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete()})}ngOnInit(){this.directionality.change?.pipe(Y(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.getDirection()==="rtl"&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(e){this.preferredPlacement=D3(e),this.updateStyles(),this.cdr.detectChanges()}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){if(!this.nzOverlayClickable)return;let a=Ye(e);!this.origin.nativeElement.contains(a)&&this.nzTrigger!==null&&this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}updateStyles(){this._classMap=G(y({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0})}transformClassListToMap(e){let a={};return(e!==null?e.split(/\s+/):[]).forEach(o=>a[o]=!0),a}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,viewQuery:function(a,i){if(a&1&&G1(Gc,5),a&2){let o;Ue(o=We())&&(i.overlay=o.first)}}})}return t})();function Jc(t){return t instanceof pe?!1:t===""||!w2(t)}var nv=(()=>{class t extends Xc{title;titleContext=null;directiveTitle;trigger="hover";placement="top";origin;visible;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;arrowPointAtCenter;cdkConnectedOverlayPush=!0;nzTooltipColor;directiveContent=null;content=null;overlayClickable;visibleChange=new W;constructor(){super(wa)}getProxyPropertyMap(){return G(y({},super.getProxyPropertyMap()),{nzTooltipColor:["nzColor",()=>this.nzTooltipColor],titleContext:["nzTitleContext",()=>this.titleContext]})}static \u0275fac=function(a){return new(a||t)};static \u0275dir=u({type:t,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(a,i){a&2&&N("ant-tooltip-open",i.visible)},inputs:{title:[0,"nzTooltipTitle","title"],titleContext:[0,"nzTooltipTitleContext","titleContext"],directiveTitle:[0,"nz-tooltip","directiveTitle"],trigger:[0,"nzTooltipTrigger","trigger"],placement:[0,"nzTooltipPlacement","placement"],origin:[0,"nzTooltipOrigin","origin"],visible:[0,"nzTooltipVisible","visible"],mouseEnterDelay:[0,"nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzTooltipOverlayClassName","overlayClassName"],overlayStyle:[0,"nzTooltipOverlayStyle","overlayStyle"],arrowPointAtCenter:[2,"nzTooltipArrowPointAtCenter","arrowPointAtCenter",_],cdkConnectedOverlayPush:[2,"cdkConnectedOverlayPush","cdkConnectedOverlayPush",_],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[R]})}return t})(),wa=(()=>{class t extends Qc{nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};isEmpty(){return Jc(this.nzTitle)}updateStyles(){let e=this.nzColor&&D8(this.nzColor);this._classMap=G(y({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:e}),this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null},this._arrowStyleMap={"--antd-arrow-background-color":this.nzColor&&!e?this.nzColor:null}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Me(t)))(i||t)}})();static \u0275cmp=ee({type:t,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[R],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(a,i){if(a&1){let o=y1();Z(0,Zc,5,15,"ng-template",1,0,n1),_e("overlayOutsideClick",function(c){return Oe(o),Le(i.onClickOutside(c))})("detach",function(){return Oe(o),Le(i.hide())})("positionChange",function(c){return Oe(o),Le(i.onPositionChange(c))})}a&2&&k("cdkConnectedOverlayOrigin",i.origin)("cdkConnectedOverlayOpen",i._visible)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayPush",i.cdkConnectedOverlayPush)("nzArrowPointAtCenter",i.nzArrowPointAtCenter)},dependencies:[P3,Nt,o2,C4,J1,Ca,Ma],encapsulation:2,data:{animation:[ba]},changeDetection:0})}return t})();var el=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({imports:[wa]})}return t})(),av=el;var tl={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},TimePicker:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Calendar:{lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},timePickerLocale:{placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",selectNone:"Clear all data"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Form:{optional:"(optional)"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Image:{preview:"Preview"},CronExpression:{cronError:"Invalid cron expression",second:"second",minute:"minute",hour:"hour",day:"day",month:"month",week:"week"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},CheckList:{checkList:"Check List",checkListFinish:"You have successfully completed the list!",checkListClose:"Close",checkListFooter:"Check list is no longer required",checkListCheck:"Do you want to close the list?",ok:"OK",cancel:"Cancel",checkListCheckOther:"No longer required to show"}},nl={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"},DatePicker:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},TimePicker:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},Calendar:{lang:{placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"],locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},timePickerLocale:{placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]}},global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectNone:"\u6E05\u7A7A\u6240\u6709"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Form:{optional:"(\u53EF\u9009)"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Image:{preview:"\u9884\u89C8"},CronExpression:{cronError:"cron \u8868\u8FBE\u5F0F\u4E0D\u5408\u6CD5",second:"\u79D2",minute:"\u5206\u949F",hour:"\u5C0F\u65F6",day:"\u65E5",month:"\u6708",week:"\u5468"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},CheckList:{checkList:"\u4EFB\u52A1\u6E05\u5355",checkListFinish:"\u4F60\u5DF2\u6210\u529F\u5B8C\u6210\u4EFB\u52A1\u6E05\u5355\uFF01",checkListClose:"\u5173\u95ED",checkListFooter:"\u4E0D\u9700\u8981\u64CD\u4F5C\u6307\u5F15",checkListCheck:"\u4F60\u8981\u5173\u95ED\u64CD\u4F5C\u6E05\u5355\u5417",ok:"\u786E\u5B9A",cancel:"\u53D6\u6D88",checkListCheckOther:"\u4EE5\u540E\u4E0D\u518D\u9700\u8981\u64CD\u4F5C\u6E05\u5355"}},H3=new b("");function uv(t){return r1([typeof t=="function"?{provide:H3,useFactory:t}:{provide:H3,useValue:t}])}var al=new b(""),il=(()=>{class t{_locale;_change=new E1(this._locale);dateLocale;get localeChange(){return this._change.asObservable()}constructor(){this.setLocale(l(H3,{optional:!0})||nl),this.setDateLocale(l(al,{optional:!0}))}translate(e,a){let i=this._getObjectPath(this._locale,e);return typeof i=="string"?(a&&Object.keys(a).forEach(o=>i=i.replace(new RegExp(`%${o}%`,"g"),a[o])),i):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,a){let i=e?this._getObjectPath(this._locale,e):this._locale;return!i&&!a&&C1(`Missing translations for "${e}" in language "${this._locale.locale}".
13
+ You can use "NzI18nService.setLocale" as a temporary fix.
14
+ Welcome to submit a pull request to help us optimize the translations!
15
+ https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),i||a||this._getObjectPath(tl,e)||{}}_getObjectPath(e,a){let i=e,o=a.split("."),r=o.length,c=0;for(;i&&c<r;)i=i[o[c++]];return c===r?i:null}static \u0275fac=function(a){return new(a||t)};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mv=(()=>{class t{_locale=l(il);transform(e,a){return this._locale.translate(e,a)}static \u0275fac=function(a){return new(a||t)};static \u0275pipe=t6({name:"nzI18n",type:t,pure:!0})}return t})(),vv=(()=>{class t{static \u0275fac=function(a){return new(a||t)};static \u0275mod=C({type:t});static \u0275inj=M({})}return t})();export{ge as a,Ct as b,K as c,T2 as d,Ye as e,Yt as f,X1 as g,l1 as h,w1 as i,Pc as j,Ft as k,b3 as l,T1 as m,ea as n,Ac as o,_3 as p,M3 as q,C3 as r,Lt as s,$4 as t,ou as u,ta as v,Ln as w,R4 as x,sa as y,ha as z,Fc as A,i2 as B,j as C,ma as D,t2 as E,k3 as F,ga as G,V3 as H,It as I,Nt as J,P3 as K,Y as L,vt as M,zi as N,yi as O,D8 as P,t5 as Q,Za as R,C1 as S,ss as T,w2 as U,hs as V,ft as W,m8 as X,ds as Y,us as Z,ms as _,vs as $,ps as aa,fs as ba,gs as ca,ei as da,zs as ea,ys as fa,_s as ga,bs as ha,Ms as ia,Cs as ja,ws as ka,xs as la,Ss as ma,ks as na,Vs as oa,p8 as pa,x1 as qa,z8 as ra,k2 as sa,u1 as ta,b4 as ua,M4 as va,ze as wa,st as xa,Vm as ya,Pm as za,D3 as Aa,ht as Ba,Ma as Ca,Ca as Da,Dm as Ea,P0 as Fa,Ae as Ga,k1 as Ha,J1 as Ia,C4 as Ja,et as Ka,V1 as La,tt as Ma,J5 as Na,e7 as Oa,O0 as Pa,I0 as Qa,N0 as Ra,U2 as Sa,j0 as Ta,nl as Ua,uv as Va,il as Wa,mv as Xa,vv as Ya,Cn as Za,wn as _a,ct as $a,Ko as ab,L4 as bb,Fn as cb,rr as db,cr as eb,f3 as fb,e9 as gb,t9 as hb,am as ib,om as jb,rm as kb,cm as lb,lm as mb,hm as nb,dm as ob,um as pb,ba as qb,vm as rb,o2 as sb,d3 as tb,y9 as ub,Mn as vb,qo as wb,_9 as xb,b9 as yb,g3 as zb,U4 as Ab,W4 as Bb,v1 as Cb,to as Db,io as Eb,A4 as Fb,Ze as Gb,dn as Hb,G7 as Ib,it as Jb,wo as Kb,ko as Lb,Z7 as Mb,Po as Nb,o3 as Ob,Ho as Pb,Yo as Qb,Lo as Rb,Io as Sb,c3 as Tb,X7 as Ub,Q7 as Vb,yn as Wb,Cd as Xb,Bn as Yb,In as Zb,Nn as _b,Rn as $b,e1 as ac,wd as bc,xc as cc,xd as dc,Xc as ec,Jc as fc,nv as gc,wa as hc,el as ic,av as jc};