@swiftcrab/crab 0.0.2

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 (1779) hide show
  1. package/README.md +143 -0
  2. package/es/_util/ActionButton.d.ts +19 -0
  3. package/es/_util/ActionButton.js +48 -0
  4. package/es/_util/ContextIsolator.d.ts +3 -0
  5. package/es/_util/ContextIsolator.js +40 -0
  6. package/es/_util/PurePanel.d.ts +9 -0
  7. package/es/_util/PurePanel.js +40 -0
  8. package/es/_util/aria-data-attrs.d.ts +4 -0
  9. package/es/_util/aria-data-attrs.js +0 -0
  10. package/es/_util/capitalize.d.ts +1 -0
  11. package/es/_util/capitalize.js +1 -0
  12. package/es/_util/colors.d.ts +13 -0
  13. package/es/_util/colors.js +1 -0
  14. package/es/_util/easings.d.ts +1 -0
  15. package/es/_util/easings.js +1 -0
  16. package/es/_util/extendsObject.d.ts +3 -0
  17. package/es/_util/extendsObject.js +1 -0
  18. package/es/_util/gapSize.d.ts +3 -0
  19. package/es/_util/gapSize.js +1 -0
  20. package/es/_util/getAllowClear.d.ts +4 -0
  21. package/es/_util/getAllowClear.js +1 -0
  22. package/es/_util/getRenderPropValue.d.ts +3 -0
  23. package/es/_util/getRenderPropValue.js +1 -0
  24. package/es/_util/getScroll.d.ts +3 -0
  25. package/es/_util/getScroll.js +1 -0
  26. package/es/_util/hooks/useClosable.d.ts +31 -0
  27. package/es/_util/hooks/useClosable.js +1 -0
  28. package/es/_util/hooks/useForceUpdate.d.ts +2 -0
  29. package/es/_util/hooks/useForceUpdate.js +1 -0
  30. package/es/_util/hooks/useMultipleSelect.d.ts +6 -0
  31. package/es/_util/hooks/useMultipleSelect.js +1 -0
  32. package/es/_util/hooks/usePatchElement.d.ts +5 -0
  33. package/es/_util/hooks/usePatchElement.js +1 -0
  34. package/es/_util/hooks/useProxyImperativeHandle.d.ts +4 -0
  35. package/es/_util/hooks/useProxyImperativeHandle.js +1 -0
  36. package/es/_util/hooks/useSyncState.d.ts +3 -0
  37. package/es/_util/hooks/useSyncState.js +1 -0
  38. package/es/_util/hooks/useUniqueMemo.d.ts +6 -0
  39. package/es/_util/hooks/useUniqueMemo.js +1 -0
  40. package/es/_util/hooks/useZIndex.d.ts +8 -0
  41. package/es/_util/hooks/useZIndex.js +35 -0
  42. package/es/_util/isNumeric.d.ts +2 -0
  43. package/es/_util/isNumeric.js +1 -0
  44. package/es/_util/isPrimitive.d.ts +2 -0
  45. package/es/_util/isPrimitive.js +1 -0
  46. package/es/_util/motion.d.ts +7 -0
  47. package/es/_util/motion.js +40 -0
  48. package/es/_util/placements.d.ts +21 -0
  49. package/es/_util/placements.js +1 -0
  50. package/es/_util/reactNode.d.ts +7 -0
  51. package/es/_util/reactNode.js +1 -0
  52. package/es/_util/responsiveObserver.d.ts +22 -0
  53. package/es/_util/responsiveObserver.js +35 -0
  54. package/es/_util/scrollTo.d.ts +10 -0
  55. package/es/_util/scrollTo.js +1 -0
  56. package/es/_util/statusUtils.d.ts +6 -0
  57. package/es/_util/statusUtils.js +1 -0
  58. package/es/_util/styleChecker.d.ts +3 -0
  59. package/es/_util/styleChecker.js +1 -0
  60. package/es/_util/throttleByAnimationFrame.d.ts +5 -0
  61. package/es/_util/throttleByAnimationFrame.js +1 -0
  62. package/es/_util/toList.d.ts +1 -0
  63. package/es/_util/toList.js +1 -0
  64. package/es/_util/transKeys.d.ts +3 -0
  65. package/es/_util/transKeys.js +1 -0
  66. package/es/_util/type.d.ts +54 -0
  67. package/es/_util/type.js +0 -0
  68. package/es/_util/warning.d.ts +31 -0
  69. package/es/_util/warning.js +1 -0
  70. package/es/_util/wave/WaveEffect.d.ts +10 -0
  71. package/es/_util/wave/WaveEffect.js +40 -0
  72. package/es/_util/wave/index.d.ts +9 -0
  73. package/es/_util/wave/index.js +41 -0
  74. package/es/_util/wave/interface.d.ts +11 -0
  75. package/es/_util/wave/interface.js +40 -0
  76. package/es/_util/wave/style.d.ts +7 -0
  77. package/es/_util/wave/style.js +35 -0
  78. package/es/_util/wave/useWave.d.ts +4 -0
  79. package/es/_util/wave/useWave.js +41 -0
  80. package/es/_util/wave/util.d.ts +2 -0
  81. package/es/_util/wave/util.js +1 -0
  82. package/es/_util/zindexContext.d.ts +3 -0
  83. package/es/_util/zindexContext.js +1 -0
  84. package/es/affix/index.d.ts +22 -0
  85. package/es/affix/index.js +40 -0
  86. package/es/affix/style/index.d.ts +11 -0
  87. package/es/affix/style/index.js +35 -0
  88. package/es/affix/utils.d.ts +4 -0
  89. package/es/affix/utils.js +1 -0
  90. package/es/alert/Alert.d.ts +42 -0
  91. package/es/alert/Alert.js +42 -0
  92. package/es/alert/ErrorBoundary.d.ts +24 -0
  93. package/es/alert/ErrorBoundary.js +42 -0
  94. package/es/alert/index.d.ts +8 -0
  95. package/es/alert/index.js +42 -0
  96. package/es/alert/style/index.d.ts +26 -0
  97. package/es/alert/style/index.js +37 -0
  98. package/es/anchor/Anchor.d.ts +59 -0
  99. package/es/anchor/Anchor.js +40 -0
  100. package/es/anchor/AnchorLink.d.ts +14 -0
  101. package/es/anchor/AnchorLink.js +40 -0
  102. package/es/anchor/context.d.ts +4 -0
  103. package/es/anchor/context.js +1 -0
  104. package/es/anchor/index.d.ts +10 -0
  105. package/es/anchor/index.js +40 -0
  106. package/es/anchor/style/index.d.ts +16 -0
  107. package/es/anchor/style/index.js +35 -0
  108. package/es/app/context.d.ts +16 -0
  109. package/es/app/context.js +1 -0
  110. package/es/app/index.d.ts +16 -0
  111. package/es/app/index.js +77 -0
  112. package/es/app/style/index.d.ts +6 -0
  113. package/es/app/style/index.js +35 -0
  114. package/es/auto-complete/index.d.ts +28 -0
  115. package/es/auto-complete/index.js +78 -0
  116. package/es/avatar/AvatarContext.d.ts +9 -0
  117. package/es/avatar/AvatarContext.js +1 -0
  118. package/es/avatar/avatar.d.ts +26 -0
  119. package/es/avatar/avatar.js +41 -0
  120. package/es/avatar/group.d.ts +27 -0
  121. package/es/avatar/group.js +50 -0
  122. package/es/avatar/index.d.ts +10 -0
  123. package/es/avatar/index.js +49 -0
  124. package/es/avatar/style/index.d.ts +51 -0
  125. package/es/avatar/style/index.js +35 -0
  126. package/es/badge/Ribbon.d.ts +16 -0
  127. package/es/badge/Ribbon.js +40 -0
  128. package/es/badge/ScrollNumber.d.ts +18 -0
  129. package/es/badge/ScrollNumber.js +40 -0
  130. package/es/badge/SingleNumber.d.ts +14 -0
  131. package/es/badge/SingleNumber.js +1 -0
  132. package/es/badge/index.d.ts +41 -0
  133. package/es/badge/index.js +40 -0
  134. package/es/badge/style/index.d.ts +104 -0
  135. package/es/badge/style/index.js +35 -0
  136. package/es/badge/style/ribbon.d.ts +2 -0
  137. package/es/badge/style/ribbon.js +35 -0
  138. package/es/breadcrumb/Breadcrumb.d.ts +58 -0
  139. package/es/breadcrumb/Breadcrumb.js +87 -0
  140. package/es/breadcrumb/BreadcrumbItem.d.ts +31 -0
  141. package/es/breadcrumb/BreadcrumbItem.js +83 -0
  142. package/es/breadcrumb/BreadcrumbSeparator.d.ts +4 -0
  143. package/es/breadcrumb/BreadcrumbSeparator.js +40 -0
  144. package/es/breadcrumb/index.d.ts +4 -0
  145. package/es/breadcrumb/index.js +87 -0
  146. package/es/breadcrumb/style/index.d.ts +41 -0
  147. package/es/breadcrumb/style/index.js +38 -0
  148. package/es/breadcrumb/useItemRender.d.ts +8 -0
  149. package/es/breadcrumb/useItemRender.js +1 -0
  150. package/es/breadcrumb/useItems.d.ts +6 -0
  151. package/es/breadcrumb/useItems.js +1 -0
  152. package/es/button/IconWrapper.d.ts +9 -0
  153. package/es/button/IconWrapper.js +1 -0
  154. package/es/button/LoadingIcon.d.ts +11 -0
  155. package/es/button/LoadingIcon.js +1 -0
  156. package/es/button/button-group.d.ts +12 -0
  157. package/es/button/button-group.js +40 -0
  158. package/es/button/button.d.ts +44 -0
  159. package/es/button/button.js +48 -0
  160. package/es/button/buttonHelpers.d.ts +18 -0
  161. package/es/button/buttonHelpers.js +1 -0
  162. package/es/button/index.d.ts +6 -0
  163. package/es/button/index.js +48 -0
  164. package/es/button/style/compact.d.ts +2 -0
  165. package/es/button/style/compact.js +47 -0
  166. package/es/button/style/group.d.ts +4 -0
  167. package/es/button/style/group.js +1 -0
  168. package/es/button/style/index.d.ts +4 -0
  169. package/es/button/style/index.js +47 -0
  170. package/es/button/style/token.d.ts +233 -0
  171. package/es/button/style/token.js +47 -0
  172. package/es/calendar/Header.d.ts +17 -0
  173. package/es/calendar/Header.js +79 -0
  174. package/es/calendar/generateCalendar.d.ts +44 -0
  175. package/es/calendar/generateCalendar.js +118 -0
  176. package/es/calendar/index.d.ts +10 -0
  177. package/es/calendar/index.js +118 -0
  178. package/es/calendar/locale/ar_EG.d.ts +2 -0
  179. package/es/calendar/locale/ar_EG.js +1 -0
  180. package/es/calendar/locale/az_AZ.d.ts +2 -0
  181. package/es/calendar/locale/az_AZ.js +1 -0
  182. package/es/calendar/locale/bg_BG.d.ts +2 -0
  183. package/es/calendar/locale/bg_BG.js +1 -0
  184. package/es/calendar/locale/bn_BD.d.ts +2 -0
  185. package/es/calendar/locale/bn_BD.js +1 -0
  186. package/es/calendar/locale/by_BY.d.ts +2 -0
  187. package/es/calendar/locale/by_BY.js +1 -0
  188. package/es/calendar/locale/ca_ES.d.ts +2 -0
  189. package/es/calendar/locale/ca_ES.js +1 -0
  190. package/es/calendar/locale/cs_CZ.d.ts +2 -0
  191. package/es/calendar/locale/cs_CZ.js +1 -0
  192. package/es/calendar/locale/da_DK.d.ts +2 -0
  193. package/es/calendar/locale/da_DK.js +1 -0
  194. package/es/calendar/locale/de_DE.d.ts +2 -0
  195. package/es/calendar/locale/de_DE.js +1 -0
  196. package/es/calendar/locale/el_GR.d.ts +2 -0
  197. package/es/calendar/locale/el_GR.js +1 -0
  198. package/es/calendar/locale/en_GB.d.ts +2 -0
  199. package/es/calendar/locale/en_GB.js +1 -0
  200. package/es/calendar/locale/en_US.d.ts +2 -0
  201. package/es/calendar/locale/en_US.js +1 -0
  202. package/es/calendar/locale/es_ES.d.ts +2 -0
  203. package/es/calendar/locale/es_ES.js +1 -0
  204. package/es/calendar/locale/et_EE.d.ts +2 -0
  205. package/es/calendar/locale/et_EE.js +1 -0
  206. package/es/calendar/locale/eu_ES.d.ts +2 -0
  207. package/es/calendar/locale/eu_ES.js +1 -0
  208. package/es/calendar/locale/fa_IR.d.ts +2 -0
  209. package/es/calendar/locale/fa_IR.js +1 -0
  210. package/es/calendar/locale/fi_FI.d.ts +2 -0
  211. package/es/calendar/locale/fi_FI.js +1 -0
  212. package/es/calendar/locale/fr_BE.d.ts +2 -0
  213. package/es/calendar/locale/fr_BE.js +1 -0
  214. package/es/calendar/locale/fr_CA.d.ts +2 -0
  215. package/es/calendar/locale/fr_CA.js +1 -0
  216. package/es/calendar/locale/fr_FR.d.ts +2 -0
  217. package/es/calendar/locale/fr_FR.js +1 -0
  218. package/es/calendar/locale/ga_IE.d.ts +2 -0
  219. package/es/calendar/locale/ga_IE.js +1 -0
  220. package/es/calendar/locale/gl_ES.d.ts +2 -0
  221. package/es/calendar/locale/gl_ES.js +1 -0
  222. package/es/calendar/locale/he_IL.d.ts +2 -0
  223. package/es/calendar/locale/he_IL.js +1 -0
  224. package/es/calendar/locale/hi_IN.d.ts +2 -0
  225. package/es/calendar/locale/hi_IN.js +1 -0
  226. package/es/calendar/locale/hr_HR.d.ts +2 -0
  227. package/es/calendar/locale/hr_HR.js +1 -0
  228. package/es/calendar/locale/hu_HU.d.ts +2 -0
  229. package/es/calendar/locale/hu_HU.js +1 -0
  230. package/es/calendar/locale/id_ID.d.ts +2 -0
  231. package/es/calendar/locale/id_ID.js +1 -0
  232. package/es/calendar/locale/is_IS.d.ts +2 -0
  233. package/es/calendar/locale/is_IS.js +1 -0
  234. package/es/calendar/locale/it_IT.d.ts +2 -0
  235. package/es/calendar/locale/it_IT.js +1 -0
  236. package/es/calendar/locale/ja_JP.d.ts +2 -0
  237. package/es/calendar/locale/ja_JP.js +1 -0
  238. package/es/calendar/locale/ka_GE.d.ts +2 -0
  239. package/es/calendar/locale/ka_GE.js +1 -0
  240. package/es/calendar/locale/kk_KZ.d.ts +2 -0
  241. package/es/calendar/locale/kk_KZ.js +1 -0
  242. package/es/calendar/locale/km_KH.d.ts +2 -0
  243. package/es/calendar/locale/km_KH.js +1 -0
  244. package/es/calendar/locale/kmr_IQ.d.ts +2 -0
  245. package/es/calendar/locale/kmr_IQ.js +1 -0
  246. package/es/calendar/locale/kn_IN.d.ts +2 -0
  247. package/es/calendar/locale/kn_IN.js +1 -0
  248. package/es/calendar/locale/ko_KR.d.ts +2 -0
  249. package/es/calendar/locale/ko_KR.js +1 -0
  250. package/es/calendar/locale/lt_LT.d.ts +2 -0
  251. package/es/calendar/locale/lt_LT.js +1 -0
  252. package/es/calendar/locale/lv_LV.d.ts +2 -0
  253. package/es/calendar/locale/lv_LV.js +1 -0
  254. package/es/calendar/locale/mk_MK.d.ts +2 -0
  255. package/es/calendar/locale/mk_MK.js +1 -0
  256. package/es/calendar/locale/ml_IN.d.ts +2 -0
  257. package/es/calendar/locale/ml_IN.js +1 -0
  258. package/es/calendar/locale/mn_MN.d.ts +2 -0
  259. package/es/calendar/locale/mn_MN.js +1 -0
  260. package/es/calendar/locale/ms_MY.d.ts +2 -0
  261. package/es/calendar/locale/ms_MY.js +1 -0
  262. package/es/calendar/locale/my_MM.d.ts +2 -0
  263. package/es/calendar/locale/my_MM.js +1 -0
  264. package/es/calendar/locale/nb_NO.d.ts +2 -0
  265. package/es/calendar/locale/nb_NO.js +1 -0
  266. package/es/calendar/locale/nl_BE.d.ts +2 -0
  267. package/es/calendar/locale/nl_BE.js +1 -0
  268. package/es/calendar/locale/nl_NL.d.ts +2 -0
  269. package/es/calendar/locale/nl_NL.js +1 -0
  270. package/es/calendar/locale/pl_PL.d.ts +2 -0
  271. package/es/calendar/locale/pl_PL.js +1 -0
  272. package/es/calendar/locale/pt_BR.d.ts +2 -0
  273. package/es/calendar/locale/pt_BR.js +1 -0
  274. package/es/calendar/locale/pt_PT.d.ts +2 -0
  275. package/es/calendar/locale/pt_PT.js +1 -0
  276. package/es/calendar/locale/ro_RO.d.ts +2 -0
  277. package/es/calendar/locale/ro_RO.js +1 -0
  278. package/es/calendar/locale/ru_RU.d.ts +2 -0
  279. package/es/calendar/locale/ru_RU.js +1 -0
  280. package/es/calendar/locale/si_LK.d.ts +2 -0
  281. package/es/calendar/locale/si_LK.js +1 -0
  282. package/es/calendar/locale/sk_SK.d.ts +2 -0
  283. package/es/calendar/locale/sk_SK.js +1 -0
  284. package/es/calendar/locale/sl_SI.d.ts +2 -0
  285. package/es/calendar/locale/sl_SI.js +1 -0
  286. package/es/calendar/locale/sr_RS.d.ts +2 -0
  287. package/es/calendar/locale/sr_RS.js +1 -0
  288. package/es/calendar/locale/sv_SE.d.ts +2 -0
  289. package/es/calendar/locale/sv_SE.js +1 -0
  290. package/es/calendar/locale/ta_IN.d.ts +2 -0
  291. package/es/calendar/locale/ta_IN.js +1 -0
  292. package/es/calendar/locale/th_TH.d.ts +2 -0
  293. package/es/calendar/locale/th_TH.js +1 -0
  294. package/es/calendar/locale/tk_TK.d.ts +2 -0
  295. package/es/calendar/locale/tk_TK.js +1 -0
  296. package/es/calendar/locale/tr_TR.d.ts +2 -0
  297. package/es/calendar/locale/tr_TR.js +1 -0
  298. package/es/calendar/locale/uk_UA.d.ts +2 -0
  299. package/es/calendar/locale/uk_UA.js +1 -0
  300. package/es/calendar/locale/ur_PK.d.ts +2 -0
  301. package/es/calendar/locale/ur_PK.js +1 -0
  302. package/es/calendar/locale/uz_UZ.d.ts +2 -0
  303. package/es/calendar/locale/uz_UZ.js +1 -0
  304. package/es/calendar/locale/vi_VN.d.ts +2 -0
  305. package/es/calendar/locale/vi_VN.js +1 -0
  306. package/es/calendar/locale/zh_CN.d.ts +2 -0
  307. package/es/calendar/locale/zh_CN.js +1 -0
  308. package/es/calendar/locale/zh_TW.d.ts +2 -0
  309. package/es/calendar/locale/zh_TW.js +1 -0
  310. package/es/calendar/style/index.d.ts +61 -0
  311. package/es/calendar/style/index.js +86 -0
  312. package/es/card/Card.d.ts +56 -0
  313. package/es/card/Card.js +67 -0
  314. package/es/card/Grid.d.ts +9 -0
  315. package/es/card/Grid.js +40 -0
  316. package/es/card/Meta.d.ts +11 -0
  317. package/es/card/Meta.js +40 -0
  318. package/es/card/index.d.ts +13 -0
  319. package/es/card/index.js +67 -0
  320. package/es/card/style/index.d.ts +51 -0
  321. package/es/card/style/index.js +44 -0
  322. package/es/carousel/index.d.ts +27 -0
  323. package/es/carousel/index.js +40 -0
  324. package/es/carousel/style/index.d.ts +43 -0
  325. package/es/carousel/style/index.js +35 -0
  326. package/es/cascader/Panel.d.ts +12 -0
  327. package/es/cascader/Panel.js +49 -0
  328. package/es/cascader/hooks/useBase.d.ts +8 -0
  329. package/es/cascader/hooks/useBase.js +40 -0
  330. package/es/cascader/hooks/useCheckable.d.ts +2 -0
  331. package/es/cascader/hooks/useCheckable.js +1 -0
  332. package/es/cascader/hooks/useColumnIcons.d.ts +3 -0
  333. package/es/cascader/hooks/useColumnIcons.js +1 -0
  334. package/es/cascader/index.d.ts +55 -0
  335. package/es/cascader/index.js +87 -0
  336. package/es/cascader/style/columns.d.ts +4 -0
  337. package/es/cascader/style/columns.js +44 -0
  338. package/es/cascader/style/index.d.ts +51 -0
  339. package/es/cascader/style/index.js +44 -0
  340. package/es/cascader/style/panel.d.ts +2 -0
  341. package/es/cascader/style/panel.js +44 -0
  342. package/es/checkbox/Checkbox.d.ts +43 -0
  343. package/es/checkbox/Checkbox.js +46 -0
  344. package/es/checkbox/Group.d.ts +32 -0
  345. package/es/checkbox/Group.js +46 -0
  346. package/es/checkbox/GroupContext.d.ts +12 -0
  347. package/es/checkbox/GroupContext.js +1 -0
  348. package/es/checkbox/index.d.ts +11 -0
  349. package/es/checkbox/index.js +46 -0
  350. package/es/checkbox/style/index.d.ts +23 -0
  351. package/es/checkbox/style/index.js +41 -0
  352. package/es/checkbox/useBubbleLock.d.ts +7 -0
  353. package/es/checkbox/useBubbleLock.js +1 -0
  354. package/es/col/index.d.ts +4 -0
  355. package/es/col/index.js +40 -0
  356. package/es/col/style/index.d.ts +2 -0
  357. package/es/col/style/index.js +1 -0
  358. package/es/collapse/Collapse.d.ts +45 -0
  359. package/es/collapse/Collapse.js +47 -0
  360. package/es/collapse/CollapsePanel.d.ts +19 -0
  361. package/es/collapse/CollapsePanel.js +40 -0
  362. package/es/collapse/index.d.ts +4 -0
  363. package/es/collapse/index.js +47 -0
  364. package/es/collapse/style/index.d.ts +46 -0
  365. package/es/collapse/style/index.js +42 -0
  366. package/es/color-picker/ColorPicker.d.ts +8 -0
  367. package/es/color-picker/ColorPicker.js +130 -0
  368. package/es/color-picker/ColorPickerPanel.d.ts +9 -0
  369. package/es/color-picker/ColorPickerPanel.js +130 -0
  370. package/es/color-picker/color.d.ts +34 -0
  371. package/es/color-picker/color.js +1 -0
  372. package/es/color-picker/components/ColorAlphaInput.d.ts +9 -0
  373. package/es/color-picker/components/ColorAlphaInput.js +70 -0
  374. package/es/color-picker/components/ColorClear.d.ts +9 -0
  375. package/es/color-picker/components/ColorClear.js +1 -0
  376. package/es/color-picker/components/ColorHexInput.d.ts +9 -0
  377. package/es/color-picker/components/ColorHexInput.js +66 -0
  378. package/es/color-picker/components/ColorHsbInput.d.ts +9 -0
  379. package/es/color-picker/components/ColorHsbInput.js +70 -0
  380. package/es/color-picker/components/ColorInput.d.ts +14 -0
  381. package/es/color-picker/components/ColorInput.js +116 -0
  382. package/es/color-picker/components/ColorPresets.d.ts +12 -0
  383. package/es/color-picker/components/ColorPresets.js +47 -0
  384. package/es/color-picker/components/ColorRgbInput.d.ts +9 -0
  385. package/es/color-picker/components/ColorRgbInput.js +70 -0
  386. package/es/color-picker/components/ColorSlider.d.ts +20 -0
  387. package/es/color-picker/components/ColorSlider.js +61 -0
  388. package/es/color-picker/components/ColorSteppers.d.ts +15 -0
  389. package/es/color-picker/components/ColorSteppers.js +70 -0
  390. package/es/color-picker/components/ColorTrigger.d.ts +20 -0
  391. package/es/color-picker/components/ColorTrigger.js +1 -0
  392. package/es/color-picker/components/PanelPicker/GradientColorBar.d.ts +8 -0
  393. package/es/color-picker/components/PanelPicker/GradientColorBar.js +61 -0
  394. package/es/color-picker/components/PanelPicker/index.d.ts +3 -0
  395. package/es/color-picker/components/PanelPicker/index.js +130 -0
  396. package/es/color-picker/components/PanelPresets.d.ts +3 -0
  397. package/es/color-picker/components/PanelPresets.js +47 -0
  398. package/es/color-picker/context.d.ts +38 -0
  399. package/es/color-picker/context.js +1 -0
  400. package/es/color-picker/hooks/useModeColor.d.ts +17 -0
  401. package/es/color-picker/hooks/useModeColor.js +1 -0
  402. package/es/color-picker/index.d.ts +4 -0
  403. package/es/color-picker/index.js +130 -0
  404. package/es/color-picker/interface.d.ts +73 -0
  405. package/es/color-picker/interface.js +1 -0
  406. package/es/color-picker/style/color-block.d.ts +8 -0
  407. package/es/color-picker/style/color-block.js +1 -0
  408. package/es/color-picker/style/index.d.ts +62 -0
  409. package/es/color-picker/style/index.js +35 -0
  410. package/es/color-picker/style/input.d.ts +5 -0
  411. package/es/color-picker/style/input.js +1 -0
  412. package/es/color-picker/style/picker.d.ts +5 -0
  413. package/es/color-picker/style/picker.js +1 -0
  414. package/es/color-picker/style/presets.d.ts +5 -0
  415. package/es/color-picker/style/presets.js +1 -0
  416. package/es/color-picker/style/slider.d.ts +5 -0
  417. package/es/color-picker/style/slider.js +1 -0
  418. package/es/color-picker/util.d.ts +15 -0
  419. package/es/color-picker/util.js +1 -0
  420. package/es/config-provider/DisabledContext.d.ts +8 -0
  421. package/es/config-provider/DisabledContext.js +1 -0
  422. package/es/config-provider/MotionWrapper.d.ts +5 -0
  423. package/es/config-provider/MotionWrapper.js +35 -0
  424. package/es/config-provider/PropWarning.d.ts +6 -0
  425. package/es/config-provider/PropWarning.js +1 -0
  426. package/es/config-provider/SizeContext.d.ts +9 -0
  427. package/es/config-provider/SizeContext.js +1 -0
  428. package/es/config-provider/UnstableContext.d.ts +10 -0
  429. package/es/config-provider/UnstableContext.js +2 -0
  430. package/es/config-provider/context.d.ts +248 -0
  431. package/es/config-provider/context.js +1 -0
  432. package/es/config-provider/cssVariables.d.ts +3 -0
  433. package/es/config-provider/cssVariables.js +6 -0
  434. package/es/config-provider/defaultRenderEmpty.d.ts +8 -0
  435. package/es/config-provider/defaultRenderEmpty.js +41 -0
  436. package/es/config-provider/hooks/useCSSVarCls.d.ts +7 -0
  437. package/es/config-provider/hooks/useCSSVarCls.js +35 -0
  438. package/es/config-provider/hooks/useConfig.d.ts +5 -0
  439. package/es/config-provider/hooks/useConfig.js +1 -0
  440. package/es/config-provider/hooks/useSize.d.ts +3 -0
  441. package/es/config-provider/hooks/useSize.js +1 -0
  442. package/es/config-provider/hooks/useTheme.d.ts +4 -0
  443. package/es/config-provider/hooks/useTheme.js +35 -0
  444. package/es/config-provider/hooks/useThemeKey.d.ts +3 -0
  445. package/es/config-provider/hooks/useThemeKey.js +1 -0
  446. package/es/config-provider/index.d.ts +139 -0
  447. package/es/config-provider/index.js +40 -0
  448. package/es/config-provider/style/index.d.ts +1 -0
  449. package/es/config-provider/style/index.js +35 -0
  450. package/es/copy/index.d.ts +13 -0
  451. package/es/copy/index.js +1 -0
  452. package/es/date-picker/PickerButton.d.ts +4 -0
  453. package/es/date-picker/PickerButton.js +48 -0
  454. package/es/date-picker/generatePicker/constant.d.ts +5 -0
  455. package/es/date-picker/generatePicker/constant.js +1 -0
  456. package/es/date-picker/generatePicker/generateRangePicker.d.ts +17 -0
  457. package/es/date-picker/generatePicker/generateRangePicker.js +99 -0
  458. package/es/date-picker/generatePicker/generateSinglePicker.d.ts +25 -0
  459. package/es/date-picker/generatePicker/generateSinglePicker.js +99 -0
  460. package/es/date-picker/generatePicker/index.d.ts +36 -0
  461. package/es/date-picker/generatePicker/index.js +99 -0
  462. package/es/date-picker/generatePicker/interface.d.ts +72 -0
  463. package/es/date-picker/generatePicker/interface.js +0 -0
  464. package/es/date-picker/generatePicker/useComponents.d.ts +13 -0
  465. package/es/date-picker/generatePicker/useComponents.js +48 -0
  466. package/es/date-picker/index.d.ts +48 -0
  467. package/es/date-picker/index.js +99 -0
  468. package/es/date-picker/locale/ar_EG.d.ts +3 -0
  469. package/es/date-picker/locale/ar_EG.js +1 -0
  470. package/es/date-picker/locale/az_AZ.d.ts +3 -0
  471. package/es/date-picker/locale/az_AZ.js +1 -0
  472. package/es/date-picker/locale/bg_BG.d.ts +3 -0
  473. package/es/date-picker/locale/bg_BG.js +1 -0
  474. package/es/date-picker/locale/bn_BD.d.ts +3 -0
  475. package/es/date-picker/locale/bn_BD.js +1 -0
  476. package/es/date-picker/locale/by_BY.d.ts +3 -0
  477. package/es/date-picker/locale/by_BY.js +1 -0
  478. package/es/date-picker/locale/ca_ES.d.ts +3 -0
  479. package/es/date-picker/locale/ca_ES.js +1 -0
  480. package/es/date-picker/locale/cs_CZ.d.ts +3 -0
  481. package/es/date-picker/locale/cs_CZ.js +1 -0
  482. package/es/date-picker/locale/da_DK.d.ts +3 -0
  483. package/es/date-picker/locale/da_DK.js +1 -0
  484. package/es/date-picker/locale/de_DE.d.ts +3 -0
  485. package/es/date-picker/locale/de_DE.js +1 -0
  486. package/es/date-picker/locale/el_GR.d.ts +3 -0
  487. package/es/date-picker/locale/el_GR.js +1 -0
  488. package/es/date-picker/locale/en_GB.d.ts +3 -0
  489. package/es/date-picker/locale/en_GB.js +1 -0
  490. package/es/date-picker/locale/en_US.d.ts +3 -0
  491. package/es/date-picker/locale/en_US.js +1 -0
  492. package/es/date-picker/locale/es_ES.d.ts +3 -0
  493. package/es/date-picker/locale/es_ES.js +1 -0
  494. package/es/date-picker/locale/et_EE.d.ts +3 -0
  495. package/es/date-picker/locale/et_EE.js +1 -0
  496. package/es/date-picker/locale/eu_ES.d.ts +3 -0
  497. package/es/date-picker/locale/eu_ES.js +1 -0
  498. package/es/date-picker/locale/fa_IR.d.ts +3 -0
  499. package/es/date-picker/locale/fa_IR.js +1 -0
  500. package/es/date-picker/locale/fi_FI.d.ts +3 -0
  501. package/es/date-picker/locale/fi_FI.js +1 -0
  502. package/es/date-picker/locale/fr_BE.d.ts +3 -0
  503. package/es/date-picker/locale/fr_BE.js +1 -0
  504. package/es/date-picker/locale/fr_CA.d.ts +3 -0
  505. package/es/date-picker/locale/fr_CA.js +1 -0
  506. package/es/date-picker/locale/fr_FR.d.ts +3 -0
  507. package/es/date-picker/locale/fr_FR.js +1 -0
  508. package/es/date-picker/locale/ga_IE.d.ts +3 -0
  509. package/es/date-picker/locale/ga_IE.js +1 -0
  510. package/es/date-picker/locale/gl_ES.d.ts +3 -0
  511. package/es/date-picker/locale/gl_ES.js +1 -0
  512. package/es/date-picker/locale/he_IL.d.ts +3 -0
  513. package/es/date-picker/locale/he_IL.js +1 -0
  514. package/es/date-picker/locale/hi_IN.d.ts +3 -0
  515. package/es/date-picker/locale/hi_IN.js +1 -0
  516. package/es/date-picker/locale/hr_HR.d.ts +3 -0
  517. package/es/date-picker/locale/hr_HR.js +1 -0
  518. package/es/date-picker/locale/hu_HU.d.ts +3 -0
  519. package/es/date-picker/locale/hu_HU.js +1 -0
  520. package/es/date-picker/locale/id_ID.d.ts +3 -0
  521. package/es/date-picker/locale/id_ID.js +1 -0
  522. package/es/date-picker/locale/is_IS.d.ts +3 -0
  523. package/es/date-picker/locale/is_IS.js +1 -0
  524. package/es/date-picker/locale/it_IT.d.ts +3 -0
  525. package/es/date-picker/locale/it_IT.js +1 -0
  526. package/es/date-picker/locale/ja_JP.d.ts +3 -0
  527. package/es/date-picker/locale/ja_JP.js +1 -0
  528. package/es/date-picker/locale/ka_GE.d.ts +3 -0
  529. package/es/date-picker/locale/ka_GE.js +1 -0
  530. package/es/date-picker/locale/kk_KZ.d.ts +3 -0
  531. package/es/date-picker/locale/kk_KZ.js +1 -0
  532. package/es/date-picker/locale/km_KH.d.ts +3 -0
  533. package/es/date-picker/locale/km_KH.js +1 -0
  534. package/es/date-picker/locale/kmr_IQ.d.ts +3 -0
  535. package/es/date-picker/locale/kmr_IQ.js +1 -0
  536. package/es/date-picker/locale/kn_IN.d.ts +3 -0
  537. package/es/date-picker/locale/kn_IN.js +1 -0
  538. package/es/date-picker/locale/ko_KR.d.ts +3 -0
  539. package/es/date-picker/locale/ko_KR.js +1 -0
  540. package/es/date-picker/locale/lt_LT.d.ts +3 -0
  541. package/es/date-picker/locale/lt_LT.js +1 -0
  542. package/es/date-picker/locale/lv_LV.d.ts +3 -0
  543. package/es/date-picker/locale/lv_LV.js +1 -0
  544. package/es/date-picker/locale/mk_MK.d.ts +3 -0
  545. package/es/date-picker/locale/mk_MK.js +1 -0
  546. package/es/date-picker/locale/ml_IN.d.ts +3 -0
  547. package/es/date-picker/locale/ml_IN.js +1 -0
  548. package/es/date-picker/locale/mn_MN.d.ts +3 -0
  549. package/es/date-picker/locale/mn_MN.js +1 -0
  550. package/es/date-picker/locale/ms_MY.d.ts +3 -0
  551. package/es/date-picker/locale/ms_MY.js +1 -0
  552. package/es/date-picker/locale/my_MM.d.ts +3 -0
  553. package/es/date-picker/locale/my_MM.js +1 -0
  554. package/es/date-picker/locale/nb_NO.d.ts +3 -0
  555. package/es/date-picker/locale/nb_NO.js +1 -0
  556. package/es/date-picker/locale/nl_BE.d.ts +3 -0
  557. package/es/date-picker/locale/nl_BE.js +1 -0
  558. package/es/date-picker/locale/nl_NL.d.ts +3 -0
  559. package/es/date-picker/locale/nl_NL.js +1 -0
  560. package/es/date-picker/locale/pl_PL.d.ts +3 -0
  561. package/es/date-picker/locale/pl_PL.js +1 -0
  562. package/es/date-picker/locale/pt_BR.d.ts +3 -0
  563. package/es/date-picker/locale/pt_BR.js +1 -0
  564. package/es/date-picker/locale/pt_PT.d.ts +3 -0
  565. package/es/date-picker/locale/pt_PT.js +1 -0
  566. package/es/date-picker/locale/ro_RO.d.ts +3 -0
  567. package/es/date-picker/locale/ro_RO.js +1 -0
  568. package/es/date-picker/locale/ru_RU.d.ts +4 -0
  569. package/es/date-picker/locale/ru_RU.js +1 -0
  570. package/es/date-picker/locale/si_LK.d.ts +3 -0
  571. package/es/date-picker/locale/si_LK.js +1 -0
  572. package/es/date-picker/locale/sk_SK.d.ts +3 -0
  573. package/es/date-picker/locale/sk_SK.js +1 -0
  574. package/es/date-picker/locale/sl_SI.d.ts +3 -0
  575. package/es/date-picker/locale/sl_SI.js +1 -0
  576. package/es/date-picker/locale/sr_RS.d.ts +3 -0
  577. package/es/date-picker/locale/sr_RS.js +1 -0
  578. package/es/date-picker/locale/sv_SE.d.ts +3 -0
  579. package/es/date-picker/locale/sv_SE.js +1 -0
  580. package/es/date-picker/locale/ta_IN.d.ts +3 -0
  581. package/es/date-picker/locale/ta_IN.js +1 -0
  582. package/es/date-picker/locale/th_TH.d.ts +3 -0
  583. package/es/date-picker/locale/th_TH.js +1 -0
  584. package/es/date-picker/locale/tk_TK.d.ts +3 -0
  585. package/es/date-picker/locale/tk_TK.js +1 -0
  586. package/es/date-picker/locale/tr_TR.d.ts +3 -0
  587. package/es/date-picker/locale/tr_TR.js +1 -0
  588. package/es/date-picker/locale/uk_UA.d.ts +3 -0
  589. package/es/date-picker/locale/uk_UA.js +1 -0
  590. package/es/date-picker/locale/ur_PK.d.ts +3 -0
  591. package/es/date-picker/locale/ur_PK.js +1 -0
  592. package/es/date-picker/locale/uz_UZ.d.ts +3 -0
  593. package/es/date-picker/locale/uz_UZ.js +1 -0
  594. package/es/date-picker/locale/vi_VN.d.ts +3 -0
  595. package/es/date-picker/locale/vi_VN.js +1 -0
  596. package/es/date-picker/locale/zh_CN.d.ts +3 -0
  597. package/es/date-picker/locale/zh_CN.js +1 -0
  598. package/es/date-picker/locale/zh_TW.d.ts +3 -0
  599. package/es/date-picker/locale/zh_TW.js +1 -0
  600. package/es/date-picker/style/index.d.ts +7 -0
  601. package/es/date-picker/style/index.js +86 -0
  602. package/es/date-picker/style/multiple.d.ts +4 -0
  603. package/es/date-picker/style/multiple.js +35 -0
  604. package/es/date-picker/style/panel.d.ts +6 -0
  605. package/es/date-picker/style/panel.js +12 -0
  606. package/es/date-picker/style/token.d.ts +103 -0
  607. package/es/date-picker/style/token.js +35 -0
  608. package/es/date-picker/style/variants.d.ts +4 -0
  609. package/es/date-picker/style/variants.js +35 -0
  610. package/es/date-picker/util.d.ts +8 -0
  611. package/es/date-picker/util.js +1 -0
  612. package/es/descriptions/Cell.d.ts +17 -0
  613. package/es/descriptions/Cell.js +1 -0
  614. package/es/descriptions/DescriptionsContext.d.ts +7 -0
  615. package/es/descriptions/DescriptionsContext.js +1 -0
  616. package/es/descriptions/Item.d.ts +13 -0
  617. package/es/descriptions/Item.js +1 -0
  618. package/es/descriptions/Row.d.ts +13 -0
  619. package/es/descriptions/Row.js +1 -0
  620. package/es/descriptions/constant.d.ts +3 -0
  621. package/es/descriptions/constant.js +1 -0
  622. package/es/descriptions/hooks/useItems.d.ts +4 -0
  623. package/es/descriptions/hooks/useItems.js +35 -0
  624. package/es/descriptions/hooks/useRow.d.ts +3 -0
  625. package/es/descriptions/hooks/useRow.js +1 -0
  626. package/es/descriptions/index.d.ts +42 -0
  627. package/es/descriptions/index.js +40 -0
  628. package/es/descriptions/style/index.d.ts +52 -0
  629. package/es/descriptions/style/index.js +35 -0
  630. package/es/divider/index.d.ts +20 -0
  631. package/es/divider/index.js +40 -0
  632. package/es/divider/style/index.d.ts +23 -0
  633. package/es/divider/style/index.js +35 -0
  634. package/es/drag/SortableBoard.d.ts +4 -0
  635. package/es/drag/SortableBoard.js +1 -0
  636. package/es/drag/SortableBoardProvider.d.ts +14 -0
  637. package/es/drag/SortableBoardProvider.js +1 -0
  638. package/es/drag/SortableList.d.ts +8 -0
  639. package/es/drag/SortableList.js +1 -0
  640. package/es/drag/SortableZone.d.ts +7 -0
  641. package/es/drag/SortableZone.js +1 -0
  642. package/es/drag/SortableZoneShared.d.ts +36 -0
  643. package/es/drag/SortableZoneShared.js +1 -0
  644. package/es/drag/index.d.ts +12 -0
  645. package/es/drag/index.js +1 -0
  646. package/es/drag/type.d.ts +362 -0
  647. package/es/drag/type.js +0 -0
  648. package/es/drawer/DrawerPanel.d.ts +49 -0
  649. package/es/drawer/DrawerPanel.js +55 -0
  650. package/es/drawer/index.d.ts +34 -0
  651. package/es/drawer/index.js +55 -0
  652. package/es/drawer/style/index.d.ts +23 -0
  653. package/es/drawer/style/index.js +35 -0
  654. package/es/drawer/style/motion.d.ts +4 -0
  655. package/es/drawer/style/motion.js +1 -0
  656. package/es/dropdown/dropdown-button.d.ts +21 -0
  657. package/es/dropdown/dropdown-button.js +88 -0
  658. package/es/dropdown/dropdown.d.ts +50 -0
  659. package/es/dropdown/dropdown.js +83 -0
  660. package/es/dropdown/index.d.ts +8 -0
  661. package/es/dropdown/index.js +89 -0
  662. package/es/dropdown/style/index.d.ts +40 -0
  663. package/es/dropdown/style/index.js +64 -0
  664. package/es/dropdown/style/status.d.ts +4 -0
  665. package/es/dropdown/style/status.js +1 -0
  666. package/es/empty/empty.d.ts +3 -0
  667. package/es/empty/empty.js +36 -0
  668. package/es/empty/index.d.ts +21 -0
  669. package/es/empty/index.js +41 -0
  670. package/es/empty/simple.d.ts +3 -0
  671. package/es/empty/simple.js +36 -0
  672. package/es/empty/style/index.d.ts +5 -0
  673. package/es/empty/style/index.js +35 -0
  674. package/es/flex/index.d.ts +4 -0
  675. package/es/flex/index.js +40 -0
  676. package/es/flex/interface.d.ts +15 -0
  677. package/es/flex/interface.js +0 -0
  678. package/es/flex/style/index.d.ts +30 -0
  679. package/es/flex/style/index.js +35 -0
  680. package/es/flex/utils.d.ts +6 -0
  681. package/es/flex/utils.js +1 -0
  682. package/es/form/ErrorList.d.ts +13 -0
  683. package/es/form/ErrorList.js +50 -0
  684. package/es/form/Form.d.ts +43 -0
  685. package/es/form/Form.js +50 -0
  686. package/es/form/FormItem/ItemHolder.d.ts +18 -0
  687. package/es/form/FormItem/ItemHolder.js +59 -0
  688. package/es/form/FormItem/StatusProvider.d.ts +16 -0
  689. package/es/form/FormItem/StatusProvider.js +1 -0
  690. package/es/form/FormItem/index.d.ts +46 -0
  691. package/es/form/FormItem/index.js +60 -0
  692. package/es/form/FormItemInput.d.ts +22 -0
  693. package/es/form/FormItemInput.js +50 -0
  694. package/es/form/FormItemLabel.d.ts +22 -0
  695. package/es/form/FormItemLabel.js +49 -0
  696. package/es/form/FormList.d.ts +25 -0
  697. package/es/form/FormList.js +40 -0
  698. package/es/form/context.d.ts +52 -0
  699. package/es/form/context.js +1 -0
  700. package/es/form/hooks/useChildren.d.ts +2 -0
  701. package/es/form/hooks/useChildren.js +1 -0
  702. package/es/form/hooks/useDebounce.d.ts +1 -0
  703. package/es/form/hooks/useDebounce.js +1 -0
  704. package/es/form/hooks/useForm.d.ts +8 -0
  705. package/es/form/hooks/useForm.js +1 -0
  706. package/es/form/hooks/useFormInstance.d.ts +2 -0
  707. package/es/form/hooks/useFormInstance.js +1 -0
  708. package/es/form/hooks/useFormItemStatus.d.ts +9 -0
  709. package/es/form/hooks/useFormItemStatus.js +2 -0
  710. package/es/form/hooks/useFormWarning.d.ts +2 -0
  711. package/es/form/hooks/useFormWarning.js +1 -0
  712. package/es/form/hooks/useFrameState.d.ts +3 -0
  713. package/es/form/hooks/useFrameState.js +1 -0
  714. package/es/form/hooks/useItemRef.d.ts +3 -0
  715. package/es/form/hooks/useItemRef.js +1 -0
  716. package/es/form/hooks/useVariants.d.ts +7 -0
  717. package/es/form/hooks/useVariants.js +40 -0
  718. package/es/form/index.d.ts +26 -0
  719. package/es/form/index.js +60 -0
  720. package/es/form/interface.d.ts +3 -0
  721. package/es/form/interface.js +0 -0
  722. package/es/form/style/explain.d.ts +4 -0
  723. package/es/form/style/explain.js +3 -0
  724. package/es/form/style/fallbackCmp.d.ts +6 -0
  725. package/es/form/style/fallbackCmp.js +45 -0
  726. package/es/form/style/index.d.ts +74 -0
  727. package/es/form/style/index.js +45 -0
  728. package/es/form/util.d.ts +9 -0
  729. package/es/form/util.js +1 -0
  730. package/es/form/validateMessagesContext.d.ts +3 -0
  731. package/es/form/validateMessagesContext.js +1 -0
  732. package/es/form-area/ValidateTooltip.d.ts +12 -0
  733. package/es/form-area/ValidateTooltip.js +353 -0
  734. package/es/form-area/index.d.ts +4 -0
  735. package/es/form-area/index.js +353 -0
  736. package/es/form-area/renderItemMap.d.ts +45 -0
  737. package/es/form-area/renderItemMap.js +353 -0
  738. package/es/form-area/type.d.ts +158 -0
  739. package/es/form-area/type.js +0 -0
  740. package/es/grid/RowContext.d.ts +6 -0
  741. package/es/grid/RowContext.js +1 -0
  742. package/es/grid/col.d.ts +29 -0
  743. package/es/grid/col.js +40 -0
  744. package/es/grid/hooks/useBreakpoint.d.ts +3 -0
  745. package/es/grid/hooks/useBreakpoint.js +35 -0
  746. package/es/grid/index.d.ts +10 -0
  747. package/es/grid/index.js +40 -0
  748. package/es/grid/row.d.ts +20 -0
  749. package/es/grid/row.js +40 -0
  750. package/es/grid/style/index.d.ts +7 -0
  751. package/es/grid/style/index.js +35 -0
  752. package/es/hooks/index.d.ts +5 -0
  753. package/es/hooks/index.js +353 -0
  754. package/es/hooks/useDrawer.d.ts +10 -0
  755. package/es/hooks/useDrawer.js +1 -0
  756. package/es/hooks/useForm.d.ts +33 -0
  757. package/es/hooks/useForm.js +353 -0
  758. package/es/hooks/useModal.d.ts +10 -0
  759. package/es/hooks/useModal.js +1 -0
  760. package/es/hooks/useParsedHash.d.ts +9 -0
  761. package/es/hooks/useParsedHash.js +1 -0
  762. package/es/hooks/useUrlState.d.ts +9 -0
  763. package/es/hooks/useUrlState.js +1 -0
  764. package/es/icon/index.d.ts +2 -0
  765. package/es/icon/index.js +1 -0
  766. package/es/image/PreviewGroup.d.ts +15 -0
  767. package/es/image/PreviewGroup.js +54 -0
  768. package/es/image/index.d.ts +9 -0
  769. package/es/image/index.js +54 -0
  770. package/es/image/style/index.d.ts +59 -0
  771. package/es/image/style/index.js +49 -0
  772. package/es/index.d.ts +150 -0
  773. package/es/index.js +353 -0
  774. package/es/input/Group.d.ts +15 -0
  775. package/es/input/Group.js +58 -0
  776. package/es/input/Input.d.ts +25 -0
  777. package/es/input/Input.js +59 -0
  778. package/es/input/OTP/OTPInput.d.ts +11 -0
  779. package/es/input/OTP/OTPInput.js +59 -0
  780. package/es/input/OTP/index.d.ts +29 -0
  781. package/es/input/OTP/index.js +59 -0
  782. package/es/input/Password.d.ts +14 -0
  783. package/es/input/Password.js +59 -0
  784. package/es/input/Search.d.ts +12 -0
  785. package/es/input/Search.js +66 -0
  786. package/es/input/TextArea.d.ts +25 -0
  787. package/es/input/TextArea.js +59 -0
  788. package/es/input/hooks/useRemovePasswordTimeout.d.ts +2 -0
  789. package/es/input/hooks/useRemovePasswordTimeout.js +1 -0
  790. package/es/input/index.d.ts +20 -0
  791. package/es/input/index.js +66 -0
  792. package/es/input/style/index.d.ts +17 -0
  793. package/es/input/style/index.js +53 -0
  794. package/es/input/style/otp.d.ts +2 -0
  795. package/es/input/style/otp.js +35 -0
  796. package/es/input/style/token.d.ts +97 -0
  797. package/es/input/style/token.js +35 -0
  798. package/es/input/style/variants.d.ts +15 -0
  799. package/es/input/style/variants.js +35 -0
  800. package/es/input/utils.d.ts +8 -0
  801. package/es/input/utils.js +1 -0
  802. package/es/input-number/index.d.ts +34 -0
  803. package/es/input-number/index.js +70 -0
  804. package/es/input-number/style/index.d.ts +18 -0
  805. package/es/input-number/style/index.js +65 -0
  806. package/es/input-number/style/token.d.ts +52 -0
  807. package/es/input-number/style/token.js +35 -0
  808. package/es/layout/Sider.d.ts +28 -0
  809. package/es/layout/Sider.js +40 -0
  810. package/es/layout/context.d.ts +8 -0
  811. package/es/layout/context.js +1 -0
  812. package/es/layout/hooks/useHasSider.d.ts +2 -0
  813. package/es/layout/hooks/useHasSider.js +40 -0
  814. package/es/layout/index.d.ts +15 -0
  815. package/es/layout/index.js +40 -0
  816. package/es/layout/layout.d.ts +18 -0
  817. package/es/layout/layout.js +40 -0
  818. package/es/layout/style/index.d.ts +96 -0
  819. package/es/layout/style/index.js +35 -0
  820. package/es/layout/style/sider.d.ts +2 -0
  821. package/es/layout/style/sider.js +35 -0
  822. package/es/list/Item.d.ts +35 -0
  823. package/es/list/Item.js +40 -0
  824. package/es/list/context.d.ts +8 -0
  825. package/es/list/context.js +1 -0
  826. package/es/list/index.d.ts +56 -0
  827. package/es/list/index.js +111 -0
  828. package/es/list/style/index.d.ts +62 -0
  829. package/es/list/style/index.js +35 -0
  830. package/es/locale/ar_EG.d.ts +3 -0
  831. package/es/locale/ar_EG.js +1 -0
  832. package/es/locale/az_AZ.d.ts +3 -0
  833. package/es/locale/az_AZ.js +1 -0
  834. package/es/locale/bg_BG.d.ts +3 -0
  835. package/es/locale/bg_BG.js +1 -0
  836. package/es/locale/bn_BD.d.ts +3 -0
  837. package/es/locale/bn_BD.js +1 -0
  838. package/es/locale/by_BY.d.ts +3 -0
  839. package/es/locale/by_BY.js +1 -0
  840. package/es/locale/ca_ES.d.ts +3 -0
  841. package/es/locale/ca_ES.js +1 -0
  842. package/es/locale/context.d.ts +6 -0
  843. package/es/locale/context.js +1 -0
  844. package/es/locale/cs_CZ.d.ts +3 -0
  845. package/es/locale/cs_CZ.js +1 -0
  846. package/es/locale/da_DK.d.ts +3 -0
  847. package/es/locale/da_DK.js +1 -0
  848. package/es/locale/de_DE.d.ts +3 -0
  849. package/es/locale/de_DE.js +1 -0
  850. package/es/locale/el_GR.d.ts +3 -0
  851. package/es/locale/el_GR.js +1 -0
  852. package/es/locale/en_GB.d.ts +3 -0
  853. package/es/locale/en_GB.js +1 -0
  854. package/es/locale/en_US.d.ts +3 -0
  855. package/es/locale/en_US.js +1 -0
  856. package/es/locale/es_ES.d.ts +3 -0
  857. package/es/locale/es_ES.js +1 -0
  858. package/es/locale/et_EE.d.ts +3 -0
  859. package/es/locale/et_EE.js +1 -0
  860. package/es/locale/eu_ES.d.ts +3 -0
  861. package/es/locale/eu_ES.js +1 -0
  862. package/es/locale/fa_IR.d.ts +3 -0
  863. package/es/locale/fa_IR.js +1 -0
  864. package/es/locale/fi_FI.d.ts +3 -0
  865. package/es/locale/fi_FI.js +1 -0
  866. package/es/locale/fr_BE.d.ts +3 -0
  867. package/es/locale/fr_BE.js +1 -0
  868. package/es/locale/fr_CA.d.ts +3 -0
  869. package/es/locale/fr_CA.js +1 -0
  870. package/es/locale/fr_FR.d.ts +3 -0
  871. package/es/locale/fr_FR.js +1 -0
  872. package/es/locale/ga_IE.d.ts +3 -0
  873. package/es/locale/ga_IE.js +1 -0
  874. package/es/locale/gl_ES.d.ts +3 -0
  875. package/es/locale/gl_ES.js +1 -0
  876. package/es/locale/he_IL.d.ts +3 -0
  877. package/es/locale/he_IL.js +1 -0
  878. package/es/locale/hi_IN.d.ts +3 -0
  879. package/es/locale/hi_IN.js +1 -0
  880. package/es/locale/hr_HR.d.ts +3 -0
  881. package/es/locale/hr_HR.js +1 -0
  882. package/es/locale/hu_HU.d.ts +3 -0
  883. package/es/locale/hu_HU.js +1 -0
  884. package/es/locale/hy_AM.d.ts +3 -0
  885. package/es/locale/hy_AM.js +2 -0
  886. package/es/locale/id_ID.d.ts +3 -0
  887. package/es/locale/id_ID.js +1 -0
  888. package/es/locale/index.d.ts +61 -0
  889. package/es/locale/index.js +2 -0
  890. package/es/locale/is_IS.d.ts +3 -0
  891. package/es/locale/is_IS.js +1 -0
  892. package/es/locale/it_IT.d.ts +3 -0
  893. package/es/locale/it_IT.js +1 -0
  894. package/es/locale/ja_JP.d.ts +3 -0
  895. package/es/locale/ja_JP.js +1 -0
  896. package/es/locale/ka_GE.d.ts +3 -0
  897. package/es/locale/ka_GE.js +1 -0
  898. package/es/locale/kk_KZ.d.ts +3 -0
  899. package/es/locale/kk_KZ.js +1 -0
  900. package/es/locale/km_KH.d.ts +3 -0
  901. package/es/locale/km_KH.js +1 -0
  902. package/es/locale/kmr_IQ.d.ts +3 -0
  903. package/es/locale/kmr_IQ.js +1 -0
  904. package/es/locale/kn_IN.d.ts +3 -0
  905. package/es/locale/kn_IN.js +1 -0
  906. package/es/locale/ko_KR.d.ts +3 -0
  907. package/es/locale/ko_KR.js +1 -0
  908. package/es/locale/ku_IQ.d.ts +3 -0
  909. package/es/locale/ku_IQ.js +1 -0
  910. package/es/locale/lt_LT.d.ts +3 -0
  911. package/es/locale/lt_LT.js +1 -0
  912. package/es/locale/lv_LV.d.ts +3 -0
  913. package/es/locale/lv_LV.js +1 -0
  914. package/es/locale/mk_MK.d.ts +3 -0
  915. package/es/locale/mk_MK.js +1 -0
  916. package/es/locale/ml_IN.d.ts +3 -0
  917. package/es/locale/ml_IN.js +1 -0
  918. package/es/locale/mn_MN.d.ts +3 -0
  919. package/es/locale/mn_MN.js +1 -0
  920. package/es/locale/ms_MY.d.ts +3 -0
  921. package/es/locale/ms_MY.js +1 -0
  922. package/es/locale/my_MM.d.ts +3 -0
  923. package/es/locale/my_MM.js +1 -0
  924. package/es/locale/nb_NO.d.ts +3 -0
  925. package/es/locale/nb_NO.js +1 -0
  926. package/es/locale/ne_NP.d.ts +3 -0
  927. package/es/locale/ne_NP.js +1 -0
  928. package/es/locale/nl_BE.d.ts +3 -0
  929. package/es/locale/nl_BE.js +1 -0
  930. package/es/locale/nl_NL.d.ts +3 -0
  931. package/es/locale/nl_NL.js +1 -0
  932. package/es/locale/pl_PL.d.ts +3 -0
  933. package/es/locale/pl_PL.js +1 -0
  934. package/es/locale/pt_BR.d.ts +3 -0
  935. package/es/locale/pt_BR.js +1 -0
  936. package/es/locale/pt_PT.d.ts +3 -0
  937. package/es/locale/pt_PT.js +1 -0
  938. package/es/locale/ro_RO.d.ts +3 -0
  939. package/es/locale/ro_RO.js +1 -0
  940. package/es/locale/ru_RU.d.ts +3 -0
  941. package/es/locale/ru_RU.js +1 -0
  942. package/es/locale/si_LK.d.ts +3 -0
  943. package/es/locale/si_LK.js +1 -0
  944. package/es/locale/sk_SK.d.ts +3 -0
  945. package/es/locale/sk_SK.js +1 -0
  946. package/es/locale/sl_SI.d.ts +3 -0
  947. package/es/locale/sl_SI.js +1 -0
  948. package/es/locale/sr_RS.d.ts +3 -0
  949. package/es/locale/sr_RS.js +1 -0
  950. package/es/locale/sv_SE.d.ts +3 -0
  951. package/es/locale/sv_SE.js +1 -0
  952. package/es/locale/ta_IN.d.ts +3 -0
  953. package/es/locale/ta_IN.js +1 -0
  954. package/es/locale/th_TH.d.ts +3 -0
  955. package/es/locale/th_TH.js +1 -0
  956. package/es/locale/tk_TK.d.ts +3 -0
  957. package/es/locale/tk_TK.js +1 -0
  958. package/es/locale/tr_TR.d.ts +3 -0
  959. package/es/locale/tr_TR.js +1 -0
  960. package/es/locale/uk_UA.d.ts +3 -0
  961. package/es/locale/uk_UA.js +1 -0
  962. package/es/locale/ur_PK.d.ts +3 -0
  963. package/es/locale/ur_PK.js +1 -0
  964. package/es/locale/useLocale.d.ts +4 -0
  965. package/es/locale/useLocale.js +1 -0
  966. package/es/locale/uz_UZ.d.ts +3 -0
  967. package/es/locale/uz_UZ.js +1 -0
  968. package/es/locale/vi_VN.d.ts +3 -0
  969. package/es/locale/vi_VN.js +1 -0
  970. package/es/locale/zh_CN.d.ts +3 -0
  971. package/es/locale/zh_CN.js +1 -0
  972. package/es/locale/zh_HK.d.ts +3 -0
  973. package/es/locale/zh_HK.js +1 -0
  974. package/es/locale/zh_TW.d.ts +3 -0
  975. package/es/locale/zh_TW.js +1 -0
  976. package/es/mentions/index.d.ts +45 -0
  977. package/es/mentions/index.js +58 -0
  978. package/es/mentions/style/index.d.ts +22 -0
  979. package/es/mentions/style/index.js +53 -0
  980. package/es/menu/MenuContext.d.ts +11 -0
  981. package/es/menu/MenuContext.js +1 -0
  982. package/es/menu/MenuDivider.d.ts +9 -0
  983. package/es/menu/MenuDivider.js +40 -0
  984. package/es/menu/MenuItem.d.ts +13 -0
  985. package/es/menu/MenuItem.js +49 -0
  986. package/es/menu/OverrideContext.d.ts +13 -0
  987. package/es/menu/OverrideContext.js +40 -0
  988. package/es/menu/SubMenu.d.ts +13 -0
  989. package/es/menu/SubMenu.js +35 -0
  990. package/es/menu/index.d.ts +32 -0
  991. package/es/menu/index.js +66 -0
  992. package/es/menu/interface.d.ts +20 -0
  993. package/es/menu/interface.js +0 -0
  994. package/es/menu/menu.d.ts +19 -0
  995. package/es/menu/menu.js +66 -0
  996. package/es/menu/style/horizontal.d.ts +4 -0
  997. package/es/menu/style/horizontal.js +3 -0
  998. package/es/menu/style/index.d.ts +354 -0
  999. package/es/menu/style/index.js +61 -0
  1000. package/es/menu/style/rtl.d.ts +5 -0
  1001. package/es/menu/style/rtl.js +2 -0
  1002. package/es/menu/style/theme.d.ts +4 -0
  1003. package/es/menu/style/theme.js +1 -0
  1004. package/es/menu/style/vertical.d.ts +4 -0
  1005. package/es/menu/style/vertical.js +9 -0
  1006. package/es/message/PurePanel.d.ts +23 -0
  1007. package/es/message/PurePanel.js +47 -0
  1008. package/es/message/index.d.ts +23 -0
  1009. package/es/message/index.js +47 -0
  1010. package/es/message/interface.d.ts +66 -0
  1011. package/es/message/interface.js +0 -0
  1012. package/es/message/style/index.d.ts +23 -0
  1013. package/es/message/style/index.js +42 -0
  1014. package/es/message/useMessage.d.ts +8 -0
  1015. package/es/message/useMessage.js +47 -0
  1016. package/es/message/util.d.ts +4 -0
  1017. package/es/message/util.js +1 -0
  1018. package/es/modal/ConfirmDialog.d.ts +32 -0
  1019. package/es/modal/ConfirmDialog.js +70 -0
  1020. package/es/modal/Modal.d.ts +4 -0
  1021. package/es/modal/Modal.js +68 -0
  1022. package/es/modal/PurePanel.d.ts +9 -0
  1023. package/es/modal/PurePanel.js +70 -0
  1024. package/es/modal/components/ConfirmCancelBtn.d.ts +10 -0
  1025. package/es/modal/components/ConfirmCancelBtn.js +48 -0
  1026. package/es/modal/components/ConfirmOkBtn.d.ts +9 -0
  1027. package/es/modal/components/ConfirmOkBtn.js +48 -0
  1028. package/es/modal/components/NormalCancelBtn.d.ts +8 -0
  1029. package/es/modal/components/NormalCancelBtn.js +48 -0
  1030. package/es/modal/components/NormalOkBtn.d.ts +8 -0
  1031. package/es/modal/components/NormalOkBtn.js +48 -0
  1032. package/es/modal/confirm.d.ts +20 -0
  1033. package/es/modal/confirm.js +70 -0
  1034. package/es/modal/context.d.ts +8 -0
  1035. package/es/modal/context.js +1 -0
  1036. package/es/modal/destroyFns.d.ts +2 -0
  1037. package/es/modal/destroyFns.js +1 -0
  1038. package/es/modal/index.d.ts +15 -0
  1039. package/es/modal/index.js +70 -0
  1040. package/es/modal/interface.d.ts +123 -0
  1041. package/es/modal/interface.js +0 -0
  1042. package/es/modal/locale.d.ts +7 -0
  1043. package/es/modal/locale.js +1 -0
  1044. package/es/modal/shared.d.ts +9 -0
  1045. package/es/modal/shared.js +48 -0
  1046. package/es/modal/style/confirm.d.ts +2 -0
  1047. package/es/modal/style/confirm.js +50 -0
  1048. package/es/modal/style/index.d.ts +110 -0
  1049. package/es/modal/style/index.js +49 -0
  1050. package/es/modal/useModal/HookModal.d.ts +17 -0
  1051. package/es/modal/useModal/HookModal.js +70 -0
  1052. package/es/modal/useModal/index.d.ts +8 -0
  1053. package/es/modal/useModal/index.js +70 -0
  1054. package/es/notification/PurePanel.d.ts +27 -0
  1055. package/es/notification/PurePanel.js +40 -0
  1056. package/es/notification/index.d.ts +22 -0
  1057. package/es/notification/index.js +41 -0
  1058. package/es/notification/interface.d.ts +68 -0
  1059. package/es/notification/interface.js +1 -0
  1060. package/es/notification/style/index.d.ts +89 -0
  1061. package/es/notification/style/index.js +35 -0
  1062. package/es/notification/style/placement.d.ts +5 -0
  1063. package/es/notification/style/placement.js +1 -0
  1064. package/es/notification/style/pure-panel.d.ts +2 -0
  1065. package/es/notification/style/pure-panel.js +35 -0
  1066. package/es/notification/style/stack.d.ts +4 -0
  1067. package/es/notification/style/stack.js +1 -0
  1068. package/es/notification/useNotification.d.ts +8 -0
  1069. package/es/notification/useNotification.js +40 -0
  1070. package/es/notification/util.d.ts +5 -0
  1071. package/es/notification/util.js +1 -0
  1072. package/es/pagination/Pagination.d.ts +25 -0
  1073. package/es/pagination/Pagination.js +111 -0
  1074. package/es/pagination/index.d.ts +3 -0
  1075. package/es/pagination/index.js +111 -0
  1076. package/es/pagination/style/bordered.d.ts +2 -0
  1077. package/es/pagination/style/bordered.js +68 -0
  1078. package/es/pagination/style/index.d.ts +99 -0
  1079. package/es/pagination/style/index.js +68 -0
  1080. package/es/pagination/useShowSizeChanger.d.ts +3 -0
  1081. package/es/pagination/useShowSizeChanger.js +1 -0
  1082. package/es/popconfirm/PurePanel.d.ts +20 -0
  1083. package/es/popconfirm/PurePanel.js +57 -0
  1084. package/es/popconfirm/index.d.ts +30 -0
  1085. package/es/popconfirm/index.js +57 -0
  1086. package/es/popconfirm/style/index.d.ts +17 -0
  1087. package/es/popconfirm/style/index.js +35 -0
  1088. package/es/popover/PurePanel.d.ts +17 -0
  1089. package/es/popover/PurePanel.js +49 -0
  1090. package/es/popover/index.d.ts +15 -0
  1091. package/es/popover/index.js +49 -0
  1092. package/es/popover/style/index.d.ts +46 -0
  1093. package/es/popover/style/index.js +44 -0
  1094. package/es/progress/Circle.d.ts +10 -0
  1095. package/es/progress/Circle.js +49 -0
  1096. package/es/progress/Line.d.ts +36 -0
  1097. package/es/progress/Line.js +35 -0
  1098. package/es/progress/Steps.d.ts +9 -0
  1099. package/es/progress/Steps.js +1 -0
  1100. package/es/progress/index.d.ts +3 -0
  1101. package/es/progress/index.js +49 -0
  1102. package/es/progress/progress.d.ts +58 -0
  1103. package/es/progress/progress.js +49 -0
  1104. package/es/progress/style/index.d.ts +38 -0
  1105. package/es/progress/style/index.js +35 -0
  1106. package/es/progress/utils.d.ts +10 -0
  1107. package/es/progress/utils.js +1 -0
  1108. package/es/qr-code/QrcodeStatus.d.ts +11 -0
  1109. package/es/qr-code/QrcodeStatus.js +48 -0
  1110. package/es/qr-code/index.d.ts +4 -0
  1111. package/es/qr-code/index.js +48 -0
  1112. package/es/qr-code/interface.d.ts +29 -0
  1113. package/es/qr-code/interface.js +0 -0
  1114. package/es/qr-code/style/index.d.ts +6 -0
  1115. package/es/qr-code/style/index.js +35 -0
  1116. package/es/qrcode/index.d.ts +2 -0
  1117. package/es/qrcode/index.js +48 -0
  1118. package/es/qrcode/interface.d.ts +1 -0
  1119. package/es/qrcode/interface.js +0 -0
  1120. package/es/qrcode/style/index.d.ts +1 -0
  1121. package/es/qrcode/style/index.js +35 -0
  1122. package/es/radio/context.d.ts +7 -0
  1123. package/es/radio/context.js +1 -0
  1124. package/es/radio/group.d.ts +4 -0
  1125. package/es/radio/group.js +41 -0
  1126. package/es/radio/index.d.ts +11 -0
  1127. package/es/radio/index.js +41 -0
  1128. package/es/radio/interface.d.ts +43 -0
  1129. package/es/radio/interface.js +0 -0
  1130. package/es/radio/radio.d.ts +4 -0
  1131. package/es/radio/radio.js +41 -0
  1132. package/es/radio/radioButton.d.ts +6 -0
  1133. package/es/radio/radioButton.js +41 -0
  1134. package/es/radio/style/index.d.ts +76 -0
  1135. package/es/radio/style/index.js +36 -0
  1136. package/es/rate/index.d.ts +8 -0
  1137. package/es/rate/index.js +49 -0
  1138. package/es/rate/style/index.d.ts +27 -0
  1139. package/es/rate/style/index.js +35 -0
  1140. package/es/result/index.d.ts +33 -0
  1141. package/es/result/index.js +41 -0
  1142. package/es/result/noFound.d.ts +3 -0
  1143. package/es/result/noFound.js +1 -0
  1144. package/es/result/serverError.d.ts +3 -0
  1145. package/es/result/serverError.js +1 -0
  1146. package/es/result/style/index.d.ts +27 -0
  1147. package/es/result/style/index.js +35 -0
  1148. package/es/result/unauthorized.d.ts +3 -0
  1149. package/es/result/unauthorized.js +1 -0
  1150. package/es/row/index.d.ts +4 -0
  1151. package/es/row/index.js +40 -0
  1152. package/es/row/style/index.d.ts +2 -0
  1153. package/es/row/style/index.js +1 -0
  1154. package/es/search-area/index.d.ts +5 -0
  1155. package/es/search-area/index.js +353 -0
  1156. package/es/search-area/style/index.d.ts +2 -0
  1157. package/es/search-area/style/index.js +1 -0
  1158. package/es/segmented/index.d.ts +26 -0
  1159. package/es/segmented/index.js +40 -0
  1160. package/es/segmented/style/index.d.ts +46 -0
  1161. package/es/segmented/style/index.js +35 -0
  1162. package/es/select/index.d.ts +57 -0
  1163. package/es/select/index.js +78 -0
  1164. package/es/select/mergedBuiltinPlacements.d.ts +4 -0
  1165. package/es/select/mergedBuiltinPlacements.js +1 -0
  1166. package/es/select/style/dropdown.d.ts +4 -0
  1167. package/es/select/style/dropdown.js +24 -0
  1168. package/es/select/style/index.d.ts +4 -0
  1169. package/es/select/style/index.js +73 -0
  1170. package/es/select/style/multiple.d.ts +32 -0
  1171. package/es/select/style/multiple.js +40 -0
  1172. package/es/select/style/single.d.ts +3 -0
  1173. package/es/select/style/single.js +45 -0
  1174. package/es/select/style/token.d.ts +138 -0
  1175. package/es/select/style/token.js +1 -0
  1176. package/es/select/style/variants.d.ts +4 -0
  1177. package/es/select/style/variants.js +1 -0
  1178. package/es/select/useIcons.d.ts +26 -0
  1179. package/es/select/useIcons.js +1 -0
  1180. package/es/select/useShowArrow.d.ts +8 -0
  1181. package/es/select/useShowArrow.js +1 -0
  1182. package/es/skeleton/Avatar.d.ts +7 -0
  1183. package/es/skeleton/Avatar.js +47 -0
  1184. package/es/skeleton/Button.d.ts +8 -0
  1185. package/es/skeleton/Button.js +47 -0
  1186. package/es/skeleton/Element.d.ts +12 -0
  1187. package/es/skeleton/Element.js +1 -0
  1188. package/es/skeleton/Image.d.ts +6 -0
  1189. package/es/skeleton/Image.js +48 -0
  1190. package/es/skeleton/Input.d.ts +8 -0
  1191. package/es/skeleton/Input.js +47 -0
  1192. package/es/skeleton/Node.d.ts +8 -0
  1193. package/es/skeleton/Node.js +47 -0
  1194. package/es/skeleton/Paragraph.d.ts +11 -0
  1195. package/es/skeleton/Paragraph.js +1 -0
  1196. package/es/skeleton/Skeleton.d.ts +32 -0
  1197. package/es/skeleton/Skeleton.js +48 -0
  1198. package/es/skeleton/Title.d.ts +9 -0
  1199. package/es/skeleton/Title.js +1 -0
  1200. package/es/skeleton/index.d.ts +3 -0
  1201. package/es/skeleton/index.js +48 -0
  1202. package/es/skeleton/style/index.d.ts +40 -0
  1203. package/es/skeleton/style/index.js +42 -0
  1204. package/es/slider/Context.d.ts +9 -0
  1205. package/es/slider/Context.js +1 -0
  1206. package/es/slider/SliderTooltip.d.ts +8 -0
  1207. package/es/slider/SliderTooltip.js +49 -0
  1208. package/es/slider/index.d.ts +97 -0
  1209. package/es/slider/index.js +61 -0
  1210. package/es/slider/style/index.d.ts +97 -0
  1211. package/es/slider/style/index.js +47 -0
  1212. package/es/slider/useRafLock.d.ts +1 -0
  1213. package/es/slider/useRafLock.js +1 -0
  1214. package/es/space/Compact.d.ts +25 -0
  1215. package/es/space/Compact.js +40 -0
  1216. package/es/space/Item.d.ts +10 -0
  1217. package/es/space/Item.js +1 -0
  1218. package/es/space/context.d.ts +6 -0
  1219. package/es/space/context.js +1 -0
  1220. package/es/space/index.d.ts +28 -0
  1221. package/es/space/index.js +40 -0
  1222. package/es/space/style/compact.d.ts +8 -0
  1223. package/es/space/style/compact.js +1 -0
  1224. package/es/space/style/index.d.ts +7 -0
  1225. package/es/space/style/index.js +35 -0
  1226. package/es/spin/Indicator/Looper.d.ts +6 -0
  1227. package/es/spin/Indicator/Looper.js +1 -0
  1228. package/es/spin/Indicator/Progress.d.ts +7 -0
  1229. package/es/spin/Indicator/Progress.js +1 -0
  1230. package/es/spin/Indicator/index.d.ts +7 -0
  1231. package/es/spin/Indicator/index.js +1 -0
  1232. package/es/spin/index.d.ts +36 -0
  1233. package/es/spin/index.js +40 -0
  1234. package/es/spin/style/index.d.ts +26 -0
  1235. package/es/spin/style/index.js +35 -0
  1236. package/es/spin/usePercent.d.ts +1 -0
  1237. package/es/spin/usePercent.js +1 -0
  1238. package/es/splitter/Panel.d.ts +7 -0
  1239. package/es/splitter/Panel.js +1 -0
  1240. package/es/splitter/SplitBar.d.ts +19 -0
  1241. package/es/splitter/SplitBar.js +1 -0
  1242. package/es/splitter/Splitter.d.ts +4 -0
  1243. package/es/splitter/Splitter.js +40 -0
  1244. package/es/splitter/hooks/useItems.d.ts +12 -0
  1245. package/es/splitter/hooks/useItems.js +1 -0
  1246. package/es/splitter/hooks/useResizable.d.ts +7 -0
  1247. package/es/splitter/hooks/useResizable.js +1 -0
  1248. package/es/splitter/hooks/useResize.d.ts +6 -0
  1249. package/es/splitter/hooks/useResize.js +1 -0
  1250. package/es/splitter/hooks/useSizes.d.ts +8 -0
  1251. package/es/splitter/hooks/useSizes.js +1 -0
  1252. package/es/splitter/index.d.ts +8 -0
  1253. package/es/splitter/index.js +40 -0
  1254. package/es/splitter/interface.d.ts +64 -0
  1255. package/es/splitter/interface.js +0 -0
  1256. package/es/splitter/style/index.d.ts +27 -0
  1257. package/es/splitter/style/index.js +35 -0
  1258. package/es/statistic/Countdown.d.ts +10 -0
  1259. package/es/statistic/Countdown.js +48 -0
  1260. package/es/statistic/Number.d.ts +8 -0
  1261. package/es/statistic/Number.js +1 -0
  1262. package/es/statistic/Statistic.d.ts +21 -0
  1263. package/es/statistic/Statistic.js +48 -0
  1264. package/es/statistic/index.d.ts +11 -0
  1265. package/es/statistic/index.js +48 -0
  1266. package/es/statistic/interface.d.ts +0 -0
  1267. package/es/statistic/interface.js +0 -0
  1268. package/es/statistic/style/index.d.ts +16 -0
  1269. package/es/statistic/style/index.js +35 -0
  1270. package/es/statistic/utils.d.ts +15 -0
  1271. package/es/statistic/utils.js +1 -0
  1272. package/es/steps/index.d.ts +39 -0
  1273. package/es/steps/index.js +49 -0
  1274. package/es/steps/style/custom-icon.d.ts +5 -0
  1275. package/es/steps/style/custom-icon.js +1 -0
  1276. package/es/steps/style/horizontal.d.ts +5 -0
  1277. package/es/steps/style/horizontal.js +1 -0
  1278. package/es/steps/style/index.d.ts +102 -0
  1279. package/es/steps/style/index.js +35 -0
  1280. package/es/steps/style/inline.d.ts +5 -0
  1281. package/es/steps/style/inline.js +1 -0
  1282. package/es/steps/style/label-placement.d.ts +5 -0
  1283. package/es/steps/style/label-placement.js +1 -0
  1284. package/es/steps/style/nav.d.ts +5 -0
  1285. package/es/steps/style/nav.js +1 -0
  1286. package/es/steps/style/progress-dot.d.ts +5 -0
  1287. package/es/steps/style/progress-dot.js +1 -0
  1288. package/es/steps/style/progress.d.ts +5 -0
  1289. package/es/steps/style/progress.js +1 -0
  1290. package/es/steps/style/rtl.d.ts +5 -0
  1291. package/es/steps/style/rtl.js +1 -0
  1292. package/es/steps/style/small.d.ts +5 -0
  1293. package/es/steps/style/small.js +1 -0
  1294. package/es/steps/style/vertical.d.ts +5 -0
  1295. package/es/steps/style/vertical.js +1 -0
  1296. package/es/steps/useLegacyItems.d.ts +3 -0
  1297. package/es/steps/useLegacyItems.js +1 -0
  1298. package/es/style/compact-item-vertical.d.ts +3 -0
  1299. package/es/style/compact-item-vertical.js +1 -0
  1300. package/es/style/compact-item.d.ts +17 -0
  1301. package/es/style/compact-item.js +1 -0
  1302. package/es/style/index.d.ts +12 -0
  1303. package/es/style/index.js +1 -0
  1304. package/es/style/motion/collapse.d.ts +3 -0
  1305. package/es/style/motion/collapse.js +3 -0
  1306. package/es/style/motion/fade.d.ts +6 -0
  1307. package/es/style/motion/fade.js +10 -0
  1308. package/es/style/motion/index.d.ts +6 -0
  1309. package/es/style/motion/index.js +21 -0
  1310. package/es/style/motion/motion.d.ts +2 -0
  1311. package/es/style/motion/motion.js +7 -0
  1312. package/es/style/motion/move.d.ts +14 -0
  1313. package/es/style/motion/move.js +10 -0
  1314. package/es/style/motion/slide.d.ts +14 -0
  1315. package/es/style/motion/slide.js +10 -0
  1316. package/es/style/motion/zoom.d.ts +18 -0
  1317. package/es/style/motion/zoom.js +10 -0
  1318. package/es/style/placementArrow.d.ts +19 -0
  1319. package/es/style/placementArrow.js +1 -0
  1320. package/es/style/roundedArrow.d.ts +7 -0
  1321. package/es/style/roundedArrow.js +1 -0
  1322. package/es/switch/index.d.ts +37 -0
  1323. package/es/switch/index.js +41 -0
  1324. package/es/switch/style/index.d.ts +71 -0
  1325. package/es/switch/style/index.js +35 -0
  1326. package/es/table/Column.d.ts +8 -0
  1327. package/es/table/Column.js +1 -0
  1328. package/es/table/ColumnGroup.d.ts +10 -0
  1329. package/es/table/ColumnGroup.js +1 -0
  1330. package/es/table/ExpandIcon.d.ts +12 -0
  1331. package/es/table/ExpandIcon.js +1 -0
  1332. package/es/table/InternalTable.d.ts +32 -0
  1333. package/es/table/InternalTable.js +216 -0
  1334. package/es/table/RcTable/VirtualTable.d.ts +5 -0
  1335. package/es/table/RcTable/VirtualTable.js +1 -0
  1336. package/es/table/RcTable/index.d.ts +5 -0
  1337. package/es/table/RcTable/index.js +1 -0
  1338. package/es/table/Table.d.ts +17 -0
  1339. package/es/table/Table.js +216 -0
  1340. package/es/table/hooks/useContainerWidth.d.ts +1 -0
  1341. package/es/table/hooks/useContainerWidth.js +1 -0
  1342. package/es/table/hooks/useFilter/FilterDropdown.d.ts +31 -0
  1343. package/es/table/hooks/useFilter/FilterDropdown.js +114 -0
  1344. package/es/table/hooks/useFilter/FilterSearch.d.ts +12 -0
  1345. package/es/table/hooks/useFilter/FilterSearch.js +66 -0
  1346. package/es/table/hooks/useFilter/FilterWrapper.d.ts +8 -0
  1347. package/es/table/hooks/useFilter/FilterWrapper.js +1 -0
  1348. package/es/table/hooks/useFilter/index.d.ts +22 -0
  1349. package/es/table/hooks/useFilter/index.js +114 -0
  1350. package/es/table/hooks/useLazyKVMap.d.ts +4 -0
  1351. package/es/table/hooks/useLazyKVMap.js +1 -0
  1352. package/es/table/hooks/usePagination.d.ts +5 -0
  1353. package/es/table/hooks/usePagination.js +1 -0
  1354. package/es/table/hooks/useSelection.d.ts +20 -0
  1355. package/es/table/hooks/useSelection.js +95 -0
  1356. package/es/table/hooks/useSorter.d.ts +19 -0
  1357. package/es/table/hooks/useSorter.js +49 -0
  1358. package/es/table/hooks/useTitleColumns.d.ts +4 -0
  1359. package/es/table/hooks/useTitleColumns.js +1 -0
  1360. package/es/table/index.d.ts +7 -0
  1361. package/es/table/index.js +216 -0
  1362. package/es/table/interface.d.ts +194 -0
  1363. package/es/table/interface.js +1 -0
  1364. package/es/table/style/bordered.d.ts +5 -0
  1365. package/es/table/style/bordered.js +10 -0
  1366. package/es/table/style/ellipsis.d.ts +5 -0
  1367. package/es/table/style/ellipsis.js +4 -0
  1368. package/es/table/style/empty.d.ts +5 -0
  1369. package/es/table/style/empty.js +1 -0
  1370. package/es/table/style/expand.d.ts +5 -0
  1371. package/es/table/style/expand.js +1 -0
  1372. package/es/table/style/filter.d.ts +4 -0
  1373. package/es/table/style/filter.js +1 -0
  1374. package/es/table/style/fixed.d.ts +5 -0
  1375. package/es/table/style/fixed.js +21 -0
  1376. package/es/table/style/index.d.ts +202 -0
  1377. package/es/table/style/index.js +97 -0
  1378. package/es/table/style/pagination.d.ts +5 -0
  1379. package/es/table/style/pagination.js +1 -0
  1380. package/es/table/style/radius.d.ts +5 -0
  1381. package/es/table/style/radius.js +1 -0
  1382. package/es/table/style/rtl.d.ts +5 -0
  1383. package/es/table/style/rtl.js +1 -0
  1384. package/es/table/style/selection.d.ts +5 -0
  1385. package/es/table/style/selection.js +5 -0
  1386. package/es/table/style/size.d.ts +5 -0
  1387. package/es/table/style/size.js +10 -0
  1388. package/es/table/style/sorter.d.ts +5 -0
  1389. package/es/table/style/sorter.js +4 -0
  1390. package/es/table/style/sticky.d.ts +5 -0
  1391. package/es/table/style/sticky.js +1 -0
  1392. package/es/table/style/summary.d.ts +5 -0
  1393. package/es/table/style/summary.js +1 -0
  1394. package/es/table/style/virtual.d.ts +5 -0
  1395. package/es/table/style/virtual.js +4 -0
  1396. package/es/table/util.d.ts +13 -0
  1397. package/es/table/util.js +1 -0
  1398. package/es/tabs/TabPane.d.ts +5 -0
  1399. package/es/tabs/TabPane.js +1 -0
  1400. package/es/tabs/hooks/useAnimateConfig.d.ts +3 -0
  1401. package/es/tabs/hooks/useAnimateConfig.js +40 -0
  1402. package/es/tabs/hooks/useLegacyItems.d.ts +4 -0
  1403. package/es/tabs/hooks/useLegacyItems.js +1 -0
  1404. package/es/tabs/index.d.ts +29 -0
  1405. package/es/tabs/index.js +51 -0
  1406. package/es/tabs/style/index.d.ts +136 -0
  1407. package/es/tabs/style/index.js +46 -0
  1408. package/es/tabs/style/motion.d.ts +4 -0
  1409. package/es/tabs/style/motion.js +10 -0
  1410. package/es/tag/CheckableTag.d.ts +17 -0
  1411. package/es/tag/CheckableTag.js +40 -0
  1412. package/es/tag/index.d.ts +27 -0
  1413. package/es/tag/index.js +41 -0
  1414. package/es/tag/style/index.d.ts +25 -0
  1415. package/es/tag/style/index.js +35 -0
  1416. package/es/tag/style/presetCmp.d.ts +2 -0
  1417. package/es/tag/style/presetCmp.js +35 -0
  1418. package/es/tag/style/statusCmp.d.ts +2 -0
  1419. package/es/tag/style/statusCmp.js +35 -0
  1420. package/es/theme/context.d.ts +31 -0
  1421. package/es/theme/context.js +3 -0
  1422. package/es/theme/getDesignToken.d.ts +4 -0
  1423. package/es/theme/getDesignToken.js +35 -0
  1424. package/es/theme/index.d.ts +35 -0
  1425. package/es/theme/index.js +35 -0
  1426. package/es/theme/interface/alias.d.ts +545 -0
  1427. package/es/theme/interface/alias.js +0 -0
  1428. package/es/theme/interface/components.d.ts +131 -0
  1429. package/es/theme/interface/components.js +0 -0
  1430. package/es/theme/interface/cssinjs-utils.d.ts +10 -0
  1431. package/es/theme/interface/cssinjs-utils.js +0 -0
  1432. package/es/theme/interface/index.d.ts +15 -0
  1433. package/es/theme/interface/index.js +1 -0
  1434. package/es/theme/interface/maps/colors.d.ts +530 -0
  1435. package/es/theme/interface/maps/colors.js +0 -0
  1436. package/es/theme/interface/maps/font.d.ts +117 -0
  1437. package/es/theme/interface/maps/font.js +0 -0
  1438. package/es/theme/interface/maps/index.d.ts +29 -0
  1439. package/es/theme/interface/maps/index.js +0 -0
  1440. package/es/theme/interface/maps/size.d.ts +69 -0
  1441. package/es/theme/interface/maps/size.js +0 -0
  1442. package/es/theme/interface/maps/style.d.ts +42 -0
  1443. package/es/theme/interface/maps/style.js +0 -0
  1444. package/es/theme/interface/presetColors.d.ts +11 -0
  1445. package/es/theme/interface/presetColors.js +1 -0
  1446. package/es/theme/interface/seeds.d.ts +225 -0
  1447. package/es/theme/interface/seeds.js +0 -0
  1448. package/es/theme/internal.d.ts +13 -0
  1449. package/es/theme/internal.js +35 -0
  1450. package/es/theme/themes/ColorMap.d.ts +15 -0
  1451. package/es/theme/themes/ColorMap.js +0 -0
  1452. package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
  1453. package/es/theme/themes/compact/genCompactSizeMapToken.js +1 -0
  1454. package/es/theme/themes/compact/index.d.ts +4 -0
  1455. package/es/theme/themes/compact/index.js +1 -0
  1456. package/es/theme/themes/dark/colorAlgorithm.d.ts +2 -0
  1457. package/es/theme/themes/dark/colorAlgorithm.js +1 -0
  1458. package/es/theme/themes/dark/colors.d.ts +3 -0
  1459. package/es/theme/themes/dark/colors.js +1 -0
  1460. package/es/theme/themes/dark/index.d.ts +4 -0
  1461. package/es/theme/themes/dark/index.js +1 -0
  1462. package/es/theme/themes/default/colorAlgorithm.d.ts +2 -0
  1463. package/es/theme/themes/default/colorAlgorithm.js +1 -0
  1464. package/es/theme/themes/default/colors.d.ts +3 -0
  1465. package/es/theme/themes/default/colors.js +1 -0
  1466. package/es/theme/themes/default/index.d.ts +2 -0
  1467. package/es/theme/themes/default/index.js +1 -0
  1468. package/es/theme/themes/seed.d.ts +4 -0
  1469. package/es/theme/themes/seed.js +3 -0
  1470. package/es/theme/themes/shared/genColorMapToken.d.ts +8 -0
  1471. package/es/theme/themes/shared/genColorMapToken.js +1 -0
  1472. package/es/theme/themes/shared/genCommonMapToken.d.ts +2 -0
  1473. package/es/theme/themes/shared/genCommonMapToken.js +1 -0
  1474. package/es/theme/themes/shared/genControlHeight.d.ts +3 -0
  1475. package/es/theme/themes/shared/genControlHeight.js +1 -0
  1476. package/es/theme/themes/shared/genFontMapToken.d.ts +3 -0
  1477. package/es/theme/themes/shared/genFontMapToken.js +1 -0
  1478. package/es/theme/themes/shared/genFontSizes.d.ts +5 -0
  1479. package/es/theme/themes/shared/genFontSizes.js +1 -0
  1480. package/es/theme/themes/shared/genRadius.d.ts +3 -0
  1481. package/es/theme/themes/shared/genRadius.js +1 -0
  1482. package/es/theme/themes/shared/genSizeMapToken.d.ts +2 -0
  1483. package/es/theme/themes/shared/genSizeMapToken.js +1 -0
  1484. package/es/theme/useToken.d.ts +19 -0
  1485. package/es/theme/useToken.js +35 -0
  1486. package/es/theme/util/alias.d.ts +12 -0
  1487. package/es/theme/util/alias.js +35 -0
  1488. package/es/theme/util/genPresetColor.d.ts +15 -0
  1489. package/es/theme/util/genPresetColor.js +1 -0
  1490. package/es/theme/util/genStyleUtils.d.ts +26 -0
  1491. package/es/theme/util/genStyleUtils.js +35 -0
  1492. package/es/theme/util/getAlphaColor.d.ts +2 -0
  1493. package/es/theme/util/getAlphaColor.js +1 -0
  1494. package/es/theme/util/useResetIconStyle.d.ts +3 -0
  1495. package/es/theme/util/useResetIconStyle.js +35 -0
  1496. package/es/time-picker/index.d.ts +30 -0
  1497. package/es/time-picker/index.js +99 -0
  1498. package/es/time-picker/locale/ar_EG.d.ts +3 -0
  1499. package/es/time-picker/locale/ar_EG.js +1 -0
  1500. package/es/time-picker/locale/az_AZ.d.ts +3 -0
  1501. package/es/time-picker/locale/az_AZ.js +1 -0
  1502. package/es/time-picker/locale/bg_BG.d.ts +3 -0
  1503. package/es/time-picker/locale/bg_BG.js +1 -0
  1504. package/es/time-picker/locale/bn_BD.d.ts +3 -0
  1505. package/es/time-picker/locale/bn_BD.js +1 -0
  1506. package/es/time-picker/locale/by_BY.d.ts +3 -0
  1507. package/es/time-picker/locale/by_BY.js +1 -0
  1508. package/es/time-picker/locale/ca_ES.d.ts +3 -0
  1509. package/es/time-picker/locale/ca_ES.js +1 -0
  1510. package/es/time-picker/locale/cs_CZ.d.ts +3 -0
  1511. package/es/time-picker/locale/cs_CZ.js +1 -0
  1512. package/es/time-picker/locale/da_DK.d.ts +3 -0
  1513. package/es/time-picker/locale/da_DK.js +1 -0
  1514. package/es/time-picker/locale/de_DE.d.ts +3 -0
  1515. package/es/time-picker/locale/de_DE.js +1 -0
  1516. package/es/time-picker/locale/el_GR.d.ts +3 -0
  1517. package/es/time-picker/locale/el_GR.js +1 -0
  1518. package/es/time-picker/locale/en_GB.d.ts +3 -0
  1519. package/es/time-picker/locale/en_GB.js +1 -0
  1520. package/es/time-picker/locale/en_US.d.ts +3 -0
  1521. package/es/time-picker/locale/en_US.js +1 -0
  1522. package/es/time-picker/locale/es_ES.d.ts +3 -0
  1523. package/es/time-picker/locale/es_ES.js +1 -0
  1524. package/es/time-picker/locale/et_EE.d.ts +3 -0
  1525. package/es/time-picker/locale/et_EE.js +1 -0
  1526. package/es/time-picker/locale/eu_ES.d.ts +3 -0
  1527. package/es/time-picker/locale/eu_ES.js +1 -0
  1528. package/es/time-picker/locale/fa_IR.d.ts +3 -0
  1529. package/es/time-picker/locale/fa_IR.js +1 -0
  1530. package/es/time-picker/locale/fi_FI.d.ts +3 -0
  1531. package/es/time-picker/locale/fi_FI.js +1 -0
  1532. package/es/time-picker/locale/fr_BE.d.ts +3 -0
  1533. package/es/time-picker/locale/fr_BE.js +1 -0
  1534. package/es/time-picker/locale/fr_CA.d.ts +3 -0
  1535. package/es/time-picker/locale/fr_CA.js +1 -0
  1536. package/es/time-picker/locale/fr_FR.d.ts +3 -0
  1537. package/es/time-picker/locale/fr_FR.js +1 -0
  1538. package/es/time-picker/locale/ga_IE.d.ts +3 -0
  1539. package/es/time-picker/locale/ga_IE.js +1 -0
  1540. package/es/time-picker/locale/gl_ES.d.ts +3 -0
  1541. package/es/time-picker/locale/gl_ES.js +1 -0
  1542. package/es/time-picker/locale/he_IL.d.ts +3 -0
  1543. package/es/time-picker/locale/he_IL.js +1 -0
  1544. package/es/time-picker/locale/hi_IN.d.ts +3 -0
  1545. package/es/time-picker/locale/hi_IN.js +1 -0
  1546. package/es/time-picker/locale/hr_HR.d.ts +3 -0
  1547. package/es/time-picker/locale/hr_HR.js +1 -0
  1548. package/es/time-picker/locale/hu_HU.d.ts +3 -0
  1549. package/es/time-picker/locale/hu_HU.js +1 -0
  1550. package/es/time-picker/locale/id_ID.d.ts +3 -0
  1551. package/es/time-picker/locale/id_ID.js +1 -0
  1552. package/es/time-picker/locale/is_IS.d.ts +3 -0
  1553. package/es/time-picker/locale/is_IS.js +1 -0
  1554. package/es/time-picker/locale/it_IT.d.ts +3 -0
  1555. package/es/time-picker/locale/it_IT.js +1 -0
  1556. package/es/time-picker/locale/ja_JP.d.ts +3 -0
  1557. package/es/time-picker/locale/ja_JP.js +1 -0
  1558. package/es/time-picker/locale/ka_GE.d.ts +3 -0
  1559. package/es/time-picker/locale/ka_GE.js +1 -0
  1560. package/es/time-picker/locale/kk_KZ.d.ts +3 -0
  1561. package/es/time-picker/locale/kk_KZ.js +1 -0
  1562. package/es/time-picker/locale/km_KH.d.ts +3 -0
  1563. package/es/time-picker/locale/km_KH.js +1 -0
  1564. package/es/time-picker/locale/kmr_IQ.d.ts +3 -0
  1565. package/es/time-picker/locale/kmr_IQ.js +1 -0
  1566. package/es/time-picker/locale/kn_IN.d.ts +3 -0
  1567. package/es/time-picker/locale/kn_IN.js +1 -0
  1568. package/es/time-picker/locale/ko_KR.d.ts +3 -0
  1569. package/es/time-picker/locale/ko_KR.js +1 -0
  1570. package/es/time-picker/locale/lt_LT.d.ts +3 -0
  1571. package/es/time-picker/locale/lt_LT.js +1 -0
  1572. package/es/time-picker/locale/lv_LV.d.ts +3 -0
  1573. package/es/time-picker/locale/lv_LV.js +1 -0
  1574. package/es/time-picker/locale/mk_MK.d.ts +3 -0
  1575. package/es/time-picker/locale/mk_MK.js +1 -0
  1576. package/es/time-picker/locale/ml_IN.d.ts +3 -0
  1577. package/es/time-picker/locale/ml_IN.js +1 -0
  1578. package/es/time-picker/locale/mn_MN.d.ts +3 -0
  1579. package/es/time-picker/locale/mn_MN.js +1 -0
  1580. package/es/time-picker/locale/ms_MY.d.ts +3 -0
  1581. package/es/time-picker/locale/ms_MY.js +1 -0
  1582. package/es/time-picker/locale/my_MM.d.ts +3 -0
  1583. package/es/time-picker/locale/my_MM.js +1 -0
  1584. package/es/time-picker/locale/nb_NO.d.ts +3 -0
  1585. package/es/time-picker/locale/nb_NO.js +1 -0
  1586. package/es/time-picker/locale/nl_BE.d.ts +3 -0
  1587. package/es/time-picker/locale/nl_BE.js +1 -0
  1588. package/es/time-picker/locale/nl_NL.d.ts +3 -0
  1589. package/es/time-picker/locale/nl_NL.js +1 -0
  1590. package/es/time-picker/locale/pl_PL.d.ts +3 -0
  1591. package/es/time-picker/locale/pl_PL.js +1 -0
  1592. package/es/time-picker/locale/pt_BR.d.ts +3 -0
  1593. package/es/time-picker/locale/pt_BR.js +1 -0
  1594. package/es/time-picker/locale/pt_PT.d.ts +3 -0
  1595. package/es/time-picker/locale/pt_PT.js +1 -0
  1596. package/es/time-picker/locale/ro_RO.d.ts +3 -0
  1597. package/es/time-picker/locale/ro_RO.js +1 -0
  1598. package/es/time-picker/locale/ru_RU.d.ts +4 -0
  1599. package/es/time-picker/locale/ru_RU.js +1 -0
  1600. package/es/time-picker/locale/si_LK.d.ts +3 -0
  1601. package/es/time-picker/locale/si_LK.js +1 -0
  1602. package/es/time-picker/locale/sk_SK.d.ts +3 -0
  1603. package/es/time-picker/locale/sk_SK.js +1 -0
  1604. package/es/time-picker/locale/sl_SI.d.ts +3 -0
  1605. package/es/time-picker/locale/sl_SI.js +1 -0
  1606. package/es/time-picker/locale/sr_RS.d.ts +3 -0
  1607. package/es/time-picker/locale/sr_RS.js +1 -0
  1608. package/es/time-picker/locale/sv_SE.d.ts +3 -0
  1609. package/es/time-picker/locale/sv_SE.js +1 -0
  1610. package/es/time-picker/locale/ta_IN.d.ts +3 -0
  1611. package/es/time-picker/locale/ta_IN.js +1 -0
  1612. package/es/time-picker/locale/th_TH.d.ts +3 -0
  1613. package/es/time-picker/locale/th_TH.js +1 -0
  1614. package/es/time-picker/locale/tk_TK.d.ts +3 -0
  1615. package/es/time-picker/locale/tk_TK.js +1 -0
  1616. package/es/time-picker/locale/tr_TR.d.ts +3 -0
  1617. package/es/time-picker/locale/tr_TR.js +1 -0
  1618. package/es/time-picker/locale/uk_UA.d.ts +3 -0
  1619. package/es/time-picker/locale/uk_UA.js +1 -0
  1620. package/es/time-picker/locale/ur_PK.d.ts +3 -0
  1621. package/es/time-picker/locale/ur_PK.js +1 -0
  1622. package/es/time-picker/locale/uz_UZ.d.ts +3 -0
  1623. package/es/time-picker/locale/uz_UZ.js +1 -0
  1624. package/es/time-picker/locale/vi_VN.d.ts +3 -0
  1625. package/es/time-picker/locale/vi_VN.js +1 -0
  1626. package/es/time-picker/locale/zh_CN.d.ts +3 -0
  1627. package/es/time-picker/locale/zh_CN.js +1 -0
  1628. package/es/time-picker/locale/zh_TW.d.ts +3 -0
  1629. package/es/time-picker/locale/zh_TW.js +1 -0
  1630. package/es/timeline/Timeline.d.ts +20 -0
  1631. package/es/timeline/Timeline.js +48 -0
  1632. package/es/timeline/TimelineItem.d.ts +20 -0
  1633. package/es/timeline/TimelineItem.js +40 -0
  1634. package/es/timeline/TimelineItemList.d.ts +7 -0
  1635. package/es/timeline/TimelineItemList.js +40 -0
  1636. package/es/timeline/index.d.ts +4 -0
  1637. package/es/timeline/index.js +48 -0
  1638. package/es/timeline/style/index.d.ts +31 -0
  1639. package/es/timeline/style/index.js +43 -0
  1640. package/es/timeline/useItems.d.ts +4 -0
  1641. package/es/timeline/useItems.js +1 -0
  1642. package/es/tooltip/PurePanel.d.ts +7 -0
  1643. package/es/tooltip/PurePanel.js +49 -0
  1644. package/es/tooltip/index.d.ts +80 -0
  1645. package/es/tooltip/index.js +49 -0
  1646. package/es/tooltip/style/index.d.ts +13 -0
  1647. package/es/tooltip/style/index.js +44 -0
  1648. package/es/tooltip/util.d.ts +6 -0
  1649. package/es/tooltip/util.js +1 -0
  1650. package/es/tour/PurePanel.d.ts +6 -0
  1651. package/es/tour/PurePanel.js +57 -0
  1652. package/es/tour/index.d.ts +7 -0
  1653. package/es/tour/index.js +57 -0
  1654. package/es/tour/interface.d.ts +31 -0
  1655. package/es/tour/interface.js +0 -0
  1656. package/es/tour/panelRender.d.ts +12 -0
  1657. package/es/tour/panelRender.js +48 -0
  1658. package/es/tour/style/index.d.ts +28 -0
  1659. package/es/tour/style/index.js +35 -0
  1660. package/es/transfer/ListBody.d.ts +17 -0
  1661. package/es/transfer/ListBody.js +117 -0
  1662. package/es/transfer/ListItem.d.ts +15 -0
  1663. package/es/transfer/ListItem.js +46 -0
  1664. package/es/transfer/hooks/useData.d.ts +5 -0
  1665. package/es/transfer/hooks/useData.js +1 -0
  1666. package/es/transfer/hooks/useSelection.d.ts +9 -0
  1667. package/es/transfer/hooks/useSelection.js +1 -0
  1668. package/es/transfer/index.d.ts +91 -0
  1669. package/es/transfer/index.js +154 -0
  1670. package/es/transfer/interface.d.ts +7 -0
  1671. package/es/transfer/interface.js +0 -0
  1672. package/es/transfer/list.d.ts +48 -0
  1673. package/es/transfer/list.js +154 -0
  1674. package/es/transfer/operation.d.ts +17 -0
  1675. package/es/transfer/operation.js +48 -0
  1676. package/es/transfer/search.d.ts +11 -0
  1677. package/es/transfer/search.js +66 -0
  1678. package/es/transfer/style/index.d.ts +36 -0
  1679. package/es/transfer/style/index.js +35 -0
  1680. package/es/tree/DirectoryTree.d.ts +16 -0
  1681. package/es/tree/DirectoryTree.js +48 -0
  1682. package/es/tree/Tree.d.ts +136 -0
  1683. package/es/tree/Tree.js +48 -0
  1684. package/es/tree/index.d.ts +16 -0
  1685. package/es/tree/index.js +48 -0
  1686. package/es/tree/style/directory.d.ts +3 -0
  1687. package/es/tree/style/directory.js +1 -0
  1688. package/es/tree/style/index.d.ts +57 -0
  1689. package/es/tree/style/index.js +43 -0
  1690. package/es/tree/utils/dictUtil.d.ts +13 -0
  1691. package/es/tree/utils/dictUtil.js +1 -0
  1692. package/es/tree/utils/dropIndicator.d.ts +11 -0
  1693. package/es/tree/utils/dropIndicator.js +1 -0
  1694. package/es/tree/utils/iconUtil.d.ts +13 -0
  1695. package/es/tree/utils/iconUtil.js +1 -0
  1696. package/es/tree-select/index.d.ts +61 -0
  1697. package/es/tree-select/index.js +86 -0
  1698. package/es/tree-select/style/index.d.ts +6 -0
  1699. package/es/tree-select/style/index.js +43 -0
  1700. package/es/type/index.d.ts +1 -0
  1701. package/es/type/index.js +353 -0
  1702. package/es/typography/Base/CopyBtn.d.ts +13 -0
  1703. package/es/typography/Base/CopyBtn.js +49 -0
  1704. package/es/typography/Base/Ellipsis.d.ts +18 -0
  1705. package/es/typography/Base/Ellipsis.js +1 -0
  1706. package/es/typography/Base/EllipsisTooltip.d.ts +10 -0
  1707. package/es/typography/Base/EllipsisTooltip.js +49 -0
  1708. package/es/typography/Base/index.d.ts +59 -0
  1709. package/es/typography/Base/index.js +83 -0
  1710. package/es/typography/Base/util.d.ts +10 -0
  1711. package/es/typography/Base/util.js +1 -0
  1712. package/es/typography/Editable.d.ts +20 -0
  1713. package/es/typography/Editable.js +74 -0
  1714. package/es/typography/Link.d.ts +7 -0
  1715. package/es/typography/Link.js +83 -0
  1716. package/es/typography/Paragraph.d.ts +6 -0
  1717. package/es/typography/Paragraph.js +83 -0
  1718. package/es/typography/Text.d.ts +7 -0
  1719. package/es/typography/Text.js +83 -0
  1720. package/es/typography/Title.d.ts +8 -0
  1721. package/es/typography/Title.js +83 -0
  1722. package/es/typography/Typography.d.ts +19 -0
  1723. package/es/typography/Typography.js +56 -0
  1724. package/es/typography/hooks/useCopyClick.d.ts +11 -0
  1725. package/es/typography/hooks/useCopyClick.js +1 -0
  1726. package/es/typography/hooks/useMergedConfig.d.ts +1 -0
  1727. package/es/typography/hooks/useMergedConfig.js +1 -0
  1728. package/es/typography/hooks/usePrevious.d.ts +2 -0
  1729. package/es/typography/hooks/usePrevious.js +1 -0
  1730. package/es/typography/hooks/useTooltipProps.d.ts +61 -0
  1731. package/es/typography/hooks/useTooltipProps.js +1 -0
  1732. package/es/typography/index.d.ts +13 -0
  1733. package/es/typography/index.js +83 -0
  1734. package/es/typography/style/index.d.ts +18 -0
  1735. package/es/typography/style/index.js +51 -0
  1736. package/es/typography/style/mixins.d.ts +9 -0
  1737. package/es/typography/style/mixins.js +6 -0
  1738. package/es/upload/Dragger.d.ts +10 -0
  1739. package/es/upload/Dragger.js +80 -0
  1740. package/es/upload/Upload.d.ts +23 -0
  1741. package/es/upload/Upload.js +80 -0
  1742. package/es/upload/UploadList/ListItem.d.ts +28 -0
  1743. package/es/upload/UploadList/ListItem.js +49 -0
  1744. package/es/upload/UploadList/index.d.ts +8 -0
  1745. package/es/upload/UploadList/index.js +57 -0
  1746. package/es/upload/index.d.ts +13 -0
  1747. package/es/upload/index.js +80 -0
  1748. package/es/upload/interface.d.ts +138 -0
  1749. package/es/upload/interface.js +0 -0
  1750. package/es/upload/style/dragger.d.ts +4 -0
  1751. package/es/upload/style/dragger.js +7 -0
  1752. package/es/upload/style/index.d.ts +16 -0
  1753. package/es/upload/style/index.js +66 -0
  1754. package/es/upload/style/list.d.ts +4 -0
  1755. package/es/upload/style/list.js +4 -0
  1756. package/es/upload/style/motion.d.ts +4 -0
  1757. package/es/upload/style/motion.js +10 -0
  1758. package/es/upload/style/picture.d.ts +5 -0
  1759. package/es/upload/style/picture.js +12 -0
  1760. package/es/upload/style/rtl.d.ts +4 -0
  1761. package/es/upload/style/rtl.js +1 -0
  1762. package/es/upload/utils.d.ts +8 -0
  1763. package/es/upload/utils.js +2 -0
  1764. package/es/version/index.d.ts +2 -0
  1765. package/es/version/index.js +1 -0
  1766. package/es/watermark/context.d.ts +8 -0
  1767. package/es/watermark/context.js +1 -0
  1768. package/es/watermark/index.d.ts +26 -0
  1769. package/es/watermark/index.js +35 -0
  1770. package/es/watermark/useClips.d.ts +7 -0
  1771. package/es/watermark/useClips.js +1 -0
  1772. package/es/watermark/useRafDebounce.d.ts +4 -0
  1773. package/es/watermark/useRafDebounce.js +1 -0
  1774. package/es/watermark/useWatermark.d.ts +13 -0
  1775. package/es/watermark/useWatermark.js +1 -0
  1776. package/es/watermark/utils.d.ts +7 -0
  1777. package/es/watermark/utils.js +1 -0
  1778. package/package.json +147 -0
  1779. package/umd/index.min.js +626 -0
@@ -0,0 +1,154 @@
1
+ import*as ie from'react';import ie__default,{createContext,useContext,useState,useEffect,useRef,forwardRef,useImperativeHandle,useMemo,Children,useCallback}from'react';import ko from'classnames';import pp,{resetWarned}from'rc-util/lib/warning';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import ed from'@ant-design/icons/lib/components/Context';import Zp from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import Sp from'rc-pagination/lib/locale/en_US';import gp from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import zp from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Qp from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import wd,{Provider}from'rc-motion';import'rc-field-form';import ws from'rc-util/lib/omit';import {useMergedState,useEvent}from'rc-util';import xg from'@ant-design/icons/DownOutlined';import Xd from'rc-checkbox';import {supportNodeRef,useComposeRef,getNodeRef,composeRef,supportRef}from'rc-util/lib/ref';import Ad from'rc-util/lib/Dom/isVisible';import Vc from'rc-util/lib/hooks/useEvent';import _a from'rc-util/lib/raf';import*as Td from'react-dom';import {unmount,render}from'rc-util/lib/React/render';import gl from'@ant-design/icons/RightOutlined';import Lu from'rc-dropdown';import dm from'rc-util/lib/hooks/useMergedState';import vu,{ItemGroup,Divider,useFullPath,SubMenu,Item}from'rc-menu';import hm from'@ant-design/icons/BarsOutlined';import fl from'@ant-design/icons/LeftOutlined';import Tu from'@ant-design/icons/EllipsisOutlined';import Hm from'rc-util/lib/Children/toArray';import eu,{Popup}from'rc-tooltip';import Yu from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import rf from'rc-collapse';import vc from'@ant-design/icons/DoubleLeftOutlined';import $c from'@ant-design/icons/DoubleRightOutlined';import qg from'rc-pagination';import Jf from'rc-util/lib/hooks/useLayoutEffect';import $g,{Option,OptGroup}from'rc-select';import yg from'@ant-design/icons/CheckOutlined';import bg from'@ant-design/icons/CloseCircleFilled';import hg from'@ant-design/icons/CloseOutlined';import vg from'@ant-design/icons/SearchOutlined';import Zg from'@ant-design/icons/DeleteOutlined';import fC from'rc-input';import {triggerFocus}from'rc-input/lib/utils/commonUtils';import hC from'rc-util/lib/pickAttrs';import $C from'@ant-design/icons/EyeInvisibleOutlined';import PC from'@ant-design/icons/EyeOutlined';import HC from'rc-textarea';function hr(e){let[t,o]=useState(null);return [useCallback((a,i,l)=>{let s=t??a,c=Math.min(s||0,a),p=Math.max(s||0,a),m=i.slice(c,p+1).map(u=>e(u)),d=m.some(u=>!l.has(u)),f=[];return m.forEach(u=>{d?(l.has(u)||f.push(u),l.add(u)):(l.delete(u),f.push(u));}),o(d?p:null),f},[t]),a=>{o(a);}]}function yt(e,t,o){return ko({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:o})}var ct=(e,t)=>t||e;var qt=e=>{let t=new Map;return e.forEach((o,r)=>{t.set(o,r);}),t},Xi=e=>{let t=new Map;return e.forEach(({disabled:o,key:r},n)=>{o&&t.set(r,n);}),t};function Ui(){}var bt=null;function mp(){bt=null,resetWarned();}var In=Ui;process.env.NODE_ENV!=="production"&&(In=(e,t,o)=>{pp(e,`[swiftcrab: ${t}] ${o}`),process.env.NODE_ENV==="test"&&mp();});var Rn=ie.createContext({}),K=process.env.NODE_ENV!=="production"?e=>{let{strict:t}=ie.useContext(Rn),o=(r,n,a)=>{if(!r)if(t===false&&n==="deprecated"){let i=bt;bt||(bt={}),bt[e]=bt[e]||[],bt[e].includes(a||"")||bt[e].push(a||""),i||console.warn("[swiftcrab] There exists deprecated usage in your code:",bt);}else In(r,e,a);};return o.deprecated=(r,n,a,i)=>{o(r,"deprecated",`\`${n}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`);},o}:()=>{let e=()=>{};return e.deprecated=Ui,e},Et=In;var qi=createContext(void 0);var fp={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Tr=fp;var Cp={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"],...gp},timePickerLocale:{...Tr}},vr=Cp;var Yi=vr;var Ge="${label} is not a valid ${type}",yp={locale:"en",Pagination:Sp,DatePicker:vr,TimePicker:Tr,Calendar:Yi,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",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"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},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",deselectAll:"Deselect 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"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Ge,method:Ge,array:Ge,object:Ge,number:Ge,date:Ge,boolean:Ge,integer:Ge,float:Ge,regexp:Ge,email:Ge,url:Ge,hex:Ge},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},Ve=yp;({...Ve.Modal});var $r=[],Zi=()=>$r.reduce((e,t)=>({...e,...t}),Ve.Modal);function Qi(e){if(e){let t={...e};return $r.push(t),Zi(),()=>{$r=$r.filter(o=>o!==t),Zi();}}({...Ve.Modal});}var hp=createContext(void 0),fo=hp;var xp=(e,t)=>{let o=ie.useContext(fo),r=ie.useMemo(()=>{let a=t||Ve[e],i=o?.[e]??{};return {...typeof a=="function"?a():a,...i||{}}},[e,t,o]),n=ie.useMemo(()=>{let a=o?.locale;return o?.exist&&!a?Ve.locale:a},[o]);return [r,n]},He=xp;var Mn="internalMark",Ji=e=>{let{locale:t={},children:o,_ANT_MARK__:r}=e;process.env.NODE_ENV!=="production"&&K("LocaleProvider")(r===Mn,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),ie.useEffect(()=>Qi(t?.Modal),[t]);let n=ie.useMemo(()=>({...t,exist:true}),[t]);return ie.createElement(fo.Provider,{value:n},o)};process.env.NODE_ENV!=="production"&&(Ji.displayName="LocaleProvider");var ea=Ji;var Bn={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Tp={...Bn,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
2
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
3
+ 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},ht=Tp;function zn(e,{generateColorPalettes:t,generateNeutralColorPalettes:o}){let{colorSuccess:r,colorWarning:n,colorError:a,colorInfo:i,colorPrimary:l,colorBgBase:s,colorTextBase:c}=e,p=t(l),m=t(r),d=t(n),f=t(a),u=t(i),S=o(s,c),y=e.colorLink||e.colorInfo,C=t(y),b=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...S,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:b,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:C[4],colorLink:C[6],colorLinkActive:C[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var vp=e=>{let t=e,o=e,r=e,n=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?o=4:e<8&&e>=7?o=5:e<14&&e>=8?o=6:e<16&&e>=14?o=7:e>=16&&(o=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?n=4:e>=8&&(n=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:o,borderRadiusLG:t,borderRadiusOuter:n}},ta=vp;function On(e){let{motionUnit:t,motionBase:o,borderRadius:r,lineWidth:n}=e;return {motionDurationFast:`${(o+t).toFixed(1)}s`,motionDurationMid:`${(o+t*2).toFixed(1)}s`,motionDurationSlow:`${(o+t*3).toFixed(1)}s`,lineWidthBold:n+1,...ta(r)}}var $p=e=>{let{controlHeight:t}=e;return {controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},oa=$p;function Co(e){return (e+8)/e}function Nn(e){let t=new Array(10).fill(null).map((o,r)=>{let n=r-1,a=e*Math.E**(n/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(o=>({size:o,lineHeight:Co(o)}))}var Pp=e=>{let t=Nn(e),o=t.map(p=>p.size),r=t.map(p=>p.lineHeight),n=o[1],a=o[0],i=o[2],l=r[1],s=r[0],c=r[2];return {fontSizeSM:a,fontSize:n,fontSizeLG:i,fontSizeXL:o[3],fontSizeHeading1:o[6],fontSizeHeading2:o[5],fontSizeHeading3:o[4],fontSizeHeading4:o[3],fontSizeHeading5:o[2],lineHeight:l,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(l*n),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(s*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},ra=Pp;function Hn(e){let{sizeUnit:t,sizeStep:o}=e;return {sizeXXL:t*(o+8),sizeXL:t*(o+4),sizeLG:t*(o+2),sizeMD:t*(o+1),sizeMS:t*o,size:t*o,sizeSM:t*(o-1),sizeXS:t*(o-2),sizeXXS:t*(o-3)}}var je=(e,t)=>new TinyColor(e).setAlpha(t).toRgbString(),So=(e,t)=>new TinyColor(e).darken(t).toHexString();var ia=e=>{let t=generate(e);return {1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},aa=(e,t)=>{let o=e||"#fff",r=t||"#000";return {colorBgBase:o,colorTextBase:r,colorText:je(r,.88),colorTextSecondary:je(r,.65),colorTextTertiary:je(r,.45),colorTextQuaternary:je(r,.25),colorFill:je(r,.15),colorFillSecondary:je(r,.06),colorFillTertiary:je(r,.04),colorFillQuaternary:je(r,.02),colorBgSolid:je(r,1),colorBgSolidHover:je(r,.75),colorBgSolidActive:je(r,.95),colorBgLayout:So(o,4),colorBgContainer:So(o,0),colorBgElevated:So(o,0),colorBgSpotlight:je(r,.85),colorBgBlur:"transparent",colorBorder:So(o,15),colorBorderSecondary:So(o,6)}};function Dn(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let t=Object.keys(Bn).map(o=>{let r=e[o]===presetPrimaryColors[o]?presetPalettes[o]:generate(e[o]);return new Array(10).fill(1).reduce((n,a,i)=>(n[`${o}-${i+1}`]=r[i],n[`${o}${i+1}`]=r[i],n),{})}).reduce((o,r)=>(o={...o,...r},o),{});return {...e,...t,...zn(e,{generateColorPalettes:ia,generateNeutralColorPalettes:aa}),...ra(e.fontSize),...Hn(e),...oa(e),...On(e)}}var Pr=createTheme(Dn),Yo={token:ht,override:{override:ht},hashed:true},Zo=ie__default.createContext(Yo);var zt="ant",Qo="anticon",kn=["outlined","borderless","filled"],Bp=(e,t)=>t||(e?`${zt}-${e}`:zt),z=ie.createContext({getPrefixCls:Bp,iconPrefixCls:Qo}),{Consumer:Ep}=z;var Np=`-ant-${Date.now()}-${Math.random()}`;function Hp(e,t){let o={},r=(i,l)=>{let s=i.clone();return s=l?.(s)||s,s.toRgbString()},n=(i,l)=>{let s=new TinyColor(i),c=generate(s.toRgbString());o[`${l}-color`]=r(s),o[`${l}-color-disabled`]=c[1],o[`${l}-color-hover`]=c[4],o[`${l}-color-active`]=c[6],o[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),o[`${l}-color-deprecated-bg`]=c[0],o[`${l}-color-deprecated-border`]=c[2];};if(t.primaryColor){n(t.primaryColor,"primary");let i=new TinyColor(t.primaryColor),l=generate(i.toRgbString());l.forEach((c,p)=>{o[`primary-${p+1}`]=c;}),o["primary-color-deprecated-l-35"]=r(i,c=>c.lighten(35)),o["primary-color-deprecated-l-20"]=r(i,c=>c.lighten(20)),o["primary-color-deprecated-t-20"]=r(i,c=>c.tint(20)),o["primary-color-deprecated-t-50"]=r(i,c=>c.tint(50)),o["primary-color-deprecated-f-12"]=r(i,c=>c.setAlpha(c.getAlpha()*.12));let s=new TinyColor(l[0]);o["primary-color-active-deprecated-f-30"]=r(s,c=>c.setAlpha(c.getAlpha()*.3)),o["primary-color-active-deprecated-d-02"]=r(s,c=>c.darken(2));}return t.successColor&&n(t.successColor,"success"),t.warningColor&&n(t.warningColor,"warning"),t.errorColor&&n(t.errorColor,"error"),t.infoColor&&n(t.infoColor,"info"),`
4
+ :root {
5
+ ${Object.keys(o).map(i=>`--${e}-${i}: ${o[i]};`).join(`
6
+ `)}
7
+ }
8
+ `.trim()}function ca(e,t){let o=Hp(e,t);zp()?updateCSS(o,`${Np}-dynamic-theme`):Et(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Fn=ie.createContext(false),pa=({children:e,disabled:t})=>{let o=ie.useContext(Fn);return ie.createElement(Fn.Provider,{value:t??o},e)},Le=Fn;var Gn=ie.createContext(void 0),da=({children:e,size:t})=>{let o=ie.useContext(Gn);return ie.createElement(Gn.Provider,{value:t||o},e)},Yt=Gn;function Lp(){let e=useContext(Le),t=useContext(Yt);return {componentDisabled:e,componentSize:t}}var ua=Lp;var Ot=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var fa={version:"0.0.2"};var ga=fa.version;function Vn(e){return e>=0&&e<=255}function Dp(e,t){let{r:o,g:r,b:n,a}=new TinyColor(e).toRgb();if(a<1)return e;let{r:i,g:l,b:s}=new TinyColor(t).toRgb();for(let c=.01;c<=1;c+=.01){let p=Math.round((o-i*(1-c))/c),m=Math.round((r-l*(1-c))/c),d=Math.round((n-s*(1-c))/c);if(Vn(p)&&Vn(m)&&Vn(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(c*100)/100}).toRgbString()}return new TinyColor({r:o,g:r,b:n,a:1}).toRgbString()}var Jo=Dp;function Rr(e){let{override:t,...o}=e,r={...t};Object.keys(ht).forEach(d=>{delete r[d];});let n={...o,...r},a=480,i=576,l=768,s=992,c=1200,p=1600;return n.motion===false&&(n.motionDurationFast="0s",n.motionDurationMid="0s",n.motionDurationSlow="0s"),{...n,colorFillContent:n.colorFillSecondary,colorFillContentHover:n.colorFill,colorFillAlter:n.colorFillQuaternary,colorBgContainerDisabled:n.colorFillTertiary,colorBorderBg:n.colorBgContainer,colorSplit:Jo(n.colorBorderSecondary,n.colorBgContainer),colorTextPlaceholder:n.colorTextQuaternary,colorTextDisabled:n.colorTextQuaternary,colorTextHeading:n.colorText,colorTextLabel:n.colorTextSecondary,colorTextDescription:n.colorTextTertiary,colorTextLightSolid:n.colorWhite,colorHighlight:n.colorError,colorBgTextHover:n.colorFillSecondary,colorBgTextActive:n.colorFill,colorIcon:n.colorTextTertiary,colorIconHover:n.colorText,colorErrorOutline:Jo(n.colorErrorBg,n.colorBgContainer),colorWarningOutline:Jo(n.colorWarningBg,n.colorBgContainer),fontSizeIcon:n.fontSizeSM,lineWidthFocus:n.lineWidth*3,lineWidth:n.lineWidth,controlOutlineWidth:n.lineWidth*2,controlInteractiveSize:n.controlHeight/2,controlItemBgHover:n.colorFillTertiary,controlItemBgActive:n.colorPrimaryBg,controlItemBgActiveHover:n.colorPrimaryBgHover,controlItemBgActiveDisabled:n.colorFill,controlTmpOutline:n.colorFillQuaternary,controlOutline:Jo(n.colorPrimaryBg,n.colorBgContainer),lineType:n.lineType,borderRadius:n.borderRadius,borderRadiusXS:n.borderRadiusXS,borderRadiusSM:n.borderRadiusSM,borderRadiusLG:n.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:n.sizeXXS,paddingXS:n.sizeXS,paddingSM:n.sizeSM,padding:n.size,paddingMD:n.sizeMD,paddingLG:n.sizeLG,paddingXL:n.sizeXL,paddingContentHorizontalLG:n.sizeLG,paddingContentVerticalLG:n.sizeMS,paddingContentHorizontal:n.sizeMS,paddingContentVertical:n.sizeSM,paddingContentHorizontalSM:n.size,paddingContentVerticalSM:n.sizeXS,marginXXS:n.sizeXXS,marginXS:n.sizeXS,marginSM:n.sizeSM,margin:n.size,marginMD:n.sizeMD,marginLG:n.sizeLG,marginXL:n.sizeXL,marginXXL:n.sizeXXL,boxShadow:`
9
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
10
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
11
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
12
+ `,boxShadowSecondary:`
13
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
14
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
15
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
16
+ `,boxShadowTertiary:`
17
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
18
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
19
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
20
+ `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
21
+ 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
22
+ 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
23
+ 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
24
+ `,boxShadowDrawerRight:`
25
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
26
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
27
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
28
+ `,boxShadowDrawerLeft:`
29
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
30
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
31
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
32
+ `,boxShadowDrawerUp:`
33
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
34
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
35
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
36
+ `,boxShadowDrawerDown:`
37
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
38
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
39
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
40
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...r}}var _n={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},Fp={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},Gp={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},Ca=(e,t,o)=>{let r=o.getDerivativeToken(e),{override:n,...a}=t,i={...r,override:n};return i=Rr(i),a&&Object.entries(a).forEach(([l,s])=>{let{theme:c,...p}=s,m=p;c&&(m=Ca({...i,...p},{override:p},c)),i[l]=m;}),i};function te(){let{token:e,hashed:t,theme:o,override:r,cssVar:n}=ie__default.useContext(Zo),a=`${ga}-${t||""}`,i=o||Pr,[l,s,c]=useCacheToken(i,[ht,e],{salt:a,override:r,getComputedToken:Ca,formatToken:Rr,cssVar:n&&{prefix:n.prefix,key:n.key,unitless:_n,ignore:Fp,preserve:Gp}});return [i,c,t?s:"",l,n]}var pt={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},ae=(e,t=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),_e=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),er=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Sa=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),ya=(e,t,o,r)=>{let n=`[class^="${t}"], [class*=" ${t}"]`,a=o?`.${o}`:n,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return r!==false&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:{...l,...i,[n]:i}}},Nt=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ht=e=>({"&:focus-visible":{...Nt(e)}}),wr=e=>({[`.${e}`]:{..._e(),[`.${e} .${e}-icon`]:{display:"block"}}}),ba=e=>({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none",...Ht(e),"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});var{genStyleHooks:oe,genComponentStyleHook:Kn,genSubStyleComponent:tr}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=useContext(z);return {rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,o,r,n]=te();return {theme:e,realToken:t,hashId:o,token:r,cssVar:n}},useCSP:()=>{let{csp:e}=useContext(z);return e??{}},getResetStyles:(e,t)=>[{"&":Sa(e)},wr(t?.prefix.iconPrefixCls??Qo)],getCommonStyle:ya,getCompUnitless:(()=>_n)});function Mr(e,t){return Ot.reduce((o,r)=>{let n=e[`${r}1`],a=e[`${r}3`],i=e[`${r}6`],l=e[`${r}7`];return {...o,...t(r,{lightColor:n,lightBorderColor:a,darkColor:i,textColor:l})}},{})}var Kp=(e,t)=>{let[o,r]=te();return useStyleRegister({theme:o,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t?.nonce,layer:{name:"antd"}},()=>[wr(e)])},Br=Kp;var Up={...ie},{useId:xa}=Up,qp=()=>"",Yp=typeof xa>"u"?qp:xa,Ta=Yp;function Xn(e,t,o){let r=K("ConfigProvider"),n=e||{},a=n.inherit===false||!t?{...Yo,hashed:t?.hashed??Yo.hashed,cssVar:t?.cssVar}:t,i=Ta();if(process.env.NODE_ENV!=="production"){let l=n.cssVar||a.cssVar,s=!!(typeof n.cssVar=="object"&&n.cssVar?.key||i);r(!l||s,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return Zp(()=>{if(!e)return t;let l={...a.components};Object.keys(e.components||{}).forEach(p=>{l[p]={...l[p],...e.components[p]};});let s=`css-var-${i.replace(/:/g,"")}`,c=(n.cssVar??a.cssVar)&&{prefix:o?.prefixCls,...typeof a.cssVar=="object"?a.cssVar:{},...typeof n.cssVar=="object"?n.cssVar:{},key:typeof n.cssVar=="object"&&n.cssVar?.key||s};return {...a,...n,token:{...a.token,...n.token},components:l,cssVar:c}},[n,a],(l,s)=>l.some((c,p)=>{let m=s[p];return !Qp(c,m,true)}))}function Un(e){let{children:t}=e,[,o]=te(),{motion:r}=o,n=ie.useRef(false);return n.current=n.current||r===false,n.current?ie.createElement(Provider,{motion:r},t):t}var $a=ie.memo(({dropdownMatchSelectWidth:e})=>(K("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&($a.displayName="PropWarning");var Pa=process.env.NODE_ENV!=="production"?$a:()=>null;var qn=false;process.env.NODE_ENV!=="production"?e=>{Et(!qn,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var rd=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Ra;function ld(){return Ra||zt}function sd(e){return Object.keys(e).some(t=>t.endsWith("Color"))}var cd=e=>{let{prefixCls:t,iconPrefixCls:o,theme:r,holderRender:n}=e;t!==void 0&&(Ra=t),r&&(sd(r)?(Et(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),ca(ld(),r)):r);};var pd=e=>{let{children:t,csp:o,autoInsertSpaceInButton:r,alert:n,anchor:a,form:i,locale:l,componentSize:s,direction:c,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:f,popupMatchSelectWidth:u,popupOverflow:S,legacyLocale:y,parentContext:C,iconPrefixCls:b,theme:g,componentDisabled:P,segmented:B,statistic:$,spin:h,calendar:x,carousel:T,cascader:v,collapse:M,typography:L,checkbox:O,descriptions:W,divider:R,drawer:H,skeleton:E,steps:I,image:j,layout:D,list:q,mentions:re,modal:Y,progress:w,result:k,slider:N,breadcrumb:J,menu:_,pagination:le,input:pe,textArea:me,empty:de,badge:F,radio:Z,rate:$e,switch:we,transfer:et,avatar:V,message:X,tag:ne,table:Q,card:We,tabs:It,timeline:at,timePicker:Kt,upload:Rt,notification:wt,tree:Ct,colorPicker:se,datePicker:Xt,rangePicker:co,flex:po,wave:Fo,dropdown:Go,warning:mo,tour:Vo,variant:jo,inputNumber:Oe,treeSelect:$n}=e,yr=ie.useCallback((G,ee)=>{let{prefixCls:fe}=e;if(ee)return ee;let ge=fe||C.getPrefixCls("");return G?`${ge}-${G}`:ge},[C.getPrefixCls,e.prefixCls]),Mt=b||C.iconPrefixCls||Qo,Ut=o||C.csp;Br(Mt,Ut);let uo=Xn(g,C.theme,{prefixCls:yr("")});process.env.NODE_ENV!=="production"&&(qn=qn||!!uo);let _o={csp:Ut,autoInsertSpaceInButton:r,alert:n,anchor:a,locale:l||y,direction:c,space:p,splitter:m,virtual:d,popupMatchSelectWidth:u??f,popupOverflow:S,getPrefixCls:yr,iconPrefixCls:Mt,theme:uo,segmented:B,statistic:$,spin:h,calendar:x,carousel:T,cascader:v,collapse:M,typography:L,checkbox:O,descriptions:W,divider:R,drawer:H,skeleton:E,steps:I,image:j,input:pe,textArea:me,layout:D,list:q,mentions:re,modal:Y,progress:w,result:k,slider:N,breadcrumb:J,menu:_,pagination:le,empty:de,badge:F,radio:Z,rate:$e,switch:we,transfer:et,avatar:V,message:X,tag:ne,table:Q,card:We,tabs:It,timeline:at,timePicker:Kt,upload:Rt,notification:wt,tree:Ct,colorPicker:se,datePicker:Xt,rangePicker:co,flex:po,wave:Fo,dropdown:Go,warning:mo,tour:Vo,variant:jo,inputNumber:Oe,treeSelect:$n};process.env.NODE_ENV!=="production"&&K("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let Bt={...C};Object.keys(_o).forEach(G=>{_o[G]!==void 0&&(Bt[G]=_o[G]);}),rd.forEach(G=>{let ee=e[G];ee&&(Bt[G]=ee);}),typeof r<"u"&&(Bt.button={autoInsertSpace:r,...Bt.button});let lt=Zp(()=>Bt,Bt,(G,ee)=>{let fe=Object.keys(G),ge=Object.keys(ee);return fe.length!==ge.length||fe.some(Fe=>G[Fe]!==ee[Fe])}),Pn=ie.useMemo(()=>({prefixCls:Mt,csp:Ut}),[Mt,Ut]),ye=ie.createElement(ie.Fragment,null,ie.createElement(Pa,{dropdownMatchSelectWidth:f}),t),Ko=ie.useMemo(()=>merge(Ve.Form?.defaultValidateMessages||{},lt.locale?.Form?.defaultValidateMessages||{},lt.form?.validateMessages||{},i?.validateMessages||{}),[lt,i?.validateMessages]);Object.keys(Ko).length>0&&(ye=ie.createElement(qi.Provider,{value:Ko},ye)),l&&(ye=ie.createElement(ea,{locale:l,_ANT_MARK__:Mn},ye)),(ye=ie.createElement(ed.Provider,{value:Pn},ye)),s&&(ye=ie.createElement(da,{size:s},ye)),ye=ie.createElement(Un,null,ye);let A=ie.useMemo(()=>{let{algorithm:G,token:ee,components:fe,cssVar:ge,...Fe}=uo||{},tt=G&&(!Array.isArray(G)||G.length>0)?createTheme(G):Pr,st={};Object.entries(fe||{}).forEach(([br,Uo])=>{let St={...Uo};"algorithm"in St&&(St.algorithm===true?St.theme=tt:(Array.isArray(St.algorithm)||typeof St.algorithm=="function")&&(St.theme=createTheme(St.algorithm)),delete St.algorithm),st[br]=St;});let Xo={...ht,...ee};return {...Fe,theme:tt,token:Xo,components:st,override:{override:Xo,...st},cssVar:ge}},[uo]);return g&&(ye=ie.createElement(Zo.Provider,{value:A},ye)),lt.warning&&(ye=ie.createElement(Rn.Provider,{value:lt.warning},ye)),P!==void 0&&(ye=ie.createElement(pa,{disabled:P},ye)),ie.createElement(z.Provider,{value:lt},ye)},Zt=e=>{let t=ie.useContext(z),o=ie.useContext(fo);return ie.createElement(pd,{parentContext:t,legacyLocale:o,...e})};Zt.ConfigContext=z;Zt.SizeContext=Yt;Zt.config=cd;Zt.useConfig=ua;Object.defineProperty(Zt,"SizeContext",{get:()=>(Et(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Yt)});process.env.NODE_ENV!=="production"&&(Zt.displayName="ConfigProvider");var wa=Zt;var Ma=()=>{let[,e]=te(),[t]=He("Empty"),r=new TinyColor(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return ie.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},ie.createElement("title",null,t?.description||"Empty"),ie.createElement("g",{fill:"none",fillRule:"evenodd"},ie.createElement("g",{transform:"translate(24 31.67)"},ie.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),ie.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),ie.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),ie.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),ie.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),ie.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),ie.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},ie.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),ie.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};process.env.NODE_ENV!=="production"&&(Ma.displayName="EmptyImage");var Ba=Ma;var Ea=()=>{let[,e]=te(),[t]=He("Empty"),{colorFill:o,colorFillTertiary:r,colorFillQuaternary:n,colorBgContainer:a}=e,{borderColor:i,shadowColor:l,contentColor:s}=useMemo(()=>({borderColor:new TinyColor(o).onBackground(a).toHexShortString(),shadowColor:new TinyColor(r).onBackground(a).toHexShortString(),contentColor:new TinyColor(n).onBackground(a).toHexShortString()}),[o,r,n,a]);return ie.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},ie.createElement("title",null,t?.description||"Empty"),ie.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},ie.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),ie.createElement("g",{fillRule:"nonzero",stroke:i},ie.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),ie.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))};process.env.NODE_ENV!=="production"&&(Ea.displayName="SimpleImage");var za=Ea;var ud=e=>{let{componentCls:t,margin:o,marginXS:r,marginXL:n,fontSize:a,lineHeight:i}=e;return {[t]:{marginInline:r,fontSize:a,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:o},"&-normal":{marginBlock:n,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},Oa=oe("Empty",e=>{let{componentCls:t,controlHeightLG:o,calc:r}=e,n=mergeToken(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(o).mul(2.5).equal(),emptyImgHeightMD:o,emptyImgHeightSM:r(o).mul(.875).equal()});return [ud(n)]});var Na=ie.createElement(Ba,null),Ha=ie.createElement(za,null),zr=({className:e,rootClassName:t,prefixCls:o,image:r=Na,description:n,children:a,imageStyle:i,style:l,...s})=>{let{getPrefixCls:c,direction:p,empty:m}=ie.useContext(z),d=c("empty",o),[f,u,S]=Oa(d),[y]=He("Empty"),C=typeof n<"u"?n:y?.description,b=typeof C=="string"?C:"empty",g=null;return typeof r=="string"?g=ie.createElement("img",{alt:b,src:r}):g=r,f(ie.createElement("div",{className:ko(u,S,d,m?.className,{[`${d}-normal`]:r===Ha,[`${d}-rtl`]:p==="rtl"},e,t),style:{...m?.style,...l},...s},ie.createElement("div",{className:`${d}-image`,style:i},g),C&&ie.createElement("div",{className:`${d}-description`},C),a&&ie.createElement("div",{className:`${d}-footer`},a)))};zr.PRESENTED_IMAGE_DEFAULT=Na;zr.PRESENTED_IMAGE_SIMPLE=Ha;process.env.NODE_ENV!=="production"&&(zr.displayName="Empty");var ho=zr;var Cd=e=>{let{componentName:t}=e,{getPrefixCls:o}=useContext(z),r=o("empty");switch(t){case "Table":case "List":return ie__default.createElement(ho,{image:ho.PRESENTED_IMAGE_SIMPLE});case "Select":case "TreeSelect":case "Cascader":case "Transfer":case "Mentions":return ie__default.createElement(ho,{image:ho.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case "Table.filter":return null;default:return ie__default.createElement(ho,null)}},Or=Cd;ie.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});ie.createContext(null);ie.createContext({prefixCls:""});var be=ie.createContext({});process.env.NODE_ENV!=="production"&&(be.displayName="FormItemInputContext");var La=({children:e,status:t,override:o})=>{let r=ie.useContext(be),n=ie.useMemo(()=>{let a={...r};return o&&delete a.isFormItemInput,t&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[t,o,r]);return ie.createElement(be.Provider,{value:n},e)},Aa=ie.createContext(void 0);var Sd=(e,t,o)=>{let r=ie.useMemo(()=>(e||[]).map(i=>t?{...i,key:t(i)}:i),[e,t]),[n,a]=ie.useMemo(()=>{let i=[],l=new Array((o||[]).length),s=qt(o||[]);return r.forEach(c=>{s.has(c.key)?l[s.get(c.key)]=c:i.push(c);}),[i,l]},[r,o,t]);return [r,n,a]},Da=Sd;var bd=[];function Nr(e,t){let o=e.filter(r=>t.has(r));return e.length===o.length?e:o}function Wa(e){return Array.from(e).join(";")}function Jn(e,t,o){let[r,n]=ie.useMemo(()=>[new Set(e.map(m=>m.key)),new Set(t.map(m=>m.key))],[e,t]),[a,i]=useMergedState(bd,{value:o}),l=ie.useMemo(()=>Nr(a,r),[a,r]),s=ie.useMemo(()=>Nr(a,n),[a,n]);ie.useEffect(()=>{i([...Nr(a,r),...Nr(a,n)]);},[Wa(r),Wa(n)]);let c=useEvent(m=>{i([...m,...s]);}),p=useEvent(m=>{i([...l,...m]);});return [l,s,c,p]}function Lr(e){return e&&ie__default.isValidElement(e)&&e.type===ie__default.Fragment}var hd=(e,t,o)=>ie__default.isValidElement(e)?ie__default.cloneElement(e,typeof o=="function"?o(e.props||{}):o):t;function Ce(e,t){return hd(e,e,t)}var xd=e=>{let{componentCls:t,colorPrimary:o}=e;return {[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${o})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Fa=Kn("Wave",e=>[xd(e)]);var To=`${zt}-wave-target`;var Pd=(e,t)=>{if(process.env.NODE_ENV!=="production"){let o=parseInt(ie.version.split(".")[0],10),r=Object.keys(Td);Et(o<19||r.includes("createRoot"),"compatible","swiftcrab v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.");}return render(e,t),()=>unmount(t)},Id=Pd;function Va(){return Id}function ei(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function ja(e){let{borderTopColor:t,borderColor:o,backgroundColor:r}=getComputedStyle(e);return ei(t)?t:ei(o)?o:ei(r)?r:null}function ti(e){return Number.isNaN(e)?0:e}var Bd=e=>{let{className:t,target:o,component:r,registerUnmount:n}=e,a=ie.useRef(null),i=ie.useRef(null);ie.useEffect(()=>{i.current=n();},[]);let[l,s]=ie.useState(null),[c,p]=ie.useState([]),[m,d]=ie.useState(0),[f,u]=ie.useState(0),[S,y]=ie.useState(0),[C,b]=ie.useState(0),[g,P]=ie.useState(false),B={left:m,top:f,width:S,height:C,borderRadius:c.map(x=>`${x}px`).join(" ")};l&&(B["--wave-color"]=l);function $(){let x=getComputedStyle(o);s(ja(o));let T=x.position==="static",{borderLeftWidth:v,borderTopWidth:M}=x;d(T?o.offsetLeft:ti(-parseFloat(v))),u(T?o.offsetTop:ti(-parseFloat(M))),y(o.offsetWidth),b(o.offsetHeight);let{borderTopLeftRadius:L,borderTopRightRadius:O,borderBottomLeftRadius:W,borderBottomRightRadius:R}=x;p([L,O,R,W].map(H=>ti(parseFloat(H))));}if(ie.useEffect(()=>{if(o){let x=_a(()=>{$(),P(true);}),T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver($),T.observe(o)),()=>{_a.cancel(x),T?.disconnect();}}},[]),!g)return null;let h=(r==="Checkbox"||r==="Radio")&&o?.classList.contains(To);return ie.createElement(wd,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(x,T)=>{if(T.deadline||T.propertyName==="opacity"){let v=a.current?.parentElement;i.current?.().then(()=>{v?.remove();});}return false}},({className:x},T)=>ie.createElement("div",{ref:composeRef(a,T),className:ko(t,x,{"wave-quick":h}),style:B}))},Ed=(e,t)=>{let{component:o}=t;if(o==="Checkbox"&&!e.querySelector("input")?.checked)return;let r=document.createElement("div");r.style.position="absolute",r.style.left="0px",r.style.top="0px",e?.insertBefore(r,e?.firstChild);let n=Va(),a=null;function i(){return a}a=n(ie.createElement(Bd,{...t,target:e,registerUnmount:i}),r);},Ka=Ed;var Od=(e,t,o)=>{let{wave:r}=ie.useContext(z),[,n,a]=te(),i=Vc(c=>{let p=e.current;if(r?.disabled||!p)return;let m=p.querySelector(`.${To}`)||p,{showEffect:d}=r||{};(d||Ka)(m,{className:t,token:n,component:o,event:c,hashId:a});}),l=ie.useRef(null);return c=>{_a.cancel(l.current),l.current=_a(()=>{i(c);});}},Ua=Od;var Ya=e=>{let{children:t,disabled:o,component:r}=e,{getPrefixCls:n}=useContext(z),a=useRef(null),i=n("wave"),[,l]=Fa(i),s=Ua(a,ko(i,l),r);if(ie__default.useEffect(()=>{let p=a.current;if(!p||p.nodeType!==1||o)return;let m=d=>{!Ad(d.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||s(d);};return p.addEventListener("click",m,true),()=>{p.removeEventListener("click",m,true);}},[o]),!ie__default.isValidElement(t))return t??null;let c=supportRef(t)?composeRef(getNodeRef(t),a):a;return Ce(t,{ref:c})};process.env.NODE_ENV!=="production"&&(Ya.displayName="Wave");var Dr=Ya;var Fd=e=>{let[,,,,t]=te();return t?`${e}-css-var`:""},Be=Fd;var Vd=ie__default.createContext(null),kr=Vd;var jd=e=>{let{checkboxCls:t}=e,o=`${t}-wrapper`;return [{[`${t}-group`]:{...ae(e),display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}},[o]:{...ae(e),display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${o}`]:{marginInlineStart:0},[`&${o}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}},[t]:{...ae(e),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:{...Nt(e)}},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${unit(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}}},{[`
41
+ ${o}:not(${o}-disabled),
42
+ ${t}:not(${t}-disabled)
43
+ `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${o}:not(${o}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`
44
+ ${o}-checked:not(${o}-disabled),
45
+ ${t}-checked:not(${t}-disabled)
46
+ `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${o}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function _d(e,t){let o=mergeToken(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return [jd(o)]}var Wr=oe("Checkbox",(e,{prefixCls:t})=>[_d(t,e)]);function oi(e){let t=ie__default.useRef(null),o=()=>{_a.cancel(t.current),t.current=null;};return [()=>{o(),t.current=_a(()=>{t.current=null;});},a=>{t.current&&(a.stopPropagation(),o()),e?.(a);}]}var qd=(e,t)=>{let{prefixCls:o,className:r,rootClassName:n,children:a,indeterminate:i=false,style:l,onMouseEnter:s,onMouseLeave:c,skipGroup:p=false,disabled:m,...d}=e,{getPrefixCls:f,direction:u,checkbox:S}=ie.useContext(z),y=ie.useContext(kr),{isFormItemInput:C}=ie.useContext(be),b=ie.useContext(Le),g=(y?.disabled||m)??b,P=ie.useRef(d.value),B=ie.useRef(null),$=composeRef(t,B);process.env.NODE_ENV!=="production"&&K("Checkbox")("checked"in d||!!y||!("value"in d),"usage","`value` is not a valid prop, do you mean `checked`?"),ie.useEffect(()=>{y?.registerValue(d.value);},[]),ie.useEffect(()=>{if(!p)return d.value!==P.current&&(y?.cancelValue(P.current),y?.registerValue(d.value),P.current=d.value),()=>y?.cancelValue(d.value)},[d.value]),ie.useEffect(()=>{B.current?.input&&(B.current.input.indeterminate=i);},[i]);let h=f("checkbox",o),x=Be(h),[T,v,M]=Wr(h,x),L={...d};y&&!p&&(L.onChange=(...E)=>{d.onChange&&d.onChange(...E),y.toggleOption&&y.toggleOption({label:a,value:d.value});},L.name=y.name,L.checked=y.value.includes(d.value));let O=ko(`${h}-wrapper`,{[`${h}-rtl`]:u==="rtl",[`${h}-wrapper-checked`]:L.checked,[`${h}-wrapper-disabled`]:g,[`${h}-wrapper-in-form-item`]:C},S?.className,r,n,M,x,v),W=ko({[`${h}-indeterminate`]:i},To,v),[R,H]=oi(L.onClick);return T(ie.createElement(Dr,{component:"Checkbox",disabled:g},ie.createElement("label",{className:O,style:{...S?.style,...l},onMouseEnter:s,onMouseLeave:c,onClick:R},ie.createElement(Xd,{...L,onClick:H,prefixCls:h,className:W,disabled:g,ref:$}),a!==void 0&&ie.createElement("span",null,a))))},el=ie.forwardRef(qd);process.env.NODE_ENV!=="production"&&(el.displayName="Checkbox");var Fr=el;var Qd=ie.forwardRef((e,t)=>{let{defaultValue:o,children:r,options:n=[],prefixCls:a,className:i,rootClassName:l,style:s,onChange:c,...p}=e,{getPrefixCls:m,direction:d}=ie.useContext(z),[f,u]=ie.useState(p.value||o||[]),[S,y]=ie.useState([]);ie.useEffect(()=>{"value"in p&&u(p.value||[]);},[p.value]);let C=ie.useMemo(()=>n.map(R=>typeof R=="string"||typeof R=="number"?{label:R,value:R}:R),[n]),b=R=>{y(H=>H.filter(E=>E!==R));},g=R=>{y(H=>[...H,R]);},P=R=>{let H=f.indexOf(R.value),E=[...f];H===-1?E.push(R.value):E.splice(H,1),"value"in p||u(E),c?.(E.filter(I=>S.includes(I)).sort((I,j)=>{let D=C.findIndex(re=>re.value===I),q=C.findIndex(re=>re.value===j);return D-q}));},B=m("checkbox",a),$=`${B}-group`,h=Be(B),[x,T,v]=Wr(B,h),M=ws(p,["value","disabled"]),L=n.length?C.map(R=>ie.createElement(Fr,{prefixCls:B,key:R.value.toString(),disabled:"disabled"in R?R.disabled:p.disabled,value:R.value,checked:f.includes(R.value),onChange:R.onChange,className:`${$}-item`,style:R.style,title:R.title,id:R.id,required:R.required},R.label)):r,O={toggleOption:P,value:f,disabled:p.disabled,name:p.name,registerValue:g,cancelValue:b},W=ko($,{[`${$}-rtl`]:d==="rtl"},i,l,v,h,T);return x(ie.createElement("div",{className:W,style:s,...M,ref:t},ie.createElement(kr.Provider,{value:O},L)))});var tl=Qd;var Gr=Fr;Gr.Group=tl;Gr.__ANT_CHECKBOX=true;process.env.NODE_ENV!=="production"&&(Gr.displayName="Checkbox");var Vr=Gr;var ol=ie__default.createContext(void 0);process.env.NODE_ENV!=="production"&&(ol.displayName="zIndexContext");var vo=ol;var xt=100,tm=10,om=xt*tm,rm=om+xt,rl={Modal:xt,Drawer:xt,Popover:xt,Popconfirm:xt,Tooltip:xt,Tour:xt,FloatButton:xt},nm={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function im(e){return e in rl}var At=(e,t)=>{let[,o]=te(),r=ie__default.useContext(vo),n=im(e),a;if(t!==void 0)a=[t,t];else {let i=r??0;n?i+=(r?0:o.zIndexPopupBase)+rl[e]:i+=nm[e],a=[r===void 0?t:i,i];}if(process.env.NODE_ENV!=="production"){let i=K(e),l=o.zIndexPopupBase+rm,s=a[0]||0;i(t!==void 0||s<=l,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.");}return a};var am=e=>typeof e!="object"&&typeof e!="function"||e===null,nl=am;function jr(e){let{sizePopupArrow:t,borderRadiusXS:o,borderRadiusOuter:r}=e,n=t/2,a=0,i=n,l=r*1/Math.sqrt(2),s=n-r*(1-1/Math.sqrt(2)),c=n-o*(1/Math.sqrt(2)),p=r*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),m=2*n-c,d=p,f=2*n-l,u=s,S=2*n-a,y=i,C=n*Math.sqrt(2)+r*(Math.sqrt(2)-2),b=r*(Math.sqrt(2)-1),g=`polygon(${b}px 100%, 50% ${b}px, ${2*n-b}px 100%, ${b}px 100%)`,P=`path('M ${a} ${i} A ${r} ${r} 0 0 0 ${l} ${s} L ${c} ${p} A ${o} ${o} 0 0 1 ${m} ${d} L ${f} ${u} A ${r} ${r} 0 0 0 ${S} ${y} Z')`;return {arrowShadowWidth:C,arrowPath:P,arrowPolygon:g}}var il=(e,t,o)=>{let{sizePopupArrow:r,arrowPolygon:n,arrowPath:a,arrowShadowWidth:i,borderRadiusXS:l,calc:s}=e;return {pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:s(r).div(2).equal(),background:t,clipPath:{_multi_value_:true,value:[n,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:true,value:`0 0 ${unit(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}};var ri=8;function $o(e){let{contentRadius:t,limitVerticalRadius:o}=e,r=t>12?t+2:12;return {arrowOffsetHorizontal:r,arrowOffsetVertical:o?ri:r}}function _r(e,t){return e?t:{}}function or(e,t,o){let{componentCls:r,boxShadowPopoverArrow:n,arrowOffsetVertical:a,arrowOffsetHorizontal:i}=e,{arrowDistance:l=0,arrowPlacement:s={left:true,right:true,top:true,bottom:true}}=o||{};return {[r]:{[`${r}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...il(e,t,n),"&:before":{background:t}}],..._r(!!s.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:true,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:true,value:i}}}}),..._r(!!s.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:true,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:true,value:i}}}}),..._r(!!s.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:true,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}}),..._r(!!s.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:true,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}})}}}function sm(e,t,o,r){if(r===false)return {adjustX:false,adjustY:false};let n=r&&typeof r=="object"?r:{},a={};switch(e){case "top":case "bottom":a.shiftX=t.arrowOffsetHorizontal*2+o,a.shiftY=true,a.adjustY=true;break;case "left":case "right":a.shiftY=t.arrowOffsetVertical*2+o,a.shiftX=true,a.adjustX=true;break}let i={...a,...n};return i.shiftX||(i.adjustX=true),i.shiftY||(i.adjustY=true),i}var ll={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},cm={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},pm=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function rr(e){let{arrowWidth:t,autoAdjustOverflow:o,arrowPointAtCenter:r,offset:n,borderRadius:a,visibleFirst:i}=e,l=t/2,s={};return Object.keys(ll).forEach(c=>{let m={...r&&cm[c]||ll[c],offset:[0,0],dynamicInset:true};switch(s[c]=m,pm.has(c)&&(m.autoArrow=false),c){case "top":case "topLeft":case "topRight":m.offset[1]=-l-n;break;case "bottom":case "bottomLeft":case "bottomRight":m.offset[1]=l+n;break;case "left":case "leftTop":case "leftBottom":m.offset[0]=-l-n;break;case "right":case "rightTop":case "rightBottom":m.offset[0]=l+n;break}let d=$o({contentRadius:a,limitVerticalRadius:true});if(r)switch(c){case "topLeft":case "bottomLeft":m.offset[0]=-d.arrowOffsetHorizontal-l;break;case "topRight":case "bottomRight":m.offset[0]=d.arrowOffsetHorizontal+l;break;case "leftTop":case "rightTop":m.offset[1]=-d.arrowOffsetHorizontal*2+l;break;case "leftBottom":case "rightBottom":m.offset[1]=d.arrowOffsetHorizontal*2-l;break}m.overflow=sm(c,d,t,o),i&&(m.htmlRegion="visibleFirst");}),s}function mm(e){return t=>ie.createElement(wa,{theme:{token:{motion:false,zIndexPopupBase:0}}},ie.createElement(e,{...t}))}var um=(e,t,o,r,n)=>mm(i=>{let{prefixCls:l,style:s}=i,c=ie.useRef(null),[p,m]=ie.useState(0),[d,f]=ie.useState(0),[u,S]=dm(false,{value:i.open}),{getPrefixCls:y}=ie.useContext(z),C=y(r||"select",l);ie.useEffect(()=>{if(S(true),typeof ResizeObserver<"u"){let P=new ResizeObserver($=>{let h=$[0].target;m(h.offsetHeight+8),f(h.offsetWidth);}),B=setInterval(()=>{let $=n?`.${n(C)}`:`.${C}-dropdown`,h=c.current?.querySelector($);h&&(clearInterval(B),P.observe(h));},10);return ()=>{clearInterval(B),P.disconnect();}}},[]);let b={...i,style:{...s,margin:0},open:u,visible:u,getPopupContainer:()=>c.current};return o&&(b=o(b)),t&&Object.assign(b,{[t]:{overflow:{adjustX:false,adjustY:false}}}),ie.createElement("div",{ref:c,style:{paddingBottom:p,position:"relative",minWidth:d}},ie.createElement(e,{...b}))}),Kr=um;var fm=e=>!isNaN(parseFloat(e))&&isFinite(e),sl=fm;var pl=ie.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var Cm=e=>{let{antCls:t,componentCls:o,colorText:r,footerBg:n,headerHeight:a,headerPadding:i,headerColor:l,footerPadding:s,fontSize:c,bodyBg:p,headerBg:m}=e;return {[o]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:p,"&, *":{boxSizing:"border-box"},[`&${o}-has-sider`]:{flexDirection:"row",[`> ${o}, > ${o}-content`]:{width:0}},[`${o}-header, &${o}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${o}-header`]:{height:a,padding:i,color:l,lineHeight:unit(a),background:m,[`${t}-menu`]:{lineHeight:"inherit"}},[`${o}-footer`]:{padding:s,color:r,fontSize:c,background:n},[`${o}-content`]:{flex:"auto",color:r,minHeight:0}}},ni=e=>{let{colorBgLayout:t,controlHeight:o,controlHeightLG:r,colorText:n,controlHeightSM:a,marginXXS:i,colorTextLightSolid:l,colorBgContainer:s}=e,c=r*1.25;return {colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:o*2,headerPadding:`0 ${c}px`,headerColor:n,footerPadding:`${a}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+i*2,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:s,lightTriggerBg:s,lightTriggerColor:n}},ii=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];oe("Layout",e=>[Cm(e)],ni,{deprecatedTokens:ii});var ym=e=>{let{componentCls:t,siderBg:o,motionDurationMid:r,motionDurationSlow:n,antCls:a,triggerHeight:i,triggerColor:l,triggerBg:s,headerHeight:c,zeroTriggerWidth:p,zeroTriggerHeight:m,borderRadius:d,lightSiderBg:f,lightTriggerColor:u,lightTriggerBg:S,bodyBg:y}=e;return {[t]:{position:"relative",minWidth:0,background:o,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:i},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-0.1,paddingTop:.1,[`${a}-menu${a}-menu-inline-collapsed`]:{width:"auto"}},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:i,color:l,lineHeight:unit(i),textAlign:"center",background:s,cursor:"pointer",transition:`all ${r}`},[`${a}-layout &-zero-width`]:{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:e.calc(p).mul(-1).equal(),zIndex:1,width:p,height:m,color:l,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:o,borderStartStartRadius:0,borderStartEndRadius:d,borderEndEndRadius:d,borderEndStartRadius:0,cursor:"pointer",transition:`background ${n} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${n}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(p).mul(-1).equal(),borderStartStartRadius:d,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:d}}},"&-light":{background:f,[`${t}-trigger`]:{color:u,background:S},[`${t}-zero-width-trigger`]:{color:u,background:S,border:`1px solid ${y}`,borderInlineStart:0}}}}},dl=oe(["Layout","Sider"],e=>[ym(e)],ni,{deprecatedTokens:ii});var Sl={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},nr=ie.createContext({}),Tm=(()=>{let e=0;return (t="")=>(e+=1,`${t}${e}`)})(),vm=ie.forwardRef((e,t)=>{let{prefixCls:o,className:r,trigger:n,children:a,defaultCollapsed:i=false,theme:l="dark",style:s={},collapsible:c=false,reverseArrow:p=false,width:m=200,collapsedWidth:d=80,zeroWidthTriggerStyle:f,breakpoint:u,onCollapse:S,onBreakpoint:y,...C}=e,{siderHook:b}=useContext(pl),[g,P]=useState("collapsed"in e?e.collapsed:i),[B,$]=useState(false);useEffect(()=>{"collapsed"in e&&P(e.collapsed);},[e.collapsed]);let h=(E,I)=>{"collapsed"in e||P(E),S?.(E,I);},{getPrefixCls:x}=useContext(z),T=x("layout-sider",o),[v,M,L]=dl(T),O=useRef(null);O.current=E=>{$(E.matches),y?.(E.matches),g!==E.matches&&h(E.matches,"responsive");},useEffect(()=>{function E(j){return O.current(j)}let I;if(typeof window<"u"){let{matchMedia:j}=window;if(j&&u&&u in Sl){I=j(`screen and (max-width: ${Sl[u]})`);try{I.addEventListener("change",E);}catch{I.addListener(E);}E(I);}}return ()=>{try{I?.removeEventListener("change",E);}catch{I?.removeListener(E);}}},[u]),useEffect(()=>{let E=Tm("ant-sider-");return b.addSider(E),()=>b.removeSider(E)},[]);let W=()=>{h(!g,"clickTrigger");},R=()=>{let E=ws(C,["collapsed"]),I=g?d:m,j=sl(I)?`${I}px`:String(I),D=parseFloat(String(d||0))===0?ie.createElement("span",{onClick:W,className:ko(`${T}-zero-width-trigger`,`${T}-zero-width-trigger-${p?"right":"left"}`),style:f},n||ie.createElement(hm,null)):null,Y={expanded:p?ie.createElement(gl,null):ie.createElement(fl,null),collapsed:p?ie.createElement(fl,null):ie.createElement(gl,null)}[g?"collapsed":"expanded"],w=n!==null?D||ie.createElement("div",{className:`${T}-trigger`,onClick:W,style:{width:j}},n||Y):null,k={...s,flex:`0 0 ${j}`,maxWidth:j,minWidth:j,width:j},N=ko(T,`${T}-${l}`,{[`${T}-collapsed`]:!!g,[`${T}-has-trigger`]:c&&n!==null&&!D,[`${T}-below`]:!!B,[`${T}-zero-width`]:parseFloat(j)===0},r,M,L);return ie.createElement("aside",{className:N,...E,style:k,ref:t},ie.createElement("div",{className:`${T}-children`},a),c||B&&D?w:null)},H=ie.useMemo(()=>({siderCollapsed:g}),[g]);return v(ie.createElement(nr.Provider,{value:H},R()))});process.env.NODE_ENV!=="production"&&(vm.displayName="Sider");var li=()=>({height:0,opacity:0}),yl=e=>{let{scrollHeight:t}=e;return {height:t,opacity:1}},$m=e=>({height:e?e.offsetHeight:0}),si=(e,t)=>t?.deadline===true||t.propertyName==="height",Pm=(e=zt)=>({motionName:`${e}-motion-collapse`,onAppearStart:li,onEnterStart:li,onAppearActive:yl,onEnterActive:yl,onLeaveStart:$m,onLeaveActive:li,onAppearEnd:si,onEnterEnd:si,onLeaveEnd:si,motionDeadline:500});var Xr=(e,t,o)=>o!==void 0?o:`${e}-${t}`;var Ur=Pm;var Rm=createContext({prefixCls:"",firstLevel:true,inlineCollapsed:false}),Qt=Rm;var Bm=e=>{let{prefixCls:t,className:o,dashed:r,...n}=e,{getPrefixCls:a}=ie.useContext(z),i=a("menu",t),l=ko({[`${i}-item-divider-dashed`]:!!r},o);return ie.createElement(Divider,{className:l,...n})},Yr=Bm;var Em=e=>{let t=ie__default.useContext(Yt);return ie__default.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},Ie=Em;var zm=e=>{let{componentCls:t}=e;return {[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},hl=zm;var Om=e=>{let{componentCls:t,antCls:o}=e;return {[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${o}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Nm=e=>{let{componentCls:t}=e;return {[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};var Zr=oe("Space",e=>{let t=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [Om(t),Nm(t),hl(t)]},()=>({}),{resetStyle:false});var Qr=ie.createContext(null),mt=(e,t)=>{let o=ie.useContext(Qr),r=ie.useMemo(()=>{if(!o)return "";let{compactDirection:n,isFirstItem:a,isLastItem:i}=o,l=n==="vertical"?"-vertical-":"-";return ko(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:a,[`${e}-compact${l}last-item`]:i,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,o]);return {compactSize:o?.compactSize,compactDirection:o?.compactDirection,compactItemClassnames:r}},Tl=({children:e})=>ie.createElement(Qr.Provider,{value:null},e),Lm=({children:e,...t})=>ie.createElement(Qr.Provider,{value:t},e),Am=e=>{let{getPrefixCls:t,direction:o}=ie.useContext(z),{size:r,direction:n,block:a,prefixCls:i,className:l,rootClassName:s,children:c,...p}=e,m=Ie(g=>r??g),d=t("space-compact",i),[f,u]=Zr(d),S=ko(d,u,{[`${d}-rtl`]:o==="rtl",[`${d}-block`]:a,[`${d}-vertical`]:n==="vertical"},l,s),y=ie.useContext(Qr),C=Hm(c),b=ie.useMemo(()=>C.map((g,P)=>{let B=g?.key||`${d}-item-${P}`;return ie.createElement(Lm,{key:B,compactSize:m,compactDirection:n,isFirstItem:P===0&&(!y||y?.isFirstItem),isLastItem:P===C.length-1&&(!y||y?.isLastItem)},g)}),[r,C,y]);return C.length===0?null:f(ie.createElement("div",{className:S,...p},b))},vl=Am;var Dm=e=>{let{space:t,form:o,children:r}=e;if(r==null)return null;let n=r;return o&&(n=ie__default.createElement(La,{override:true,status:true},n)),t&&(n=ie__default.createElement(Tl,null,n)),n},Jt=Dm;var km=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
47
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
48
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),ir=km;var Wm=e=>({animationDuration:e,animationFillMode:"both"}),Fm=e=>({animationDuration:e,animationFillMode:"both"}),eo=(e,t,o,r,n=false)=>{let a=n?"&":"";return {[`
49
+ ${a}${e}-enter,
50
+ ${a}${e}-appear
51
+ `]:{...Wm(r),animationPlayState:"paused"},[`${a}${e}-leave`]:{...Fm(r),animationPlayState:"paused"},[`
52
+ ${a}${e}-enter${e}-enter-active,
53
+ ${a}${e}-appear${e}-appear-active
54
+ `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}};new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});var Il=new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Rl=new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),wl=new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ml=new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Bl=new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),El=new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),zl=new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ol=new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),jm={"move-up":{inKeyframes:zl,outKeyframes:Ol},"move-down":{inKeyframes:Il,outKeyframes:Rl},"move-left":{inKeyframes:wl,outKeyframes:Ml},"move-right":{inKeyframes:Bl,outKeyframes:El}},to=(e,t)=>{let{antCls:o}=e,r=`${o}-${t}`,{inKeyframes:n,outKeyframes:a}=jm[t];return [eo(r,n,a,e.motionDurationMid),{[`
55
+ ${r}-enter,
56
+ ${r}-appear
57
+ `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var Po=new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Io=new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ro=new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),wo=new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Nl=new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Hl=new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ll=new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Al=new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),_m={"slide-up":{inKeyframes:Po,outKeyframes:Io},"slide-down":{inKeyframes:Ro,outKeyframes:wo},"slide-left":{inKeyframes:Nl,outKeyframes:Hl},"slide-right":{inKeyframes:Ll,outKeyframes:Al}},ut=(e,t)=>{let{antCls:o}=e,r=`${o}-${t}`,{inKeyframes:n,outKeyframes:a}=_m[t];return [eo(r,n,a,e.motionDurationMid),{[`
58
+ ${r}-enter,
59
+ ${r}-appear
60
+ `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]};var Dl=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),kl=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),ci=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),pi=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Wl=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Fl=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Gl=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Vl=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),jl=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),_l=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Kl=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Xl=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Km={zoom:{inKeyframes:Dl,outKeyframes:kl},"zoom-big":{inKeyframes:ci,outKeyframes:pi},"zoom-big-fast":{inKeyframes:ci,outKeyframes:pi},"zoom-left":{inKeyframes:Gl,outKeyframes:Vl},"zoom-right":{inKeyframes:jl,outKeyframes:_l},"zoom-up":{inKeyframes:Wl,outKeyframes:Fl},"zoom-down":{inKeyframes:Kl,outKeyframes:Xl}},oo=(e,t)=>{let{antCls:o}=e,r=`${o}-${t}`,{inKeyframes:n,outKeyframes:a}=Km[t];return [eo(r,n,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
61
+ ${r}-enter,
62
+ ${r}-appear
63
+ `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var Xm=e=>{let{calc:t,componentCls:o,tooltipMaxWidth:r,tooltipColor:n,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:l,controlHeight:s,boxShadowSecondary:c,paddingSM:p,paddingXS:m,arrowOffsetHorizontal:d,sizePopupArrow:f}=e,u=t(i).add(f).add(d).equal(),S=t(i).mul(2).add(f).equal();return [{[o]:{...ae(e),position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${o}-inner`]:{minWidth:S,minHeight:s,padding:`${unit(e.calc(p).div(2).equal())} ${unit(m)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:u},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${o}-inner`]:{borderRadius:e.min(i,ri)}},[`${o}-content`]:{position:"relative"},...Mr(e,(y,{darkColor:C})=>({[`&${o}-${y}`]:{[`${o}-inner`]:{backgroundColor:C},[`${o}-arrow`]:{"--antd-arrow-background-color":C}}})),"&-rtl":{direction:"rtl"}}},or(e,"var(--antd-arrow-background-color)"),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Um=e=>({zIndexPopup:e.zIndexPopupBase+70,...$o({contentRadius:e.borderRadius,limitVerticalRadius:true}),...jr(mergeToken(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),Jr=(e,t=true)=>oe("Tooltip",r=>{let{borderRadius:n,colorTextLightSolid:a,colorBgSpotlight:i}=r,l=mergeToken(r,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:n,tooltipBg:i});return [Xm(l),oo(r,"zoom-big-fast")]},Um,{resetStyle:false,injectStyle:t})(e);var qm=Ot.map(e=>`${e}-inverse`);function ql(e,t=true){return t?[...qm,...Ot].includes(e):Ot.includes(e)}function en(e,t){let o=ql(t),r=ko({[`${e}-${t}`]:t&&o}),n={},a={};return t&&!o&&(n.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:n,arrowStyle:a}}var Jm=e=>{let{prefixCls:t,className:o,placement:r="top",title:n,color:a,overlayInnerStyle:i}=e,{getPrefixCls:l}=ie.useContext(z),s=l("tooltip",t),[c,p,m]=Jr(s),d=en(s,a),f=d.arrowStyle,u={...i,...d.overlayStyle},S=ko(p,m,s,`${s}-pure`,`${s}-placement-${r}`,o,d.className);return c(ie.createElement("div",{className:S,style:f},ie.createElement("div",{className:`${s}-arrow`}),ie.createElement(Popup,{...e,className:p,prefixCls:s,overlayInnerStyle:u},n)))},Yl=Jm;var ou=ie.forwardRef((e,t)=>{let{prefixCls:o,openClassName:r,getTooltipContainer:n,overlayClassName:a,color:i,overlayInnerStyle:l,children:s,afterOpenChange:c,afterVisibleChange:p,destroyTooltipOnHide:m,arrow:d=true,title:f,overlay:u,builtinPlacements:S,arrowPointAtCenter:y=false,autoAdjustOverflow:C=true}=e,b=!!d,[,g]=te(),{getPopupContainer:P,getPrefixCls:B,direction:$}=ie.useContext(z),h=K("Tooltip"),x=ie.useRef(null),T=()=>{x.current?.forceAlign();};ie.useImperativeHandle(t,()=>({forceAlign:T,forcePopupAlign:()=>{h.deprecated(false,"forcePopupAlign","forceAlign"),T();},nativeElement:x.current?.nativeElement})),process.env.NODE_ENV!=="production"&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"]].forEach(([Q,We])=>{h.deprecated(!(Q in e),Q,We);}),h(!m||typeof m=="boolean","usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),h(!d||typeof d=="boolean"||!("arrowPointAtCenter"in d),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));let[v,M]=dm(false,{value:e.open??e.visible,defaultValue:e.defaultOpen??e.defaultVisible}),L=!f&&!u&&f!==0,O=Q=>{M(L?false:Q),L||(e.onOpenChange?.(Q),e.onVisibleChange?.(Q));},W=ie.useMemo(()=>{let Q=y;return typeof d=="object"&&(Q=d.pointAtCenter??d.arrowPointAtCenter??y),S||rr({arrowPointAtCenter:Q,autoAdjustOverflow:C,arrowWidth:b?g.sizePopupArrow:0,borderRadius:g.borderRadius,offset:g.marginXXS,visibleFirst:true})},[y,d,S,g]),R=ie.useMemo(()=>f===0?f:u||f||"",[u,f]),H=ie.createElement(Jt,{space:true},typeof R=="function"?R():R),{getPopupContainer:E,placement:I="top",mouseEnterDelay:j=.1,mouseLeaveDelay:D=.1,overlayStyle:q,rootClassName:re,...Y}=e,w=B("tooltip",o),k=B(),N=e["data-popover-inject"],J=v;!("open"in e)&&!("visible"in e)&&L&&(J=false);let _=ie.isValidElement(s)&&!Lr(s)?s:ie.createElement("span",null,s),le=_.props,pe=!le.className||typeof le.className=="string"?ko(le.className,r||`${w}-open`):le.className,[me,de,F]=Jr(w,!N),Z=en(w,i),$e=Z.arrowStyle,we={...l,...Z.overlayStyle},et=ko(a,{[`${w}-rtl`]:$==="rtl"},Z.className,re,de,F),[V,X]=At("Tooltip",Y.zIndex),ne=ie.createElement(eu,{...Y,zIndex:V,showArrow:b,placement:I,mouseEnterDelay:j,mouseLeaveDelay:D,prefixCls:w,overlayClassName:et,overlayStyle:{...$e,...q},getTooltipContainer:E||n||P,ref:x,builtinPlacements:W,overlay:H,visible:J,onVisibleChange:O,afterVisibleChange:c??p,overlayInnerStyle:we,arrowContent:ie.createElement("span",{className:`${w}-arrow-content`}),motion:{motionName:Xr(k,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m},J?Ce(_,{className:pe}):_);return me(ie.createElement(vo.Provider,{value:X},ne))}),di=ou;process.env.NODE_ENV!=="production"&&(di.displayName="Tooltip");di._InternalPanelDoNotUseOrYouWillBeFired=Yl;var Ql=di;var au=e=>{let{className:t,children:o,icon:r,title:n,danger:a,extra:i}=e,{prefixCls:l,firstLevel:s,direction:c,disableMenuItemTitleTooltip:p,inlineCollapsed:m}=ie.useContext(Qt),d=b=>{let g=o?.[0],P=ie.createElement("span",{className:ko(`${l}-title-content`,{[`${l}-title-content-with-extra`]:!!i||i===0})},o);return (!r||ie.isValidElement(o)&&o.type==="span")&&o&&b&&s&&typeof g=="string"?ie.createElement("div",{className:`${l}-inline-collapsed-noicon`},g.charAt(0)):P},{siderCollapsed:f}=ie.useContext(nr),u=n;typeof n>"u"?u=s?o:"":n===false&&(u="");let S={title:u};!f&&!m&&(S.title=null,S.open=false);let y=Hm(o).length,C=ie.createElement(Item,{...ws(e,["title","icon","danger"]),className:ko({[`${l}-item-danger`]:a,[`${l}-item-only-child`]:(r?y+1:y)===1},t),title:typeof n=="string"?n:void 0},Ce(r,{className:ko(ie.isValidElement(r)?r.props?.className:"",`${l}-item-icon`)}),d(m));return p||(C=ie.createElement(Ql,{...S,placement:c==="rtl"?"left":"right",overlayClassName:`${l}-inline-collapsed-tooltip`},C)),C},tn=au;var ui=ie.createContext(null),Jl=ie.forwardRef((e,t)=>{let{children:o,...r}=e,n=ie.useContext(ui),a=ie.useMemo(()=>({...n,...r}),[n,r.prefixCls,r.mode,r.selectable,r.rootClassName]),i=supportNodeRef(o),l=useComposeRef(t,i?getNodeRef(o):null);return ie.createElement(ui.Provider,{value:a},ie.createElement(Jt,{space:true},i?ie.cloneElement(o,{ref:l}):o))}),fi=ui;var du=e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:r,colorSplit:n,lineWidth:a,lineType:i,itemPaddingInline:l}=e;return {[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${unit(a)} ${i} ${n}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,
64
+ > ${t}-item-active,
65
+ > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${o}`,`background ${o}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},es=du;var mu=({componentCls:e,menuArrowOffset:t,calc:o})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,
66
+ ${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${unit(o(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${unit(t)})`}}}}),os=mu;var rs=e=>({...Nt(e)}),uu=(e,t)=>{let{componentCls:o,itemColor:r,itemSelectedColor:n,groupTitleColor:a,itemBg:i,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:c,activeBarWidth:p,activeBarBorderWidth:m,motionDurationSlow:d,motionEaseInOut:f,motionEaseOut:u,itemPaddingInline:S,motionDurationMid:y,itemHoverColor:C,lineType:b,colorSplit:g,itemDisabledColor:P,dangerItemColor:B,dangerItemHoverColor:$,dangerItemSelectedColor:h,dangerItemActiveBg:x,dangerItemSelectedBg:T,popupBg:v,itemHoverBg:M,itemActiveBg:L,menuSubMenuBg:O,horizontalItemSelectedColor:W,horizontalItemSelectedBg:R,horizontalItemBorderRadius:H,horizontalItemHoverBg:E}=e;return {[`${o}-${t}, ${o}-${t} > ${o}`]:{color:r,background:i,[`&${o}-root:focus-visible`]:{...rs(e)},[`${o}-item`]:{"&-group-title, &-extra":{color:a}},[`${o}-submenu-selected`]:{[`> ${o}-submenu-title`]:{color:n}},[`${o}-item, ${o}-submenu-title`]:{color:r,[`&:not(${o}-item-disabled):focus-visible`]:{...rs(e)}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${P} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:C}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:M},"&:active":{backgroundColor:L}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:M},"&:active":{backgroundColor:L}}},[`${o}-item-danger`]:{color:B,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:$}},[`&${o}-item:active`]:{background:x}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:n,[`&${o}-item-danger`]:{color:h},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:T}},[`&${o}-submenu > ${o}`]:{backgroundColor:O},[`&${o}-popup > ${o}`]:{backgroundColor:v},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:v},[`&${o}-horizontal`]:{...t==="dark"?{borderBottom:0}:{},[`> ${o}-item, > ${o}-submenu`]:{top:m,marginTop:e.calc(m).mul(-1).equal(),marginBottom:0,borderRadius:H,"&::after":{position:"absolute",insetInline:S,bottom:0,borderBottom:`${unit(c)} solid transparent`,transition:`border-color ${d} ${f}`,content:'""'},"&:hover, &-active, &-open":{background:E,"&::after":{borderBottomWidth:c,borderBottomColor:W}},"&-selected":{color:W,backgroundColor:R,"&:hover":{backgroundColor:R},"&::after":{borderBottomWidth:c,borderBottomColor:W}}}},[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${unit(m)} ${b} ${g}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:l},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${unit(p)} solid ${n}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${y} ${u}`,`opacity ${y} ${u}`].join(","),content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:h}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${y} ${f}`,`opacity ${y} ${f}`].join(",")}}}}}},Ci=uu;var ns=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:r,padding:n,menuArrowSize:a,marginXS:i,itemMarginBlock:l,itemWidth:s,itemPaddingInline:c}=e,p=e.calc(a).add(n).add(i).equal();return {[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:unit(o),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:s},[`> ${t}-item,
67
+ > ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:unit(o)},[`${t}-item-group-list ${t}-submenu-title,
68
+ ${t}-submenu-title`]:{paddingInlineEnd:p}}},fu=e=>{let{componentCls:t,iconCls:o,itemHeight:r,colorTextLightSolid:n,dropdownWidth:a,controlHeightLG:i,motionEaseOut:l,paddingXL:s,itemMarginInline:c,fontSizeLG:p,motionDurationFast:m,motionDurationSlow:d,paddingXS:f,boxShadowSecondary:u,collapsedWidth:S,collapsedIconSize:y}=e,C={height:r,lineHeight:unit(r),listStylePosition:"inside",listStyleType:"disc"};return [{[t]:{"&-inline, &-vertical":{[`&${t}-root`]:{boxShadow:"none"},...ns(e)}},[`${t}-submenu-popup`]:{[`${t}-vertical`]:{...ns(e),boxShadow:u}}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${unit(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${d}`,`background ${d}`,`padding ${m} ${l}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:C,[`& ${t}-item-group-title`]:{paddingInlineStart:s}},[`${t}-item`]:C}},{[`${t}-inline-collapsed`]:{width:S,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:p,textAlign:"center"}}},[`> ${t}-item,
69
+ > ${t}-item-group > ${t}-item-group-list > ${t}-item,
70
+ > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
71
+ > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${unit(e.calc(y).div(2).equal())} - ${unit(c)})`,textOverflow:"clip",[`
72
+ ${t}-submenu-arrow,
73
+ ${t}-submenu-expand-icon
74
+ `]:{opacity:0},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:y,lineHeight:unit(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:n}},[`${t}-item-group-title`]:{...pt,paddingInline:f}}}]},is=fu;var ls=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:r,motionEaseInOut:n,motionEaseOut:a,iconCls:i,iconSize:l,iconMarginInlineEnd:s}=e;return {[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${o}`,`background ${o}`,`padding calc(${o} + 0.1s) ${n}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:l,fontSize:l,transition:[`font-size ${r} ${a}`,`margin ${o} ${n}`,`color ${o}`].join(","),"+ span":{marginInlineStart:s,opacity:1,transition:[`opacity ${o} ${n}`,`margin ${o}`,`color ${o}`].join(",")}},[`${t}-item-icon`]:{..._e()},[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ss=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:r,borderRadius:n,menuArrowSize:a,menuArrowOffset:i}=e;return {[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${o} ${r}, opacity ${o}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:n,transition:[`background ${o} ${r}`,`transform ${o} ${r}`,`top ${o} ${r}`,`color ${o} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${unit(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${unit(i)})`}}}}},gu=e=>{let{antCls:t,componentCls:o,fontSize:r,motionDurationSlow:n,motionDurationMid:a,motionEaseInOut:i,paddingXS:l,padding:s,colorSplit:c,lineWidth:p,zIndexPopup:m,borderRadiusLG:d,subMenuItemBorderRadius:f,menuArrowSize:u,menuArrowOffset:S,lineType:y,groupTitleLineHeight:C,groupTitleFontSize:b}=e;return [{"":{[o]:{...er(),"&-hidden":{display:"none"}}},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:{...ae(e),...er(),marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${n} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${unit(l)} ${unit(s)}`,fontSize:b,lineHeight:C,transition:`all ${n}`},[`&-horizontal ${o}-submenu`]:{transition:[`border-color ${n} ${i}`,`background ${n} ${i}`].join(",")},[`${o}-submenu, ${o}-submenu-inline`]:{transition:[`border-color ${n} ${i}`,`background ${n} ${i}`,`padding ${a} ${i}`].join(",")},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:[`background ${n} ${i}`,`padding ${n} ${i}`].join(",")},[`${o}-title-content`]:{transition:`color ${n}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${o}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding,fontSize:e.fontSizeSM}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:y,borderWidth:0,borderTopWidth:p,marginBlock:p,padding:0,"&-dashed":{borderStyle:"dashed"}},...ls(e),[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${unit(e.calc(r).mul(2).equal())} ${unit(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,borderRadius:d,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:{borderRadius:d,...ls(e),...ss(e),[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:f},[`${o}-submenu-title::after`]:{transition:`transform ${n} ${i}`}}},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}},...ss(e),[`&-inline-collapsed ${o}-submenu-arrow,
75
+ &-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${unit(S)})`},"&::after":{transform:`rotate(45deg) translateX(${unit(e.calc(S).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${unit(e.calc(u).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${unit(e.calc(S).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${unit(S)})`}}}},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},Cu=e=>{let{colorPrimary:t,colorError:o,colorTextDisabled:r,colorErrorBg:n,colorText:a,colorTextDescription:i,colorBgContainer:l,colorFillAlter:s,colorFillContent:c,lineWidth:p,lineWidthBold:m,controlItemBgActive:d,colorBgTextHover:f,controlHeightLG:u,lineHeight:S,colorBgElevated:y,marginXXS:C,padding:b,fontSize:g,controlHeightSM:P,fontSizeLG:B,colorTextLightSolid:$,colorErrorHover:h}=e,x=e.activeBarWidth??0,T=e.activeBarBorderWidth??p,v=e.itemMarginInline??e.marginXXS,M=new TinyColor($).setAlpha(.65).toRgbString();return {dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:a,itemColor:a,colorItemTextHover:a,itemHoverColor:a,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:i,groupTitleColor:i,colorItemTextSelected:t,itemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:l,itemBg:l,colorItemBgHover:f,itemHoverBg:f,colorItemBgActive:c,itemActiveBg:d,colorSubItemBg:s,subMenuItemBg:s,colorItemBgSelected:d,itemSelectedBg:d,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:x,colorActiveBarHeight:m,activeBarHeight:m,colorActiveBarBorderSize:p,activeBarBorderWidth:T,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:n,dangerItemActiveBg:n,colorDangerItemBgSelected:n,dangerItemSelectedBg:n,itemMarginInline:v,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:u,groupTitleLineHeight:S,collapsedWidth:u*2,popupBg:y,itemMarginBlock:C,itemPaddingInline:b,horizontalLineHeight:`${u*1.15}px`,iconSize:g,iconMarginInlineEnd:P-g,collapsedIconSize:B,groupTitleFontSize:g,darkItemDisabledColor:new TinyColor($).setAlpha(.25).toRgbString(),darkItemColor:M,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:$,darkItemSelectedBg:t,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:M,darkItemHoverColor:$,darkDangerItemHoverColor:h,darkDangerItemSelectedColor:$,darkDangerItemActiveBg:o,itemWidth:x?`calc(100% + ${T}px)`:`calc(100% - ${v*2}px)`}},cs=(e,t=e,o=true)=>oe("Menu",n=>{let{colorBgElevated:a,controlHeightLG:i,fontSize:l,darkItemColor:s,darkDangerItemColor:c,darkItemBg:p,darkSubMenuItemBg:m,darkItemSelectedColor:d,darkItemSelectedBg:f,darkDangerItemSelectedBg:u,darkItemHoverBg:S,darkGroupTitleColor:y,darkItemHoverColor:C,darkItemDisabledColor:b,darkDangerItemHoverColor:g,darkDangerItemSelectedColor:P,darkDangerItemActiveBg:B,popupBg:$,darkPopupBg:h}=n,x=n.calc(l).div(7).mul(5).equal(),T=mergeToken(n,{menuArrowSize:x,menuHorizontalHeight:n.calc(i).mul(1.15).equal(),menuArrowOffset:n.calc(x).mul(.25).equal(),menuSubMenuBg:a,calc:n.calc,popupBg:$}),v=mergeToken(T,{itemColor:s,itemHoverColor:C,groupTitleColor:y,itemSelectedColor:d,itemBg:p,popupBg:h,subMenuItemBg:m,itemActiveBg:"transparent",itemSelectedBg:f,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:S,itemDisabledColor:b,dangerItemColor:c,dangerItemHoverColor:g,dangerItemSelectedColor:P,dangerItemActiveBg:B,dangerItemSelectedBg:u,menuSubMenuBg:m,horizontalItemSelectedColor:d,horizontalItemSelectedBg:f});return [gu(T),es(T),is(T),Ci(T,"light"),Ci(v,"dark"),os(T),ir(T),ut(T,"slide-up"),ut(T,"slide-down"),oo(T,"zoom-big")]},Cu,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:true}})(e,t);var hu=e=>{let{popupClassName:t,icon:o,title:r,theme:n}=e,a=ie.useContext(Qt),{prefixCls:i,inlineCollapsed:l,theme:s}=a,c=useFullPath(),p;if(!o)p=l&&!c.length&&r&&typeof r=="string"?ie.createElement("div",{className:`${i}-inline-collapsed-noicon`},r.charAt(0)):ie.createElement("span",{className:`${i}-title-content`},r);else {let f=ie.isValidElement(r)&&r.type==="span";p=ie.createElement(ie.Fragment,null,Ce(o,{className:ko(ie.isValidElement(o)?o.props?.className:"",`${i}-item-icon`)}),f?r:ie.createElement("span",{className:`${i}-title-content`},r));}let m=ie.useMemo(()=>({...a,firstLevel:false}),[a]),[d]=At("Menu");return ie.createElement(Qt.Provider,{value:m},ie.createElement(SubMenu,{...ws(e,["icon"]),title:p,popupClassName:ko(i,t,`${i}-${n||s}`),popupStyle:{zIndex:d,...e.popupStyle}}))},on=hu;function Si(e){return e===null||e===false}var Iu={item:tn,submenu:on,divider:Yr},Ru=forwardRef((e,t)=>{let o=ie.useContext(fi),r=o||{},{getPrefixCls:n,getPopupContainer:a,direction:i,menu:l}=ie.useContext(z),s=n(),{prefixCls:c,className:p,style:m,theme:d="light",expandIcon:f,_internalDisableMenuItemTitleTooltip:u,inlineCollapsed:S,siderCollapsed:y,rootClassName:C,mode:b,selectable:g,onClick:P,overflowedIndicatorPopupClassName:B,...$}=e,h=ws($,["collapsedWidth"]);if(process.env.NODE_ENV!=="production"){let q=K("Menu");q(!("inlineCollapsed"in e&&b!=="inline"),"usage","`inlineCollapsed` should only be used when `mode` is inline."),q.deprecated("items"in e&&!e.children,"children","items");}r.validator?.({mode:b});let x=Vc((...q)=>{P?.(...q),r.onClick?.();}),T=r.mode||b,v=g??r.selectable,M=S??y,L={horizontal:{motionName:`${s}-slide-up`},inline:Ur(s),other:{motionName:`${s}-zoom-big`}},O=n("menu",c||r.prefixCls),W=Be(O),[R,H,E]=cs(O,W,!o),I=ko(`${O}-${d}`,l?.className,p),j=ie.useMemo(()=>{if(typeof f=="function"||Si(f))return f||null;if(typeof r.expandIcon=="function"||Si(r.expandIcon))return r.expandIcon||null;if(typeof l?.expandIcon=="function"||Si(l?.expandIcon))return l?.expandIcon||null;let q=f??r?.expandIcon??l?.expandIcon;return Ce(q,{className:ko(`${O}-submenu-expand-icon`,ie.isValidElement(q)?q.props?.className:void 0)})},[f,r?.expandIcon,l?.expandIcon,O]),D=ie.useMemo(()=>({prefixCls:O,inlineCollapsed:M||false,direction:i,firstLevel:true,theme:d,mode:T,disableMenuItemTitleTooltip:u}),[O,M,i,u,d]);return R(ie.createElement(fi.Provider,{value:null},ie.createElement(Qt.Provider,{value:D},ie.createElement(vu,{getPopupContainer:a,overflowedIndicator:ie.createElement(Tu,null),overflowedIndicatorPopupClassName:ko(O,`${O}-${d}`,B),mode:T,selectable:v,onClick:x,...h,inlineCollapsed:M,style:{...l?.style,...m},className:I,prefixCls:O,direction:i,defaultMotions:L,expandIcon:j,ref:t,rootClassName:ko(C,H,r.rootClassName,E,W),_internalComponents:Iu}))))}),ds=Ru;var Bo=forwardRef((e,t)=>{let o=useRef(null),r=ie.useContext(nr);return useImperativeHandle(t,()=>({menu:o.current,focus:n=>{o.current?.focus(n);}})),ie.createElement(ds,{ref:o,...e,...r})});Bo.Item=tn;Bo.SubMenu=on;Bo.Divider=Yr;Bo.ItemGroup=ItemGroup;process.env.NODE_ENV!=="production"&&(Bo.displayName="Menu");var ms=Bo;var zu=e=>{let{componentCls:t,menuCls:o,colorError:r,colorTextLightSolid:n}=e,a=`${o}-item`;return {[`${t}, ${t}-menu-submenu`]:{[`${o} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:n,backgroundColor:r}}}}}},us=zu;var Ou=e=>{let{componentCls:t,menuCls:o,zIndexPopup:r,dropdownArrowDistance:n,sizePopupArrow:a,antCls:i,iconCls:l,motionDurationMid:s,paddingBlock:c,fontSize:p,dropdownEdgeChildPadding:m,colorTextDisabled:d,fontSizeIcon:f,controlPaddingHorizontal:u,colorBgElevated:S}=e;return [{[t]:{position:"absolute",top:-9999,left:{_skip_check_:true,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(a).div(2).sub(n).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${i}-btn`]:{[`& > ${l}-down, & > ${i}-btn-icon > ${l}-down`]:{fontSize:f}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${l}-down`]:{fontSize:f},[`${l}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft,
76
+ &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft,
77
+ &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom,
78
+ &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom,
79
+ &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight,
80
+ &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Po},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft,
81
+ &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft,
82
+ &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top,
83
+ &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top,
84
+ &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight,
85
+ &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Ro},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft,
86
+ &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom,
87
+ &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Io},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft,
88
+ &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top,
89
+ &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:wo}}},or(e,S,{arrowPlacement:{top:true,bottom:true}}),{[`${t} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{...ae(e),[o]:{padding:m,listStyleType:"none",backgroundColor:S,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,...Ht(e),"&:empty":{padding:0,boxShadow:"none"},[`${o}-item-group-title`]:{padding:`${unit(c)} ${unit(u)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${o}-item-icon`]:{minWidth:p,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${o}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${o}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${o}-item, ${o}-submenu-title`]:{display:"flex",margin:0,padding:`${unit(c)} ${unit(u)}`,color:e.colorText,fontWeight:"normal",fontSize:p,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover},...Ht(e),"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:d,cursor:"not-allowed","&:hover":{color:d,backgroundColor:S,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${unit(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:f,fontStyle:"normal"}}},[`${o}-item-group-list`]:{margin:`0 ${unit(e.marginXS)}`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:e.calc(u).add(e.fontSizeSM).equal()},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:d,backgroundColor:S,cursor:"not-allowed"}},[`${o}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}}}},[ut(e,"slide-up"),ut(e,"slide-down"),to(e,"move-up"),to(e,"move-down"),oo(e,"zoom-big")]]},Nu=e=>({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2,...$o({contentRadius:e.borderRadiusLG,limitVerticalRadius:true}),...jr(e)}),fs=oe("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:r,componentCls:n}=e,a=mergeToken(e,{menuCls:`${n}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return [Ou(a),us(a)]},Nu,{resetStyle:false});var an=e=>{let{menu:t,arrow:o,prefixCls:r,children:n,trigger:a,disabled:i,dropdownRender:l,getPopupContainer:s,overlayClassName:c,rootClassName:p,overlayStyle:m,open:d,onOpenChange:f,visible:u,onVisibleChange:S,mouseEnterDelay:y=.15,mouseLeaveDelay:C=.1,autoAdjustOverflow:b=true,placement:g="",overlay:P,transitionName:B}=e,{getPopupContainer:$,getPrefixCls:h,direction:x,dropdown:T}=ie.useContext(z),v=K("Dropdown");process.env.NODE_ENV!=="production"&&([["visible","open"],["onVisibleChange","onOpenChange"]].forEach(([F,Z])=>{v.deprecated(!(F in e),F,Z);}),v.deprecated(!("overlay"in e),"overlay","menu"));let M=ie.useMemo(()=>{let F=h();return B!==void 0?B:g.includes("top")?`${F}-slide-down`:`${F}-slide-up`},[h,g,B]),L=ie.useMemo(()=>g?g.includes("Center")?g.slice(0,g.indexOf("Center")):g:x==="rtl"?"bottomRight":"bottomLeft",[g,x]);if(process.env.NODE_ENV!=="production"){if(g.includes("Center")){let F=g.slice(0,g.indexOf("Center"));v(!g.includes("Center"),"deprecated",`You are using '${g}' placement in Dropdown, which is deprecated. Try to use '${F}' instead.`);}[["visible","open"],["onVisibleChange","onOpenChange"]].forEach(([F,Z])=>{v.deprecated(!(F in e),F,Z);});}let O=h("dropdown",r),W=Be(O),[R,H,E]=fs(O,W),[,I]=te(),j=ie.Children.only(nl(n)?ie.createElement("span",null,n):n),D=Ce(j,{className:ko(`${O}-trigger`,{[`${O}-rtl`]:x==="rtl"},j.props.className),disabled:j.props.disabled??i}),q=i?[]:a,re=!!q?.includes("contextMenu"),[Y,w]=dm(false,{value:d??u}),k=Vc(F=>{f?.(F,{source:"trigger"}),S?.(F),w(F);}),N=ko(c,p,H,E,W,T?.className,{[`${O}-rtl`]:x==="rtl"}),J=rr({arrowPointAtCenter:typeof o=="object"&&o.pointAtCenter,autoAdjustOverflow:b,offset:I.marginXXS,arrowWidth:o?I.sizePopupArrow:0,borderRadius:I.borderRadius}),_=ie.useCallback(()=>{t?.selectable&&t?.multiple||(f?.(false,{source:"menu"}),w(false));},[t?.selectable,t?.multiple]),le=()=>{let F;return t?.items?F=ie.createElement(ms,{...t}):typeof P=="function"?F=P():F=P,l&&(F=l(F)),F=ie.Children.only(typeof F=="string"?ie.createElement("span",null,F):F),ie.createElement(Jl,{prefixCls:`${O}-menu`,rootClassName:ko(E,W),expandIcon:ie.createElement("span",{className:`${O}-menu-submenu-arrow`},ie.createElement(gl,{className:`${O}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:false,onClick:_,validator:({mode:Z})=>{v(!Z||Z==="vertical","usage",`mode="${Z}" is not supported for Dropdown's Menu.`);}},F)},[pe,me]=At("Dropdown",m?.zIndex),de=ie.createElement(Lu,{alignPoint:re,...ws(e,["rootClassName"]),mouseEnterDelay:y,mouseLeaveDelay:C,visible:Y,builtinPlacements:J,arrow:!!o,overlayClassName:N,prefixCls:O,getPopupContainer:s||$,transitionName:M,trigger:q,overlay:le,placement:L,onVisibleChange:k,overlayStyle:{...T?.style,...m,zIndex:pe}},D);return pe&&(de=ie.createElement(vo.Provider,{value:me},de)),R(de)},Wu=Kr(an,"align",void 0,"dropdown",e=>e),Fu=e=>ie.createElement(Wu,{...e},ie.createElement("span",null));an._InternalPanelDoNotUseOrYouWillBeFired=Fu;process.env.NODE_ENV!=="production"&&(an.displayName="Dropdown");var ln=an;var bi=ie.createContext(void 0),Vu=e=>{let{getPrefixCls:t,direction:o}=ie.useContext(z),{prefixCls:r,size:n,className:a,...i}=e,l=t("btn-group",r),[,,s]=te(),c="";switch(n){case "large":c="lg";break;case "small":c="sm";break;}process.env.NODE_ENV!=="production"&&K("Button.Group")(!n||["large","small","middle"].includes(n),"usage","Invalid prop `size`.");let p=ko(l,{[`${l}-${c}`]:c,[`${l}-rtl`]:o==="rtl"},a,s);return ie.createElement(bi.Provider,{value:n},ie.createElement("div",{...i,className:p}))},gs=Vu;var Cs=/^[\u4E00-\u9FA5]{2}$/,sn=Cs.test.bind(Cs);function Ss(e){return typeof e=="string"}function lr(e){return e==="text"||e==="link"}function ju(e,t){if(e==null)return;let o=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Ss(e.type)&&sn(e.props.children)?Ce(e,{children:e.props.children.split("").join(o)}):Ss(e)?sn(e)?ie__default.createElement("span",null,e.split("").join(o)):ie__default.createElement("span",null,e):Lr(e)?ie__default.createElement("span",null,e):e}function ys(e,t){let o=false,r=[];return ie__default.Children.forEach(e,n=>{let a=typeof n,i=a==="string"||a==="number";if(o&&i){let l=r.length-1,s=r[l];r[l]=`${s}${n}`;}else r.push(n);o=i;}),ie__default.Children.map(r,n=>ju(n,t))}var Uu=forwardRef((e,t)=>{let{className:o,style:r,children:n,prefixCls:a}=e,i=ko(`${a}-icon`,o);return ie__default.createElement("span",{ref:t,className:i,style:r},n)}),cn=Uu;var bs=forwardRef((e,t)=>{let{prefixCls:o,className:r,style:n,iconClassName:a}=e,i=ko(`${o}-loading-icon`,r);return ie__default.createElement(cn,{prefixCls:o,className:i,style:n,ref:t},ie__default.createElement(Yu,{className:a}))}),hi=()=>({width:0,opacity:0,transform:"scale(0)"}),xi=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Qu=e=>{let{prefixCls:t,loading:o,existIcon:r,className:n,style:a,mount:i}=e,l=!!o;return r?ie__default.createElement(bs,{prefixCls:t,className:n,style:a}):ie__default.createElement(wd,{visible:l,motionName:`${t}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:true,onAppearStart:hi,onAppearActive:xi,onEnterStart:hi,onEnterActive:xi,onLeaveStart:xi,onLeaveActive:hi},({className:s,style:c},p)=>{let m={...a,...c};return ie__default.createElement(bs,{prefixCls:t,className:ko(n,s),style:m,ref:p})})},xs=Qu;var Ts=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Ju=e=>{let{componentCls:t,fontSize:o,lineWidth:r,groupBorderColor:n,colorErrorHover:a}=e;return {[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:o}},Ts(`${t}-primary`,n),Ts(`${t}-danger`,a)]}},vs=Ju;var ef=(e,t)=>e?.replace(/[^\w/]/g,"").slice(0,t?8:6)||"",tf=(e,t)=>e?ef(e,t):"",cr=class e{metaColor;colors;cleared=false;constructor(t){if(t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=t.colors?.map(r=>({color:new e(r.color),percent:r.percent})),this.cleared=t.cleared;return}let o=Array.isArray(t);o&&t.length?(this.colors=t.map(({color:r,percent:n})=>({color:new e(r),percent:n})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(o?"":t),(!t||o&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return tf(this.toHexString(),this.metaColor.a<1)}toHexString(){return this.metaColor.toHexString()}toRgb(){return this.metaColor.toRgb()}toRgbString(){return this.metaColor.toRgbString()}isGradient(){return !!this.colors&&!this.cleared}getColors(){return this.colors||[{color:this,percent:0}]}toCssString(){let{colors:t}=this;return t?`linear-gradient(90deg, ${t.map(r=>`${r.color.toRgbString()} ${r.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(t){return !t||this.isGradient()!==t.isGradient()?false:this.isGradient()?this.colors.length===t.colors.length&&this.colors.every((o,r)=>{let n=t.colors[r];return o.percent===n.percent&&o.color.equals(n.color)}):this.toHexString()===t.toHexString()}};var nf=ie.forwardRef((e,t)=>{process.env.NODE_ENV!=="production"&&K("Collapse.Panel").deprecated(!("disabled"in e),"disabled",'collapsible="disabled"');let{getPrefixCls:o}=ie.useContext(z),{prefixCls:r,className:n,showArrow:a=true}=e,i=o("collapse",r),l=ko({[`${i}-no-arrow`]:!a},n);return ie.createElement(rf.Panel,{ref:t,...e,prefixCls:i,className:l})}),Ps=nf;var af=e=>{let{componentCls:t,contentBg:o,padding:r,headerBg:n,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:s,lineWidth:c,lineType:p,colorBorder:m,colorText:d,colorTextHeading:f,colorTextDisabled:u,fontSizeLG:S,lineHeight:y,lineHeightLG:C,marginSM:b,paddingSM:g,paddingLG:P,paddingXS:B,motionDurationSlow:$,fontSizeIcon:h,contentPadding:x,fontHeight:T,fontHeightLG:v}=e,M=`${unit(c)} ${p} ${m}`;return {[t]:{...ae(e),backgroundColor:n,border:M,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:M,"&:last-child":{[`
90
+ &,
91
+ & > ${t}-header`]:{borderRadius:`0 0 ${unit(s)} ${unit(s)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:f,lineHeight:y,cursor:"pointer",transition:`all ${$}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:T,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:{..._e(),fontSize:h,transition:`transform ${$}`,svg:{transition:`transform ${$}`}},[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:d,backgroundColor:o,borderTop:M,[`& > ${t}-content-box`]:{padding:x},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:i,paddingInlineStart:B,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(g).sub(B).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:g}}},"&-large":{[`> ${t}-item`]:{fontSize:S,lineHeight:C,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:v,marginInlineStart:e.calc(P).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:P}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${unit(s)} ${unit(s)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:u,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}}}},lf=e=>{let{componentCls:t}=e,o=`> ${t}-item > ${t}-header ${t}-arrow`;return {[`${t}-rtl`]:{[o]:{transform:"rotate(180deg)"}}}},sf=e=>{let{componentCls:t,headerBg:o,paddingXXS:r,colorBorder:n}=e;return {[`${t}-borderless`]:{backgroundColor:o,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${n}`},[`
92
+ > ${t}-item:last-child,
93
+ > ${t}-item:last-child ${t}-header
94
+ `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},cf=e=>{let{componentCls:t,paddingSM:o}=e;return {[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:o}}}}}},pf=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Is=oe("Collapse",e=>{let t=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [af(t),sf(t),cf(t),lf(t),ir(t)]},pf);var Ms=ie.forwardRef((e,t)=>{let{getPrefixCls:o,direction:r,collapse:n}=ie.useContext(z),{prefixCls:a,className:i,rootClassName:l,style:s,bordered:c=true,ghost:p,size:m,expandIconPosition:d="start",children:f,expandIcon:u}=e,S=Ie(M=>m??M??"middle"),y=o("collapse",a),C=o(),[b,g,P]=Is(y);process.env.NODE_ENV!=="production"&&K("Collapse")(d!=="left"&&d!=="right","deprecated","`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.");let B=ie.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),$=u??n?.expandIcon,h=ie.useCallback((M={})=>{let L=typeof $=="function"?$(M):ie.createElement(gl,{rotate:M.isActive?90:void 0,"aria-label":M.isActive?"expanded":"collapsed"});return Ce(L,()=>({className:ko(L?.props?.className,`${y}-arrow`)}))},[$,y]),x=ko(`${y}-icon-position-${B}`,{[`${y}-borderless`]:!c,[`${y}-rtl`]:r==="rtl",[`${y}-ghost`]:!!p,[`${y}-${S}`]:S!=="middle"},n?.className,i,l,g,P),T={...Ur(C),motionAppear:false,leavedClassName:`${y}-content-hidden`},v=ie.useMemo(()=>f?Hm(f).map((M,L)=>{let O=M.props;if(O?.disabled){let W=M.key??String(L),R={...ws(M.props,["disabled"]),key:W,collapsible:O.collapsible??"disabled"};return Ce(M,R)}return M}):null,[f]);return b(ie.createElement(rf,{ref:t,openMotion:T,...ws(e,["rootClassName"]),expandIcon:h,prefixCls:y,className:x,style:{...n?.style,...s}},v))});process.env.NODE_ENV!=="production"&&(Ms.displayName="Collapse");Object.assign(Ms,{Panel:Ps});var Bs=(e,t)=>{let{r:o,g:r,b:n,a}=e.toRgb(),i=new Color(e.toRgbString()).onBackground(t).toHsv();return a<=.5?i.v>.5:o*.299+r*.587+n*.114>192};var pn=e=>{let{paddingInline:t,onlyIconSize:o}=e;return mergeToken(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:o})},dn=e=>{let t=e.contentFontSize??e.fontSize,o=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,n=e.contentLineHeight??Co(t),a=e.contentLineHeightSM??Co(o),i=e.contentLineHeightLG??Co(r),l=Bs(new cr(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:l,contentFontSize:t,contentFontSizeSM:o,contentFontSizeLG:r,contentLineHeight:n,contentLineHeightSM:a,contentLineHeightLG:i,paddingBlock:Math.max((e.controlHeight-t*n)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-o*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*i)/2-e.lineWidth,0)}};var Cf=e=>{let{componentCls:t,iconCls:o,fontWeight:r,opacityLoading:n,motionDurationSlow:a,motionEaseInOut:i,marginXS:l,calc:s}=e;return {[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:_e(),"> a":{color:"currentColor"},"&:not(:disabled)":Ht(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${o})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:n,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${a} ${i}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:s(l).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:s(l).mul(-1).equal()}}}}}},Es=(e,t,o)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":o}}),Sf=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),yf=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),bf=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),vi=(e,t,o,r,n,a,i,l)=>({[`&${e}-background-ghost`]:{color:o||void 0,background:t,borderColor:r||void 0,boxShadow:"none",...Es(e,{background:t,...i},{background:t,...l}),"&:disabled":{cursor:"not-allowed",color:n||void 0,borderColor:a||void 0}}}),hf=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...bf(e)}}),xf=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),mn=(e,t,o,r)=>({...(r&&["link","text"].includes(r)?xf:hf)(e),...Es(e.componentCls,t,o)}),$i=(e,t,o,r,n)=>({[`&${e.componentCls}-variant-solid`]:{color:t,background:o,...mn(e,r,n)}}),Pi=(e,t,o,r,n)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:t,background:o,...mn(e,r,n)}}),Ii=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),Ri=(e,t,o,r)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:t,...mn(e,o,r)}}),Oo=(e,t,o,r,n)=>({[`&${e.componentCls}-variant-${o}`]:{color:t,boxShadow:"none",...mn(e,r,n,o)}}),Tf=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...$i(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...Ii(e),...Ri(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...Oo(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...vi(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),vf=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...Pi(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...Ii(e),...Ri(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...Oo(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...vi(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),$f=e=>({color:e.colorError,boxShadow:e.dangerShadow,...$i(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...Pi(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...Ii(e),...Ri(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...Oo(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...Oo(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...vi(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),Pf=e=>{let{componentCls:t}=e;return {[`${t}-color-default`]:Tf(e),[`${t}-color-primary`]:vf(e),[`${t}-color-dangerous`]:$f(e)}},If=e=>({...Pi(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...Oo(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...$i(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...Oo(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),wi=(e,t="")=>{let{componentCls:o,controlHeight:r,fontSize:n,borderRadius:a,buttonPaddingHorizontal:i,iconCls:l,buttonPaddingVertical:s,buttonIconOnlyFontSize:c}=e;return [{[t]:{fontSize:n,height:r,padding:`${unit(s)} ${unit(i)}`,borderRadius:a,[`&${o}-icon-only`]:{width:r,[l]:{fontSize:c,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${o}${o}-circle${t}`]:Sf(e)},{[`${o}${o}-round${t}`]:yf(e)}]},Rf=e=>{let t=mergeToken(e,{fontSize:e.contentFontSize});return wi(t,e.componentCls)},wf=e=>{let t=mergeToken(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return wi(t,`${e.componentCls}-sm`)},Mf=e=>{let t=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return wi(t,`${e.componentCls}-lg`)},Bf=e=>{let{componentCls:t}=e;return {[t]:{[`&${t}-block`]:{width:"100%"}}}},zs=oe("Button",e=>{let t=pn(e);return [Cf(t),Rf(t),wf(t),Mf(t),Bf(t),Pf(t),If(t),vs(t)]},dn,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function Ef(e,t,o){let{focusElCls:r,focus:n,borderElCls:a}=o,i=a?"> *":"",l=["hover",n?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${i}`).join(",");return {[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[l]:{zIndex:2},...r?{[`&${r}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function zf(e,t,o){let{borderElCls:r}=o,n=r?`> ${r}`:"";return {[`&-item:not(${t}-first-item):not(${t}-last-item) ${n}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function No(e,t={focus:true}){let{componentCls:o}=e,r=`${o}-compact`;return {[r]:{...Ef(e,r,t),...zf(o,r,t)}}}function Of(e,t){return {[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Nf(e,t){return {[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Os(e){let t=`${e.componentCls}-compact-vertical`;return {[t]:{...Of(e,t),...Nf(e.componentCls,t)}}}var Hf=e=>{let{componentCls:t,colorPrimaryHover:o,lineWidth:r,calc:n}=e,a=n(r).mul(-1).equal(),i=l=>({[`${t}-compact${l?"-vertical":""}-item${t}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:l?a:0,insetInlineStart:l?0:a,backgroundColor:o,content:'""',width:l?"100%":r,height:l?r:"100%"}}});return {...i(),...i(true)}},Ns=tr(["Button","compact"],e=>{let t=pn(e);return [No(t),Os(t),Hf(t)]},dn);function kf(e){if(typeof e=="object"&&e){let t=e?.delay;return t=!Number.isNaN(t)&&typeof t=="number"?t:0,{loading:t<=0,delay:t}}return {loading:!!e,delay:0}}var Wf={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},Ff=ie__default.forwardRef((e,t)=>{let{loading:o=false,prefixCls:r,color:n,variant:a,type:i,danger:l=false,shape:s="default",size:c,styles:p,disabled:m,className:d,rootClassName:f,children:u,icon:S,iconPosition:y="start",ghost:C=false,block:b=false,htmlType:g="button",classNames:P,style:B={},autoInsertSpace:$,autoFocus:h,...x}=e,T=i||"default",[v,M]=useMemo(()=>{if(n&&a)return [n,a];let se=Wf[T]||[];return l?["danger",se[1]]:se},[i,n,a,l]),O=v==="danger"?"dangerous":v,{getPrefixCls:W,direction:R,button:H}=useContext(z),E=$??H?.autoInsertSpace??true,I=W("btn",r),[j,D,q]=zs(I),re=useContext(Le),Y=m??re,w=useContext(bi),k=useMemo(()=>kf(o),[o]),[N,J]=useState(k.loading),[_,le]=useState(false),pe=useRef(null),me=useComposeRef(t,pe),de=Children.count(u)===1&&!S&&!lr(M),F=useRef(true);ie__default.useEffect(()=>(F.current=false,()=>{F.current=true;}),[]),useEffect(()=>{let se=null;k.delay>0?se=setTimeout(()=>{se=null,J(true);},k.delay):J(k.loading);function Xt(){se&&(clearTimeout(se),se=null);}return Xt},[k]),useEffect(()=>{if(!pe.current||!E)return;let se=pe.current.textContent||"";de&&sn(se)?_||le(true):_&&le(false);}),useEffect(()=>{h&&pe.current&&pe.current.focus();},[]);let Z=ie__default.useCallback(se=>{if(N||Y){se.preventDefault();return}e.onClick?.(se);},[e.onClick,N,Y]);if(process.env.NODE_ENV!=="production"){let se=K("Button");se(!(typeof S=="string"&&S.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${S}\` at https://ant.design/components/icon`),se(!(C&&lr(M)),"usage","`link` or `text` button can't be a `ghost` button.");}let{compactSize:$e,compactItemClassnames:we}=mt(I,R),et={large:"lg",small:"sm",middle:void 0},V=Ie(se=>c??$e??w??se),X=V?et[V]??"":"",ne=N?"loading":S,Q=ws(x,["navigate"]),We=ko(I,D,q,{[`${I}-${s}`]:s!=="default"&&s,[`${I}-${T}`]:T,[`${I}-dangerous`]:l,[`${I}-color-${O}`]:O,[`${I}-variant-${M}`]:M,[`${I}-${X}`]:X,[`${I}-icon-only`]:!u&&u!==0&&!!ne,[`${I}-background-ghost`]:C&&!lr(M),[`${I}-loading`]:N,[`${I}-two-chinese-chars`]:_&&E&&!N,[`${I}-block`]:b,[`${I}-rtl`]:R==="rtl",[`${I}-icon-end`]:y==="end"},we,d,f,H?.className),It={...H?.style,...B},at=ko(P?.icon,H?.classNames?.icon),Kt={...p?.icon||{},...H?.styles?.icon||{}},Rt=S&&!N?ie__default.createElement(cn,{prefixCls:I,className:at,style:Kt},S):ie__default.createElement(xs,{existIcon:!!S,prefixCls:I,loading:N,mount:F.current}),wt=u||u===0?ys(u,de&&E):null;if(Q.href!==void 0)return j(ie__default.createElement("a",{...Q,className:ko(We,{[`${I}-disabled`]:Y}),href:Y?void 0:Q.href,style:It,onClick:Z,ref:me,tabIndex:Y?-1:0},Rt,wt));let Ct=ie__default.createElement("button",{...x,type:g,className:We,style:It,onClick:Z,disabled:Y,ref:me},Rt,wt,we&&ie__default.createElement(Ns,{prefixCls:I}));return lr(M)||(Ct=ie__default.createElement(Dr,{component:"Button",disabled:N},Ct)),j(Ct)}),un=Ff;un.Group=gs;un.__ANT_BUTTON=true;process.env.NODE_ENV!=="production"&&(un.displayName="Button");var Ds=un;var Wt=Ds;function zi(e){return ["small","middle","large"].includes(e)}function Oi(e){return e?typeof e=="number"&&!Number.isNaN(e):false}var fn=ie__default.createContext({latestIndex:0}),ks=fn.Provider;var Vf=({className:e,index:t,children:o,split:r,style:n})=>{let{latestIndex:a}=ie.useContext(fn);return o==null?null:ie.createElement(ie.Fragment,null,ie.createElement("div",{className:e,style:n},o),t<a&&r&&ie.createElement("span",{className:`${e}-split`},r))},Ws=Vf;var _f=ie.forwardRef((e,t)=>{let{getPrefixCls:o,space:r,direction:n}=ie.useContext(z),{size:a=r?.size??"small",align:i,className:l,rootClassName:s,children:c,direction:p="horizontal",prefixCls:m,split:d,style:f,wrap:u=false,classNames:S,styles:y,...C}=e,[b,g]=Array.isArray(a)?a:[a,a],P=zi(g),B=zi(b),$=Oi(g),h=Oi(b),x=Hm(c,{keepEmpty:true}),T=i===void 0&&p==="horizontal"?"center":i,v=o("space",m),[M,L,O]=Zr(v),W=ko(v,r?.className,L,`${v}-${p}`,{[`${v}-rtl`]:n==="rtl",[`${v}-align-${T}`]:T,[`${v}-gap-row-${g}`]:P,[`${v}-gap-col-${b}`]:B},l,s,O),R=ko(`${v}-item`,S?.item??r?.classNames?.item),H=0,E=x.map((D,q)=>{D!=null&&(H=q);let re=D?.key||`${R}-${q}`;return ie.createElement(Ws,{className:R,key:re,index:q,split:d,style:y?.item??r?.styles?.item},D)}),I=ie.useMemo(()=>({latestIndex:H}),[H]);if(x.length===0)return null;let j={};return u&&(j.flexWrap="wrap"),!B&&h&&(j.columnGap=b),!P&&$&&(j.rowGap=g),M(ie.createElement("div",{ref:t,className:W,style:{...j,...r?.style,...f},...C},ie.createElement(ks,{value:I},E)))}),Ni=_f;Ni.Compact=vl;process.env.NODE_ENV!=="production"&&(Ni.displayName="Space");var Gs=Ni;var Vs=e=>{let{getPopupContainer:t,getPrefixCls:o,direction:r}=ie.useContext(z),{prefixCls:n,type:a="default",danger:i,disabled:l,loading:s,onClick:c,htmlType:p,children:m,className:d,menu:f,arrow:u,autoFocus:S,overlay:y,trigger:C,align:b,open:g,onOpenChange:P,placement:B,getPopupContainer:$,href:h,icon:x=ie.createElement(Tu,null),title:T,buttonsRender:v=_=>_,mouseEnterDelay:M,mouseLeaveDelay:L,overlayClassName:O,overlayStyle:W,destroyPopupOnHide:R,dropdownRender:H,...E}=e,I=o("dropdown",n),j=`${I}-button`,D={menu:f,arrow:u,autoFocus:S,align:b,disabled:l,trigger:l?[]:C,onOpenChange:P,getPopupContainer:$||t,mouseEnterDelay:M,mouseLeaveDelay:L,overlayClassName:O,overlayStyle:W,destroyPopupOnHide:R,dropdownRender:H},{compactSize:q,compactItemClassnames:re}=mt(I,r),Y=ko(j,re,d);"overlay"in e&&(D.overlay=y),"open"in e&&(D.open=g),"placement"in e?D.placement=B:D.placement=r==="rtl"?"bottomLeft":"bottomRight";let w=ie.createElement(Wt,{type:a,danger:i,disabled:l,loading:s,onClick:c,htmlType:p,href:h,title:T},m),k=ie.createElement(Wt,{type:a,danger:i,icon:x}),[N,J]=v([w,k]);return ie.createElement(Gs.Compact,{className:Y,size:q,block:true,...E},N,ie.createElement(ln,{...D},J))};Vs.__ANT_BUTTON=true;var js=Vs;var _s=ln;_s.Button=js;var Ks=_s;function Hi(){let[,e]=ie.useReducer(t=>t+1,0);return e}var qf=["xxl","xl","lg","md","sm","xs"],Yf=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Zf=e=>{let t=e,o=[...qf].reverse();return o.forEach((r,n)=>{let a=r.toUpperCase(),i=`screen${a}Min`,l=`screen${a}`;if(!(t[i]<=t[l]))throw new Error(`${i}<=${l} fails : !(${t[i]}<=${t[l]})`);if(n<o.length-1){let s=`screen${a}Max`;if(!(t[l]<=t[s]))throw new Error(`${l}<=${s} fails : !(${t[l]}<=${t[s]})`);let p=`screen${o[n+1].toUpperCase()}Min`;if(!(t[s]<=t[p]))throw new Error(`${s}<=${p} fails : !(${t[s]}<=${t[p]})`)}}),e};function Li(){let[,e]=te(),t=Yf(Zf(e));return ie__default.useMemo(()=>{let o=new Map,r=-1,n={};return {matchHandlers:{},dispatch(a){return n=a,o.forEach(i=>i(n)),o.size>=1},subscribe(a){return o.size||this.register(),r+=1,o.set(r,a),a(n),r},unsubscribe(a){o.delete(a),o.size||this.unregister();},unregister(){Object.keys(t).forEach(a=>{let i=t[a],l=this.matchHandlers[i];l?.mql.removeListener(l?.listener);}),o.clear();},register(){Object.keys(t).forEach(a=>{let i=t[a],l=({matches:c})=>{this.dispatch({...n,[a]:c});},s=window.matchMedia(i);s.addListener(l),this.matchHandlers[i]={mql:s,listener:l},l(s);});},responsiveMap:t}},[e])}function eg(e=true){let t=useRef({}),o=Hi(),r=Li();return Jf(()=>{let n=r.subscribe(a=>{t.current=a,e&&o();});return ()=>r.unsubscribe(n)},[]),t.current}var Us=eg;var tg=(e,t,o=void 0)=>{let{variant:r,[e]:n}=ie.useContext(z),a=ie.useContext(Aa),i=n?.variant,l;typeof t<"u"?l=t:o===false?l="borderless":l=a??i??r??"outlined";let s=kn.includes(l);return [l,s]},Ho=tg;var og=e=>{let o={overflow:{adjustX:true,adjustY:true,shiftY:true},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:true};return {bottomLeft:{...o,points:["tl","bl"],offset:[0,4]},bottomRight:{...o,points:["tr","br"],offset:[0,4]},topLeft:{...o,points:["bl","tl"],offset:[0,-4]},topRight:{...o,points:["br","tr"],offset:[0,-4]}}};function rg(e,t){return e||og(t)}var qs=rg;var Ys=e=>{let{optionHeight:t,optionFontSize:o,optionLineHeight:r,optionPadding:n}=e;return {position:"relative",display:"block",minHeight:t,padding:n,color:e.colorText,fontWeight:"normal",fontSize:o,lineHeight:r,boxSizing:"border-box"}},ng=e=>{let{antCls:t,componentCls:o}=e,r=`${o}-item`,n=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,i=`&${t}-slide-up-leave${t}-slide-up-leave-active`,l=`${o}-dropdown-placement-`;return [{[`${o}-dropdown`]:{...ae(e),position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
95
+ ${n}${l}bottomLeft,
96
+ ${a}${l}bottomLeft
97
+ `]:{animationName:Po},[`
98
+ ${n}${l}topLeft,
99
+ ${a}${l}topLeft,
100
+ ${n}${l}topRight,
101
+ ${a}${l}topRight
102
+ `]:{animationName:Ro},[`${i}${l}bottomLeft`]:{animationName:Io},[`
103
+ ${i}${l}topLeft,
104
+ ${i}${l}topRight
105
+ `]:{animationName:wo},"&-hidden":{display:"none"},[r]:{...Ys(e),cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":{flex:"auto",...pt},"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...Ys(e),color:e.colorTextDisabled}},"&-rtl":{direction:"rtl"}}},ut(e,"slide-up"),ut(e,"slide-down"),to(e,"move-up"),to(e,"move-down")]},Zs=ng;var ig=e=>{let{multipleSelectItemHeight:t,paddingXXS:o,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:n}=e,a=e.max(e.calc(o).sub(r).equal(),0),i=e.max(e.calc(a).sub(n).equal(),0);return {basePadding:a,containerPadding:i,itemHeight:unit(t),itemLineHeight:unit(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},ag=e=>{let{multipleSelectItemHeight:t,selectHeight:o,lineWidth:r}=e;return e.calc(o).sub(t).div(2).sub(r).equal()},lg=e=>{let{componentCls:t,iconCls:o,borderRadiusSM:r,motionDurationSlow:n,paddingXS:a,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:l,colorIcon:s,colorIconHover:c,INTERNAL_FIXED_ITEM_MARGIN:p}=e;return {[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"nowrap",overflow:"hidden",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:p,borderRadius:r,cursor:"default",transition:`font-size ${n}, line-height ${n}, height ${n}`,marginInlineEnd:e.calc(p).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:i,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":{..._e(),display:"inline-flex",alignItems:"center",color:s,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:c}}}}}},sg=(e,t)=>{let{componentCls:o,INTERNAL_FIXED_ITEM_MARGIN:r}=e,n=`${o}-selection-overflow`,a=e.multipleSelectItemHeight,i=ag(e),l=t?`${o}-${t}`:"",s=ig(e);return {[`${o}-multiple${l}`]:{...lg(e),[`${o}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:s.basePadding,paddingBlock:s.containerPadding,borderRadius:e.borderRadius,[`${o}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${unit(r)} 0`,lineHeight:unit(a),visibility:"hidden",content:'"\\a0"'}},[`${o}-selection-item`]:{height:s.itemHeight,lineHeight:unit(s.itemLineHeight)},[`${o}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:unit(a),marginBlock:r}},[`${o}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s.basePadding).equal()},[`${n}-item + ${n}-item,
106
+ ${o}-prefix + ${o}-selection-wrap
107
+ `]:{[`${o}-selection-search`]:{marginInlineStart:0},[`${o}-selection-placeholder`]:{insetInlineStart:0}},[`${n}-item-suffix`]:{minHeight:s.itemHeight,marginBlock:r},[`${o}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:unit(a),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${o}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function Di(e,t){let{componentCls:o}=e,r=t?`${o}-${t}`:"",n={[`${o}-multiple${r}`]:{fontSize:e.fontSize,[`${o}-selector`]:{[`${o}-show-search&`]:{cursor:"text"}},[`
108
+ &${o}-show-arrow ${o}-selector,
109
+ &${o}-allow-clear ${o}-selector
110
+ `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return [sg(e,t),n]}var cg=e=>{let{componentCls:t}=e,o=mergeToken(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=mergeToken(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return [Di(e),Di(o,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Di(r,"lg")]},Qs=cg;function ki(e,t){let{componentCls:o,inputPaddingHorizontalBase:r,borderRadius:n}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${o}-${t}`:"";return {[`${o}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${o}-selector`]:{...ae(e,true),display:"flex",borderRadius:n,flex:"1 1 auto",[`${o}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
111
+ ${o}-selection-item,
112
+ ${o}-selection-placeholder
113
+ `]:{display:"block",padding:0,lineHeight:unit(a),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${o}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${o}-selection-item:empty:after`,`${o}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}},[`
114
+ &${o}-show-arrow ${o}-selection-item,
115
+ &${o}-show-arrow ${o}-selection-search,
116
+ &${o}-show-arrow ${o}-selection-placeholder
117
+ `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${o}-open ${o}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${o}-customize-input)`]:{[`${o}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${unit(r)}`,[`${o}-selection-search-input`]:{height:a},"&:after":{lineHeight:unit(a)}}},[`&${o}-customize-input`]:{[`${o}-selector`]:{"&:after":{display:"none"},[`${o}-selection-search`]:{position:"static",width:"100%"},[`${o}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${unit(r)}`,"&:after":{display:"none"}}}}}}}function Wi(e){let{componentCls:t}=e,o=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return [ki(e),ki(mergeToken(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${unit(o)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(o).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
118
+ &${t}-show-arrow ${t}-selection-item,
119
+ &${t}-show-arrow ${t}-selection-placeholder
120
+ `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ki(mergeToken(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}var Js=e=>{let{fontSize:t,lineHeight:o,lineWidth:r,controlHeight:n,controlHeightSM:a,controlHeightLG:i,paddingXXS:l,controlPaddingHorizontal:s,zIndexPopupBase:c,colorText:p,fontWeightStrong:m,controlItemBgActive:d,controlItemBgHover:f,colorBgContainer:u,colorFillSecondary:S,colorBgContainerDisabled:y,colorTextDisabled:C,colorPrimaryHover:b,colorPrimary:g,controlOutline:P}=e,B=l*2,$=r*2,h=Math.min(n-B,n-$),x=Math.min(a-B,a-$),T=Math.min(i-B,i-$);return {INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:c+50,optionSelectedColor:p,optionSelectedFontWeight:m,optionSelectedBg:d,optionActiveBg:f,optionPadding:`${(n-t*o)/2}px ${s}px`,optionFontSize:t,optionLineHeight:o,optionHeight:n,selectorBg:u,clearBg:u,singleItemHeightLG:i,multipleItemBg:S,multipleItemBorderColor:"transparent",multipleItemHeight:h,multipleItemHeightSM:x,multipleItemHeightLG:T,multipleSelectorBgDisabled:y,multipleItemColorDisabled:C,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:b,activeBorderColor:g,activeOutlineColor:P,selectAffixPadding:l}};var oc=(e,t)=>{let{componentCls:o,antCls:r,controlOutlineWidth:n}=e;return {[`&:not(${o}-customize-input) ${o}-selector`]:{border:`${unit(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${o}-disabled):not(${o}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${o}-selector`]:{borderColor:t.hoverBorderHover},[`${o}-focused& ${o}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${unit(n)} ${t.activeOutlineColor}`,outline:0},[`${o}-prefix`]:{color:t.color}}}},ec=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:{...oc(e,t)}}),pg=e=>({"&-outlined":{...oc(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText}),...ec(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError}),...ec(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning}),[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),rc=(e,t)=>{let{componentCls:o,antCls:r}=e;return {[`&:not(${o}-customize-input) ${o}-selector`]:{background:t.bg,border:`${unit(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${o}-disabled):not(${o}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${o}-selector`]:{background:t.hoverBg},[`${o}-focused& ${o}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},tc=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:{...rc(e,t)}}),dg=e=>({"&-filled":{...rc(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText}),...tc(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError}),...tc(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning}),[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}),mg=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),ug=e=>({[e.componentCls]:{...pg(e),...dg(e),...mg(e)}}),nc=ug;var fg=e=>{let{componentCls:t}=e;return {position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},gg=e=>{let{componentCls:t}=e;return {[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Cg=e=>{let{antCls:t,componentCls:o,inputPaddingHorizontalBase:r,iconCls:n}=e;return {[o]:{...ae(e),position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${o}-customize-input) ${o}-selector`]:{...fg(e),...gg(e)},[`${o}-selection-item`]:{flex:1,fontWeight:"normal",position:"relative",userSelect:"none",...pt,[`> ${t}-typography`]:{display:"inline"}},[`${o}-selection-placeholder`]:{...pt,flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"},[`${o}-arrow`]:{..._e(),position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[n]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${o}-suffix)`]:{pointerEvents:"auto"}},[`${o}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}},[`${o}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${o}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${o}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${o}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}},[`${o}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${o}-has-feedback`]:{[`${o}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},Sg=e=>{let{componentCls:t}=e;return [{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},Cg(e),Wi(e),Qs(e),Zs(e),{[`${t}-rtl`]:{direction:"rtl"}},No(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},ic=oe("Select",(e,{rootPrefixCls:t})=>{let o=mergeToken(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return [Sg(o),nc(o)]},Js,{unitless:{optionLineHeight:true,optionSelectedFontWeight:true}});function Fi({suffixIcon:e,clearIcon:t,menuItemSelectedIcon:o,removeIcon:r,loading:n,multiple:a,hasFeedback:i,prefixCls:l,showSuffixIcon:s,feedbackIcon:c,showArrow:p,componentName:m}){process.env.NODE_ENV!=="production"&&K(m).deprecated(!t,"clearIcon","allowClear={{ clearIcon: React.ReactNode }}");let d=t??ie.createElement(bg,null),f=C=>e===null&&!i&&!p?null:ie.createElement(ie.Fragment,null,s!==false&&C,i&&c),u=null;if(e!==void 0)u=f(e);else if(n)u=f(ie.createElement(Yu,{spin:true}));else {let C=`${l}-suffix`;u=({open:b,showSearch:g})=>f(b&&g?ie.createElement(vg,{className:C}):ie.createElement(xg,{className:C}));}let S=null;o!==void 0?S=o:a?S=ie.createElement(yg,null):S=null;let y=null;return r!==void 0?y=r:y=ie.createElement(hg,null),{clearIcon:d,suffixIcon:u,itemIcon:S,removeIcon:y}}function Gi(e,t){return t!==void 0?t:e!==null}var lc="SECRET_COMBOBOX_MODE_DO_NOT_USE",sc=(e,t)=>{let{prefixCls:o,bordered:r,className:n,rootClassName:a,getPopupContainer:i,popupClassName:l,dropdownClassName:s,listHeight:c=256,placement:p,listItemHeight:m,size:d,disabled:f,notFoundContent:u,status:S,builtinPlacements:y,dropdownMatchSelectWidth:C,popupMatchSelectWidth:b,direction:g,style:P,allowClear:B,variant:$,dropdownStyle:h,transitionName:x,tagRender:T,maxCount:v,prefix:M,showSearch:L=false,...O}=e,{getPopupContainer:W,getPrefixCls:R,renderEmpty:H,direction:E,virtual:I,popupMatchSelectWidth:j,popupOverflow:D,select:q}=ie.useContext(z),[,re]=te(),Y=m??re?.controlHeight,w=R("select",o),k=R(),N=g??E,{compactSize:J,compactItemClassnames:_}=mt(w,N),[le,pe]=Ho("select",$,r),me=Be(w),[de,F,Z]=ic(w,me),$e=ie.useMemo(()=>{let{mode:Oe}=e;if(Oe!=="combobox")return Oe===lc?"combobox":Oe},[e.mode]),we=$e==="multiple"||$e==="tags",et=Gi(e.suffixIcon,e.showArrow),V=b??C??j,{status:X,hasFeedback:ne,isFormItemInput:Q,feedbackIcon:We}=ie.useContext(be),It=ct(X,S),at;u!==void 0?at=u:$e==="combobox"?at=null:at=H?.("Select")||ie.createElement(Or,{componentName:"Select"});let{suffixIcon:Kt,itemIcon:Rt,removeIcon:wt,clearIcon:Ct}=Fi({...O,multiple:we,hasFeedback:ne,feedbackIcon:We,showSuffixIcon:et,prefixCls:w,componentName:"Select"}),se=B===true?{clearIcon:Ct}:B,Xt=ws(O,["suffixIcon","itemIcon"]),co=ko(l||s,{[`${w}-dropdown-${N}`]:N==="rtl"},a,Z,me,F),po=Ie(Oe=>d??J??Oe),Fo=ie.useContext(Le),Go=f??Fo,mo=ko({[`${w}-lg`]:po==="large",[`${w}-sm`]:po==="small",[`${w}-rtl`]:N==="rtl",[`${w}-${le}`]:pe,[`${w}-in-form-item`]:Q},yt(w,It,ne),_,q?.className,n,a,Z,me,F),Vo=ie.useMemo(()=>p!==void 0?p:N==="rtl"?"bottomRight":"bottomLeft",[p,N]);if(process.env.NODE_ENV!=="production"){let Oe=K("Select");Oe.deprecated(!s,"dropdownClassName","popupClassName"),Oe.deprecated(C===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),Oe(!("showArrow"in e),"deprecated","`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null."),Oe.deprecated(!("bordered"in e),"bordered","variant"),Oe(!(typeof v<"u"&&!we),"usage","`maxCount` only works with mode `multiple` or `tags`");}let[jo]=At("SelectLike",h?.zIndex);return de(ie.createElement($g,{ref:t,virtual:I,showSearch:L,...Xt,style:{...q?.style,...P},dropdownMatchSelectWidth:V,transitionName:Xr(k,"slide-up",x),builtinPlacements:qs(y,D),listHeight:c,listItemHeight:Y,mode:$e,prefixCls:w,placement:Vo,direction:N,prefix:M,suffixIcon:Kt,menuItemSelectedIcon:Rt,removeIcon:wt,allowClear:se,notFoundContent:at,className:mo,getPopupContainer:i||W,dropdownClassName:co,disabled:Go,dropdownStyle:{...h,zIndex:jo},maxCount:we?v:void 0,tagRender:we?T:void 0}))};process.env.NODE_ENV!=="production"&&(sc.displayName="Select");var lo=ie.forwardRef(sc),wg=Kr(lo,"dropdownAlign");lo.SECRET_COMBOBOX_MODE_DO_NOT_USE=lc;lo.Option=Option;lo.OptGroup=OptGroup;lo._InternalPanelDoNotUseOrYouWillBeFired=wg;process.env.NODE_ENV!=="production"&&(lo.displayName="Select");var cc=lo;function Lo(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var Ao=e=>{let{controlHeight:t,fontSize:o,lineHeight:r,lineWidth:n,controlHeightSM:a,controlHeightLG:i,fontSizeLG:l,lineHeightLG:s,paddingSM:c,controlPaddingHorizontalSM:p,controlPaddingHorizontal:m,colorFillAlter:d,colorPrimaryHover:f,colorPrimary:u,controlOutlineWidth:S,controlOutline:y,colorErrorOutline:C,colorWarningOutline:b,colorBgContainer:g}=e;return {paddingBlock:Math.max(Math.round((t-o*r)/2*10)/10-n,0),paddingBlockSM:Math.max(Math.round((a-o*r)/2*10)/10-n,0),paddingBlockLG:Math.ceil((i-l*s)/2*10)/10-n,paddingInline:c-n,paddingInlineSM:p-n,paddingInlineLG:m-n,addonBg:d,activeBorderColor:u,hoverBorderColor:f,activeShadow:`0 0 0 ${S}px ${y}`,errorActiveShadow:`0 0 0 ${S}px ${C}`,warningActiveShadow:`0 0 0 ${S}px ${b}`,hoverBg:g,activeBg:g,inputFontSize:o,inputFontSizeLG:l,inputFontSizeSM:o}};var Mg=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),dr=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...Mg(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),gn=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),pc=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...gn(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),fc=(e,t)=>({"&-outlined":{...gn(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...dr(e)},...pc(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...pc(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),dc=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),gc=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...dc(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...dc(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...dr(e)}}}}),Cc=(e,t)=>{let{componentCls:o}=e;return {"&-borderless":{background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${o}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${o}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...t}}},Sc=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t?.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),mc=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...Sc(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),yc=(e,t)=>({"&-filled":{...Sc(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...dr(e)},...mc(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...mc(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...t}}),uc=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),bc=e=>({"&-filled":{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}},...uc(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...uc(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}});var Bg=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var hc=e=>{let{paddingBlockLG:t,lineHeightLG:o,borderRadiusLG:r,paddingInlineLG:n}=e;return {padding:`${unit(t)} ${unit(n)}`,fontSize:e.inputFontSizeLG,lineHeight:o,borderRadius:r}},Cn=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Sn=e=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${unit(e.paddingBlock)} ${unit(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...Bg(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{...hc(e)},"&-sm":{...Cn(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Eg=e=>{let{componentCls:t,antCls:o}=e;return {position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:{...hc(e)},[`&-sm ${t}, &-sm > ${t}-group-addon`]:{...Cn(e)},[`&-lg ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${o}-select-single ${o}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${unit(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${o}-select`]:{margin:`${unit(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${o}-select-single:not(${o}-select-customize-input):not(${o}-pagination-size-changer)`]:{[`${o}-select-selector`]:{backgroundColor:"inherit",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${o}-cascader-picker`]:{margin:`-9px ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${o}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${o}-select ${o}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:{display:"block",...er(),[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
121
+ & > ${t}-affix-wrapper,
122
+ & > ${t}-number-affix-wrapper,
123
+ & > ${o}-picker-range
124
+ `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${o}-select > ${o}-select-selector,
125
+ & > ${o}-select-auto-complete ${t},
126
+ & > ${o}-cascader-picker ${t},
127
+ & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${o}-select-focused`]:{zIndex:1},[`& > ${o}-select > ${o}-select-arrow`]:{zIndex:1},[`& > *:first-child,
128
+ & > ${o}-select:first-child > ${o}-select-selector,
129
+ & > ${o}-select-auto-complete:first-child ${t},
130
+ & > ${o}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
131
+ & > ${o}-select:last-child > ${o}-select-selector,
132
+ & > ${o}-cascader-picker:last-child ${t},
133
+ & > ${o}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${o}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}}},zg=e=>{let{componentCls:t,controlHeightSM:o,lineWidth:r,calc:n}=e,i=n(o).sub(n(r).mul(2)).sub(16).div(2).equal();return {[t]:{...ae(e),...Sn(e),...fc(e),...yc(e),...Cc(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:o,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}}}},Og=e=>{let{componentCls:t}=e;return {[`${t}-clear-icon`]:{margin:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${unit(e.inputAffixPadding)}`}}}},Ng=e=>{let{componentCls:t,inputAffixPadding:o,colorTextDescription:r,motionDurationSlow:n,colorIcon:a,colorIconHover:i,iconCls:l}=e,s=`${t}-affix-wrapper`,c=`${t}-affix-wrapper-disabled`;return {[s]:{...Sn(e),display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:o},"&-suffix":{marginInlineStart:o}},...Og(e),[`${l}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${n}`,"&:hover":{color:i}}},[c]:{[`${l}${t}-password-icon`]:{color:a,cursor:"not-allowed","&:hover":{color:a}}}}},Hg=e=>{let{componentCls:t,borderRadiusLG:o,borderRadiusSM:r}=e;return {[`${t}-group`]:{...ae(e),...Eg(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}},...gc(e),...bc(e),[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}}}}},Lg=e=>{let{componentCls:t,antCls:o}=e,r=`${t}-search`;return {[r]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${r}-button:not(${o}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${o}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${o}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
134
+ > ${t},
135
+ ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Ag=e=>{let{componentCls:t,paddingLG:o}=e,r=`${t}-textarea`;return {[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
136
+ &-allow-clear > ${t},
137
+ &-affix-wrapper${r}-has-feedback ${t}
138
+ `]:{paddingInlineEnd:o},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},Dg=e=>{let{componentCls:t}=e;return {[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Do=oe("Input",e=>{let t=mergeToken(e,Lo(e));return [zg(t),Ag(t),Ng(t),Hg(t),Lg(t),Dg(t),No(t)]},Ao,{resetFont:false});var kg=e=>{let{componentCls:t}=e;return {[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Wg=e=>{let{componentCls:t}=e;return {[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:unit(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:unit(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[`
139
+ &${t}-mini ${t}-prev ${t}-item-link,
140
+ &${t}-mini ${t}-next ${t}-item-link
141
+ `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:unit(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM),input:{...Cn(e),width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM}}}}},Fg=e=>{let{componentCls:t}=e;return {[`
142
+ &${t}-simple ${t}-prev,
143
+ &${t}-simple ${t}-next
144
+ `]:{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${unit(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${unit(e.inputOutlineOffset)} 0 ${unit(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},Gg=e=>{let{componentCls:t}=e;return {[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`
145
+ ${t}-prev,
146
+ ${t}-jump-prev,
147
+ ${t}-jump-next
148
+ `]:{marginInlineEnd:e.marginXS},[`
149
+ ${t}-prev,
150
+ ${t}-next,
151
+ ${t}-jump-prev,
152
+ ${t}-jump-next
153
+ `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:unit(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:unit(e.controlHeight),verticalAlign:"top",input:{...Sn(e),...gn(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...dr(e)},width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS}}}}},Vg=e=>{let{componentCls:t}=e;return {[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:unit(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${unit(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${unit(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},jg=e=>{let{componentCls:t}=e;return {[t]:{...ae(e),display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:unit(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"},...Vg(e),...Gg(e),...Fg(e),...Wg(e),...kg(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},_g=e=>{let{componentCls:t}=e;return {[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:{...Ht(e)},[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0},...Nt(e)}},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:{...Nt(e)}}}}},Vi=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...Ao(e)}),ji=e=>mergeToken(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},Lo(e)),xc=oe("Pagination",e=>{let t=ji(e);return [jg(t),_g(t)]},Vi);var Xg=e=>{let{componentCls:t}=e;return {[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Tc=tr(["Pagination","bordered"],e=>{let t=ji(e);return [Xg(t)]},Vi);function yn(e){return useMemo(()=>typeof e=="boolean"?[e,{}]:e&&typeof e=="object"?[true,e]:[void 0,void 0],[e])}var wc=e=>{let{align:t,prefixCls:o,selectPrefixCls:r,className:n,rootClassName:a,style:i,size:l,locale:s,responsive:c,showSizeChanger:p,selectComponentClass:m,pageSizeOptions:d,...f}=e,{xs:u}=Us(c),[,S]=te(),{getPrefixCls:y,direction:C,pagination:b={}}=ie.useContext(z),g=y("pagination",o),[P,B,$]=xc(g),h=Ie(l),x=h==="small"||!!(u&&!h&&c),[T]=He("Pagination",Sp),v={...T,...s},[M,L]=yn(p),[O,W]=yn(b.showSizeChanger),R=M??O,H=L??W,E=m||cc,I=ie.useMemo(()=>d?d.map(w=>Number(w)):void 0,[d]),j=w=>{let{disabled:k,size:N,onSizeChange:J,"aria-label":_,className:le,options:pe}=w,{className:me,onChange:de}=H||{},F=pe.find(Z=>String(Z.value)===String(N))?.value;return ie.createElement(E,{disabled:k,showSearch:true,popupMatchSelectWidth:false,getPopupContainer:Z=>Z.parentNode,"aria-label":_,options:pe,...H,value:F,onChange:(Z,$e)=>{J?.(Z),de?.(Z,$e);},size:x?"small":"middle",className:ko(le,me)})};process.env.NODE_ENV!=="production"&&K("Pagination")(!m,"usage","`selectComponentClass` is not official api which will be removed.");let D=ie.useMemo(()=>{let w=ie.createElement("span",{className:`${g}-item-ellipsis`},"\u2022\u2022\u2022"),k=ie.createElement("button",{className:`${g}-item-link`,type:"button",tabIndex:-1},C==="rtl"?ie.createElement(gl,null):ie.createElement(fl,null)),N=ie.createElement("button",{className:`${g}-item-link`,type:"button",tabIndex:-1},C==="rtl"?ie.createElement(fl,null):ie.createElement(gl,null)),J=ie.createElement("a",{className:`${g}-item-link`},ie.createElement("div",{className:`${g}-item-container`},C==="rtl"?ie.createElement($c,{className:`${g}-item-link-icon`}):ie.createElement(vc,{className:`${g}-item-link-icon`}),w)),_=ie.createElement("a",{className:`${g}-item-link`},ie.createElement("div",{className:`${g}-item-container`},C==="rtl"?ie.createElement(vc,{className:`${g}-item-link-icon`}):ie.createElement($c,{className:`${g}-item-link-icon`}),w));return {prevIcon:k,nextIcon:N,jumpPrevIcon:J,jumpNextIcon:_}},[C,g]),q=y("select",r),re=ko({[`${g}-${t}`]:!!t,[`${g}-mini`]:x,[`${g}-rtl`]:C==="rtl",[`${g}-bordered`]:S.wireframe},b?.className,n,a,B,$),Y={...b?.style,...i};return P(ie.createElement(ie.Fragment,null,S.wireframe&&ie.createElement(Tc,{prefixCls:g}),ie.createElement(qg,{...D,...f,style:Y,prefixCls:g,selectPrefixCls:q,className:re,locale:v,pageSizeOptions:I,showSizeChanger:R,sizeChangerRender:j})))};process.env.NODE_ENV!=="production"&&(wc.displayName="Pagination");var Mc=wc;var Bc=Mc;var Jg=e=>{let{renderedText:t,renderedEl:o,item:r,checked:n,disabled:a,prefixCls:i,onClick:l,onRemove:s,showRemove:c}=e,p=ko(`${i}-content-item`,{[`${i}-content-item-disabled`]:a||r.disabled,[`${i}-content-item-checked`]:n&&!r.disabled}),m;(typeof t=="string"||typeof t=="number")&&(m=String(t));let[d]=He("Transfer",Ve.Transfer),f={className:p,title:m},u=ie.createElement("span",{className:`${i}-content-item-text`},o);return c?ie.createElement("li",{...f},u,ie.createElement("button",{type:"button",disabled:a||r.disabled,className:`${i}-content-item-remove`,"aria-label":d?.remove,onClick:()=>s?.(r)},ie.createElement(Zg,null))):(f.onClick=a||r.disabled?void 0:S=>l(r,S),ie.createElement("li",{...f},ie.createElement(Vr,{className:`${i}-checkbox`,checked:n,disabled:a||r.disabled}),u))},Ec=ie.memo(Jg);var zc=["handleFilter","handleClear","checkedKeys"],oC=e=>({...{simple:true,showSizeChanger:false,showLessItems:false},...e}),Oc=(e,t)=>{let{prefixCls:o,filteredRenderItems:r,selectedKeys:n,disabled:a,showRemove:i,pagination:l,onScroll:s,onItemSelect:c,onItemRemove:p}=e,[m,d]=ie.useState(1),f=ie.useMemo(()=>l?oC(typeof l=="object"?l:{}):null,[l]),[u,S]=dm(10,{value:f?.pageSize});ie.useEffect(()=>{if(f){let h=Math.ceil(r.length/u);d(Math.min(m,h));}},[r,f,u]);let y=(h,x)=>{c(h.key,!n.includes(h.key),x);},C=h=>{p?.([h.key]);},b=h=>{d(h);},g=(h,x)=>{d(h),S(x);},P=ie.useMemo(()=>f?r.slice((m-1)*u,m*u):r,[m,r,f,u]);ie.useImperativeHandle(t,()=>({items:P}));let B=f?ie.createElement(Bc,{size:"small",disabled:a,simple:f.simple,pageSize:u,showLessItems:f.showLessItems,showSizeChanger:f.showSizeChanger,className:`${o}-pagination`,total:r.length,current:m,onChange:b,onShowSizeChange:g}):null,$=ko(`${o}-content`,{[`${o}-content-show-remove`]:i});return ie.createElement(ie.Fragment,null,ie.createElement("ul",{className:$,onScroll:s},(P||[]).map(({renderedEl:h,renderedText:x,item:T})=>ie.createElement(Ec,{key:T.key,item:T,renderedText:x,renderedEl:h,prefixCls:o,showRemove:i,onClick:y,onRemove:C,checked:n.includes(T.key),disabled:a||T.disabled}))),B)};process.env.NODE_ENV!=="production"&&(Oc.displayName="TransferListBody");var Nc=ie.forwardRef(Oc);var iC=e=>{let{getPrefixCls:t,direction:o}=useContext(z),{prefixCls:r,className:n}=e,a=t("input-group",r),i=t("input"),[l,s]=Do(i),c=ko(a,{[`${a}-lg`]:e.size==="large",[`${a}-sm`]:e.size==="small",[`${a}-compact`]:e.compact,[`${a}-rtl`]:o==="rtl"},s,n),p=useContext(be),m=useMemo(()=>({...p,isFormItemInput:false}),[p]);return process.env.NODE_ENV!=="production"&&K("Input.Group").deprecated(false,"Input.Group","Space.Compact"),l(ie.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},ie.createElement(be.Provider,{value:m},e.children)))},Lc=iC;var sC=e=>{let t;return typeof e=="object"&&e?.clearIcon?t=e:e&&(t={clearIcon:ie__default.createElement(bg,null)}),t},bn=sC;function mr(e,t){let o=useRef([]),r=()=>{o.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute("type")==="password"&&e.current?.input.hasAttribute("value")&&e.current?.input.removeAttribute("value");}));};return useEffect(()=>(t&&r(),()=>o.current.forEach(n=>{n&&clearTimeout(n);})),[]),r}function Ac(e){return !!(e.prefix||e.suffix||e.allowClear||e.showCount)}var Wc=forwardRef((e,t)=>{let{prefixCls:o,bordered:r=true,status:n,size:a,disabled:i,onBlur:l,onFocus:s,suffix:c,allowClear:p,addonAfter:m,addonBefore:d,className:f,style:u,styles:S,rootClassName:y,onChange:C,classNames:b,variant:g,...P}=e;if(process.env.NODE_ENV!=="production"){let{deprecated:F}=K("Input");F(!("bordered"in e),"bordered","variant");}let{getPrefixCls:B,direction:$,input:h}=ie__default.useContext(z),x=B("input",o),T=useRef(null),v=Be(x),[M,L,O]=Do(x,v),{compactSize:W,compactItemClassnames:R}=mt(x,$),H=Ie(F=>a??W??F),E=ie__default.useContext(Le),I=i??E,{status:j,hasFeedback:D,feedbackIcon:q}=useContext(be),re=ct(j,n),Y=Ac(e)||!!D,w=useRef(Y);if(process.env.NODE_ENV!=="production"){let F=K("Input");useEffect(()=>{Y&&!w.current&&F(document.activeElement===T.current?.input,"usage","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),w.current=Y;},[Y]);}let k=mr(T,true),N=F=>{k(),l?.(F);},J=F=>{k(),s?.(F);},_=F=>{k(),C?.(F);},le=(D||c)&&ie__default.createElement(ie__default.Fragment,null,c,D&&q),pe=bn(p??h?.allowClear),[me,de]=Ho("input",g,r);return M(ie__default.createElement(fC,{ref:composeRef(t,T),prefixCls:x,autoComplete:h?.autoComplete,...P,disabled:I,onBlur:N,onFocus:J,style:{...h?.style,...u},styles:{...h?.styles,...S},suffix:le,allowClear:pe,className:ko(f,y,O,v,R,h?.className),onChange:_,addonBefore:d&&ie__default.createElement(Jt,{form:true,space:true},d),addonAfter:m&&ie__default.createElement(Jt,{form:true,space:true},m),classNames:{...b,...h?.classNames,input:ko({[`${x}-sm`]:H==="small",[`${x}-lg`]:H==="large",[`${x}-rtl`]:$==="rtl"},b?.input,h?.classNames?.input,L),variant:ko({[`${x}-${me}`]:de},yt(x,re)),affixWrapper:ko({[`${x}-affix-wrapper-sm`]:H==="small",[`${x}-affix-wrapper-lg`]:H==="large",[`${x}-affix-wrapper-rtl`]:$==="rtl"},L),wrapper:ko({[`${x}-group-rtl`]:$==="rtl"},L),groupWrapper:ko({[`${x}-group-wrapper-sm`]:H==="small",[`${x}-group-wrapper-lg`]:H==="large",[`${x}-group-wrapper-rtl`]:$==="rtl",[`${x}-group-wrapper-${me}`]:de},yt(`${x}-group-wrapper`,re,D),L)}}))});process.env.NODE_ENV!=="production"&&(Wc.displayName="Input");var Vt=Wc;var CC=e=>{let{componentCls:t,paddingXS:o}=e;return {[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:o,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},Fc=oe(["Input","OTP"],e=>{let t=mergeToken(e,Lo(e));return [CC(t)]},Ao);var yC=ie.forwardRef((e,t)=>{let{value:o,onChange:r,onActiveChange:n,index:a,mask:i,...l}=e,s=o&&typeof i=="string"?i:o,c=u=>{r(a,u.target.value);},p=ie.useRef(null);ie.useImperativeHandle(t,()=>p.current);let m=()=>{_a(()=>{let u=p.current?.input;document.activeElement===u&&u&&u.select();});};return ie.createElement(Vt,{type:i===true?"password":"text",...l,ref:p,value:s,onInput:c,onFocus:m,onKeyDown:u=>{let{key:S,ctrlKey:y,metaKey:C}=u;S==="ArrowLeft"?n(a-1):S==="ArrowRight"?n(a+1):S==="z"&&(y||C)&&u.preventDefault(),m();},onKeyUp:u=>{u.key==="Backspace"&&!o&&n(a-1),m();},onMouseDown:m,onMouseUp:m})}),Gc=yC;function hn(e){return (e||"").split("")}var xC=ie.forwardRef((e,t)=>{let{prefixCls:o,length:r=6,size:n,defaultValue:a,value:i,onChange:l,formatter:s,variant:c,disabled:p,status:m,autoFocus:d,mask:f,type:u,onInput:S,inputMode:y,...C}=e;process.env.NODE_ENV!=="production"&&K("Input.OTP")(!(typeof f=="string"&&f.length>1),"usage","`mask` prop should be a single character.");let{getPrefixCls:b,direction:g}=ie.useContext(z),P=b("otp",o),B=hC(C,{aria:true,data:true,attr:true}),$=Be(P),[h,x,T]=Fc(P,$),v=Ie(w=>n??w),M=ie.useContext(be),L=ct(M.status,m),O=ie.useMemo(()=>({...M,status:L,hasFeedback:false,feedbackIcon:null}),[M,L]),W=ie.useRef(null),R=ie.useRef({});ie.useImperativeHandle(t,()=>({focus:()=>{R.current[0]?.focus();},blur:()=>{for(let w=0;w<r;w+=1)R.current[w]?.blur();},nativeElement:W.current}));let H=w=>s?s(w):w,[E,I]=ie.useState(hn(H(a||"")));ie.useEffect(()=>{i!==void 0&&I(hn(i));},[i]);let j=Vc(w=>{I(w),S&&S(w),l&&w.length===r&&w.every(k=>k)&&w.some((k,N)=>E[N]!==k)&&l(w.join(""));}),D=Vc((w,k)=>{let N=[...E];for(let _=0;_<w;_+=1)N[_]||(N[_]="");k.length<=1?N[w]=k:N=N.slice(0,w).concat(hn(k)),N=N.slice(0,r);for(let _=N.length-1;_>=0&&!N[_];_-=1)N.pop();let J=H(N.map(_=>_||" ").join(""));return N=hn(J).map((_,le)=>_===" "&&!N[le]?N[le]:_),N}),q=(w,k)=>{let N=D(w,k),J=Math.min(w+k.length,r-1);J!==w&&N[w]!==void 0&&R.current[J]?.focus(),j(N);},re=w=>{R.current[w]?.focus();},Y={variant:c,disabled:p,status:L,mask:f,type:u,inputMode:y};return h(ie.createElement("div",{...B,ref:W,className:ko(P,{[`${P}-sm`]:v==="small",[`${P}-lg`]:v==="large",[`${P}-rtl`]:g==="rtl"},T,x)},ie.createElement(be.Provider,{value:O},Array.from({length:r}).map((w,k)=>{let N=`otp-${k}`,J=E[k]||"";return ie.createElement(Gc,{ref:_=>{R.current[k]=_;},key:N,index:k,size:v,htmlSize:1,className:`${P}-input`,onChange:q,value:J,onActiveChange:re,autoFocus:k===0&&d,...Y})}))))}),jc=xC;var MC=e=>e?ie.createElement(PC,null):ie.createElement($C,null),BC={click:"onClick",hover:"onMouseOver"},_c=ie.forwardRef((e,t)=>{let{disabled:o,action:r="click",visibilityToggle:n=true,iconRender:a=MC}=e,i=ie.useContext(Le),l=o??i,s=typeof n=="object"&&n.visible!==void 0,[c,p]=useState(()=>s?n.visible:false),m=useRef(null);ie.useEffect(()=>{s&&p(n.visible);},[s,n]);let d=mr(m),f=()=>{if(l)return;c&&d();let v=!c;p(v),typeof n=="object"&&n.onVisibleChange?.(v);},u=v=>{let M=BC[r]||"",L=a(c),O={[M]:f,className:`${v}-icon`,key:"passwordIcon",onMouseDown:W=>{W.preventDefault();},onMouseUp:W=>{W.preventDefault();}};return ie.cloneElement(ie.isValidElement(L)?L:ie.createElement("span",null,L),O)},{className:S,prefixCls:y,inputPrefixCls:C,size:b,...g}=e,{getPrefixCls:P}=ie.useContext(z),B=P("input",C),$=P("input-password",y),h=n&&u($),x=ko($,S,{[`${$}-${b}`]:!!b}),T={...ws(g,["suffix","iconRender","visibilityToggle"]),type:c?"text":"password",className:x,prefixCls:B,suffix:h};return b&&(T.size=b),ie.createElement(Vt,{ref:composeRef(t,m),...T})});process.env.NODE_ENV!=="production"&&(_c.displayName="Input.Password");var Kc=_c;var Xc=ie.forwardRef((e,t)=>{let{prefixCls:o,inputPrefixCls:r,className:n,size:a,suffix:i,enterButton:l=false,addonAfter:s,loading:c,disabled:p,onSearch:m,onChange:d,onCompositionStart:f,onCompositionEnd:u,...S}=e,{getPrefixCls:y,direction:C}=ie.useContext(z),b=ie.useRef(false),g=y("input-search",o),P=y("input",r),{compactSize:B}=mt(g,C),$=Ie(D=>a??B??D),h=ie.useRef(null),x=D=>{D?.target&&D.type==="click"&&m&&m(D.target.value,D,{source:"clear"}),d?.(D);},T=D=>{document.activeElement===h.current?.input&&D.preventDefault();},v=D=>{m&&m(h.current?.input?.value,D,{source:"input"});},M=D=>{b.current||c||v(D);},L=typeof l=="boolean"?ie.createElement(vg,null):null,O=`${g}-button`,W,R=l||{},H=R.type&&R.type.__ANT_BUTTON===true;H||R.type==="button"?W=Ce(R,{onMouseDown:T,onClick:D=>{R?.props?.onClick?.(D),v(D);},key:"enterButton",...H?{className:O,size:$}:{}}):W=ie.createElement(Wt,{className:O,type:l?"primary":void 0,size:$,disabled:p,key:"enterButton",onMouseDown:T,onClick:v,loading:c,icon:L},l),s&&(W=[W,Ce(s,{key:"addonAfter"})]);let E=ko(g,{[`${g}-rtl`]:C==="rtl",[`${g}-${$}`]:!!$,[`${g}-with-button`]:!!l},n),I=D=>{b.current=true,f?.(D);},j=D=>{b.current=false,u?.(D);};return ie.createElement(Vt,{ref:composeRef(h,t),onPressEnter:M,...S,size:$,onCompositionStart:I,onCompositionEnd:j,prefixCls:P,addonAfter:W,suffix:i,onChange:x,className:E,disabled:p})});process.env.NODE_ENV!=="production"&&(Xc.displayName="Search");var Uc=Xc;var LC=forwardRef((e,t)=>{let{prefixCls:o,bordered:r=true,size:n,disabled:a,status:i,allowClear:l,classNames:s,rootClassName:c,className:p,style:m,styles:d,variant:f,...u}=e;if(process.env.NODE_ENV!=="production"){let{deprecated:I}=K("TextArea");I(!("bordered"in e),"bordered","variant");}let{getPrefixCls:S,direction:y,textArea:C}=ie.useContext(z),b=Ie(n),g=ie.useContext(Le),P=a??g,{status:B,hasFeedback:$,feedbackIcon:h}=ie.useContext(be),x=ct(B,i),T=ie.useRef(null);ie.useImperativeHandle(t,()=>({resizableTextArea:T.current?.resizableTextArea,focus:I=>{triggerFocus(T.current?.resizableTextArea?.textArea,I);},blur:()=>T.current?.blur()}));let v=S("input",o),M=Be(v),[L,O,W]=Do(v,M),[R,H]=Ho("textArea",f,r),E=bn(l??C?.allowClear);return L(ie.createElement(HC,{autoComplete:C?.autoComplete,...u,style:{...C?.style,...m},styles:{...C?.styles,...d},disabled:P,allowClear:E,className:ko(W,M,p,c,C?.className),classNames:{...s,...C?.classNames,textarea:ko({[`${v}-sm`]:b==="small",[`${v}-lg`]:b==="large"},O,s?.textarea,C?.classNames?.textarea),variant:ko({[`${v}-${R}`]:H},yt(v,x)),affixWrapper:ko(`${v}-textarea-affix-wrapper`,{[`${v}-affix-wrapper-rtl`]:y==="rtl",[`${v}-affix-wrapper-sm`]:b==="small",[`${v}-affix-wrapper-lg`]:b==="large",[`${v}-textarea-show-count`]:e.showCount||e.count?.show},O)},prefixCls:v,suffix:$&&ie.createElement("span",{className:`${v}-textarea-suffix`},h),ref:T}))}),qc=LC;var Wo=Vt;Wo.Group=Lc;Wo.Search=Uc;Wo.TextArea=qc;Wo.Password=Kc;Wo.OTP=jc;var Yc=Wo;var Zc=e=>{let{placeholder:t="",value:o,prefixCls:r,disabled:n,onChange:a,handleClear:i}=e,l=ie.useCallback(s=>{a?.(s),s.target.value===""&&i?.();},[a]);return ie.createElement(Yc,{placeholder:t,className:r,value:o,onChange:l,disabled:n,allowClear:true,prefix:ie.createElement(vg,null)})};process.env.NODE_ENV!=="production"&&(Zc.displayName="Search");var Tn=Zc;var GC=()=>null;function VC(e){return !!(e&&!ie__default.isValidElement(e)&&Object.prototype.toString.call(e)==="[object Object]")}function gr(e){return e.filter(t=>!t.disabled).map(t=>t.key)}var jC=e=>e!==void 0,Jc=e=>{let{prefixCls:t,dataSource:o=[],titleText:r="",checkedKeys:n,disabled:a,showSearch:i=false,style:l,searchPlaceholder:s,notFoundContent:c,selectAll:p,deselectAll:m,selectCurrent:d,selectInvert:f,removeAll:u,removeCurrent:S,showSelectAll:y=true,showRemove:C,pagination:b,direction:g,itemsUnit:P,itemUnit:B,selectAllLabel:$,selectionsIcon:h,footer:x,renderList:T,onItemSelectAll:v,onItemRemove:M,handleFilter:L,handleClear:O,filterOption:W,render:R=GC}=e,[H,E]=useState(""),I=useRef({}),j=V=>{E(V.target.value),L(V);},D=()=>{E(""),O();},q=(V,X)=>W?W(H,X,g):V.includes(H),re=V=>{let X=T?T({...V,onItemSelect:(Q,We)=>V.onItemSelect(Q,We)}):null,ne=!!X;return ne||(X=ie__default.createElement(Nc,{ref:I,...V})),{customize:ne,bodyContent:X}},Y=V=>{let X=R(V),ne=VC(X);return {item:V,renderedEl:ne?X.label:X,renderedText:ne?X.value:X}},w=useMemo(()=>Array.isArray(c)?c[g==="left"?0:1]:c,[c,g]),[k,N]=useMemo(()=>{let V=[],X=[];return o.forEach(ne=>{let Q=Y(ne);H&&!q(Q.renderedText,ne)||(V.push(ne),X.push(Q));}),[V,X]},[o,H]),J=useMemo(()=>k.filter(V=>n.includes(V.key)&&!V.disabled),[n,k]),_=useMemo(()=>{if(J.length===0)return "none";let V=qt(n);return k.every(X=>V.has(X.key)||!!X.disabled)?"all":"part"},[n,J]),le=useMemo(()=>{let V=i?ie__default.createElement("div",{className:`${t}-body-search-wrapper`},ie__default.createElement(Tn,{prefixCls:`${t}-search`,onChange:j,handleClear:D,placeholder:s,value:H,disabled:a})):null,{customize:X,bodyContent:ne}=re({...ws(e,zc),filteredItems:k,filteredRenderItems:N,selectedKeys:n}),Q;return X?Q=ie__default.createElement("div",{className:`${t}-body-customize-wrapper`},ne):Q=k.length?ne:ie__default.createElement("div",{className:`${t}-body-not-found`},w),ie__default.createElement("div",{className:ko(i?`${t}-body ${t}-body-with-search`:`${t}-body`)},V,Q)},[i,t,s,H,a,n,k,N,w]),pe=ie__default.createElement(Vr,{disabled:o.filter(V=>!V.disabled).length===0||a,checked:_==="all",indeterminate:_==="part",className:`${t}-checkbox`,onChange:()=>{v?.(k.filter(V=>!V.disabled).map(({key:V})=>V),_!=="all");}}),me=(V,X)=>{if($)return typeof $=="function"?$({selectedCount:V,totalCount:X}):$;let ne=X>1?P:B;return ie__default.createElement(ie__default.Fragment,null,(V>0?`${V}/`:"")+X," ",ne)},de=x&&(x.length<2?x(e):x(e,{direction:g})),F=ko(t,{[`${t}-with-pagination`]:!!b,[`${t}-with-footer`]:!!de}),Z=de?ie__default.createElement("div",{className:`${t}-footer`},de):null,$e=!C&&!b&&pe,we;C?we=[b?{key:"removeCurrent",label:S,onClick(){let V=gr((I.current?.items||[]).map(X=>X.item));M?.(V);}}:null,{key:"removeAll",label:u,onClick(){M?.(gr(k));}}].filter(Boolean):we=[{key:"selectAll",label:_==="all"?m:p,onClick(){let V=gr(k);v?.(V,V.length!==n.length);}},b?{key:"selectCurrent",label:d,onClick(){let V=I.current?.items||[];v?.(gr(V.map(X=>X.item)),true);}}:null,{key:"selectInvert",label:f,onClick(){let V=gr((I.current?.items||[]).map(Q=>Q.item)),X=new Set(n),ne=new Set(X);V.forEach(Q=>{X.has(Q)?ne.delete(Q):ne.add(Q);}),v?.(Array.from(ne),"replace");}}];let et=ie__default.createElement(Ks,{className:`${t}-header-dropdown`,menu:{items:we},disabled:a},jC(h)?h:ie__default.createElement(xg,null));return ie__default.createElement("div",{className:F,style:l},ie__default.createElement("div",{className:`${t}-header`},y?ie__default.createElement(ie__default.Fragment,null,$e,et):null,ie__default.createElement("span",{className:`${t}-header-selected`},me(J.length,k.length)),ie__default.createElement("span",{className:`${t}-header-title`},r)),le,Z)};process.env.NODE_ENV!=="production"&&(Jc.displayName="TransferList");var vn=Jc;var op=e=>{let{disabled:t,moveToLeft:o,moveToRight:r,leftArrowText:n="",rightArrowText:a="",leftActive:i,rightActive:l,className:s,style:c,direction:p,oneWay:m}=e;return ie.createElement("div",{className:s,style:c},ie.createElement(Wt,{type:"primary",size:"small",disabled:t||!l,onClick:r,icon:p!=="rtl"?ie.createElement(gl,null):ie.createElement(fl,null)},a),!m&&ie.createElement(Wt,{type:"primary",size:"small",disabled:t||!i,onClick:o,icon:p!=="rtl"?ie.createElement(fl,null):ie.createElement(gl,null)},n))};process.env.NODE_ENV!=="production"&&(op.displayName="Operation");var Ki=op;var _C=e=>{let{antCls:t,componentCls:o,listHeight:r,controlHeightLG:n}=e,a=`${t}-table`,i=`${t}-input`;return {[`${o}-customize-list`]:{[`${o}-list`]:{flex:"1 1 50%",width:"auto",height:"auto",minHeight:r,minWidth:0},[`${a}-wrapper`]:{[`${a}-small`]:{border:0,borderRadius:0,[`${a}-selection-column`]:{width:n,minWidth:n}},[`${a}-pagination${a}-pagination`]:{margin:0,padding:e.paddingXS}},[`${i}[disabled]`]:{backgroundColor:"transparent"}}}},rp=(e,t)=>{let{componentCls:o,colorBorder:r}=e;return {[`${o}-list`]:{borderColor:t,"&-search:not([disabled])":{borderColor:r}}}},KC=e=>{let{componentCls:t}=e;return {[`${t}-status-error`]:{...rp(e,e.colorError)},[`${t}-status-warning`]:{...rp(e,e.colorWarning)}}},XC=e=>{let{componentCls:t,colorBorder:o,colorSplit:r,lineWidth:n,itemHeight:a,headerHeight:i,transferHeaderVerticalPadding:l,itemPaddingBlock:s,controlItemBgActive:c,colorTextDisabled:p,colorTextSecondary:m,listHeight:d,listWidth:f,listWidthLG:u,fontSizeIcon:S,marginXS:y,paddingSM:C,lineType:b,antCls:g,iconCls:P,motionDurationSlow:B,controlItemBgHover:$,borderRadiusLG:h,colorBgContainer:x,colorText:T,controlItemBgActiveHover:v}=e,M=unit(e.calc(h).sub(n).equal());return {display:"flex",flexDirection:"column",width:f,height:d,border:`${unit(n)} ${b} ${o}`,borderRadius:e.borderRadiusLG,"&-with-pagination":{width:u,height:"auto"},"&-search":{[`${P}-search`]:{color:p}},"&-header":{display:"flex",flex:"none",alignItems:"center",height:i,padding:`${unit(e.calc(l).sub(n).equal())} ${unit(C)} ${unit(l)}`,color:T,background:x,borderBottom:`${unit(n)} ${b} ${r}`,borderRadius:`${unit(h)} ${unit(h)} 0 0`,"> *:not(:last-child)":{marginInlineEnd:4},"> *":{flex:"none"},"&-title":{...pt,flex:"auto",textAlign:"end"},"&-dropdown":{..._e(),fontSize:S,transform:"translateY(10%)",cursor:"pointer","&[disabled]":{cursor:"not-allowed"}}},"&-body":{display:"flex",flex:"auto",flexDirection:"column",fontSize:e.fontSize,minHeight:0,"&-search-wrapper":{position:"relative",flex:"none",padding:C}},"&-content":{flex:"auto",margin:0,padding:0,overflow:"auto",listStyle:"none",borderRadius:`0 0 ${M} ${M}`,"&-item":{display:"flex",alignItems:"center",minHeight:a,padding:`${unit(s)} ${unit(C)}`,transition:`all ${B}`,"> *:not(:last-child)":{marginInlineEnd:y},"> *":{flex:"none"},"&-text":{...pt,flex:"auto"},"&-remove":{...ba(e),color:o,"&:hover, &:focus":{color:m}},[`&:not(${t}-list-content-item-disabled)`]:{"&:hover":{backgroundColor:$,cursor:"pointer"},[`&${t}-list-content-item-checked:hover`]:{backgroundColor:v}},"&-checked":{backgroundColor:c},"&-disabled":{color:p,cursor:"not-allowed"}},[`&-show-remove ${t}-list-content-item:not(${t}-list-content-item-disabled):hover`]:{background:"transparent",cursor:"default"}},"&-pagination":{padding:e.paddingXS,textAlign:"end",borderTop:`${unit(n)} ${b} ${r}`,[`${g}-pagination-options`]:{paddingInlineEnd:e.paddingXS}},"&-body-not-found":{flex:"none",width:"100%",margin:"auto 0",color:p,textAlign:"center"},"&-footer":{borderTop:`${unit(n)} ${b} ${r}`},"&-checkbox":{lineHeight:1}}},UC=e=>{let{antCls:t,iconCls:o,componentCls:r,marginXS:n,marginXXS:a,fontSizeIcon:i,colorBgContainerDisabled:l}=e;return {[r]:{...ae(e),position:"relative",display:"flex",alignItems:"stretch",[`${r}-disabled`]:{[`${r}-list`]:{background:l}},[`${r}-list`]:XC(e),[`${r}-operation`]:{display:"flex",flex:"none",flexDirection:"column",alignSelf:"center",margin:`0 ${unit(n)}`,verticalAlign:"middle",gap:a,[`${t}-btn ${o}`]:{fontSize:i}}}}},qC=e=>{let{componentCls:t}=e;return {[`${t}-rtl`]:{direction:"rtl"}}},YC=e=>{let{fontSize:t,lineHeight:o,controlHeight:r,controlHeightLG:n,lineWidth:a}=e,i=Math.round(t*o);return {listWidth:180,listHeight:200,listWidthLG:250,headerHeight:n,itemHeight:r,itemPaddingBlock:(r-i)/2,transferHeaderVerticalPadding:Math.ceil((n-a-i)/2)}},np=oe("Transfer",e=>{let t=mergeToken(e);return [UC(t),_C(t),KC(t),qC(t)]},YC);var Sr=e=>{let{dataSource:t,targetKeys:o=[],selectedKeys:r,selectAllLabels:n=[],operations:a=[],style:i={},listStyle:l={},locale:s={},titles:c,disabled:p,showSearch:m=false,operationStyle:d,showSelectAll:f,oneWay:u,pagination:S,status:y,prefixCls:C,className:b,rootClassName:g,selectionsIcon:P,filterOption:B,render:$,footer:h,children:x,rowKey:T,onScroll:v,onChange:M,onSearch:L,onSelectChange:O}=e,{getPrefixCls:W,renderEmpty:R,direction:H,transfer:E}=useContext(z),I=W("transfer",C),[j,D,q]=np(I),[re,Y,w]=Da(t,T,o),[k,N,J,_]=Jn(Y,w,r),[le,pe]=hr(A=>A.key),[me,de]=hr(A=>A.key);process.env.NODE_ENV!=="production"&&K("Transfer")(!S||!x,"usage","`pagination` not support customize render list.");let F=useCallback((A,G)=>{if(A==="left"){let ee=typeof G=="function"?G(k||[]):G;J(ee);}else {let ee=typeof G=="function"?G(N||[]):G;_(ee);}},[k,N]),Z=(A,G)=>{(A==="left"?pe:de)(G);},$e=useCallback((A,G)=>{A==="left"?O?.(G,N):O?.(k,G);},[k,N]),we=A=>c??A.titles??[],et=A=>{v?.("left",A);},V=A=>{v?.("right",A);},X=A=>{let G=A==="right"?k:N,ee=Xi(re),fe=G.filter(st=>!ee.has(st)),ge=qt(fe),Fe=A==="right"?fe.concat(o):o.filter(st=>!ge.has(st)),tt=A==="right"?"left":"right";F(tt,[]),$e(tt,[]),M?.(Fe,A,fe);},ne=()=>{X("left"),Z("left",null);},Q=()=>{X("right"),Z("right",null);},We=(A,G,ee)=>{F(A,fe=>{let ge=[];if(ee==="replace")ge=G;else if(ee)ge=Array.from(new Set([...fe,...G]));else {let Fe=qt(G);ge=fe.filter(tt=>!Fe.has(tt));}return $e(A,ge),ge}),Z(A,null);},It=(A,G)=>{We("left",A,G);},at=(A,G)=>{We("right",A,G);},Kt=A=>L?.("left",A.target.value),Rt=A=>L?.("right",A.target.value),wt=()=>L?.("left",""),Ct=()=>L?.("right",""),se=(A,G,ee,fe,ge)=>{G.has(ee)&&(G.delete(ee),Z(A,null)),fe&&(G.add(ee),Z(A,ge));},Xt=(A,G,ee,fe)=>{(A==="left"?le:me)(fe,G,ee);},co=(A,G,ee,fe)=>{let ge=A==="left",Fe=[...ge?k:N],tt=new Set(Fe),st=[...ge?Y:w].filter(Uo=>!Uo?.disabled),Xo=st.findIndex(Uo=>Uo.key===G);fe&&Fe.length>0?Xt(A,st,tt,Xo):se(A,tt,G,ee,Xo);let br=Array.from(tt);$e(A,br),e.selectedKeys||F(A,br);},po=(A,G,ee)=>{co("left",A,G,ee?.shiftKey);},Fo=(A,G,ee)=>{co("right",A,G,ee?.shiftKey);},Go=A=>{F("right",[]),M?.(o.filter(G=>!A.includes(G)),"left",[...A]);},mo=A=>typeof l=="function"?l({direction:A}):l||{},Vo=useContext(be),{hasFeedback:jo,status:Oe}=Vo,$n=A=>({...A,notFoundContent:R?.("Transfer")||ie__default.createElement(Or,{componentName:"Transfer"}),...s}),yr=ct(Oe,y),Mt=!x&&S,Ut=w.filter(A=>N.includes(A.key)&&!A.disabled).length>0,uo=Y.filter(A=>k.includes(A.key)&&!A.disabled).length>0,_o=ko(I,{[`${I}-disabled`]:p,[`${I}-customize-list`]:!!x,[`${I}-rtl`]:H==="rtl"},yt(I,yr,jo),E?.className,b,g,D,q),[Bt]=He("Transfer",Ve.Transfer),lt=$n(Bt),[Pn,ye]=we(lt),Ko=P??E?.selectionsIcon;return j(ie__default.createElement("div",{className:_o,style:{...E?.style,...i}},ie__default.createElement(vn,{prefixCls:`${I}-list`,titleText:Pn,dataSource:Y,filterOption:B,style:mo("left"),checkedKeys:k,handleFilter:Kt,handleClear:wt,onItemSelect:po,onItemSelectAll:It,render:$,showSearch:m,renderList:x,footer:h,onScroll:et,disabled:p,direction:H==="rtl"?"right":"left",showSelectAll:f,selectAllLabel:n[0],pagination:Mt,selectionsIcon:Ko,...lt}),ie__default.createElement(Ki,{className:`${I}-operation`,rightActive:uo,rightArrowText:a[0],moveToRight:Q,leftActive:Ut,leftArrowText:a[1],moveToLeft:ne,style:d,disabled:p,direction:H,oneWay:u}),ie__default.createElement(vn,{prefixCls:`${I}-list`,titleText:ye,dataSource:w,filterOption:B,style:mo("right"),checkedKeys:N,handleFilter:Rt,handleClear:Ct,onItemSelect:Fo,onItemSelectAll:at,onItemRemove:Go,render:$,showSearch:m,renderList:x,footer:h,onScroll:V,disabled:p,direction:H==="rtl"?"left":"right",showSelectAll:f,selectAllLabel:n[1],showRemove:u,pagination:Mt,selectionsIcon:Ko,...lt})))};process.env.NODE_ENV!=="production"&&(Sr.displayName="Transfer");Sr.List=vn;Sr.Search=Tn;Sr.Operation=Ki;var KE=Sr;
154
+ export{KE as default};