@sisense/sdk-shared-ui 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/dist/Breadcrumbs-B-OHBus7.cjs +3 -0
  2. package/dist/{Breadcrumbs-qJmt9n6B.js → Breadcrumbs-DrCp8avo.js} +12 -13
  3. package/dist/Button-CvkAcTyS.cjs +1 -0
  4. package/dist/{Button-Y7DwfxdO.js → Button-cvim-8Bz.js} +345 -165
  5. package/dist/{ButtonBase-UWHDpyst.js → ButtonBase-4TqAVSBf.js} +166 -164
  6. package/dist/ButtonBase-hZEG-21k.cjs +74 -0
  7. package/dist/Checkbox-BbF4jutm.cjs +1 -0
  8. package/dist/{Checkbox-BNkk6YDz.js → Checkbox-aMi60WQj.js} +249 -171
  9. package/dist/CircularProgress-B3FkrcM6.js +249 -0
  10. package/dist/CircularProgress-BWqRJiR-.cjs +28 -0
  11. package/dist/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
  12. package/dist/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
  13. package/dist/{Dropdown-D8rLKKcl.cjs → Dropdown-B6uSaA3z.cjs} +1 -1
  14. package/dist/{Dropdown-DtWYpFk8.js → Dropdown-BzcjbX6k.js} +2 -2
  15. package/dist/{Icon-KwS2TWVq.cjs → Icon-DFhY5sRf.cjs} +1 -1
  16. package/dist/{Icon-JQpFT2bY.js → Icon-DVO7Byvy.js} +2 -2
  17. package/dist/{Menu-DkPO8bCf.cjs → Menu-CgLII61r.cjs} +1 -1
  18. package/dist/{Menu-EXiwd8T_.js → Menu-DqvdoiKn.js} +2 -2
  19. package/dist/{Popover-BjgDIgO7.cjs → Popover-DHy8NRMc.cjs} +1 -1
  20. package/dist/{Popover-CiYeL2VE.js → Popover-KR_Rc69g.js} +1 -1
  21. package/dist/Portal-B6TDsfBi.cjs +1 -0
  22. package/dist/{Portal-DUw3q8Mq.js → Portal-C6RJkJ6n.js} +253 -318
  23. package/dist/{SvgIcon-DXzFs5aw.cjs → SvgIcon-CjUZ_jwt.cjs} +1 -1
  24. package/dist/{SvgIcon-5KhsYNcu.js → SvgIcon-a_07YA77.js} +7 -7
  25. package/dist/TablePagination-CNwjJIdB.cjs +15 -0
  26. package/dist/{TablePagination-CgaKWA2r.js → TablePagination-D4-bcrO_.js} +2003 -1784
  27. package/dist/Tooltip-BjyR1mIC.cjs +7 -0
  28. package/dist/{Tooltip-BpA4opI3.js → Tooltip-CWF5y-3F.js} +20 -19
  29. package/dist/TransitionGroupContext-BNiEy2cD.js +119 -0
  30. package/dist/TransitionGroupContext-CJJeIdck.cjs +2 -0
  31. package/dist/{Typography-BDMqUlbg.cjs → Typography-Pieq_mxw.cjs} +1 -1
  32. package/dist/{Typography-pY0gGUzu.js → Typography-ReSKaH87.js} +6 -6
  33. package/dist/__test-helpers__/test-setup.d.ts +2 -0
  34. package/dist/__test-helpers__/test-setup.d.ts.map +1 -0
  35. package/dist/{createSvgIcon-B28x3Jky.js → createSvgIcon-CiRZfwSO.js} +1 -1
  36. package/dist/{createSvgIcon-KaV60kcg.cjs → createSvgIcon-DgE0zN0k.cjs} +1 -1
  37. package/dist/{emotion-cache-provider-CsTOkc-k.js → emotion-cache-provider-B6yKtm_a.js} +1980 -2095
  38. package/dist/emotion-cache-provider-XZE1SDsY.cjs +122 -0
  39. package/dist/index.cjs +1 -1
  40. package/dist/index.js +11 -11
  41. package/dist/index.umd.js +188 -0
  42. package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
  43. package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
  44. package/dist/lib/Button/Button.cjs +1 -1
  45. package/dist/lib/Button/Button.js +2 -2
  46. package/dist/lib/Checkbox/Checkbox.cjs +1 -1
  47. package/dist/lib/Checkbox/Checkbox.js +1 -1
  48. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
  49. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
  50. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
  51. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
  52. package/dist/lib/Dropdown/Dropdown.cjs +1 -1
  53. package/dist/lib/Dropdown/Dropdown.js +1 -1
  54. package/dist/lib/Icon/Icon.cjs +1 -1
  55. package/dist/lib/Icon/Icon.js +1 -1
  56. package/dist/lib/Menu/Menu.cjs +1 -1
  57. package/dist/lib/Menu/Menu.js +2 -2
  58. package/dist/lib/Popover/Popover.cjs +1 -1
  59. package/dist/lib/Popover/Popover.d.ts +1 -1
  60. package/dist/lib/Popover/Popover.d.ts.map +1 -1
  61. package/dist/lib/Popover/Popover.js +1 -1
  62. package/dist/lib/TablePagination/TablePagination.cjs +1 -1
  63. package/dist/lib/TablePagination/TablePagination.js +1 -1
  64. package/dist/lib/Tooltip/Tooltip.cjs +1 -1
  65. package/dist/lib/Tooltip/Tooltip.js +2 -2
  66. package/dist/lib/Typography/Typography.cjs +1 -1
  67. package/dist/lib/Typography/Typography.js +2 -2
  68. package/dist/lightweight/Breadcrumbs-BMR7xumU.js +37 -0
  69. package/dist/lightweight/Breadcrumbs-BgNa_noo.cjs +1 -0
  70. package/dist/lightweight/Button-C0bT7IWv.js +96 -0
  71. package/dist/lightweight/Button-O3zEYLfM.cjs +1 -0
  72. package/dist/lightweight/CheckableList-1Jq4spYu.cjs +1 -0
  73. package/dist/lightweight/CheckableList-DTTE9oEw.js +21 -0
  74. package/dist/lightweight/Checkbox-DqAy-3w-.js +34 -0
  75. package/dist/lightweight/Checkbox-hyvVpMGp.cjs +1 -0
  76. package/dist/lightweight/DEPRECATED_Button-CKGdJitl.cjs +1 -0
  77. package/dist/lightweight/DEPRECATED_Button-Dhs0ieAl.js +87 -0
  78. package/dist/lightweight/DEPRECATED_Checkbox-Be1l_Vce.js +63 -0
  79. package/dist/lightweight/DEPRECATED_Checkbox-BggU0HO5.cjs +1 -0
  80. package/dist/lightweight/DEPRECATED_Icon-Bgufd-9Q.js +56 -0
  81. package/dist/lightweight/DEPRECATED_Icon-DC1Hc9iB.cjs +1 -0
  82. package/dist/lightweight/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
  83. package/dist/lightweight/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
  84. package/dist/lightweight/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
  85. package/dist/lightweight/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
  86. package/dist/lightweight/Dropdown-B6uSaA3z.cjs +1 -0
  87. package/dist/lightweight/Dropdown-C5DcG6WG.js +231 -0
  88. package/dist/lightweight/Icon-4kNYAFUz.cjs +1 -0
  89. package/dist/lightweight/Icon-DQNqONXU.js +133 -0
  90. package/dist/lightweight/Input-CNvYE0Er.js +119 -0
  91. package/dist/lightweight/Input-_wNCDCdI.cjs +1 -0
  92. package/dist/lightweight/LazyLoader-DB86QSSx.js +18 -0
  93. package/dist/lightweight/LazyLoader-gOLNhxc-.cjs +1 -0
  94. package/dist/lightweight/Menu-CgLII61r.cjs +1 -0
  95. package/dist/lightweight/Menu-DeHgR0JO.js +1211 -0
  96. package/dist/lightweight/Popover-BAehEo3a.js +49 -0
  97. package/dist/lightweight/Popover-DHy8NRMc.cjs +1 -0
  98. package/dist/lightweight/RadioButton-BpAksn2s.js +70 -0
  99. package/dist/lightweight/RadioButton-Ds-0wj0r.cjs +1 -0
  100. package/dist/lightweight/TablePagination-Czpnhvp6.cjs +1 -0
  101. package/dist/lightweight/TablePagination-D1tyNTa7.js +338 -0
  102. package/dist/lightweight/Tooltip-BcjJxRj4.cjs +1 -0
  103. package/dist/lightweight/Tooltip-DUpknkQW.js +59 -0
  104. package/dist/lightweight/Typography-BT1q5az1.cjs +1 -0
  105. package/dist/lightweight/Typography-CvzdielF.js +153 -0
  106. package/dist/lightweight/__test-helpers__/test-setup.d.ts +2 -0
  107. package/dist/lightweight/__test-helpers__/test-setup.d.ts.map +1 -0
  108. package/dist/lightweight/align.interface-B17uA473.cjs +1 -0
  109. package/dist/lightweight/align.interface-DdWsijrT.js +4 -0
  110. package/dist/lightweight/emotion-cache-provider-BsnmG_09.cjs +1 -0
  111. package/dist/lightweight/emotion-cache-provider-CE1QZs6M.js +18 -0
  112. package/dist/lightweight/index-B-zZeebW.cjs +20 -0
  113. package/dist/lightweight/index-D0lMis-I.js +667 -0
  114. package/dist/lightweight/index.cjs +1 -0
  115. package/dist/lightweight/index.d.ts +2 -0
  116. package/dist/lightweight/index.d.ts.map +1 -0
  117. package/dist/lightweight/index.js +48 -0
  118. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
  119. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
  120. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  121. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.js +7 -0
  122. package/dist/lightweight/lib/Breadcrumbs/index.d.ts +5 -0
  123. package/dist/lightweight/lib/Breadcrumbs/index.d.ts.map +1 -0
  124. package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
  125. package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
  126. package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts +2 -0
  127. package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
  128. package/dist/lightweight/lib/Button/Button.cjs +1 -0
  129. package/dist/lightweight/lib/Button/Button.d.ts +10 -0
  130. package/dist/lightweight/lib/Button/Button.d.ts.map +1 -0
  131. package/dist/lightweight/lib/Button/Button.js +7 -0
  132. package/dist/lightweight/lib/Button/index.d.ts +5 -0
  133. package/dist/lightweight/lib/Button/index.d.ts.map +1 -0
  134. package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts +11 -0
  135. package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
  136. package/dist/lightweight/lib/Button/themes/index.d.ts +2 -0
  137. package/dist/lightweight/lib/Button/themes/index.d.ts.map +1 -0
  138. package/dist/lightweight/lib/CheckableList/CheckableList.cjs +1 -0
  139. package/dist/lightweight/lib/CheckableList/CheckableList.d.ts +16 -0
  140. package/dist/lightweight/lib/CheckableList/CheckableList.d.ts.map +1 -0
  141. package/dist/lightweight/lib/CheckableList/CheckableList.js +5 -0
  142. package/dist/lightweight/lib/CheckableList/index.d.ts +4 -0
  143. package/dist/lightweight/lib/CheckableList/index.d.ts.map +1 -0
  144. package/dist/lightweight/lib/Checkbox/Checkbox.cjs +1 -0
  145. package/dist/lightweight/lib/Checkbox/Checkbox.d.ts +20 -0
  146. package/dist/lightweight/lib/Checkbox/Checkbox.d.ts.map +1 -0
  147. package/dist/lightweight/lib/Checkbox/Checkbox.js +5 -0
  148. package/dist/lightweight/lib/Checkbox/index.d.ts +4 -0
  149. package/dist/lightweight/lib/Checkbox/index.d.ts.map +1 -0
  150. package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
  151. package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
  152. package/dist/lightweight/lib/Checkbox/themes/index.d.ts +2 -0
  153. package/dist/lightweight/lib/Checkbox/themes/index.d.ts.map +1 -0
  154. package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
  155. package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
  156. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
  157. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
  158. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
  159. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
  160. package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts +4 -0
  161. package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts.map +1 -0
  162. package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
  163. package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
  164. package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
  165. package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
  166. package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
  167. package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
  168. package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
  169. package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
  170. package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
  171. package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
  172. package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts +4 -0
  173. package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
  174. package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
  175. package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
  176. package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
  177. package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
  178. package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts +4 -0
  179. package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
  180. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
  181. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
  182. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
  183. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
  184. package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
  185. package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
  186. package/dist/lightweight/lib/Dropdown/Dropdown.cjs +1 -0
  187. package/dist/lightweight/lib/Dropdown/Dropdown.d.ts +32 -0
  188. package/dist/lightweight/lib/Dropdown/Dropdown.d.ts.map +1 -0
  189. package/dist/lightweight/lib/Dropdown/Dropdown.js +5 -0
  190. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
  191. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
  192. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
  193. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
  194. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts +3 -0
  195. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
  196. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
  197. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
  198. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
  199. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
  200. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts +3 -0
  201. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
  202. package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts +2 -0
  203. package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
  204. package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
  205. package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
  206. package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts +2 -0
  207. package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
  208. package/dist/lightweight/lib/Dropdown/hooks/index.d.ts +2 -0
  209. package/dist/lightweight/lib/Dropdown/hooks/index.d.ts.map +1 -0
  210. package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
  211. package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
  212. package/dist/lightweight/lib/Dropdown/index.d.ts +5 -0
  213. package/dist/lightweight/lib/Dropdown/index.d.ts.map +1 -0
  214. package/dist/lightweight/lib/Dropdown/types.d.ts +12 -0
  215. package/dist/lightweight/lib/Dropdown/types.d.ts.map +1 -0
  216. package/dist/lightweight/lib/Icon/Icon.cjs +1 -0
  217. package/dist/lightweight/lib/Icon/Icon.d.ts +13 -0
  218. package/dist/lightweight/lib/Icon/Icon.d.ts.map +1 -0
  219. package/dist/lightweight/lib/Icon/Icon.js +5 -0
  220. package/dist/lightweight/lib/Icon/index.d.ts +4 -0
  221. package/dist/lightweight/lib/Icon/index.d.ts.map +1 -0
  222. package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts +8 -0
  223. package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts.map +1 -0
  224. package/dist/lightweight/lib/Icon/themes/index.d.ts +2 -0
  225. package/dist/lightweight/lib/Icon/themes/index.d.ts.map +1 -0
  226. package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts +2 -0
  227. package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
  228. package/dist/lightweight/lib/Input/Input.cjs +1 -0
  229. package/dist/lightweight/lib/Input/Input.d.ts +28 -0
  230. package/dist/lightweight/lib/Input/Input.d.ts.map +1 -0
  231. package/dist/lightweight/lib/Input/Input.js +5 -0
  232. package/dist/lightweight/lib/Input/index.d.ts +4 -0
  233. package/dist/lightweight/lib/Input/index.d.ts.map +1 -0
  234. package/dist/lightweight/lib/LazyLoader/LazyLoader.cjs +1 -0
  235. package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts +9 -0
  236. package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
  237. package/dist/lightweight/lib/LazyLoader/LazyLoader.js +5 -0
  238. package/dist/lightweight/lib/LazyLoader/index.d.ts +4 -0
  239. package/dist/lightweight/lib/LazyLoader/index.d.ts.map +1 -0
  240. package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
  241. package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
  242. package/dist/lightweight/lib/Menu/Confirmation/index.d.ts +2 -0
  243. package/dist/lightweight/lib/Menu/Confirmation/index.d.ts.map +1 -0
  244. package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts +2 -0
  245. package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts.map +1 -0
  246. package/dist/lightweight/lib/Menu/Menu.cjs +1 -0
  247. package/dist/lightweight/lib/Menu/Menu.d.ts +80 -0
  248. package/dist/lightweight/lib/Menu/Menu.d.ts.map +1 -0
  249. package/dist/lightweight/lib/Menu/Menu.js +8 -0
  250. package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
  251. package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
  252. package/dist/lightweight/lib/Menu/MenuItem/index.d.ts +3 -0
  253. package/dist/lightweight/lib/Menu/MenuItem/index.d.ts.map +1 -0
  254. package/dist/lightweight/lib/Menu/index.d.ts +6 -0
  255. package/dist/lightweight/lib/Menu/index.d.ts.map +1 -0
  256. package/dist/lightweight/lib/Menu/utils.d.ts +6 -0
  257. package/dist/lightweight/lib/Menu/utils.d.ts.map +1 -0
  258. package/dist/lightweight/lib/Popover/Popover.cjs +1 -0
  259. package/dist/lightweight/lib/Popover/Popover.d.ts +16 -0
  260. package/dist/lightweight/lib/Popover/Popover.d.ts.map +1 -0
  261. package/dist/lightweight/lib/Popover/Popover.js +7 -0
  262. package/dist/lightweight/lib/Popover/align.interface.d.ts +23 -0
  263. package/dist/lightweight/lib/Popover/align.interface.d.ts.map +1 -0
  264. package/dist/lightweight/lib/Popover/index.d.ts +6 -0
  265. package/dist/lightweight/lib/Popover/index.d.ts.map +1 -0
  266. package/dist/lightweight/lib/RadioButton/RadioButton.cjs +1 -0
  267. package/dist/lightweight/lib/RadioButton/RadioButton.d.ts +20 -0
  268. package/dist/lightweight/lib/RadioButton/RadioButton.d.ts.map +1 -0
  269. package/dist/lightweight/lib/RadioButton/RadioButton.js +5 -0
  270. package/dist/lightweight/lib/RadioButton/index.d.ts +4 -0
  271. package/dist/lightweight/lib/RadioButton/index.d.ts.map +1 -0
  272. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
  273. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
  274. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
  275. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
  276. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
  277. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
  278. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
  279. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
  280. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
  281. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
  282. package/dist/lightweight/lib/TablePagination/TablePagination.cjs +1 -0
  283. package/dist/lightweight/lib/TablePagination/TablePagination.d.ts +19 -0
  284. package/dist/lightweight/lib/TablePagination/TablePagination.d.ts.map +1 -0
  285. package/dist/lightweight/lib/TablePagination/TablePagination.js +5 -0
  286. package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts +3 -0
  287. package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
  288. package/dist/lightweight/lib/TablePagination/index.d.ts +4 -0
  289. package/dist/lightweight/lib/TablePagination/index.d.ts.map +1 -0
  290. package/dist/lightweight/lib/TablePagination/themes/index.d.ts +2 -0
  291. package/dist/lightweight/lib/TablePagination/themes/index.d.ts.map +1 -0
  292. package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
  293. package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
  294. package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
  295. package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
  296. package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
  297. package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
  298. package/dist/lightweight/lib/Tooltip/Tooltip.cjs +1 -0
  299. package/dist/lightweight/lib/Tooltip/Tooltip.d.ts +10 -0
  300. package/dist/lightweight/lib/Tooltip/Tooltip.d.ts.map +1 -0
  301. package/dist/lightweight/lib/Tooltip/Tooltip.js +7 -0
  302. package/dist/lightweight/lib/Tooltip/index.d.ts +5 -0
  303. package/dist/lightweight/lib/Tooltip/index.d.ts.map +1 -0
  304. package/dist/lightweight/lib/Tooltip/themes/index.d.ts +2 -0
  305. package/dist/lightweight/lib/Tooltip/themes/index.d.ts.map +1 -0
  306. package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
  307. package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
  308. package/dist/lightweight/lib/Typography/Typography.cjs +1 -0
  309. package/dist/lightweight/lib/Typography/Typography.d.ts +11 -0
  310. package/dist/lightweight/lib/Typography/Typography.d.ts.map +1 -0
  311. package/dist/lightweight/lib/Typography/Typography.js +7 -0
  312. package/dist/lightweight/lib/Typography/index.d.ts +5 -0
  313. package/dist/lightweight/lib/Typography/index.d.ts.map +1 -0
  314. package/dist/lightweight/lib/Typography/themes/index.d.ts +2 -0
  315. package/dist/lightweight/lib/Typography/themes/index.d.ts.map +1 -0
  316. package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts +21 -0
  317. package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
  318. package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts +2 -0
  319. package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
  320. package/dist/lightweight/lib/common/emotion-cache-provider.d.ts +11 -0
  321. package/dist/lightweight/lib/common/emotion-cache-provider.d.ts.map +1 -0
  322. package/dist/lightweight/lib/constants/styleguideConstants.d.ts +9 -0
  323. package/dist/lightweight/lib/constants/styleguideConstants.d.ts.map +1 -0
  324. package/dist/lightweight/lib/index.d.ts +20 -0
  325. package/dist/lightweight/lib/index.d.ts.map +1 -0
  326. package/dist/lightweight/lib/themes/colors/index.d.ts +2 -0
  327. package/dist/lightweight/lib/themes/colors/index.d.ts.map +1 -0
  328. package/dist/lightweight/lib/themes/colors/siColors.d.ts +140 -0
  329. package/dist/lightweight/lib/themes/colors/siColors.d.ts.map +1 -0
  330. package/dist/lightweight/lib/themes/index.d.ts +3 -0
  331. package/dist/lightweight/lib/themes/index.d.ts.map +1 -0
  332. package/dist/lightweight/lib/themes/themes.cjs +2 -0
  333. package/dist/lightweight/lib/themes/themes.js +142 -0
  334. package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts +12 -0
  335. package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts.map +1 -0
  336. package/dist/lightweight/lib/themes/types/index.d.ts +2 -0
  337. package/dist/lightweight/lib/themes/types/index.d.ts.map +1 -0
  338. package/dist/lightweight/package.json +248 -0
  339. package/dist/lightweight/styleguideConstants-CtXkvIZK.cjs +1 -0
  340. package/dist/lightweight/styleguideConstants-D4Yls16w.js +11 -0
  341. package/dist/package.json +34 -14
  342. package/dist/resolveComponentProps-BjHOskdg.cjs +1 -0
  343. package/dist/resolveComponentProps-L5VTqIs8.js +80 -0
  344. package/dist/useFormControl-DNim9J_T.cjs +1 -0
  345. package/dist/useFormControl-lYrMmqEx.js +56 -0
  346. package/dist/useId-CK6Kn3Tn.js +21 -0
  347. package/dist/useId-DNXtOFeX.cjs +1 -0
  348. package/dist/useSlot-BHK4fbKV.cjs +3 -0
  349. package/dist/useSlot-DUGuD2Ya.js +77 -0
  350. package/dist/useSlotProps-9rt1So3E.js +25 -0
  351. package/dist/useSlotProps-ChaoOi-_.cjs +1 -0
  352. package/dist/{useTheme-CzEManLl.js → useTheme-DPwUUXTG.js} +1 -1
  353. package/dist/{useTheme-DmoPdQRb.cjs → useTheme-Dn8Us9iT.cjs} +1 -1
  354. package/package.json +34 -14
  355. package/dist/Breadcrumbs-Da5cnPID.cjs +0 -3
  356. package/dist/Button-RoXZvXZf.cjs +0 -1
  357. package/dist/ButtonBase-CISYuRKV.cjs +0 -74
  358. package/dist/Checkbox-DpGUO-Li.cjs +0 -1
  359. package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +0 -2316
  360. package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +0 -27
  361. package/dist/Portal-CtJkkaJ7.cjs +0 -1
  362. package/dist/TablePagination-baLnBUNn.cjs +0 -15
  363. package/dist/Tooltip-Dcsip2Zy.cjs +0 -7
  364. package/dist/assertThisInitialized-BSnhOY1M.cjs +0 -1
  365. package/dist/assertThisInitialized-lz6cHcRv.js +0 -8
  366. package/dist/deepmerge-BuAjuQR6.cjs +0 -17
  367. package/dist/deepmerge-DNqbOtFI.js +0 -177
  368. package/dist/emotion-cache-provider-C66nBUtN.cjs +0 -114
  369. package/dist/extends-DX42hfxm.js +0 -13
  370. package/dist/extends-q0Hkx4pQ.cjs +0 -1
  371. package/dist/setPrototypeOf-BmHXYjK5.cjs +0 -1
  372. package/dist/setPrototypeOf-CEtRTXk2.js +0 -19
  373. package/dist/useControlled-BYdyS7Pn.js +0 -31
  374. package/dist/useControlled-Ysk4KqoX.cjs +0 -3
  375. package/dist/useFormControl-CatNKXAi.js +0 -10
  376. package/dist/useFormControl-haP0iPhl.cjs +0 -1
  377. package/dist/useSlotProps-BxlgPyQJ.js +0 -102
  378. package/dist/useSlotProps-DS82uuM_.cjs +0 -1
  379. package/dist/useTimeout-DwkOFF8P.cjs +0 -2
  380. package/dist/useTimeout-Oe_jK-ia.js +0 -92
@@ -0,0 +1,1961 @@
1
+ import { jsx as Ut } from "react/jsx-runtime";
2
+ import we from "classnames";
3
+ import * as s from "react";
4
+ import bo, { version as Eo, isValidElement as wo, useRef as He, useLayoutEffect as Ro, useEffect as Ct, useImperativeHandle as So } from "react";
5
+ import { createPortal as xo } from "react-dom";
6
+ import { s as Po } from "./styleguideConstants-D4Yls16w.js";
7
+ const To = (e) => {
8
+ const {
9
+ children: n,
10
+ prefixCls: t,
11
+ id: o,
12
+ overlayInnerStyle: r,
13
+ bodyClassName: i,
14
+ className: f,
15
+ style: a
16
+ } = e;
17
+ return /* @__PURE__ */ s.createElement("div", {
18
+ className: we(`${t}-content`, f),
19
+ style: a
20
+ }, /* @__PURE__ */ s.createElement("div", {
21
+ className: we(`${t}-inner`, i),
22
+ id: o,
23
+ role: "tooltip",
24
+ style: r
25
+ }, typeof n == "function" ? n() : n));
26
+ };
27
+ function Ee() {
28
+ return !!(typeof window < "u" && window.document && window.document.createElement);
29
+ }
30
+ var Gt = { exports: {} }, A = {};
31
+ /**
32
+ * @license React
33
+ * react-is.production.min.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */
40
+ var vn;
41
+ function Co() {
42
+ if (vn) return A;
43
+ vn = 1;
44
+ var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), f = Symbol.for("react.context"), a = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), E;
45
+ E = Symbol.for("react.module.reference");
46
+ function g(c) {
47
+ if (typeof c == "object" && c !== null) {
48
+ var P = c.$$typeof;
49
+ switch (P) {
50
+ case e:
51
+ switch (c = c.type, c) {
52
+ case t:
53
+ case r:
54
+ case o:
55
+ case h:
56
+ case d:
57
+ return c;
58
+ default:
59
+ switch (c = c && c.$$typeof, c) {
60
+ case a:
61
+ case f:
62
+ case p:
63
+ case v:
64
+ case m:
65
+ case i:
66
+ return c;
67
+ default:
68
+ return P;
69
+ }
70
+ }
71
+ case n:
72
+ return P;
73
+ }
74
+ }
75
+ }
76
+ return A.ContextConsumer = f, A.ContextProvider = i, A.Element = e, A.ForwardRef = p, A.Fragment = t, A.Lazy = v, A.Memo = m, A.Portal = n, A.Profiler = r, A.StrictMode = o, A.Suspense = h, A.SuspenseList = d, A.isAsyncMode = function() {
77
+ return !1;
78
+ }, A.isConcurrentMode = function() {
79
+ return !1;
80
+ }, A.isContextConsumer = function(c) {
81
+ return g(c) === f;
82
+ }, A.isContextProvider = function(c) {
83
+ return g(c) === i;
84
+ }, A.isElement = function(c) {
85
+ return typeof c == "object" && c !== null && c.$$typeof === e;
86
+ }, A.isForwardRef = function(c) {
87
+ return g(c) === p;
88
+ }, A.isFragment = function(c) {
89
+ return g(c) === t;
90
+ }, A.isLazy = function(c) {
91
+ return g(c) === v;
92
+ }, A.isMemo = function(c) {
93
+ return g(c) === m;
94
+ }, A.isPortal = function(c) {
95
+ return g(c) === n;
96
+ }, A.isProfiler = function(c) {
97
+ return g(c) === r;
98
+ }, A.isStrictMode = function(c) {
99
+ return g(c) === o;
100
+ }, A.isSuspense = function(c) {
101
+ return g(c) === h;
102
+ }, A.isSuspenseList = function(c) {
103
+ return g(c) === d;
104
+ }, A.isValidElementType = function(c) {
105
+ return typeof c == "string" || typeof c == "function" || c === t || c === r || c === o || c === h || c === d || c === R || typeof c == "object" && c !== null && (c.$$typeof === v || c.$$typeof === m || c.$$typeof === i || c.$$typeof === f || c.$$typeof === p || c.$$typeof === E || c.getModuleId !== void 0);
106
+ }, A.typeOf = g, A;
107
+ }
108
+ var O = {};
109
+ /**
110
+ * @license React
111
+ * react-is.development.js
112
+ *
113
+ * Copyright (c) Facebook, Inc. and its affiliates.
114
+ *
115
+ * This source code is licensed under the MIT license found in the
116
+ * LICENSE file in the root directory of this source tree.
117
+ */
118
+ var bn;
119
+ function Mo() {
120
+ return bn || (bn = 1, process.env.NODE_ENV !== "production" && function() {
121
+ var e = Symbol.for("react.element"), n = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), f = Symbol.for("react.context"), a = Symbol.for("react.server_context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), E = !1, g = !1, c = !1, P = !1, y = !1, w;
122
+ w = Symbol.for("react.module.reference");
123
+ function L(l) {
124
+ return !!(typeof l == "string" || typeof l == "function" || l === t || l === r || y || l === o || l === h || l === d || P || l === R || E || g || c || typeof l == "object" && l !== null && (l.$$typeof === v || l.$$typeof === m || l.$$typeof === i || l.$$typeof === f || l.$$typeof === p || // This needs to include all possible module reference object
125
+ // types supported by any Flight configuration anywhere since
126
+ // we don't know which Flight build this will end up being used
127
+ // with.
128
+ l.$$typeof === w || l.getModuleId !== void 0));
129
+ }
130
+ function S(l) {
131
+ if (typeof l == "object" && l !== null) {
132
+ var _e = l.$$typeof;
133
+ switch (_e) {
134
+ case e:
135
+ var Z = l.type;
136
+ switch (Z) {
137
+ case t:
138
+ case r:
139
+ case o:
140
+ case h:
141
+ case d:
142
+ return Z;
143
+ default:
144
+ var De = Z && Z.$$typeof;
145
+ switch (De) {
146
+ case a:
147
+ case f:
148
+ case p:
149
+ case v:
150
+ case m:
151
+ case i:
152
+ return De;
153
+ default:
154
+ return _e;
155
+ }
156
+ }
157
+ case n:
158
+ return _e;
159
+ }
160
+ }
161
+ }
162
+ var V = f, W = i, C = e, z = p, D = t, M = v, H = m, j = n, F = r, T = o, x = h, ue = d, q = !1, fe = !1;
163
+ function G(l) {
164
+ return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
165
+ }
166
+ function pe(l) {
167
+ return fe || (fe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
168
+ }
169
+ function K(l) {
170
+ return S(l) === f;
171
+ }
172
+ function J(l) {
173
+ return S(l) === i;
174
+ }
175
+ function Q(l) {
176
+ return typeof l == "object" && l !== null && l.$$typeof === e;
177
+ }
178
+ function oe(l) {
179
+ return S(l) === p;
180
+ }
181
+ function X(l) {
182
+ return S(l) === t;
183
+ }
184
+ function _(l) {
185
+ return S(l) === v;
186
+ }
187
+ function I(l) {
188
+ return S(l) === m;
189
+ }
190
+ function $(l) {
191
+ return S(l) === n;
192
+ }
193
+ function ee(l) {
194
+ return S(l) === r;
195
+ }
196
+ function U(l) {
197
+ return S(l) === o;
198
+ }
199
+ function k(l) {
200
+ return S(l) === h;
201
+ }
202
+ function Re(l) {
203
+ return S(l) === d;
204
+ }
205
+ O.ContextConsumer = V, O.ContextProvider = W, O.Element = C, O.ForwardRef = z, O.Fragment = D, O.Lazy = M, O.Memo = H, O.Portal = j, O.Profiler = F, O.StrictMode = T, O.Suspense = x, O.SuspenseList = ue, O.isAsyncMode = G, O.isConcurrentMode = pe, O.isContextConsumer = K, O.isContextProvider = J, O.isElement = Q, O.isForwardRef = oe, O.isFragment = X, O.isLazy = _, O.isMemo = I, O.isPortal = $, O.isProfiler = ee, O.isStrictMode = U, O.isSuspense = k, O.isSuspenseList = Re, O.isValidElementType = L, O.typeOf = S;
206
+ }()), O;
207
+ }
208
+ process.env.NODE_ENV === "production" ? Gt.exports = Co() : Gt.exports = Mo();
209
+ var qt = Gt.exports;
210
+ function _o(e, n, t) {
211
+ const o = s.useRef({});
212
+ return (!("value" in o.current) || t(o.current.condition, n)) && (o.current.value = e(), o.current.condition = n), o.current.value;
213
+ }
214
+ const No = Symbol.for("react.element"), Ao = Symbol.for("react.transitional.element"), Oo = Symbol.for("react.fragment");
215
+ function Yn(e) {
216
+ return (
217
+ // Base object type
218
+ e && typeof e == "object" && // React Element type
219
+ (e.$$typeof === No || e.$$typeof === Ao) && // React Fragment type
220
+ e.type === Oo
221
+ );
222
+ }
223
+ const Lo = Number(Eo.split(".")[0]), Io = (e, n) => {
224
+ typeof e == "function" ? e(n) : typeof e == "object" && e && "current" in e && (e.current = n);
225
+ }, Fn = (...e) => {
226
+ const n = e.filter(Boolean);
227
+ return n.length <= 1 ? n[0] : (t) => {
228
+ e.forEach((o) => {
229
+ Io(o, t);
230
+ });
231
+ };
232
+ }, Bn = (...e) => _o(
233
+ () => Fn(...e),
234
+ // eslint-disable-next-line react-hooks/exhaustive-deps
235
+ e,
236
+ (n, t) => n.length !== t.length || n.every((o, r) => o !== t[r])
237
+ ), ln = (e) => {
238
+ var t, o;
239
+ if (!e)
240
+ return !1;
241
+ if (Hn(e) && Lo >= 19)
242
+ return !0;
243
+ const n = qt.isMemo(e) ? e.type.type : e.type;
244
+ return !(typeof n == "function" && !((t = n.prototype) != null && t.render) && n.$$typeof !== qt.ForwardRef || typeof e == "function" && !((o = e.prototype) != null && o.render) && e.$$typeof !== qt.ForwardRef);
245
+ };
246
+ function Hn(e) {
247
+ return /* @__PURE__ */ wo(e) && !Yn(e);
248
+ }
249
+ const dn = (e) => {
250
+ if (e && Hn(e)) {
251
+ const n = e;
252
+ return n.props.propertyIsEnumerable("ref") ? n.props.ref : n.ref;
253
+ }
254
+ return null;
255
+ };
256
+ let Kt = {};
257
+ const pn = [], $o = (e) => {
258
+ pn.push(e);
259
+ };
260
+ function Mt(e, n) {
261
+ if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
262
+ const t = pn.reduce((o, r) => r(o ?? "", "warning"), n);
263
+ t && console.error(`Warning: ${t}`);
264
+ }
265
+ }
266
+ function Do(e, n) {
267
+ if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
268
+ const t = pn.reduce((o, r) => r(o ?? "", "note"), n);
269
+ t && console.warn(`Note: ${t}`);
270
+ }
271
+ }
272
+ function ko() {
273
+ Kt = {};
274
+ }
275
+ function zn(e, n, t) {
276
+ !n && !Kt[t] && (e(!1, t), Kt[t] = !0);
277
+ }
278
+ function Nt(e, n) {
279
+ zn(Mt, e, n);
280
+ }
281
+ function Vo(e, n) {
282
+ zn(Do, e, n);
283
+ }
284
+ Nt.preMessage = $o;
285
+ Nt.resetWarned = ko;
286
+ Nt.noteOnce = Vo;
287
+ const jn = /* @__PURE__ */ s.createContext(null);
288
+ let Wo = !1;
289
+ function Yo(e) {
290
+ return Wo;
291
+ }
292
+ const En = process.env.NODE_ENV !== "test" && Ee() ? s.useLayoutEffect : s.useEffect, de = (e, n) => {
293
+ const t = s.useRef(!0);
294
+ En(() => e(t.current), n), En(() => (t.current = !1, () => {
295
+ t.current = !0;
296
+ }), []);
297
+ }, wn = [];
298
+ function Fo(e, n) {
299
+ const [t] = s.useState(() => {
300
+ if (!Ee())
301
+ return null;
302
+ const d = document.createElement("div");
303
+ return process.env.NODE_ENV !== "production" && n && d.setAttribute("data-debug", n), d;
304
+ }), o = s.useRef(!1), r = s.useContext(jn), [i, f] = s.useState(wn), a = r || (o.current ? void 0 : (d) => {
305
+ f((m) => [d, ...m]);
306
+ });
307
+ function p() {
308
+ t.parentElement || document.body.appendChild(t), o.current = !0;
309
+ }
310
+ function h() {
311
+ var d;
312
+ (d = t.parentElement) == null || d.removeChild(t), o.current = !1;
313
+ }
314
+ return de(() => (e ? r ? r(p) : p() : h(), h), [e]), de(() => {
315
+ i.length && (i.forEach((d) => d()), f(wn));
316
+ }, [i]), [t, a];
317
+ }
318
+ function Bo(e, n) {
319
+ if (!e)
320
+ return !1;
321
+ if (e.contains)
322
+ return e.contains(n);
323
+ let t = n;
324
+ for (; t; ) {
325
+ if (t === e)
326
+ return !0;
327
+ t = t.parentNode;
328
+ }
329
+ return !1;
330
+ }
331
+ const Rn = "data-rc-order", Sn = "data-rc-priority", Ho = "rc-util-key", Jt = /* @__PURE__ */ new Map();
332
+ function Xn({
333
+ mark: e
334
+ } = {}) {
335
+ return e ? e.startsWith("data-") ? e : `data-${e}` : Ho;
336
+ }
337
+ function At(e) {
338
+ return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
339
+ }
340
+ function zo(e) {
341
+ return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
342
+ }
343
+ function mn(e) {
344
+ return Array.from((Jt.get(e) || e).children).filter((n) => n.tagName === "STYLE");
345
+ }
346
+ function Un(e, n = {}) {
347
+ if (!Ee())
348
+ return null;
349
+ const {
350
+ csp: t,
351
+ prepend: o,
352
+ priority: r = 0
353
+ } = n, i = zo(o), f = i === "prependQueue", a = document.createElement("style");
354
+ a.setAttribute(Rn, i), f && r && a.setAttribute(Sn, `${r}`), t != null && t.nonce && (a.nonce = t == null ? void 0 : t.nonce), a.innerHTML = e;
355
+ const p = At(n), {
356
+ firstChild: h
357
+ } = p;
358
+ if (o) {
359
+ if (f) {
360
+ const d = (n.styles || mn(p)).filter((m) => {
361
+ if (!["prepend", "prependQueue"].includes(m.getAttribute(Rn)))
362
+ return !1;
363
+ const v = Number(m.getAttribute(Sn) || 0);
364
+ return r >= v;
365
+ });
366
+ if (d.length)
367
+ return p.insertBefore(a, d[d.length - 1].nextSibling), a;
368
+ }
369
+ p.insertBefore(a, h);
370
+ } else
371
+ p.appendChild(a);
372
+ return a;
373
+ }
374
+ function qn(e, n = {}) {
375
+ let {
376
+ styles: t
377
+ } = n;
378
+ return t || (t = mn(At(n))), t.find((o) => o.getAttribute(Xn(n)) === e);
379
+ }
380
+ function en(e, n = {}) {
381
+ const t = qn(e, n);
382
+ t && At(n).removeChild(t);
383
+ }
384
+ function jo(e, n) {
385
+ const t = Jt.get(e);
386
+ if (!t || !Bo(document, t)) {
387
+ const o = Un("", n), {
388
+ parentNode: r
389
+ } = o;
390
+ Jt.set(e, r), e.removeChild(o);
391
+ }
392
+ }
393
+ function Qn(e, n, t = {}) {
394
+ var p, h, d;
395
+ const o = At(t), r = mn(o), i = {
396
+ ...t,
397
+ styles: r
398
+ };
399
+ jo(o, i);
400
+ const f = qn(n, i);
401
+ if (f)
402
+ return (p = i.csp) != null && p.nonce && f.nonce !== ((h = i.csp) == null ? void 0 : h.nonce) && (f.nonce = (d = i.csp) == null ? void 0 : d.nonce), f.innerHTML !== e && (f.innerHTML = e), f;
403
+ const a = Un(e, i);
404
+ return a.setAttribute(Xn(i), n), a;
405
+ }
406
+ function Xo(e) {
407
+ const n = `rc-scrollbar-measure-${Math.random().toString(36).substring(7)}`, t = document.createElement("div");
408
+ t.id = n;
409
+ const o = t.style;
410
+ o.position = "absolute", o.left = "0", o.top = "0", o.width = "100px", o.height = "100px", o.overflow = "scroll";
411
+ let r, i;
412
+ if (e) {
413
+ const p = getComputedStyle(e);
414
+ o.scrollbarColor = p.scrollbarColor, o.scrollbarWidth = p.scrollbarWidth;
415
+ const h = getComputedStyle(e, "::-webkit-scrollbar"), d = parseInt(h.width, 10), m = parseInt(h.height, 10);
416
+ try {
417
+ const v = d ? `width: ${h.width};` : "", R = m ? `height: ${h.height};` : "";
418
+ Qn(`
419
+ #${n}::-webkit-scrollbar {
420
+ ${v}
421
+ ${R}
422
+ }`, n);
423
+ } catch (v) {
424
+ console.error(v), r = d, i = m;
425
+ }
426
+ }
427
+ document.body.appendChild(t);
428
+ const f = e && r && !isNaN(r) ? r : t.offsetWidth - t.clientWidth, a = e && i && !isNaN(i) ? i : t.offsetHeight - t.clientHeight;
429
+ return document.body.removeChild(t), en(n), {
430
+ width: f,
431
+ height: a
432
+ };
433
+ }
434
+ function Uo(e) {
435
+ return typeof document > "u" || !e || !(e instanceof Element) ? {
436
+ width: 0,
437
+ height: 0
438
+ } : Xo(e);
439
+ }
440
+ function qo() {
441
+ return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;
442
+ }
443
+ const Qo = `rc-util-locker-${Date.now()}`;
444
+ let xn = 0;
445
+ function Zo(e) {
446
+ const n = !!e, [t] = s.useState(() => (xn += 1, `${Qo}_${xn}`));
447
+ de(() => {
448
+ if (n) {
449
+ const o = Uo(document.body).width, r = qo();
450
+ Qn(`
451
+ html body {
452
+ overflow-y: hidden;
453
+ ${r ? `width: calc(100% - ${o}px);` : ""}
454
+ }`, t);
455
+ } else
456
+ en(t);
457
+ return () => {
458
+ en(t);
459
+ };
460
+ }, [n, t]);
461
+ }
462
+ const Pn = (e) => e === !1 ? !1 : !Ee() || !e ? null : typeof e == "string" ? document.querySelector(e) : typeof e == "function" ? e() : e, hn = /* @__PURE__ */ s.forwardRef((e, n) => {
463
+ const {
464
+ open: t,
465
+ autoLock: o,
466
+ getContainer: r,
467
+ debug: i,
468
+ autoDestroy: f = !0,
469
+ children: a
470
+ } = e, [p, h] = s.useState(t), d = p || t;
471
+ process.env.NODE_ENV !== "production" && Nt(Ee() || !t, "Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."), s.useEffect(() => {
472
+ (f || t) && h(t);
473
+ }, [t, f]);
474
+ const [m, v] = s.useState(() => Pn(r));
475
+ s.useEffect(() => {
476
+ const L = Pn(r);
477
+ v(L ?? null);
478
+ });
479
+ const [R, E] = Fo(d && !m, i), g = m ?? R;
480
+ Zo(o && t && Ee() && (g === R || g === document.body));
481
+ let c = null;
482
+ a && ln(a) && n && (c = dn(a));
483
+ const P = Bn(c, n);
484
+ if (!d || !Ee() || m === void 0)
485
+ return null;
486
+ const y = g === !1 || Yo();
487
+ let w = a;
488
+ return n && (w = /* @__PURE__ */ s.cloneElement(a, {
489
+ ref: P
490
+ })), /* @__PURE__ */ s.createElement(jn.Provider, {
491
+ value: E
492
+ }, y ? w : /* @__PURE__ */ xo(w, g));
493
+ });
494
+ process.env.NODE_ENV !== "production" && (hn.displayName = "Portal");
495
+ function tn(e, n = {}) {
496
+ let t = [];
497
+ return bo.Children.forEach(e, (o) => {
498
+ o == null && !n.keepEmpty || (Array.isArray(o) ? t = t.concat(tn(o)) : Yn(o) && o.props ? t = t.concat(tn(o.props.children, n)) : t.push(o));
499
+ }), t;
500
+ }
501
+ function at(e) {
502
+ return e instanceof HTMLElement || e instanceof SVGElement;
503
+ }
504
+ function Zn(e) {
505
+ return e && typeof e == "object" && at(e.nativeElement) ? e.nativeElement : at(e) ? e : null;
506
+ }
507
+ const nn = /* @__PURE__ */ s.createContext(null);
508
+ function Go({
509
+ children: e,
510
+ onBatchResize: n
511
+ }) {
512
+ const t = s.useRef(0), o = s.useRef([]), r = s.useContext(nn), i = s.useCallback((f, a, p) => {
513
+ t.current += 1;
514
+ const h = t.current;
515
+ o.current.push({
516
+ size: f,
517
+ element: a,
518
+ data: p
519
+ }), Promise.resolve().then(() => {
520
+ h === t.current && (n == null || n(o.current), o.current = []);
521
+ }), r == null || r(f, a, p);
522
+ }, [n, r]);
523
+ return /* @__PURE__ */ s.createElement(nn.Provider, {
524
+ value: i
525
+ }, e);
526
+ }
527
+ const Me = /* @__PURE__ */ new Map();
528
+ function Gn(e) {
529
+ e.forEach((n) => {
530
+ var o;
531
+ const {
532
+ target: t
533
+ } = n;
534
+ (o = Me.get(t)) == null || o.forEach((r) => r(t));
535
+ });
536
+ }
537
+ let Qt;
538
+ function Kn() {
539
+ return Qt || (Qt = new ResizeObserver(Gn)), Qt;
540
+ }
541
+ process.env.NODE_ENV;
542
+ process.env.NODE_ENV;
543
+ function Ko(e, n) {
544
+ Me.has(e) || (Me.set(e, /* @__PURE__ */ new Set()), Kn().observe(e)), Me.get(e).add(n);
545
+ }
546
+ function Jo(e, n) {
547
+ Me.has(e) && (Me.get(e).delete(n), Me.get(e).size || (Kn().unobserve(e), Me.delete(e)));
548
+ }
549
+ function er(e, n) {
550
+ const {
551
+ children: t,
552
+ disabled: o
553
+ } = e, r = s.useRef(null), i = s.useContext(nn), f = typeof t == "function", a = f ? t(r) : t, p = s.useRef({
554
+ width: -1,
555
+ height: -1,
556
+ offsetWidth: -1,
557
+ offsetHeight: -1
558
+ }), h = !f && /* @__PURE__ */ s.isValidElement(a) && ln(a), d = h ? dn(a) : null, m = Bn(d, r), v = () => Zn(r.current);
559
+ s.useImperativeHandle(n, () => v());
560
+ const R = s.useRef(e);
561
+ R.current = e;
562
+ const E = s.useCallback((g) => {
563
+ const {
564
+ onResize: c,
565
+ data: P
566
+ } = R.current, {
567
+ width: y,
568
+ height: w
569
+ } = g.getBoundingClientRect(), {
570
+ offsetWidth: L,
571
+ offsetHeight: S
572
+ } = g, V = Math.floor(y), W = Math.floor(w);
573
+ if (p.current.width !== V || p.current.height !== W || p.current.offsetWidth !== L || p.current.offsetHeight !== S) {
574
+ const C = {
575
+ width: V,
576
+ height: W,
577
+ offsetWidth: L,
578
+ offsetHeight: S
579
+ };
580
+ p.current = C;
581
+ const z = L === Math.round(y) ? y : L, D = S === Math.round(w) ? w : S, M = {
582
+ ...C,
583
+ offsetWidth: z,
584
+ offsetHeight: D
585
+ };
586
+ i == null || i(M, g, P), c && Promise.resolve().then(() => {
587
+ c(M, g);
588
+ });
589
+ }
590
+ }, []);
591
+ return s.useEffect(() => {
592
+ const g = v();
593
+ return g && !o && Ko(g, E), () => Jo(g, E);
594
+ }, [r.current, o]), h ? /* @__PURE__ */ s.cloneElement(a, {
595
+ ref: m
596
+ }) : a;
597
+ }
598
+ const Jn = /* @__PURE__ */ s.forwardRef(er);
599
+ process.env.NODE_ENV !== "production" && (Jn.displayName = "SingleObserver");
600
+ function on() {
601
+ return on = Object.assign ? Object.assign.bind() : function(e) {
602
+ for (var n = 1; n < arguments.length; n++) {
603
+ var t = arguments[n];
604
+ for (var o in t)
605
+ Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
606
+ }
607
+ return e;
608
+ }, on.apply(this, arguments);
609
+ }
610
+ const tr = "rc-observer-key";
611
+ function nr(e, n) {
612
+ const {
613
+ children: t
614
+ } = e, o = typeof t == "function" ? [t] : tn(t);
615
+ return process.env.NODE_ENV !== "production" && (o.length > 1 ? Mt(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : o.length === 0 && Mt(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), o.map((r, i) => {
616
+ const f = (r == null ? void 0 : r.key) || `${tr}-${i}`;
617
+ return /* @__PURE__ */ s.createElement(Jn, on({}, e, {
618
+ key: f,
619
+ ref: i === 0 ? n : void 0
620
+ }), r);
621
+ });
622
+ }
623
+ const Ot = /* @__PURE__ */ s.forwardRef(nr);
624
+ process.env.NODE_ENV !== "production" && (Ot.displayName = "ResizeObserver");
625
+ Ot.Collection = Go;
626
+ function eo(e) {
627
+ var n;
628
+ return (n = e == null ? void 0 : e.getRootNode) == null ? void 0 : n.call(e);
629
+ }
630
+ function or(e) {
631
+ return eo(e) instanceof ShadowRoot;
632
+ }
633
+ function rn(e) {
634
+ return or(e) ? eo(e) : null;
635
+ }
636
+ function be(e) {
637
+ const n = s.useRef();
638
+ return n.current = e, s.useCallback((...o) => {
639
+ var r;
640
+ return (r = n.current) == null ? void 0 : r.call(n, ...o);
641
+ }, []);
642
+ }
643
+ function rr() {
644
+ return {
645
+ ...s
646
+ }.useId;
647
+ }
648
+ let Tn = 0;
649
+ const Cn = rr(), to = Cn ? (
650
+ // Use React `useId`
651
+ function(n) {
652
+ const t = Cn();
653
+ return n || (process.env.NODE_ENV === "test" ? "test-id" : t);
654
+ }
655
+ ) : (
656
+ // Use compatible of `useId`
657
+ function(n) {
658
+ const [t, o] = s.useState("ssr-id");
659
+ return s.useEffect(() => {
660
+ const r = Tn;
661
+ Tn += 1, o(`rc_unique_${r}`);
662
+ }, []), n || (process.env.NODE_ENV === "test" ? "test-id" : t);
663
+ }
664
+ ), sr = () => {
665
+ if (typeof navigator > "u" || typeof window > "u")
666
+ return !1;
667
+ const e = navigator.userAgent || navigator.vendor || window.opera;
668
+ return /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e == null ? void 0 : e.substr(0, 4));
669
+ }, ir = /* @__PURE__ */ s.createContext({});
670
+ function sn(e) {
671
+ const n = s.useRef(!1), [t, o] = s.useState(e);
672
+ s.useEffect(() => (n.current = !1, () => {
673
+ n.current = !0;
674
+ }), []);
675
+ function r(i, f) {
676
+ f && n.current || o(i);
677
+ }
678
+ return [t, r];
679
+ }
680
+ function cr(e) {
681
+ const [, n] = s.useReducer((i) => i + 1, 0), t = s.useRef(e), o = be(() => t.current), r = be((i) => {
682
+ t.current = typeof i == "function" ? i(t.current) : i, n();
683
+ });
684
+ return [o, r];
685
+ }
686
+ const Ce = "none", St = "appear", xt = "enter", Pt = "leave", Mn = "none", ye = "prepare", Je = "start", et = "active", gn = "end", no = "prepared";
687
+ function _n(e, n) {
688
+ const t = {};
689
+ return t[e.toLowerCase()] = n.toLowerCase(), t[`Webkit${e}`] = `webkit${n}`, t[`Moz${e}`] = `moz${n}`, t[`ms${e}`] = `MS${n}`, t[`O${e}`] = `o${n.toLowerCase()}`, t;
690
+ }
691
+ function ur(e, n) {
692
+ const t = {
693
+ animationend: _n("Animation", "AnimationEnd"),
694
+ transitionend: _n("Transition", "TransitionEnd")
695
+ };
696
+ return e && ("AnimationEvent" in n || delete t.animationend.animation, "TransitionEvent" in n || delete t.transitionend.transition), t;
697
+ }
698
+ const fr = ur(Ee(), typeof window < "u" ? window : {});
699
+ let oo = {};
700
+ Ee() && ({
701
+ style: oo
702
+ } = document.createElement("div"));
703
+ const Tt = {};
704
+ function ro(e) {
705
+ if (Tt[e])
706
+ return Tt[e];
707
+ const n = fr[e];
708
+ if (n) {
709
+ const t = Object.keys(n), o = t.length;
710
+ for (let r = 0; r < o; r += 1) {
711
+ const i = t[r];
712
+ if (Object.prototype.hasOwnProperty.call(n, i) && i in oo)
713
+ return Tt[e] = n[i], Tt[e];
714
+ }
715
+ }
716
+ return "";
717
+ }
718
+ const so = ro("animationend"), io = ro("transitionend"), ar = !!(so && io), Nn = so || "animationend", An = io || "transitionend";
719
+ function On(e, n) {
720
+ if (!e) return null;
721
+ if (typeof e == "object") {
722
+ const t = n.replace(/-\w/g, (o) => o[1].toUpperCase());
723
+ return e[t];
724
+ }
725
+ return `${e}-${n}`;
726
+ }
727
+ const lr = (e) => {
728
+ const n = He();
729
+ function t(r) {
730
+ r && (r.removeEventListener(An, e), r.removeEventListener(Nn, e));
731
+ }
732
+ function o(r) {
733
+ n.current && n.current !== r && t(n.current), r && r !== n.current && (r.addEventListener(An, e), r.addEventListener(Nn, e), n.current = r);
734
+ }
735
+ return s.useEffect(() => () => {
736
+ t(n.current);
737
+ }, []), [o, t];
738
+ }, co = Ee() ? Ro : Ct;
739
+ let uo = (e) => +setTimeout(e, 16), fo = (e) => clearTimeout(e);
740
+ typeof window < "u" && "requestAnimationFrame" in window && (uo = (e) => window.requestAnimationFrame(e), fo = (e) => window.cancelAnimationFrame(e));
741
+ let Ln = 0;
742
+ const Lt = /* @__PURE__ */ new Map();
743
+ function ao(e) {
744
+ Lt.delete(e);
745
+ }
746
+ const _t = (e, n = 1) => {
747
+ Ln += 1;
748
+ const t = Ln;
749
+ function o(r) {
750
+ if (r === 0)
751
+ ao(t), e();
752
+ else {
753
+ const i = uo(() => {
754
+ o(r - 1);
755
+ });
756
+ Lt.set(t, i);
757
+ }
758
+ }
759
+ return o(n), t;
760
+ };
761
+ _t.cancel = (e) => {
762
+ const n = Lt.get(e);
763
+ return ao(e), fo(n);
764
+ };
765
+ process.env.NODE_ENV !== "production" && (_t.ids = () => Lt);
766
+ const dr = () => {
767
+ const e = s.useRef(null);
768
+ function n() {
769
+ _t.cancel(e.current);
770
+ }
771
+ function t(o, r = 2) {
772
+ n();
773
+ const i = _t(() => {
774
+ r <= 1 ? o({
775
+ isCanceled: () => i !== e.current
776
+ }) : t(o, r - 1);
777
+ });
778
+ e.current = i;
779
+ }
780
+ return s.useEffect(() => () => {
781
+ n();
782
+ }, []), [t, n];
783
+ }, pr = [ye, Je, et, gn], mr = [ye, no], lo = !1, hr = !0;
784
+ function po(e) {
785
+ return e === et || e === gn;
786
+ }
787
+ const gr = (e, n, t) => {
788
+ const [o, r] = sn(Mn), [i, f] = dr();
789
+ function a() {
790
+ r(ye, !0);
791
+ }
792
+ const p = n ? mr : pr;
793
+ return co(() => {
794
+ if (o !== Mn && o !== gn) {
795
+ const h = p.indexOf(o), d = p[h + 1], m = t(o);
796
+ m === lo ? r(d, !0) : d && i((v) => {
797
+ function R() {
798
+ v.isCanceled() || r(d, !0);
799
+ }
800
+ m === !0 ? R() : Promise.resolve(m).then(R);
801
+ });
802
+ }
803
+ }, [e, o]), s.useEffect(() => () => {
804
+ f();
805
+ }, []), [a, o];
806
+ };
807
+ function yr(e, n, t, {
808
+ motionEnter: o = !0,
809
+ motionAppear: r = !0,
810
+ motionLeave: i = !0,
811
+ motionDeadline: f,
812
+ motionLeaveImmediately: a,
813
+ onAppearPrepare: p,
814
+ onEnterPrepare: h,
815
+ onLeavePrepare: d,
816
+ onAppearStart: m,
817
+ onEnterStart: v,
818
+ onLeaveStart: R,
819
+ onAppearActive: E,
820
+ onEnterActive: g,
821
+ onLeaveActive: c,
822
+ onAppearEnd: P,
823
+ onEnterEnd: y,
824
+ onLeaveEnd: w,
825
+ onVisibleChanged: L
826
+ }) {
827
+ const [S, V] = sn(), [W, C] = cr(Ce), [z, D] = sn(null), M = W(), H = He(!1), j = He(null);
828
+ function F() {
829
+ return t();
830
+ }
831
+ const T = He(!1);
832
+ function x() {
833
+ C(Ce), D(null, !0);
834
+ }
835
+ const ue = be((_) => {
836
+ const I = W();
837
+ if (I === Ce)
838
+ return;
839
+ const $ = F();
840
+ if (_ && !_.deadline && _.target !== $)
841
+ return;
842
+ const ee = T.current;
843
+ let U;
844
+ I === St && ee ? U = P == null ? void 0 : P($, _) : I === xt && ee ? U = y == null ? void 0 : y($, _) : I === Pt && ee && (U = w == null ? void 0 : w($, _)), ee && U !== !1 && x();
845
+ }), [q] = lr(ue), fe = (_) => {
846
+ switch (_) {
847
+ case St:
848
+ return {
849
+ [ye]: p,
850
+ [Je]: m,
851
+ [et]: E
852
+ };
853
+ case xt:
854
+ return {
855
+ [ye]: h,
856
+ [Je]: v,
857
+ [et]: g
858
+ };
859
+ case Pt:
860
+ return {
861
+ [ye]: d,
862
+ [Je]: R,
863
+ [et]: c
864
+ };
865
+ default:
866
+ return {};
867
+ }
868
+ }, G = s.useMemo(() => fe(M), [M]), [pe, K] = gr(M, !e, (_) => {
869
+ var I;
870
+ if (_ === ye) {
871
+ const $ = G[ye];
872
+ return $ ? $(F()) : lo;
873
+ }
874
+ return K in G && D(((I = G[K]) == null ? void 0 : I.call(G, F(), null)) || null), K === et && M !== Ce && (q(F()), f > 0 && (clearTimeout(j.current), j.current = setTimeout(() => {
875
+ ue({
876
+ deadline: !0
877
+ });
878
+ }, f))), K === no && x(), hr;
879
+ }), J = po(K);
880
+ T.current = J;
881
+ const Q = He(null);
882
+ co(() => {
883
+ if (H.current && Q.current === n)
884
+ return;
885
+ V(n);
886
+ const _ = H.current;
887
+ H.current = !0;
888
+ let I;
889
+ !_ && n && r && (I = St), _ && n && o && (I = xt), (_ && !n && i || !_ && a && !n && i) && (I = Pt);
890
+ const $ = fe(I);
891
+ I && (e || $[ye]) ? (C(I), pe()) : C(Ce), Q.current = n;
892
+ }, [n]), Ct(() => {
893
+ // Cancel appear
894
+ (M === St && !r || // Cancel enter
895
+ M === xt && !o || // Cancel leave
896
+ M === Pt && !i) && C(Ce);
897
+ }, [r, o, i]), Ct(() => () => {
898
+ H.current = !1, clearTimeout(j.current);
899
+ }, []);
900
+ const oe = s.useRef(!1);
901
+ Ct(() => {
902
+ S && (oe.current = !0), S !== void 0 && M === Ce && ((oe.current || S) && (L == null || L(S)), oe.current = !0);
903
+ }, [S, M]);
904
+ let X = z;
905
+ return G[ye] && K === Je && (X = {
906
+ transition: "none",
907
+ ...X
908
+ }), [W, K, X, S ?? n];
909
+ }
910
+ function vr(e) {
911
+ let n = e;
912
+ typeof e == "object" && ({
913
+ transitionSupport: n
914
+ } = e);
915
+ function t(r, i) {
916
+ return !!(r.motionName && n && i !== !1);
917
+ }
918
+ const o = /* @__PURE__ */ s.forwardRef((r, i) => {
919
+ const {
920
+ // Default config
921
+ visible: f = !0,
922
+ removeOnLeave: a = !0,
923
+ forceRender: p,
924
+ children: h,
925
+ motionName: d,
926
+ leavedClassName: m,
927
+ eventProps: v
928
+ } = r, {
929
+ motion: R
930
+ } = s.useContext(ir), E = t(r, R), g = He();
931
+ function c() {
932
+ return Zn(g.current);
933
+ }
934
+ const [P, y, w, L] = yr(E, f, c, r), S = P(), V = s.useRef(L);
935
+ L && (V.current = !0);
936
+ const W = s.useMemo(() => {
937
+ const D = {};
938
+ return Object.defineProperties(D, {
939
+ nativeElement: {
940
+ enumerable: !0,
941
+ get: c
942
+ },
943
+ inMotion: {
944
+ enumerable: !0,
945
+ get: () => () => P() !== Ce
946
+ },
947
+ enableMotion: {
948
+ enumerable: !0,
949
+ get: () => () => E
950
+ }
951
+ }), D;
952
+ }, []);
953
+ s.useImperativeHandle(i, () => W, []);
954
+ let C;
955
+ const z = {
956
+ ...v,
957
+ visible: f
958
+ };
959
+ if (!h)
960
+ C = null;
961
+ else if (S === Ce)
962
+ L ? C = h({
963
+ ...z
964
+ }, g) : !a && V.current && m ? C = h({
965
+ ...z,
966
+ className: m
967
+ }, g) : p || !a && !m ? C = h({
968
+ ...z,
969
+ style: {
970
+ display: "none"
971
+ }
972
+ }, g) : C = null;
973
+ else {
974
+ let D;
975
+ y === ye ? D = "prepare" : po(y) ? D = "active" : y === Je && (D = "start");
976
+ const M = On(d, `${S}-${D}`);
977
+ C = h({
978
+ ...z,
979
+ className: we(On(d, S), {
980
+ [M]: M && D,
981
+ [d]: typeof d == "string"
982
+ }),
983
+ style: w
984
+ }, g);
985
+ }
986
+ return /* @__PURE__ */ s.isValidElement(C) && ln(C) && (dn(C) || (C = /* @__PURE__ */ s.cloneElement(C, {
987
+ ref: g
988
+ }))), C;
989
+ });
990
+ return o.displayName = "CSSMotion", o;
991
+ }
992
+ const mo = vr(ar);
993
+ function br(e) {
994
+ const {
995
+ prefixCls: n,
996
+ align: t,
997
+ arrow: o,
998
+ arrowPos: r
999
+ } = e, {
1000
+ className: i,
1001
+ content: f
1002
+ } = o || {}, {
1003
+ x: a = 0,
1004
+ y: p = 0
1005
+ } = r, h = s.useRef(null);
1006
+ if (!t || !t.points)
1007
+ return null;
1008
+ const d = {
1009
+ position: "absolute"
1010
+ };
1011
+ if (t.autoArrow !== !1) {
1012
+ const m = t.points[0], v = t.points[1], R = m[0], E = m[1], g = v[0], c = v[1];
1013
+ R === g || !["t", "b"].includes(R) ? d.top = p : R === "t" ? d.top = 0 : d.bottom = 0, E === c || !["l", "r"].includes(E) ? d.left = a : E === "l" ? d.left = 0 : d.right = 0;
1014
+ }
1015
+ return /* @__PURE__ */ s.createElement("div", {
1016
+ ref: h,
1017
+ className: we(`${n}-arrow`, i),
1018
+ style: d
1019
+ }, f);
1020
+ }
1021
+ function cn() {
1022
+ return cn = Object.assign ? Object.assign.bind() : function(e) {
1023
+ for (var n = 1; n < arguments.length; n++) {
1024
+ var t = arguments[n];
1025
+ for (var o in t)
1026
+ Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
1027
+ }
1028
+ return e;
1029
+ }, cn.apply(this, arguments);
1030
+ }
1031
+ function Er(e) {
1032
+ const {
1033
+ prefixCls: n,
1034
+ open: t,
1035
+ zIndex: o,
1036
+ mask: r,
1037
+ motion: i
1038
+ } = e;
1039
+ return r ? /* @__PURE__ */ s.createElement(mo, cn({}, i, {
1040
+ motionAppear: !0,
1041
+ visible: t,
1042
+ removeOnLeave: !0
1043
+ }), ({
1044
+ className: f
1045
+ }) => /* @__PURE__ */ s.createElement("div", {
1046
+ style: {
1047
+ zIndex: o
1048
+ },
1049
+ className: we(`${n}-mask`, f)
1050
+ })) : null;
1051
+ }
1052
+ const ho = /* @__PURE__ */ s.memo(({
1053
+ children: e
1054
+ }) => e, (e, n) => n.cache);
1055
+ process.env.NODE_ENV !== "production" && (ho.displayName = "PopupContent");
1056
+ function un() {
1057
+ return un = Object.assign ? Object.assign.bind() : function(e) {
1058
+ for (var n = 1; n < arguments.length; n++) {
1059
+ var t = arguments[n];
1060
+ for (var o in t)
1061
+ Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
1062
+ }
1063
+ return e;
1064
+ }, un.apply(this, arguments);
1065
+ }
1066
+ const go = /* @__PURE__ */ s.forwardRef((e, n) => {
1067
+ var $;
1068
+ const {
1069
+ popup: t,
1070
+ className: o,
1071
+ prefixCls: r,
1072
+ style: i,
1073
+ target: f,
1074
+ onVisibleChanged: a,
1075
+ // Open
1076
+ open: p,
1077
+ keepDom: h,
1078
+ fresh: d,
1079
+ // Click
1080
+ onClick: m,
1081
+ // Mask
1082
+ mask: v,
1083
+ // Arrow
1084
+ arrow: R,
1085
+ arrowPos: E,
1086
+ align: g,
1087
+ // Motion
1088
+ motion: c,
1089
+ maskMotion: P,
1090
+ // Portal
1091
+ forceRender: y,
1092
+ getPopupContainer: w,
1093
+ autoDestroy: L,
1094
+ portal: S,
1095
+ zIndex: V,
1096
+ onMouseEnter: W,
1097
+ onMouseLeave: C,
1098
+ onPointerEnter: z,
1099
+ onPointerDownCapture: D,
1100
+ ready: M,
1101
+ offsetX: H,
1102
+ offsetY: j,
1103
+ offsetR: F,
1104
+ offsetB: T,
1105
+ onAlign: x,
1106
+ onPrepare: ue,
1107
+ stretch: q,
1108
+ targetWidth: fe,
1109
+ targetHeight: G
1110
+ } = e, pe = typeof t == "function" ? t() : t, K = p || h, J = (w == null ? void 0 : w.length) > 0, [Q, oe] = s.useState(!w || !J);
1111
+ if (de(() => {
1112
+ !Q && J && f && oe(!0);
1113
+ }, [Q, J, f]), !Q)
1114
+ return null;
1115
+ const X = "auto", _ = {
1116
+ left: "-1000vw",
1117
+ top: "-1000vh",
1118
+ right: X,
1119
+ bottom: X
1120
+ };
1121
+ if (M || !p) {
1122
+ const {
1123
+ points: ee
1124
+ } = g, U = g.dynamicInset || (($ = g._experimental) == null ? void 0 : $.dynamicInset), k = U && ee[0][1] === "r", Re = U && ee[0][0] === "b";
1125
+ k ? (_.right = F, _.left = X) : (_.left = H, _.right = X), Re ? (_.bottom = T, _.top = X) : (_.top = j, _.bottom = X);
1126
+ }
1127
+ const I = {};
1128
+ return q && (q.includes("height") && G ? I.height = G : q.includes("minHeight") && G && (I.minHeight = G), q.includes("width") && fe ? I.width = fe : q.includes("minWidth") && fe && (I.minWidth = fe)), p || (I.pointerEvents = "none"), /* @__PURE__ */ s.createElement(S, {
1129
+ open: y || K,
1130
+ getContainer: w && (() => w(f)),
1131
+ autoDestroy: L
1132
+ }, /* @__PURE__ */ s.createElement(Er, {
1133
+ prefixCls: r,
1134
+ open: p,
1135
+ zIndex: V,
1136
+ mask: v,
1137
+ motion: P
1138
+ }), /* @__PURE__ */ s.createElement(Ot, {
1139
+ onResize: x,
1140
+ disabled: !p
1141
+ }, (ee) => /* @__PURE__ */ s.createElement(mo, un({
1142
+ motionAppear: !0,
1143
+ motionEnter: !0,
1144
+ motionLeave: !0,
1145
+ removeOnLeave: !1,
1146
+ forceRender: y,
1147
+ leavedClassName: `${r}-hidden`
1148
+ }, c, {
1149
+ onAppearPrepare: ue,
1150
+ onEnterPrepare: ue,
1151
+ visible: p,
1152
+ onVisibleChanged: (U) => {
1153
+ var k;
1154
+ (k = c == null ? void 0 : c.onVisibleChanged) == null || k.call(c, U), a(U);
1155
+ }
1156
+ }), ({
1157
+ className: U,
1158
+ style: k
1159
+ }, Re) => {
1160
+ const l = we(r, U, o);
1161
+ return /* @__PURE__ */ s.createElement("div", {
1162
+ ref: Fn(ee, n, Re),
1163
+ className: l,
1164
+ style: {
1165
+ "--arrow-x": `${E.x || 0}px`,
1166
+ "--arrow-y": `${E.y || 0}px`,
1167
+ ..._,
1168
+ ...I,
1169
+ ...k,
1170
+ boxSizing: "border-box",
1171
+ zIndex: V,
1172
+ ...i
1173
+ },
1174
+ onMouseEnter: W,
1175
+ onMouseLeave: C,
1176
+ onPointerEnter: z,
1177
+ onClick: m,
1178
+ onPointerDownCapture: D
1179
+ }, R && /* @__PURE__ */ s.createElement(br, {
1180
+ prefixCls: r,
1181
+ arrow: R,
1182
+ arrowPos: E,
1183
+ align: g
1184
+ }), /* @__PURE__ */ s.createElement(ho, {
1185
+ cache: !p && !d
1186
+ }, pe));
1187
+ })));
1188
+ });
1189
+ process.env.NODE_ENV !== "production" && (go.displayName = "Popup");
1190
+ const In = /* @__PURE__ */ s.createContext(null);
1191
+ function $n(e) {
1192
+ return e ? Array.isArray(e) ? e : [e] : [];
1193
+ }
1194
+ function wr(e, n, t, o) {
1195
+ return s.useMemo(() => {
1196
+ const r = $n(t ?? n), i = $n(o ?? n), f = new Set(r), a = new Set(i);
1197
+ return e && (f.has("hover") && (f.delete("hover"), f.add("click")), a.has("hover") && (a.delete("hover"), a.add("click"))), [f, a];
1198
+ }, [e, n, t, o]);
1199
+ }
1200
+ const Rr = (e) => {
1201
+ if (!e)
1202
+ return !1;
1203
+ if (e instanceof Element) {
1204
+ if (e.offsetParent)
1205
+ return !0;
1206
+ if (e.getBBox) {
1207
+ const {
1208
+ width: n,
1209
+ height: t
1210
+ } = e.getBBox();
1211
+ if (n || t)
1212
+ return !0;
1213
+ }
1214
+ if (e.getBoundingClientRect) {
1215
+ const {
1216
+ width: n,
1217
+ height: t
1218
+ } = e.getBoundingClientRect();
1219
+ if (n || t)
1220
+ return !0;
1221
+ }
1222
+ }
1223
+ return !1;
1224
+ };
1225
+ function Sr(e = [], n = [], t) {
1226
+ return t ? e[0] === n[0] : e[0] === n[0] && e[1] === n[1];
1227
+ }
1228
+ function xr(e, n, t, o) {
1229
+ var f;
1230
+ const {
1231
+ points: r
1232
+ } = t, i = Object.keys(e);
1233
+ for (let a = 0; a < i.length; a += 1) {
1234
+ const p = i[a];
1235
+ if (Sr((f = e[p]) == null ? void 0 : f.points, r, o))
1236
+ return `${n}-placement-${p}`;
1237
+ }
1238
+ return "";
1239
+ }
1240
+ function dt(e) {
1241
+ return e.ownerDocument.defaultView;
1242
+ }
1243
+ function fn(e) {
1244
+ const n = [];
1245
+ let t = e == null ? void 0 : e.parentElement;
1246
+ const o = ["hidden", "scroll", "clip", "auto"];
1247
+ for (; t; ) {
1248
+ const {
1249
+ overflowX: r,
1250
+ overflowY: i,
1251
+ overflow: f
1252
+ } = dt(t).getComputedStyle(t);
1253
+ [r, i, f].some((a) => o.includes(a)) && n.push(t), t = t.parentElement;
1254
+ }
1255
+ return n;
1256
+ }
1257
+ function lt(e, n = 1) {
1258
+ return Number.isNaN(e) ? n : e;
1259
+ }
1260
+ function ft(e) {
1261
+ return lt(parseFloat(e), 0);
1262
+ }
1263
+ function Dn(e, n) {
1264
+ const t = {
1265
+ ...e
1266
+ };
1267
+ return (n || []).forEach((o) => {
1268
+ if (o instanceof HTMLBodyElement || o instanceof HTMLHtmlElement)
1269
+ return;
1270
+ const {
1271
+ overflow: r,
1272
+ overflowClipMargin: i,
1273
+ borderTopWidth: f,
1274
+ borderBottomWidth: a,
1275
+ borderLeftWidth: p,
1276
+ borderRightWidth: h
1277
+ } = dt(o).getComputedStyle(o), d = o.getBoundingClientRect(), {
1278
+ offsetHeight: m,
1279
+ clientHeight: v,
1280
+ offsetWidth: R,
1281
+ clientWidth: E
1282
+ } = o, g = ft(f), c = ft(a), P = ft(p), y = ft(h), w = lt(Math.round(d.width / R * 1e3) / 1e3), L = lt(Math.round(d.height / m * 1e3) / 1e3), S = (R - E - P - y) * w, V = (m - v - g - c) * L, W = g * L, C = c * L, z = P * w, D = y * w;
1283
+ let M = 0, H = 0;
1284
+ if (r === "clip") {
1285
+ const ue = ft(i);
1286
+ M = ue * w, H = ue * L;
1287
+ }
1288
+ const j = d.x + z - M, F = d.y + W - H, T = j + d.width + 2 * M - z - D - S, x = F + d.height + 2 * H - W - C - V;
1289
+ t.left = Math.max(t.left, j), t.top = Math.max(t.top, F), t.right = Math.min(t.right, T), t.bottom = Math.min(t.bottom, x);
1290
+ }), t;
1291
+ }
1292
+ function kn(e, n = 0) {
1293
+ const t = `${n}`, o = t.match(/^(.*)\%$/);
1294
+ return o ? e * (parseFloat(o[1]) / 100) : parseFloat(t);
1295
+ }
1296
+ function Vn(e, n) {
1297
+ const [t, o] = n || [];
1298
+ return [kn(e.width, t), kn(e.height, o)];
1299
+ }
1300
+ function Wn(e = "") {
1301
+ return [e[0], e[1]];
1302
+ }
1303
+ function Ze(e, n) {
1304
+ const t = n[0], o = n[1];
1305
+ let r, i;
1306
+ return t === "t" ? i = e.y : t === "b" ? i = e.y + e.height : i = e.y + e.height / 2, o === "l" ? r = e.x : o === "r" ? r = e.x + e.width : r = e.x + e.width / 2, {
1307
+ x: r,
1308
+ y: i
1309
+ };
1310
+ }
1311
+ function $e(e, n) {
1312
+ const t = {
1313
+ t: "b",
1314
+ b: "t",
1315
+ l: "r",
1316
+ r: "l"
1317
+ };
1318
+ return e.map((o, r) => r === n ? t[o] || "c" : o).join("");
1319
+ }
1320
+ function Pr(e, n, t, o, r, i, f) {
1321
+ const [a, p] = s.useState({
1322
+ ready: !1,
1323
+ offsetX: 0,
1324
+ offsetY: 0,
1325
+ offsetR: 0,
1326
+ offsetB: 0,
1327
+ arrowX: 0,
1328
+ arrowY: 0,
1329
+ scaleX: 1,
1330
+ scaleY: 1,
1331
+ align: r[o] || {}
1332
+ }), h = s.useRef(0), d = s.useMemo(() => n ? fn(n) : [], [n]), m = s.useRef({});
1333
+ e || (() => {
1334
+ m.current = {};
1335
+ })();
1336
+ const R = be(() => {
1337
+ var c, P;
1338
+ if (n && t && e) {
1339
+ let le = function(b, ce, u = _e) {
1340
+ const Y = x.x + b, ne = x.y + ce, Ie = Y + Q, Te = ne + J, Xt = Math.max(Y, u.left), Rt = Math.max(ne, u.top), yo = Math.min(Ie, u.right), vo = Math.min(Te, u.bottom);
1341
+ return Math.max(0, (yo - Xt) * (vo - Rt));
1342
+ }, Ye = function() {
1343
+ We = x.y + B, Xe = We + J, ve = x.x + N, Ae = ve + Q;
1344
+ };
1345
+ const y = n, w = y.ownerDocument, L = dt(y), {
1346
+ width: S,
1347
+ height: V,
1348
+ position: W
1349
+ } = L.getComputedStyle(y), C = y.style.left, z = y.style.top, D = y.style.right, M = y.style.bottom, H = y.style.overflow, j = {
1350
+ ...r[o],
1351
+ ...i
1352
+ }, F = w.createElement("div");
1353
+ (c = y.parentElement) == null || c.appendChild(F), F.style.left = `${y.offsetLeft}px`, F.style.top = `${y.offsetTop}px`, F.style.position = W, F.style.height = `${y.offsetHeight}px`, F.style.width = `${y.offsetWidth}px`, y.style.left = "0", y.style.top = "0", y.style.right = "auto", y.style.bottom = "auto", y.style.overflow = "hidden";
1354
+ let T;
1355
+ if (Array.isArray(t))
1356
+ T = {
1357
+ x: t[0],
1358
+ y: t[1],
1359
+ width: 0,
1360
+ height: 0
1361
+ };
1362
+ else {
1363
+ const b = t.getBoundingClientRect();
1364
+ b.x = b.x ?? b.left, b.y = b.y ?? b.top, T = {
1365
+ x: b.x,
1366
+ y: b.y,
1367
+ width: b.width,
1368
+ height: b.height
1369
+ };
1370
+ }
1371
+ const x = y.getBoundingClientRect();
1372
+ x.x = x.x ?? x.left, x.y = x.y ?? x.top;
1373
+ const {
1374
+ clientWidth: ue,
1375
+ clientHeight: q,
1376
+ scrollWidth: fe,
1377
+ scrollHeight: G,
1378
+ scrollTop: pe,
1379
+ scrollLeft: K
1380
+ } = w.documentElement, J = x.height, Q = x.width, oe = T.height, X = T.width, _ = {
1381
+ left: 0,
1382
+ top: 0,
1383
+ right: ue,
1384
+ bottom: q
1385
+ }, I = {
1386
+ left: -K,
1387
+ top: -pe,
1388
+ right: fe - K,
1389
+ bottom: G - pe
1390
+ };
1391
+ let {
1392
+ htmlRegion: $
1393
+ } = j;
1394
+ const ee = "visible", U = "visibleFirst";
1395
+ $ !== "scroll" && $ !== U && ($ = ee);
1396
+ const k = $ === U, Re = Dn(I, d), l = Dn(_, d), _e = $ === ee ? l : Re, Z = k ? l : _e;
1397
+ y.style.left = "auto", y.style.top = "auto", y.style.right = "0", y.style.bottom = "0";
1398
+ const De = y.getBoundingClientRect();
1399
+ y.style.left = C, y.style.top = z, y.style.right = D, y.style.bottom = M, y.style.overflow = H, (P = y.parentElement) == null || P.removeChild(F);
1400
+ const Se = lt(Math.round(Q / parseFloat(S) * 1e3) / 1e3), Ne = lt(Math.round(J / parseFloat(V) * 1e3) / 1e3);
1401
+ if (Se === 0 || Ne === 0 || at(t) && !Rr(t))
1402
+ return;
1403
+ const {
1404
+ offset: ze,
1405
+ targetOffset: re
1406
+ } = j;
1407
+ let [se, ge] = Vn(x, ze);
1408
+ const [It, pt] = Vn(T, re);
1409
+ T.x -= It, T.y -= pt;
1410
+ const [ie, $t] = j.points || [], ae = Wn($t), te = Wn(ie), tt = Ze(T, ae), nt = Ze(x, te), xe = {
1411
+ ...j
1412
+ };
1413
+ let N = tt.x - nt.x + se, B = tt.y - nt.y + ge;
1414
+ const me = le(N, B), ke = le(N, B, l), je = Ze(T, ["t", "l"]), mt = Ze(x, ["t", "l"]), Ve = Ze(T, ["b", "r"]), ht = Ze(x, ["b", "r"]), Dt = j.overflow || {}, {
1415
+ adjustX: kt,
1416
+ adjustY: Vt,
1417
+ shiftX: gt,
1418
+ shiftY: yt
1419
+ } = Dt, vt = (b) => typeof b == "boolean" ? b : b >= 0;
1420
+ let We, Xe, ve, Ae;
1421
+ Ye();
1422
+ const Oe = vt(Vt), ot = te[0] === ae[0];
1423
+ if (Oe && te[0] === "t" && (Xe > Z.bottom || m.current.bt)) {
1424
+ let b = B;
1425
+ ot ? b -= J - oe : b = je.y - ht.y - ge;
1426
+ const ce = le(N, b), u = le(N, b, l);
1427
+ // Of course use larger one
1428
+ ce > me || ce === me && (!k || // Choose recommend one
1429
+ u >= ke) ? (m.current.bt = !0, B = b, ge = -ge, xe.points = [$e(te, 0), $e(ae, 0)]) : m.current.bt = !1;
1430
+ }
1431
+ if (Oe && te[0] === "b" && (We < Z.top || m.current.tb)) {
1432
+ let b = B;
1433
+ ot ? b += J - oe : b = Ve.y - mt.y - ge;
1434
+ const ce = le(N, b), u = le(N, b, l);
1435
+ // Of course use larger one
1436
+ ce > me || ce === me && (!k || // Choose recommend one
1437
+ u >= ke) ? (m.current.tb = !0, B = b, ge = -ge, xe.points = [$e(te, 0), $e(ae, 0)]) : m.current.tb = !1;
1438
+ }
1439
+ const Fe = vt(kt), Pe = te[1] === ae[1];
1440
+ if (Fe && te[1] === "l" && (Ae > Z.right || m.current.rl)) {
1441
+ let b = N;
1442
+ Pe ? b -= Q - X : b = je.x - ht.x - se;
1443
+ const ce = le(b, B), u = le(b, B, l);
1444
+ // Of course use larger one
1445
+ ce > me || ce === me && (!k || // Choose recommend one
1446
+ u >= ke) ? (m.current.rl = !0, N = b, se = -se, xe.points = [$e(te, 1), $e(ae, 1)]) : m.current.rl = !1;
1447
+ }
1448
+ if (Fe && te[1] === "r" && (ve < Z.left || m.current.lr)) {
1449
+ let b = N;
1450
+ Pe ? b += Q - X : b = Ve.x - mt.x - se;
1451
+ const ce = le(b, B), u = le(b, B, l);
1452
+ // Of course use larger one
1453
+ ce > me || ce === me && (!k || // Choose recommend one
1454
+ u >= ke) ? (m.current.lr = !0, N = b, se = -se, xe.points = [$e(te, 1), $e(ae, 1)]) : m.current.lr = !1;
1455
+ }
1456
+ Ye();
1457
+ const Ue = gt === !0 ? 0 : gt;
1458
+ typeof Ue == "number" && (ve < l.left && (N -= ve - l.left - se, T.x + X < l.left + Ue && (N += T.x - l.left + X - Ue)), Ae > l.right && (N -= Ae - l.right - se, T.x > l.right - Ue && (N += T.x - l.right + Ue)));
1459
+ const Be = yt === !0 ? 0 : yt;
1460
+ typeof Be == "number" && (We < l.top && (B -= We - l.top - ge, T.y + oe < l.top + Be && (B += T.y - l.top + oe - Be)), Xe > l.bottom && (B -= Xe - l.bottom - ge, T.y > l.bottom - Be && (B += T.y - l.bottom + Be)));
1461
+ const rt = x.x + N, Wt = rt + Q, st = x.y + B, Yt = st + J, it = T.x, Ft = it + X, bt = T.y, Bt = bt + oe, Le = Math.max(rt, it), Ht = Math.min(Wt, Ft), zt = (Le + Ht) / 2 - rt, ct = Math.max(st, bt), Et = Math.min(Yt, Bt), qe = (ct + Et) / 2 - st;
1462
+ f == null || f(n, xe);
1463
+ let Qe = De.right - x.x - (N + x.width), wt = De.bottom - x.y - (B + x.height);
1464
+ Se === 1 && (N = Math.round(N), Qe = Math.round(Qe)), Ne === 1 && (B = Math.round(B), wt = Math.round(wt));
1465
+ const jt = {
1466
+ ready: !0,
1467
+ offsetX: N / Se,
1468
+ offsetY: B / Ne,
1469
+ offsetR: Qe / Se,
1470
+ offsetB: wt / Ne,
1471
+ arrowX: zt / Se,
1472
+ arrowY: qe / Ne,
1473
+ scaleX: Se,
1474
+ scaleY: Ne,
1475
+ align: xe
1476
+ };
1477
+ p(jt);
1478
+ }
1479
+ }), E = () => {
1480
+ h.current += 1;
1481
+ const c = h.current;
1482
+ Promise.resolve().then(() => {
1483
+ h.current === c && R();
1484
+ });
1485
+ }, g = () => {
1486
+ p((c) => ({
1487
+ ...c,
1488
+ ready: !1
1489
+ }));
1490
+ };
1491
+ return de(g, [o]), de(() => {
1492
+ e || g();
1493
+ }, [e]), [a.ready, a.offsetX, a.offsetY, a.offsetR, a.offsetB, a.arrowX, a.arrowY, a.scaleX, a.scaleY, a.align, E];
1494
+ }
1495
+ function Tr(e, n, t, o, r) {
1496
+ de(() => {
1497
+ if (e && n && t) {
1498
+ let m = function() {
1499
+ o(), r();
1500
+ };
1501
+ const i = n, f = t, a = fn(i), p = fn(f), h = dt(f), d = /* @__PURE__ */ new Set([h, ...a, ...p]);
1502
+ return d.forEach((v) => {
1503
+ v.addEventListener("scroll", m, {
1504
+ passive: !0
1505
+ });
1506
+ }), h.addEventListener("resize", m, {
1507
+ passive: !0
1508
+ }), o(), () => {
1509
+ d.forEach((v) => {
1510
+ v.removeEventListener("scroll", m), h.removeEventListener("resize", m);
1511
+ });
1512
+ };
1513
+ }
1514
+ }, [e, n, t]);
1515
+ }
1516
+ function Cr(e, n, t, o, r, i, f, a) {
1517
+ const p = s.useRef(e);
1518
+ p.current = e;
1519
+ const h = s.useRef(!1);
1520
+ s.useEffect(() => {
1521
+ var m, v;
1522
+ if (n && o && (!r || i)) {
1523
+ const R = () => {
1524
+ h.current = !1;
1525
+ }, E = (P) => {
1526
+ var y, w;
1527
+ p.current && !f(((w = (y = P.composedPath) == null ? void 0 : y.call(P)) == null ? void 0 : w[0]) || P.target) && !h.current && a(!1);
1528
+ }, g = dt(o);
1529
+ g.addEventListener("pointerdown", R, !0), g.addEventListener("mousedown", E, !0), g.addEventListener("contextmenu", E, !0);
1530
+ const c = rn(t);
1531
+ if (c && (c.addEventListener("mousedown", E, !0), c.addEventListener("contextmenu", E, !0)), process.env.NODE_ENV !== "production") {
1532
+ const P = (m = t == null ? void 0 : t.getRootNode) == null ? void 0 : m.call(t), y = (v = o.getRootNode) == null ? void 0 : v.call(o);
1533
+ Mt(P === y, "trigger element and popup element should in same shadow root.");
1534
+ }
1535
+ return () => {
1536
+ g.removeEventListener("pointerdown", R, !0), g.removeEventListener("mousedown", E, !0), g.removeEventListener("contextmenu", E, !0), c && (c.removeEventListener("mousedown", E, !0), c.removeEventListener("contextmenu", E, !0));
1537
+ };
1538
+ }
1539
+ }, [n, t, o, r, i]);
1540
+ function d() {
1541
+ h.current = !0;
1542
+ }
1543
+ return d;
1544
+ }
1545
+ function Mr(e = hn) {
1546
+ const n = /* @__PURE__ */ s.forwardRef((t, o) => {
1547
+ const {
1548
+ prefixCls: r = "rc-trigger-popup",
1549
+ children: i,
1550
+ // Action
1551
+ action: f = "hover",
1552
+ showAction: a,
1553
+ hideAction: p,
1554
+ // Open
1555
+ popupVisible: h,
1556
+ defaultPopupVisible: d,
1557
+ onOpenChange: m,
1558
+ afterOpenChange: v,
1559
+ onPopupVisibleChange: R,
1560
+ afterPopupVisibleChange: E,
1561
+ // Delay
1562
+ mouseEnterDelay: g,
1563
+ mouseLeaveDelay: c = 0.1,
1564
+ focusDelay: P,
1565
+ blurDelay: y,
1566
+ // Mask
1567
+ mask: w,
1568
+ maskClosable: L = !0,
1569
+ // Portal
1570
+ getPopupContainer: S,
1571
+ forceRender: V,
1572
+ autoDestroy: W,
1573
+ // Popup
1574
+ popup: C,
1575
+ popupClassName: z,
1576
+ popupStyle: D,
1577
+ popupPlacement: M,
1578
+ builtinPlacements: H = {},
1579
+ popupAlign: j,
1580
+ zIndex: F,
1581
+ stretch: T,
1582
+ getPopupClassNameFromAlign: x,
1583
+ fresh: ue,
1584
+ alignPoint: q,
1585
+ onPopupClick: fe,
1586
+ onPopupAlign: G,
1587
+ // Arrow
1588
+ arrow: pe,
1589
+ // Motion
1590
+ popupMotion: K,
1591
+ maskMotion: J,
1592
+ ...Q
1593
+ } = t, oe = W || !1, [X, _] = s.useState(!1);
1594
+ de(() => {
1595
+ _(sr());
1596
+ }, []);
1597
+ const I = s.useRef({}), $ = s.useContext(In), ee = s.useMemo(() => ({
1598
+ registerSubPopup: (u, Y) => {
1599
+ I.current[u] = Y, $ == null || $.registerSubPopup(u, Y);
1600
+ }
1601
+ }), [$]), U = to(), [k, Re] = s.useState(null), l = s.useRef(null), _e = be((u) => {
1602
+ l.current = u, at(u) && k !== u && Re(u), $ == null || $.registerSubPopup(U, u);
1603
+ }), [Z, De] = s.useState(null), Se = s.useRef(null), Ne = be((u) => {
1604
+ at(u) && Z !== u && (De(u), Se.current = u);
1605
+ }), ze = s.Children.only(i), re = (ze == null ? void 0 : ze.props) || {}, se = {}, ge = be((u) => {
1606
+ var ne, Ie;
1607
+ const Y = Z;
1608
+ return (Y == null ? void 0 : Y.contains(u)) || ((ne = rn(Y)) == null ? void 0 : ne.host) === u || u === Y || (k == null ? void 0 : k.contains(u)) || ((Ie = rn(k)) == null ? void 0 : Ie.host) === u || u === k || Object.values(I.current).some((Te) => (Te == null ? void 0 : Te.contains(u)) || u === Te);
1609
+ }), [It, pt] = s.useState(d || !1), ie = h ?? It, $t = be((u) => {
1610
+ h === void 0 && pt(u);
1611
+ });
1612
+ de(() => {
1613
+ pt(h || !1);
1614
+ }, [h]);
1615
+ const ae = s.useRef(ie);
1616
+ ae.current = ie;
1617
+ const te = s.useRef([]);
1618
+ te.current = [];
1619
+ const tt = be((u) => {
1620
+ $t(u), (te.current[te.current.length - 1] ?? ie) !== u && (te.current.push(u), m == null || m(u), R == null || R(u));
1621
+ }), nt = s.useRef(null), xe = () => {
1622
+ clearTimeout(nt.current);
1623
+ }, N = (u, Y = 0) => {
1624
+ xe(), Y === 0 ? tt(u) : nt.current = setTimeout(() => {
1625
+ tt(u);
1626
+ }, Y * 1e3);
1627
+ };
1628
+ s.useEffect(() => xe, []);
1629
+ const [B, le] = s.useState(!1);
1630
+ de((u) => {
1631
+ (!u || ie) && le(!0);
1632
+ }, [ie]);
1633
+ const [me, ke] = s.useState(null), [je, mt] = s.useState(null), Ve = (u) => {
1634
+ mt([u.clientX, u.clientY]);
1635
+ }, [ht, Dt, kt, Vt, gt, yt, vt, We, Xe, ve, Ae] = Pr(ie, k, q && je !== null ? je : Z, M, H, j, G), [Ye, Oe] = wr(X, f, a, p), ot = Ye.has("click"), Fe = Oe.has("click") || Oe.has("contextMenu"), Pe = be(() => {
1636
+ B || Ae();
1637
+ });
1638
+ Tr(ie, Z, k, Pe, () => {
1639
+ ae.current && q && Fe && N(!1);
1640
+ }), de(() => {
1641
+ Pe();
1642
+ }, [je, M]), de(() => {
1643
+ ie && !(H != null && H[M]) && Pe();
1644
+ }, [JSON.stringify(j)]);
1645
+ const Be = s.useMemo(() => {
1646
+ const u = xr(H, r, ve, q);
1647
+ return we(u, x == null ? void 0 : x(ve));
1648
+ }, [ve, x, H, r, q]);
1649
+ s.useImperativeHandle(o, () => ({
1650
+ nativeElement: Se.current,
1651
+ popupElement: l.current,
1652
+ forceAlign: Pe
1653
+ }));
1654
+ const [rt, Wt] = s.useState(0), [st, Yt] = s.useState(0), it = () => {
1655
+ if (T && Z) {
1656
+ const u = Z.getBoundingClientRect();
1657
+ Wt(u.width), Yt(u.height);
1658
+ }
1659
+ }, Ft = () => {
1660
+ it(), Pe();
1661
+ }, bt = (u) => {
1662
+ le(!1), Ae(), v == null || v(u), E == null || E(u);
1663
+ }, Bt = () => new Promise((u) => {
1664
+ it(), ke(() => u);
1665
+ });
1666
+ de(() => {
1667
+ me && (Ae(), me(), ke(null));
1668
+ }, [me]);
1669
+ function Le(u, Y, ne, Ie) {
1670
+ se[u] = (Te, ...Xt) => {
1671
+ var Rt;
1672
+ Ie == null || Ie(Te), N(Y, ne), (Rt = re[u]) == null || Rt.call(re, Te, ...Xt);
1673
+ };
1674
+ }
1675
+ (ot || Fe) && (se.onClick = (u, ...Y) => {
1676
+ var ne;
1677
+ ae.current && Fe ? N(!1) : !ae.current && ot && (Ve(u), N(!0)), (ne = re.onClick) == null || ne.call(re, u, ...Y);
1678
+ });
1679
+ const Ht = Cr(ie, Fe, Z, k, w, L, ge, N), yn = Ye.has("hover"), zt = Oe.has("hover");
1680
+ let ct, Et;
1681
+ yn && (Le("onMouseEnter", !0, g, (u) => {
1682
+ Ve(u);
1683
+ }), Le("onPointerEnter", !0, g, (u) => {
1684
+ Ve(u);
1685
+ }), ct = (u) => {
1686
+ (ie || B) && (k != null && k.contains(u.target)) && N(!0, g);
1687
+ }, q && (se.onMouseMove = (u) => {
1688
+ var Y;
1689
+ (Y = re.onMouseMove) == null || Y.call(re, u);
1690
+ })), zt && (Le("onMouseLeave", !1, c), Le("onPointerLeave", !1, c), Et = () => {
1691
+ N(!1, c);
1692
+ }), Ye.has("focus") && Le("onFocus", !0, P), Oe.has("focus") && Le("onBlur", !1, y), Ye.has("contextMenu") && (se.onContextMenu = (u, ...Y) => {
1693
+ var ne;
1694
+ ae.current && Oe.has("contextMenu") ? N(!1) : (Ve(u), N(!0)), u.preventDefault(), (ne = re.onContextMenu) == null || ne.call(re, u, ...Y);
1695
+ });
1696
+ const ut = s.useRef(!1);
1697
+ ut.current || (ut.current = V || ie || B);
1698
+ const qe = {
1699
+ ...re,
1700
+ ...se
1701
+ }, Qe = {};
1702
+ ["onContextMenu", "onClick", "onMouseDown", "onTouchStart", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur"].forEach((u) => {
1703
+ Q[u] && (Qe[u] = (...Y) => {
1704
+ var ne;
1705
+ (ne = qe[u]) == null || ne.call(qe, ...Y), Q[u](...Y);
1706
+ });
1707
+ });
1708
+ const jt = {
1709
+ x: yt,
1710
+ y: vt
1711
+ }, b = pe ? {
1712
+ // true and Object likely
1713
+ ...pe !== !0 ? pe : {}
1714
+ } : null, ce = /* @__PURE__ */ s.cloneElement(ze, {
1715
+ ...qe,
1716
+ ...Qe
1717
+ });
1718
+ return /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(Ot, {
1719
+ disabled: !ie,
1720
+ ref: Ne,
1721
+ onResize: Ft
1722
+ }, ce), ut.current && /* @__PURE__ */ s.createElement(In.Provider, {
1723
+ value: ee
1724
+ }, /* @__PURE__ */ s.createElement(go, {
1725
+ portal: e,
1726
+ ref: _e,
1727
+ prefixCls: r,
1728
+ popup: C,
1729
+ className: we(z, Be),
1730
+ style: D,
1731
+ target: Z,
1732
+ onMouseEnter: ct,
1733
+ onMouseLeave: Et,
1734
+ onPointerEnter: ct,
1735
+ zIndex: F,
1736
+ open: ie,
1737
+ keepDom: B,
1738
+ fresh: ue,
1739
+ onClick: fe,
1740
+ onPointerDownCapture: Ht,
1741
+ mask: w,
1742
+ motion: K,
1743
+ maskMotion: J,
1744
+ onVisibleChanged: bt,
1745
+ onPrepare: Bt,
1746
+ forceRender: V,
1747
+ autoDestroy: oe,
1748
+ getPopupContainer: S,
1749
+ align: ve,
1750
+ arrow: b,
1751
+ arrowPos: jt,
1752
+ ready: ht,
1753
+ offsetX: Dt,
1754
+ offsetY: kt,
1755
+ offsetR: Vt,
1756
+ offsetB: gt,
1757
+ onAlign: Pe,
1758
+ stretch: T,
1759
+ targetWidth: rt / We,
1760
+ targetHeight: st / Xe
1761
+ })));
1762
+ });
1763
+ return process.env.NODE_ENV !== "production" && (n.displayName = "Trigger"), n;
1764
+ }
1765
+ const _r = Mr(hn), Ge = {
1766
+ shiftX: 64,
1767
+ adjustY: 1
1768
+ }, Ke = {
1769
+ adjustX: 1,
1770
+ shiftY: !0
1771
+ }, he = [0, 0], Nr = {
1772
+ left: {
1773
+ points: ["cr", "cl"],
1774
+ overflow: Ke,
1775
+ offset: [-4, 0],
1776
+ targetOffset: he
1777
+ },
1778
+ right: {
1779
+ points: ["cl", "cr"],
1780
+ overflow: Ke,
1781
+ offset: [4, 0],
1782
+ targetOffset: he
1783
+ },
1784
+ top: {
1785
+ points: ["bc", "tc"],
1786
+ overflow: Ge,
1787
+ offset: [0, -4],
1788
+ targetOffset: he
1789
+ },
1790
+ bottom: {
1791
+ points: ["tc", "bc"],
1792
+ overflow: Ge,
1793
+ offset: [0, 4],
1794
+ targetOffset: he
1795
+ },
1796
+ topLeft: {
1797
+ points: ["bl", "tl"],
1798
+ overflow: Ge,
1799
+ offset: [0, -4],
1800
+ targetOffset: he
1801
+ },
1802
+ leftTop: {
1803
+ points: ["tr", "tl"],
1804
+ overflow: Ke,
1805
+ offset: [-4, 0],
1806
+ targetOffset: he
1807
+ },
1808
+ topRight: {
1809
+ points: ["br", "tr"],
1810
+ overflow: Ge,
1811
+ offset: [0, -4],
1812
+ targetOffset: he
1813
+ },
1814
+ rightTop: {
1815
+ points: ["tl", "tr"],
1816
+ overflow: Ke,
1817
+ offset: [4, 0],
1818
+ targetOffset: he
1819
+ },
1820
+ bottomRight: {
1821
+ points: ["tr", "br"],
1822
+ overflow: Ge,
1823
+ offset: [0, 4],
1824
+ targetOffset: he
1825
+ },
1826
+ rightBottom: {
1827
+ points: ["bl", "br"],
1828
+ overflow: Ke,
1829
+ offset: [4, 0],
1830
+ targetOffset: he
1831
+ },
1832
+ bottomLeft: {
1833
+ points: ["tl", "bl"],
1834
+ overflow: Ge,
1835
+ offset: [0, 4],
1836
+ targetOffset: he
1837
+ },
1838
+ leftBottom: {
1839
+ points: ["br", "bl"],
1840
+ overflow: Ke,
1841
+ offset: [-4, 0],
1842
+ targetOffset: he
1843
+ }
1844
+ };
1845
+ function an() {
1846
+ return an = Object.assign ? Object.assign.bind() : function(e) {
1847
+ for (var n = 1; n < arguments.length; n++) {
1848
+ var t = arguments[n];
1849
+ for (var o in t)
1850
+ Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
1851
+ }
1852
+ return e;
1853
+ }, an.apply(this, arguments);
1854
+ }
1855
+ const Ar = /* @__PURE__ */ s.forwardRef((e, n) => {
1856
+ const {
1857
+ overlayClassName: t,
1858
+ trigger: o = ["hover"],
1859
+ mouseEnterDelay: r = 0,
1860
+ mouseLeaveDelay: i = 0.1,
1861
+ overlayStyle: f,
1862
+ prefixCls: a = "rc-tooltip",
1863
+ children: p,
1864
+ onVisibleChange: h,
1865
+ afterVisibleChange: d,
1866
+ motion: m,
1867
+ placement: v = "right",
1868
+ align: R = {},
1869
+ destroyOnHidden: E = !1,
1870
+ defaultVisible: g,
1871
+ getTooltipContainer: c,
1872
+ overlayInnerStyle: P,
1873
+ arrowContent: y,
1874
+ overlay: w,
1875
+ id: L,
1876
+ showArrow: S = !0,
1877
+ classNames: V,
1878
+ styles: W,
1879
+ ...C
1880
+ } = e, z = to(L), D = He(null);
1881
+ So(n, () => D.current);
1882
+ const M = {
1883
+ ...C
1884
+ };
1885
+ "visible" in e && (M.popupVisible = e.visible);
1886
+ const H = () => /* @__PURE__ */ s.createElement(To, {
1887
+ key: "content",
1888
+ prefixCls: a,
1889
+ id: z,
1890
+ bodyClassName: V == null ? void 0 : V.body,
1891
+ overlayInnerStyle: {
1892
+ ...P,
1893
+ ...W == null ? void 0 : W.body
1894
+ }
1895
+ }, w), j = () => {
1896
+ const F = s.Children.only(p), x = {
1897
+ ...(F == null ? void 0 : F.props) || {},
1898
+ "aria-describedby": w ? z : null
1899
+ };
1900
+ return /* @__PURE__ */ s.cloneElement(p, x);
1901
+ };
1902
+ return /* @__PURE__ */ s.createElement(_r, an({
1903
+ popupClassName: we(t, V == null ? void 0 : V.root),
1904
+ prefixCls: a,
1905
+ popup: H,
1906
+ action: o,
1907
+ builtinPlacements: Nr,
1908
+ popupPlacement: v,
1909
+ ref: D,
1910
+ popupAlign: R,
1911
+ getPopupContainer: c,
1912
+ onOpenChange: h,
1913
+ afterOpenChange: d,
1914
+ popupMotion: m,
1915
+ defaultPopupVisible: g,
1916
+ autoDestroy: E,
1917
+ mouseLeaveDelay: i,
1918
+ popupStyle: {
1919
+ ...f,
1920
+ ...W == null ? void 0 : W.root
1921
+ },
1922
+ mouseEnterDelay: r,
1923
+ arrow: S
1924
+ }, M), j());
1925
+ }), Or = "DEPRECATED_Tooltip-module__breakLongWord___kWwu0", Lr = "DEPRECATED_Tooltip-module__rcToolTipZoomIn___0ddOq", Ir = "DEPRECATED_Tooltip-module__rcToolTipZoomOut___kpbOG", Zt = {
1926
+ breakLongWord: Or,
1927
+ rcToolTipZoomIn: Lr,
1928
+ rcToolTipZoomOut: Ir
1929
+ }, Yr = (e) => {
1930
+ const {
1931
+ breakingLongWord: n,
1932
+ hideArrow: t = !1,
1933
+ overlayClassName: o,
1934
+ overlay: r,
1935
+ imgOverlay: i = !1,
1936
+ semanticText: f,
1937
+ ...a
1938
+ } = e, p = we(
1939
+ o,
1940
+ "slf-default",
1941
+ Po.SISENSE_NAMESPACE,
1942
+ {
1943
+ "hide-arrow": t,
1944
+ [Zt.breakLongWord]: n,
1945
+ [Zt.semanticText]: f,
1946
+ [Zt.semanticText]: f
1947
+ }
1948
+ );
1949
+ return /* @__PURE__ */ Ut(
1950
+ Ar,
1951
+ {
1952
+ destroyOnHidden: !0,
1953
+ overlay: typeof r == "string" ? i ? /* @__PURE__ */ Ut("img", { src: r }) : /* @__PURE__ */ Ut("div", { dangerouslySetInnerHTML: { __html: r } }) : r,
1954
+ ...a,
1955
+ overlayClassName: p
1956
+ }
1957
+ );
1958
+ };
1959
+ export {
1960
+ Yr as D
1961
+ };