@sisense/sdk-shared-ui 2.11.0 → 2.13.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 (267) hide show
  1. package/dist/{Breadcrumbs-BPFGyMFx.cjs → Breadcrumbs-COWMgzHt.cjs} +1 -1
  2. package/dist/{Breadcrumbs-Dx05v0v1.js → Breadcrumbs-Dt3fTNVU.js} +2 -2
  3. package/dist/CheckableList-B29YBi8r.cjs +1 -0
  4. package/dist/{lightweight/CheckableList-DTTE9oEw.js → CheckableList-Bxe-xwg9.js} +5 -5
  5. package/dist/{Checkbox-BsNYaD1B.cjs → Checkbox-BrJa6rXp.cjs} +1 -1
  6. package/dist/{Checkbox-DZEeQIus.js → Checkbox-DYjiJckg.js} +8 -8
  7. package/dist/{DEPRECATED_Button-D4Ej5Vhs.js → DEPRECATED_Button-7ecRw8CO.js} +16 -16
  8. package/dist/DEPRECATED_Button-DfBZ7dAA.cjs +1 -0
  9. package/dist/DEPRECATED_Checkbox-DknRT4l8.js +63 -0
  10. package/dist/DEPRECATED_Checkbox-ewUBXFBz.cjs +1 -0
  11. package/dist/{lightweight/DEPRECATED_Icon-Bgufd-9Q.js → DEPRECATED_Icon-Dgk7vjsh.js} +11 -11
  12. package/dist/DEPRECATED_Icon-WhkrHLXK.cjs +1 -0
  13. package/dist/{DEPRECATED_Tooltip-DL3MmzWZ.cjs → DEPRECATED_Tooltip-j06rHlbQ.cjs} +1 -1
  14. package/dist/{DEPRECATED_Tooltip-C3s_235Q.js → DEPRECATED_Tooltip-z57g1Dds.js} +72 -72
  15. package/dist/{lightweight/Dropdown-DtISatbx.js → Dropdown-2YrIrxvu.js} +72 -72
  16. package/dist/Dropdown-B6PGOm1j.cjs +1 -0
  17. package/dist/{Icon-CJxir64u.js → Icon-BZz3Dwnt.js} +5 -5
  18. package/dist/{Icon-MnCGEEQV.cjs → Icon-BmdiZYyc.cjs} +1 -1
  19. package/dist/{lightweight/Input-CNvYE0Er.js → Input-BYv0WSZt.js} +35 -35
  20. package/dist/Input-CmAWWO-S.cjs +1 -0
  21. package/dist/LazyLoader-6TX7Ggk6.cjs +1 -0
  22. package/dist/{LazyLoader-DB86QSSx.js → LazyLoader-D5Wtlj0B.js} +5 -5
  23. package/dist/{lightweight/Menu-dqrqcZgC.js → Menu-B2cJDLLQ.js} +112 -112
  24. package/dist/{lightweight/Menu-1NGOC2wt.cjs → Menu-CeLnAuxU.cjs} +1 -1
  25. package/dist/Popover-Cb2FhRJS.cjs +1 -0
  26. package/dist/{Popover-KR_Rc69g.js → Popover-dB_aFhmo.js} +3 -3
  27. package/dist/RadioButton-Dyi6jRjM.cjs +1 -0
  28. package/dist/{lightweight/RadioButton-BpAksn2s.js → RadioButton-moBdl09d.js} +12 -12
  29. package/dist/{TablePagination-B9mPoc_j.cjs → TablePagination-B-2AdU-x.cjs} +12 -12
  30. package/dist/{TablePagination-DVbTwUqR.js → TablePagination-C54bc7St.js} +299 -299
  31. package/dist/{Tooltip-DNpXhTeO.js → Tooltip-CBFZGU14.js} +100 -100
  32. package/dist/{Tooltip-CvpZynmo.cjs → Tooltip-CRxCuNLx.cjs} +6 -6
  33. package/dist/{Typography-DpSJrSkJ.cjs → Typography-D9h5RwwD.cjs} +1 -1
  34. package/dist/{Typography-BzL8bBVw.js → Typography-zGb2HwNt.js} +19 -19
  35. package/dist/index.cjs +1 -1
  36. package/dist/index.js +17 -17
  37. package/dist/index.umd.js +3 -3
  38. package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
  39. package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  40. package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  41. package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
  42. package/dist/lib/Button/Button.d.ts +1 -1
  43. package/dist/lib/Button/Button.d.ts.map +1 -1
  44. package/dist/lib/CheckableList/CheckableList.cjs +1 -1
  45. package/dist/lib/CheckableList/CheckableList.js +1 -1
  46. package/dist/lib/Checkbox/Checkbox.cjs +1 -1
  47. package/dist/lib/Checkbox/Checkbox.d.ts +1 -1
  48. package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -1
  49. package/dist/lib/Checkbox/Checkbox.js +1 -1
  50. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
  51. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +1 -1
  52. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
  53. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
  54. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -1
  55. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -1
  56. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +1 -1
  57. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -1
  58. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -1
  59. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +1 -1
  60. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -1
  61. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
  62. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
  63. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
  64. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
  65. package/dist/lib/Dropdown/Dropdown.cjs +1 -1
  66. package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -1
  67. package/dist/lib/Dropdown/Dropdown.js +1 -1
  68. package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -1
  69. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -1
  70. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +1 -1
  71. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -1
  72. package/dist/lib/Dropdown/types.d.ts +1 -1
  73. package/dist/lib/Dropdown/types.d.ts.map +1 -1
  74. package/dist/lib/Icon/Icon.cjs +1 -1
  75. package/dist/lib/Icon/Icon.d.ts +1 -1
  76. package/dist/lib/Icon/Icon.d.ts.map +1 -1
  77. package/dist/lib/Icon/Icon.js +1 -1
  78. package/dist/lib/Input/Input.cjs +1 -1
  79. package/dist/lib/Input/Input.d.ts +1 -1
  80. package/dist/lib/Input/Input.d.ts.map +1 -1
  81. package/dist/lib/Input/Input.js +1 -1
  82. package/dist/lib/LazyLoader/LazyLoader.cjs +1 -1
  83. package/dist/lib/LazyLoader/LazyLoader.d.ts +1 -0
  84. package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -1
  85. package/dist/lib/LazyLoader/LazyLoader.js +1 -1
  86. package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -1
  87. package/dist/lib/Menu/Menu.cjs +1 -1
  88. package/dist/lib/Menu/Menu.d.ts +1 -1
  89. package/dist/lib/Menu/Menu.d.ts.map +1 -1
  90. package/dist/lib/Menu/Menu.js +2 -2
  91. package/dist/lib/Menu/MenuItem/MenuItem.d.ts +1 -1
  92. package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -1
  93. package/dist/lib/Popover/Popover.cjs +1 -1
  94. package/dist/lib/Popover/Popover.d.ts +1 -0
  95. package/dist/lib/Popover/Popover.d.ts.map +1 -1
  96. package/dist/lib/Popover/Popover.js +1 -1
  97. package/dist/lib/RadioButton/RadioButton.cjs +1 -1
  98. package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -1
  99. package/dist/lib/RadioButton/RadioButton.js +1 -1
  100. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +1 -1
  101. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
  102. package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -1
  103. package/dist/lib/TablePagination/TablePagination.cjs +1 -1
  104. package/dist/lib/TablePagination/TablePagination.d.ts +1 -1
  105. package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -1
  106. package/dist/lib/TablePagination/TablePagination.js +1 -1
  107. package/dist/lib/TablePagination/TablePaginationContext.d.ts.map +1 -1
  108. package/dist/lib/Tooltip/Tooltip.cjs +1 -1
  109. package/dist/lib/Tooltip/Tooltip.d.ts +1 -1
  110. package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -1
  111. package/dist/lib/Tooltip/Tooltip.js +2 -2
  112. package/dist/lib/Typography/Typography.cjs +1 -1
  113. package/dist/lib/Typography/Typography.d.ts +1 -1
  114. package/dist/lib/Typography/Typography.d.ts.map +1 -1
  115. package/dist/lib/Typography/Typography.js +2 -2
  116. package/dist/lib/common/emotion-cache-provider.d.ts.map +1 -1
  117. package/dist/lib/themes/themes.cjs +1 -1
  118. package/dist/lib/themes/themes.js +1 -1
  119. package/dist/lightweight/{Breadcrumbs-BMR7xumU.js → Breadcrumbs-BQv4eM3C.js} +4 -4
  120. package/dist/lightweight/Breadcrumbs-vI_njlt6.cjs +1 -0
  121. package/dist/lightweight/{Button-C0bT7IWv.js → Button-Bk6wnABy.js} +9 -9
  122. package/dist/lightweight/{Button-O3zEYLfM.cjs → Button-CS3OeIiX.cjs} +1 -1
  123. package/dist/lightweight/CheckableList-B29YBi8r.cjs +1 -0
  124. package/dist/{CheckableList-DTTE9oEw.js → lightweight/CheckableList-Bxe-xwg9.js} +5 -5
  125. package/dist/lightweight/{Checkbox-DqAy-3w-.js → Checkbox-BhA3xLFq.js} +6 -6
  126. package/dist/lightweight/Checkbox-U1SCXa8R.cjs +1 -0
  127. package/dist/lightweight/{DEPRECATED_Button-CTtEqID4.cjs → DEPRECATED_Button-30X1Gdvz.cjs} +5 -5
  128. package/dist/lightweight/{DEPRECATED_Button-CJkh2swh.js → DEPRECATED_Button-VELROi8l.js} +37 -37
  129. package/dist/lightweight/DEPRECATED_Checkbox-DknRT4l8.js +63 -0
  130. package/dist/lightweight/DEPRECATED_Checkbox-ewUBXFBz.cjs +1 -0
  131. package/dist/{DEPRECATED_Icon-Bgufd-9Q.js → lightweight/DEPRECATED_Icon-Dgk7vjsh.js} +11 -11
  132. package/dist/lightweight/DEPRECATED_Icon-WhkrHLXK.cjs +1 -0
  133. package/dist/lightweight/{DEPRECATED_Tooltip-DL3MmzWZ.cjs → DEPRECATED_Tooltip-j06rHlbQ.cjs} +1 -1
  134. package/dist/lightweight/{DEPRECATED_Tooltip-C3s_235Q.js → DEPRECATED_Tooltip-z57g1Dds.js} +72 -72
  135. package/dist/lightweight/Dropdown-B6PGOm1j.cjs +1 -0
  136. package/dist/{Dropdown-DHawmEpj.js → lightweight/Dropdown-CPGsO7YH.js} +72 -72
  137. package/dist/lightweight/{Icon-4kNYAFUz.cjs → Icon-B12xBWjM.cjs} +1 -1
  138. package/dist/lightweight/{Icon-DQNqONXU.js → Icon-YAwHO80G.js} +7 -7
  139. package/dist/{Input-CNvYE0Er.js → lightweight/Input-BYv0WSZt.js} +35 -35
  140. package/dist/lightweight/Input-CmAWWO-S.cjs +1 -0
  141. package/dist/lightweight/LazyLoader-6TX7Ggk6.cjs +1 -0
  142. package/dist/lightweight/{LazyLoader-DB86QSSx.js → LazyLoader-D5Wtlj0B.js} +5 -5
  143. package/dist/{Menu-B79T1mdd.js → lightweight/Menu-BYVC_1r_.js} +112 -112
  144. package/dist/{Menu-1NGOC2wt.cjs → lightweight/Menu-CeLnAuxU.cjs} +1 -1
  145. package/dist/lightweight/{Popover-BAehEo3a.js → Popover-BaVsQCLK.js} +8 -8
  146. package/dist/lightweight/Popover-Cb2FhRJS.cjs +1 -0
  147. package/dist/lightweight/RadioButton-Dyi6jRjM.cjs +1 -0
  148. package/dist/{RadioButton-BpAksn2s.js → lightweight/RadioButton-moBdl09d.js} +12 -12
  149. package/dist/lightweight/{TablePagination-Czpnhvp6.cjs → TablePagination-3Lu3zM8-.cjs} +1 -1
  150. package/dist/lightweight/{TablePagination-D1tyNTa7.js → TablePagination-Bxtl4Y85.js} +15 -15
  151. package/dist/lightweight/Tooltip-B6ZG3eHL.cjs +1 -0
  152. package/dist/lightweight/{Tooltip-DUpknkQW.js → Tooltip-CcdBEZyj.js} +14 -14
  153. package/dist/lightweight/{Typography-BT1q5az1.cjs → Typography-B1-Tpk6K.cjs} +1 -1
  154. package/dist/lightweight/{Typography-CvzdielF.js → Typography-BGpUyXAu.js} +6 -6
  155. package/dist/lightweight/emotion-cache-provider-CsV-1DX2.cjs +1 -0
  156. package/dist/lightweight/{emotion-cache-provider-CE1QZs6M.js → emotion-cache-provider-DtTJHiXP.js} +6 -6
  157. package/dist/lightweight/index.cjs +1 -1
  158. package/dist/lightweight/index.js +18 -18
  159. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
  160. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  161. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  162. package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.js +2 -2
  163. package/dist/lightweight/lib/Button/Button.cjs +1 -1
  164. package/dist/lightweight/lib/Button/Button.d.ts +1 -1
  165. package/dist/lightweight/lib/Button/Button.d.ts.map +1 -1
  166. package/dist/lightweight/lib/Button/Button.js +2 -2
  167. package/dist/lightweight/lib/CheckableList/CheckableList.cjs +1 -1
  168. package/dist/lightweight/lib/CheckableList/CheckableList.js +1 -1
  169. package/dist/lightweight/lib/Checkbox/Checkbox.cjs +1 -1
  170. package/dist/lightweight/lib/Checkbox/Checkbox.d.ts +1 -1
  171. package/dist/lightweight/lib/Checkbox/Checkbox.d.ts.map +1 -1
  172. package/dist/lightweight/lib/Checkbox/Checkbox.js +1 -1
  173. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
  174. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +1 -1
  175. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
  176. package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
  177. package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -1
  178. package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -1
  179. package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +1 -1
  180. package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -1
  181. package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -1
  182. package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +1 -1
  183. package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -1
  184. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
  185. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
  186. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
  187. package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
  188. package/dist/lightweight/lib/Dropdown/Dropdown.cjs +1 -1
  189. package/dist/lightweight/lib/Dropdown/Dropdown.d.ts.map +1 -1
  190. package/dist/lightweight/lib/Dropdown/Dropdown.js +1 -1
  191. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -1
  192. package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -1
  193. package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +1 -1
  194. package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -1
  195. package/dist/lightweight/lib/Dropdown/types.d.ts +1 -1
  196. package/dist/lightweight/lib/Dropdown/types.d.ts.map +1 -1
  197. package/dist/lightweight/lib/Icon/Icon.cjs +1 -1
  198. package/dist/lightweight/lib/Icon/Icon.d.ts +1 -1
  199. package/dist/lightweight/lib/Icon/Icon.d.ts.map +1 -1
  200. package/dist/lightweight/lib/Icon/Icon.js +1 -1
  201. package/dist/lightweight/lib/Input/Input.cjs +1 -1
  202. package/dist/lightweight/lib/Input/Input.d.ts +1 -1
  203. package/dist/lightweight/lib/Input/Input.d.ts.map +1 -1
  204. package/dist/lightweight/lib/Input/Input.js +1 -1
  205. package/dist/lightweight/lib/LazyLoader/LazyLoader.cjs +1 -1
  206. package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts +1 -0
  207. package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts.map +1 -1
  208. package/dist/lightweight/lib/LazyLoader/LazyLoader.js +1 -1
  209. package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -1
  210. package/dist/lightweight/lib/Menu/Menu.cjs +1 -1
  211. package/dist/lightweight/lib/Menu/Menu.d.ts +1 -1
  212. package/dist/lightweight/lib/Menu/Menu.d.ts.map +1 -1
  213. package/dist/lightweight/lib/Menu/Menu.js +2 -2
  214. package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts +1 -1
  215. package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -1
  216. package/dist/lightweight/lib/Popover/Popover.cjs +1 -1
  217. package/dist/lightweight/lib/Popover/Popover.d.ts +1 -0
  218. package/dist/lightweight/lib/Popover/Popover.d.ts.map +1 -1
  219. package/dist/lightweight/lib/Popover/Popover.js +1 -1
  220. package/dist/lightweight/lib/RadioButton/RadioButton.cjs +1 -1
  221. package/dist/lightweight/lib/RadioButton/RadioButton.d.ts.map +1 -1
  222. package/dist/lightweight/lib/RadioButton/RadioButton.js +1 -1
  223. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +1 -1
  224. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
  225. package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -1
  226. package/dist/lightweight/lib/TablePagination/TablePagination.cjs +1 -1
  227. package/dist/lightweight/lib/TablePagination/TablePagination.d.ts +1 -1
  228. package/dist/lightweight/lib/TablePagination/TablePagination.d.ts.map +1 -1
  229. package/dist/lightweight/lib/TablePagination/TablePagination.js +1 -1
  230. package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts.map +1 -1
  231. package/dist/lightweight/lib/Tooltip/Tooltip.cjs +1 -1
  232. package/dist/lightweight/lib/Tooltip/Tooltip.d.ts +1 -1
  233. package/dist/lightweight/lib/Tooltip/Tooltip.d.ts.map +1 -1
  234. package/dist/lightweight/lib/Tooltip/Tooltip.js +2 -2
  235. package/dist/lightweight/lib/Typography/Typography.cjs +1 -1
  236. package/dist/lightweight/lib/Typography/Typography.d.ts +1 -1
  237. package/dist/lightweight/lib/Typography/Typography.d.ts.map +1 -1
  238. package/dist/lightweight/lib/Typography/Typography.js +2 -2
  239. package/dist/lightweight/lib/common/emotion-cache-provider.d.ts.map +1 -1
  240. package/dist/lightweight/lib/themes/themes.cjs +1 -1
  241. package/dist/lightweight/lib/themes/themes.js +1 -1
  242. package/dist/lightweight/package.json +1 -1
  243. package/dist/package.json +1 -1
  244. package/package.json +1 -1
  245. package/dist/CheckableList-1Jq4spYu.cjs +0 -1
  246. package/dist/DEPRECATED_Button-CIjcOy2c.cjs +0 -1
  247. package/dist/DEPRECATED_Checkbox-Be1l_Vce.js +0 -63
  248. package/dist/DEPRECATED_Checkbox-BggU0HO5.cjs +0 -1
  249. package/dist/DEPRECATED_Icon-DC1Hc9iB.cjs +0 -1
  250. package/dist/Dropdown-C-gB9fcP.cjs +0 -1
  251. package/dist/Input-_wNCDCdI.cjs +0 -1
  252. package/dist/LazyLoader-gOLNhxc-.cjs +0 -1
  253. package/dist/Popover-DHy8NRMc.cjs +0 -1
  254. package/dist/RadioButton-Ds-0wj0r.cjs +0 -1
  255. package/dist/lightweight/Breadcrumbs-BgNa_noo.cjs +0 -1
  256. package/dist/lightweight/CheckableList-1Jq4spYu.cjs +0 -1
  257. package/dist/lightweight/Checkbox-hyvVpMGp.cjs +0 -1
  258. package/dist/lightweight/DEPRECATED_Checkbox-Be1l_Vce.js +0 -63
  259. package/dist/lightweight/DEPRECATED_Checkbox-BggU0HO5.cjs +0 -1
  260. package/dist/lightweight/DEPRECATED_Icon-DC1Hc9iB.cjs +0 -1
  261. package/dist/lightweight/Dropdown-C-gB9fcP.cjs +0 -1
  262. package/dist/lightweight/Input-_wNCDCdI.cjs +0 -1
  263. package/dist/lightweight/LazyLoader-gOLNhxc-.cjs +0 -1
  264. package/dist/lightweight/Popover-DHy8NRMc.cjs +0 -1
  265. package/dist/lightweight/RadioButton-Ds-0wj0r.cjs +0 -1
  266. package/dist/lightweight/Tooltip-BcjJxRj4.cjs +0 -1
  267. package/dist/lightweight/emotion-cache-provider-BsnmG_09.cjs +0 -1
@@ -1,3 +1,3 @@
1
- "use strict";const t=require("react/jsx-runtime"),j=require("react"),s=require("./emotion-cache-provider-BA0VP8z6.cjs"),k=require("./Icon-MnCGEEQV.cjs"),w=require("./Typography-DpSJrSkJ.cjs"),r=require("./index-CHH7nhRo.cjs"),z=require("./createSvgIcon-CNsKzZej.cjs"),D=require("./ButtonBase-_pI6xEeE.cjs"),U=require("./useSlotProps-CNjMh886.cjs"),B=require("./integerPropType-Ched4o4e.cjs");function _(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(o,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return o.default=e,Object.freeze(o)}const u=_(j),A=z.createSvgIcon(t.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),V=s.styled(D.ButtonBase)(s.memoTheme(({theme:e})=>({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,...e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{...e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],...e.palette.mode==="light"?{backgroundColor:s.emphasize(e.palette.grey[200],.12)}:{backgroundColor:s.emphasize(e.palette.grey[600],.12)}}}))),F=s.styled(A)({width:24,height:16});function R(e){const{slots:o={},slotProps:n={},...a}=e,p=e;return t.jsx("li",{children:t.jsx(V,{focusRipple:!0,...a,ownerState:p,children:t.jsx(F,{as:o.CollapsedIcon,ownerState:p,...n.collapsedIcon})})})}process.env.NODE_ENV!=="production"&&(R.propTypes={slotProps:r.PropTypes.shape({collapsedIcon:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object])}),slots:r.PropTypes.shape({CollapsedIcon:r.PropTypes.elementType}),sx:r.PropTypes.object});function H(e){return s.generateUtilityClass("MuiBreadcrumbs",e)}const L=s.generateUtilityClasses("MuiBreadcrumbs",["root","ol","li","separator"]),W=e=>{const{classes:o}=e,n={root:["root"],li:["li"],ol:["ol"],separator:["separator"]};return s.composeClasses(n,H,o)},Y=s.styled(w.Typography$1,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,o)=>[{[`& .${L.li}`]:o.li},o.root]})({}),G=s.styled("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,o)=>o.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),J=s.styled("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,o)=>o.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function K(e,o,n,a){return e.reduce((p,i,l)=>(l<e.length-1?p=p.concat(i,t.jsx(J,{"aria-hidden":!0,className:o,ownerState:a,children:n},`separator-${l}`)):p.push(i),p),[])}const N=u.forwardRef(function(o,n){const a=s.useDefaultProps({props:o,name:"MuiBreadcrumbs"}),{children:p,className:i,component:l="nav",slots:m={},slotProps:y={},expandText:f="Show path",itemsAfterCollapse:b=1,itemsBeforeCollapse:g=1,maxItems:T=8,separator:v="/",...M}=a,[S,E]=u.useState(!1),d={...a,component:l,expanded:S,expandText:f,itemsAfterCollapse:b,itemsBeforeCollapse:g,maxItems:T,separator:v},h=W(d),$=U.useSlotProps({elementType:m.CollapsedIcon,externalSlotProps:y.collapsedIcon,ownerState:d}),I=u.useRef(null),q=c=>{const x=()=>{E(!0);const O=I.current.querySelector("a[href],button,[tabindex]");O&&O.focus()};return g+b>=c.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${b}} + itemsBeforeCollapse={${g}} >= maxItems={${T}}`].join(`
1
+ "use strict";const t=require("react/jsx-runtime"),j=require("react"),s=require("./emotion-cache-provider-BA0VP8z6.cjs"),k=require("./Icon-BmdiZYyc.cjs"),w=require("./Typography-D9h5RwwD.cjs"),r=require("./index-CHH7nhRo.cjs"),z=require("./createSvgIcon-CNsKzZej.cjs"),D=require("./ButtonBase-_pI6xEeE.cjs"),U=require("./useSlotProps-CNjMh886.cjs"),B=require("./integerPropType-Ched4o4e.cjs");function _(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(o,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return o.default=e,Object.freeze(o)}const u=_(j),A=z.createSvgIcon(t.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),V=s.styled(D.ButtonBase)(s.memoTheme(({theme:e})=>({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`,...e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{...e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}},"&:active":{boxShadow:e.shadows[0],...e.palette.mode==="light"?{backgroundColor:s.emphasize(e.palette.grey[200],.12)}:{backgroundColor:s.emphasize(e.palette.grey[600],.12)}}}))),F=s.styled(A)({width:24,height:16});function R(e){const{slots:o={},slotProps:n={},...a}=e,p=e;return t.jsx("li",{children:t.jsx(V,{focusRipple:!0,...a,ownerState:p,children:t.jsx(F,{as:o.CollapsedIcon,ownerState:p,...n.collapsedIcon})})})}process.env.NODE_ENV!=="production"&&(R.propTypes={slotProps:r.PropTypes.shape({collapsedIcon:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object])}),slots:r.PropTypes.shape({CollapsedIcon:r.PropTypes.elementType}),sx:r.PropTypes.object});function H(e){return s.generateUtilityClass("MuiBreadcrumbs",e)}const L=s.generateUtilityClasses("MuiBreadcrumbs",["root","ol","li","separator"]),W=e=>{const{classes:o}=e,n={root:["root"],li:["li"],ol:["ol"],separator:["separator"]};return s.composeClasses(n,H,o)},Y=s.styled(w.Typography$1,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,o)=>[{[`& .${L.li}`]:o.li},o.root]})({}),G=s.styled("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,o)=>o.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),J=s.styled("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,o)=>o.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function K(e,o,n,a){return e.reduce((p,i,l)=>(l<e.length-1?p=p.concat(i,t.jsx(J,{"aria-hidden":!0,className:o,ownerState:a,children:n},`separator-${l}`)):p.push(i),p),[])}const N=u.forwardRef(function(o,n){const a=s.useDefaultProps({props:o,name:"MuiBreadcrumbs"}),{children:p,className:i,component:l="nav",slots:m={},slotProps:y={},expandText:f="Show path",itemsAfterCollapse:b=1,itemsBeforeCollapse:g=1,maxItems:T=8,separator:v="/",...M}=a,[S,E]=u.useState(!1),d={...a,component:l,expanded:S,expandText:f,itemsAfterCollapse:b,itemsBeforeCollapse:g,maxItems:T,separator:v},h=W(d),$=U.useSlotProps({elementType:m.CollapsedIcon,externalSlotProps:y.collapsedIcon,ownerState:d}),I=u.useRef(null),q=c=>{const x=()=>{E(!0);const O=I.current.querySelector("a[href],button,[tabindex]");O&&O.focus()};return g+b>=c.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${b}} + itemsBeforeCollapse={${g}} >= maxItems={${T}}`].join(`
2
2
  `)),c):[...c.slice(0,g),t.jsx(R,{"aria-label":f,slots:{CollapsedIcon:m.CollapsedIcon},slotProps:{collapsedIcon:$},onClick:x},"ellipsis"),...c.slice(c.length-b,c.length)]},P=u.Children.toArray(p).filter(c=>(process.env.NODE_ENV!=="production"&&s.reactIsExports.isFragment(c)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
3
3
  `)),u.isValidElement(c))).map((c,x)=>t.jsx("li",{className:h.li,children:c},`child-${x}`));return t.jsx(Y,{ref:n,component:l,color:"textSecondary",className:s.clsx(h.root,i),ownerState:d,...M,children:t.jsx(G,{className:h.ol,ref:I,ownerState:d,children:K(S||T&&P.length<=T?P:q(P),h.separator,v,d)})})});process.env.NODE_ENV!=="production"&&(N.propTypes={children:r.PropTypes.node,classes:r.PropTypes.object,className:r.PropTypes.string,component:r.PropTypes.elementType,expandText:r.PropTypes.string,itemsAfterCollapse:B.integerPropType,itemsBeforeCollapse:B.integerPropType,maxItems:B.integerPropType,separator:r.PropTypes.node,slotProps:r.PropTypes.shape({collapsedIcon:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object])}),slots:r.PropTypes.shape({CollapsedIcon:r.PropTypes.elementType}),sx:r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object,r.PropTypes.bool])),r.PropTypes.func,r.PropTypes.object])});const C=s.createTheme$1({components:{MuiBreadcrumbs:{styleOverrides:{separator:{height:"24px"}}}}}),Q=j.memo(()=>t.jsx(k.Icon,{name:"general-double-arrow-front"})),X=j.forwardRef(({theme:e,breadcrumbItems:o,separator:n=t.jsx(Q,{}),...a},p)=>{const i=e?s.deepmerge(C,{components:{MuiBreadcrumbs:e}}):C;return t.jsx(s.EmotionCacheProvider,{children:t.jsx(s.ThemeProvider,{theme:i,children:t.jsx(N,{"aria-label":"breadcrumb",ref:p,...a,separator:n,children:o.map(({label:l,isActive:m,onClick:y},f)=>t.jsx(w.Typography,{variant:m?"laccent":"bodyUI",onClick:y,sx:y?{cursor:"pointer"}:{},children:l},`${l}-${f}`))})})})});exports.Breadcrumbs=X;exports.breadcrumbsTheme=C;
@@ -2,8 +2,8 @@ import { jsx as s } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
3
  import E from "react";
4
4
  import { s as m, m as U, j as P, a as z, g as A, e as _, r as D, f as V, h as F, i as H, l as L, E as q, T as W } from "./emotion-cache-provider-CbsuuMnH.js";
5
- import { I as Y } from "./Icon-CJxir64u.js";
6
- import { a as G, T as J } from "./Typography-BzL8bBVw.js";
5
+ import { I as Y } from "./Icon-BZz3Dwnt.js";
6
+ import { a as G, T as J } from "./Typography-zGb2HwNt.js";
7
7
  import { P as o } from "./index-B2g_Xs_b.js";
8
8
  import { c as K } from "./createSvgIcon-BICIYW9O.js";
9
9
  import { B as Q } from "./ButtonBase-BFKx2I1_.js";
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),t=require("./DEPRECATED_Icon-WhkrHLXK.cjs"),l="csdk_CheckableList-module__item___Hs9v4",d="csdk_CheckableList-module__icon___1KLyd",c={item:l,icon:d},o=({items:a,className:n,onChange:i})=>s.jsx("div",{className:n,children:a.map(e=>s.jsxs("div",{className:c.item,onClick:()=>i(e.value),"data-testid":e.dataTestId,children:[s.jsx("span",{className:c.name,children:e.name}),e.checked&&s.jsx(t.DEPRECATED_Icon,{className:c.icon,name:"general-vi-small-white"})]},e.value))});exports.CheckableList=o;
@@ -1,9 +1,9 @@
1
1
  import { jsx as s, jsxs as l } from "react/jsx-runtime";
2
- import { D as t } from "./DEPRECATED_Icon-Bgufd-9Q.js";
3
- const o = "CheckableList-module__item___Hs9v4", m = "CheckableList-module__icon___1KLyd", a = {
2
+ import { D as t } from "./DEPRECATED_Icon-Dgk7vjsh.js";
3
+ const o = "csdk_CheckableList-module__item___Hs9v4", d = "csdk_CheckableList-module__icon___1KLyd", a = {
4
4
  item: o,
5
- icon: m
6
- }, _ = ({ items: c, className: n, onChange: i }) => /* @__PURE__ */ s("div", { className: n, children: c.map((e) => /* @__PURE__ */ l(
5
+ icon: d
6
+ }, r = ({ items: c, className: n, onChange: i }) => /* @__PURE__ */ s("div", { className: n, children: c.map((e) => /* @__PURE__ */ l(
7
7
  "div",
8
8
  {
9
9
  className: a.item,
@@ -17,5 +17,5 @@ const o = "CheckableList-module__item___Hs9v4", m = "CheckableList-module__icon_
17
17
  e.value
18
18
  )) });
19
19
  export {
20
- _ as C
20
+ r as C
21
21
  };
@@ -1 +1 @@
1
- "use strict";const c=require("react/jsx-runtime"),s=require("./emotion-cache-provider-BA0VP8z6.cjs"),_=require("react"),e=require("./index-CHH7nhRo.cjs"),H=require("./useFormControl-CisPyzzB.cjs"),z=require("./useSlot-CIx66mhH.cjs"),se=require("./ButtonBase-_pI6xEeE.cjs"),re=require("./TransitionGroupContext-gYEZneWE.cjs"),$=require("./createSvgIcon-CNsKzZej.cjs"),U=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),V=require("./lib/themes/themes.cjs");function ne(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const n in o)if(n!=="default"){const p=Object.getOwnPropertyDescriptor(o,n);Object.defineProperty(t,n,p.get?p:{enumerable:!0,get:()=>o[n]})}}return t.default=o,Object.freeze(t)}const R=ne(_);function pe(o){return s.generateUtilityClass("PrivateSwitchBase",o)}s.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ce=o=>{const{classes:t,checked:n,disabled:p,edge:a}=o,u={root:["root",n&&"checked",p&&"disabled",a&&`edge${s.capitalize(a)}`],input:["input"]};return s.composeClasses(u,pe,t)},ie=s.styled(se.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:t})=>o==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:t})=>o==="end"&&t.size!=="small",style:{marginRight:-12}}]}),ae=s.styled("input",{shouldForwardProp:s.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),D=R.forwardRef(function(t,n){const{autoFocus:p,checked:a,checkedIcon:u,defaultChecked:y,disabled:P,disableFocusRipple:f=!1,edge:w=!1,icon:h,id:x,inputProps:B,inputRef:S,name:v,onBlur:I,onChange:b,onFocus:m,readOnly:g,required:O=!1,tabIndex:C,type:T,value:j,slots:G={},slotProps:A={},...J}=t,[M,K]=z.useControlled({controlled:a,default:!!y,name:"SwitchBase",state:"checked"}),l=H.useFormControl(),Q=r=>{m&&m(r),l&&l.onFocus&&l.onFocus(r)},W=r=>{I&&I(r),l&&l.onBlur&&l.onBlur(r)},X=r=>{if(r.nativeEvent.defaultPrevented)return;const i=r.target.checked;K(i),b&&b(r,i)};let k=P;l&&typeof k>"u"&&(k=l.disabled);const Y=T==="checkbox"||T==="radio",F={...t,checked:M,disabled:k,disableFocusRipple:f,edge:w},N=ce(F),E={slots:G,slotProps:{input:B,...A}},[Z,ee]=z.useSlot("root",{ref:n,elementType:ie,className:N.root,shouldForwardComponentProp:!0,externalForwardedProps:{...E,component:"span",...J},getSlotProps:r=>({...r,onFocus:i=>{var d;(d=r.onFocus)==null||d.call(r,i),Q(i)},onBlur:i=>{var d;(d=r.onBlur)==null||d.call(r,i),W(i)}}),ownerState:F,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:k,role:void 0,tabIndex:null}}),[oe,te]=z.useSlot("input",{ref:S,elementType:ae,className:N.input,externalForwardedProps:E,getSlotProps:r=>({onChange:i=>{var d;(d=r.onChange)==null||d.call(r,i),X(i)}}),ownerState:F,additionalProps:{autoFocus:p,checked:a,defaultChecked:y,disabled:k,id:Y?x:void 0,name:v,readOnly:g,required:O,tabIndex:C,type:T,...T==="checkbox"&&j===void 0?{}:{value:j}}});return c.jsxs(Z,{...ee,children:[c.jsx(oe,{...te}),M?u:h]})});process.env.NODE_ENV!=="production"&&(D.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:re.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,slotProps:e.PropTypes.shape({input:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({input:e.PropTypes.elementType,root:e.PropTypes.elementType}),sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});const le=$.createSvgIcon(c.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),de=$.createSvgIcon(c.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),ue=$.createSvgIcon(c.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function ye(o){return s.generateUtilityClass("MuiCheckbox",o)}const q=s.generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Pe=o=>{const{classes:t,indeterminate:n,color:p,size:a}=o,u={root:["root",n&&"indeterminate",`color${s.capitalize(p)}`,`size${s.capitalize(a)}`]},y=s.composeClasses(u,ye,t);return{...t,...y}},Te=s.styled(D,{shouldForwardProp:o=>s.rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:n}=o;return[t.root,n.indeterminate&&t.indeterminate,t[`size${s.capitalize(n.size)}`],n.color!=="default"&&t[`color${s.capitalize(n.color)}`]]}})(s.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette.action.active,o.palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter(U.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette[t].main,o.palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter(U.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{[`&.${q.checked}, &.${q.indeterminate}`]:{color:(o.vars||o).palette[t].main},[`&.${q.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),fe=c.jsx(de,{}),he=c.jsx(le,{}),be=c.jsx(ue,{}),L=R.forwardRef(function(t,n){const p=s.useDefaultProps({props:t,name:"MuiCheckbox"}),{checkedIcon:a=fe,color:u="primary",icon:y=he,indeterminate:P=!1,indeterminateIcon:f=be,inputProps:w,size:h="medium",disableRipple:x=!1,className:B,slots:S={},slotProps:v={},...I}=p,b=P?f:y,m=P?f:a,g={...p,disableRipple:x,color:u,indeterminate:P,size:h},O=Pe(g),C=v.input??w,[T,j]=z.useSlot("root",{ref:n,elementType:Te,className:s.clsx(O.root,B),shouldForwardComponentProp:!0,externalForwardedProps:{slots:S,slotProps:v,...I},ownerState:g,additionalProps:{type:"checkbox",icon:R.cloneElement(b,{fontSize:b.props.fontSize??h}),checkedIcon:R.cloneElement(m,{fontSize:m.props.fontSize??h}),disableRipple:x,slots:S,slotProps:{input:H.mergeSlotProps(typeof C=="function"?C(g):C,{"data-indeterminate":P})}}});return c.jsx(T,{...j,classes:O})});process.env.NODE_ENV!=="production"&&(L.propTypes={checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.node,id:e.PropTypes.string,indeterminate:e.PropTypes.bool,indeterminateIcon:e.PropTypes.node,inputProps:e.PropTypes.object,onChange:e.PropTypes.func,required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),slotProps:e.PropTypes.shape({input:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({input:e.PropTypes.elementType,root:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),value:e.PropTypes.any});const me=s.createTheme$1({components:{MuiCheckbox:{styleOverrides:{root:{width:"28px",height:"28px","&.Mui-disabled":{opacity:.5},"&:hover":{backgroundColor:V.siColors.StInteractionColors.defaultHover},"& .MuiSvgIcon-root":{fontSize:14,fill:V.siColors.StUiColors.default}}}}}}),ge=_.forwardRef(({theme:o=me,dataTestId:t,...n},p)=>c.jsx(s.EmotionCacheProvider,{children:c.jsx(s.ThemeProvider,{theme:o,children:c.jsx(L,{"data-testid":t,ref:p,...n})})}));exports.Checkbox=ge;
1
+ "use strict";const c=require("react/jsx-runtime"),_=require("react"),s=require("./emotion-cache-provider-BA0VP8z6.cjs"),e=require("./index-CHH7nhRo.cjs"),H=require("./useFormControl-CisPyzzB.cjs"),z=require("./useSlot-CIx66mhH.cjs"),se=require("./ButtonBase-_pI6xEeE.cjs"),re=require("./TransitionGroupContext-gYEZneWE.cjs"),$=require("./createSvgIcon-CNsKzZej.cjs"),U=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),V=require("./lib/themes/themes.cjs");function ne(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const n in o)if(n!=="default"){const p=Object.getOwnPropertyDescriptor(o,n);Object.defineProperty(t,n,p.get?p:{enumerable:!0,get:()=>o[n]})}}return t.default=o,Object.freeze(t)}const R=ne(_);function pe(o){return s.generateUtilityClass("PrivateSwitchBase",o)}s.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ce=o=>{const{classes:t,checked:n,disabled:p,edge:a}=o,u={root:["root",n&&"checked",p&&"disabled",a&&`edge${s.capitalize(a)}`],input:["input"]};return s.composeClasses(u,pe,t)},ie=s.styled(se.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:t})=>o==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:t})=>o==="end"&&t.size!=="small",style:{marginRight:-12}}]}),ae=s.styled("input",{shouldForwardProp:s.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),D=R.forwardRef(function(t,n){const{autoFocus:p,checked:a,checkedIcon:u,defaultChecked:y,disabled:P,disableFocusRipple:f=!1,edge:w=!1,icon:h,id:x,inputProps:B,inputRef:S,name:v,onBlur:I,onChange:b,onFocus:m,readOnly:g,required:O=!1,tabIndex:C,type:T,value:j,slots:G={},slotProps:A={},...J}=t,[M,K]=z.useControlled({controlled:a,default:!!y,name:"SwitchBase",state:"checked"}),l=H.useFormControl(),Q=r=>{m&&m(r),l&&l.onFocus&&l.onFocus(r)},W=r=>{I&&I(r),l&&l.onBlur&&l.onBlur(r)},X=r=>{if(r.nativeEvent.defaultPrevented)return;const i=r.target.checked;K(i),b&&b(r,i)};let k=P;l&&typeof k>"u"&&(k=l.disabled);const Y=T==="checkbox"||T==="radio",F={...t,checked:M,disabled:k,disableFocusRipple:f,edge:w},N=ce(F),E={slots:G,slotProps:{input:B,...A}},[Z,ee]=z.useSlot("root",{ref:n,elementType:ie,className:N.root,shouldForwardComponentProp:!0,externalForwardedProps:{...E,component:"span",...J},getSlotProps:r=>({...r,onFocus:i=>{var d;(d=r.onFocus)==null||d.call(r,i),Q(i)},onBlur:i=>{var d;(d=r.onBlur)==null||d.call(r,i),W(i)}}),ownerState:F,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:k,role:void 0,tabIndex:null}}),[oe,te]=z.useSlot("input",{ref:S,elementType:ae,className:N.input,externalForwardedProps:E,getSlotProps:r=>({onChange:i=>{var d;(d=r.onChange)==null||d.call(r,i),X(i)}}),ownerState:F,additionalProps:{autoFocus:p,checked:a,defaultChecked:y,disabled:k,id:Y?x:void 0,name:v,readOnly:g,required:O,tabIndex:C,type:T,...T==="checkbox"&&j===void 0?{}:{value:j}}});return c.jsxs(Z,{...ee,children:[c.jsx(oe,{...te}),M?u:h]})});process.env.NODE_ENV!=="production"&&(D.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:re.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,slotProps:e.PropTypes.shape({input:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({input:e.PropTypes.elementType,root:e.PropTypes.elementType}),sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});const le=$.createSvgIcon(c.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),de=$.createSvgIcon(c.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),ue=$.createSvgIcon(c.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function ye(o){return s.generateUtilityClass("MuiCheckbox",o)}const q=s.generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Pe=o=>{const{classes:t,indeterminate:n,color:p,size:a}=o,u={root:["root",n&&"indeterminate",`color${s.capitalize(p)}`,`size${s.capitalize(a)}`]},y=s.composeClasses(u,ye,t);return{...t,...y}},Te=s.styled(D,{shouldForwardProp:o=>s.rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:n}=o;return[t.root,n.indeterminate&&t.indeterminate,t[`size${s.capitalize(n.size)}`],n.color!=="default"&&t[`color${s.capitalize(n.color)}`]]}})(s.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette.action.active,o.palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter(U.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette[t].main,o.palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter(U.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{[`&.${q.checked}, &.${q.indeterminate}`]:{color:(o.vars||o).palette[t].main},[`&.${q.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),fe=c.jsx(de,{}),he=c.jsx(le,{}),be=c.jsx(ue,{}),L=R.forwardRef(function(t,n){const p=s.useDefaultProps({props:t,name:"MuiCheckbox"}),{checkedIcon:a=fe,color:u="primary",icon:y=he,indeterminate:P=!1,indeterminateIcon:f=be,inputProps:w,size:h="medium",disableRipple:x=!1,className:B,slots:S={},slotProps:v={},...I}=p,b=P?f:y,m=P?f:a,g={...p,disableRipple:x,color:u,indeterminate:P,size:h},O=Pe(g),C=v.input??w,[T,j]=z.useSlot("root",{ref:n,elementType:Te,className:s.clsx(O.root,B),shouldForwardComponentProp:!0,externalForwardedProps:{slots:S,slotProps:v,...I},ownerState:g,additionalProps:{type:"checkbox",icon:R.cloneElement(b,{fontSize:b.props.fontSize??h}),checkedIcon:R.cloneElement(m,{fontSize:m.props.fontSize??h}),disableRipple:x,slots:S,slotProps:{input:H.mergeSlotProps(typeof C=="function"?C(g):C,{"data-indeterminate":P})}}});return c.jsx(T,{...j,classes:O})});process.env.NODE_ENV!=="production"&&(L.propTypes={checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.node,id:e.PropTypes.string,indeterminate:e.PropTypes.bool,indeterminateIcon:e.PropTypes.node,inputProps:e.PropTypes.object,onChange:e.PropTypes.func,required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),slotProps:e.PropTypes.shape({input:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({input:e.PropTypes.elementType,root:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),value:e.PropTypes.any});const me=s.createTheme$1({components:{MuiCheckbox:{styleOverrides:{root:{width:"28px",height:"28px","&.Mui-disabled":{opacity:.5},"&:hover":{backgroundColor:V.siColors.StInteractionColors.defaultHover},"& .MuiSvgIcon-root":{fontSize:14,fill:V.siColors.StUiColors.default}}}}}}),ge=_.forwardRef(({theme:o=me,dataTestId:t,...n},p)=>c.jsx(s.EmotionCacheProvider,{children:c.jsx(s.ThemeProvider,{theme:o,children:c.jsx(L,{"data-testid":t,ref:p,...n})})}));exports.Checkbox=ge;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as ce, jsx as a } from "react/jsx-runtime";
2
- import { g as D, a as _, s as M, n as A, d as v, h as G, m as ie, e as le, f as pe, p as q, i as de, E as ue, T as fe } from "./emotion-cache-provider-CbsuuMnH.js";
3
2
  import * as O from "react";
4
- import { forwardRef as me } from "react";
3
+ import { forwardRef as ie } from "react";
4
+ import { g as D, a as _, s as M, n as A, d as v, h as G, m as le, e as pe, f as de, p as q, i as ue, E as fe, T as me } from "./emotion-cache-provider-CbsuuMnH.js";
5
5
  import { P as e } from "./index-B2g_Xs_b.js";
6
6
  import { u as he, m as be } from "./useFormControl-ngVvjZV5.js";
7
7
  import { u as ye, a as $ } from "./useSlot-V_VuJk__.js";
@@ -345,7 +345,7 @@ const j = _("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
345
345
  } = o;
346
346
  return [t.root, n.indeterminate && t.indeterminate, t[`size${v(n.size)}`], n.color !== "default" && t[`color${v(n.color)}`]];
347
347
  }
348
- })(ie(({
348
+ })(le(({
349
349
  theme: o
350
350
  }) => ({
351
351
  color: (o.vars || o).palette.text.secondary,
@@ -396,7 +396,7 @@ const j = _("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
396
396
  }
397
397
  }]
398
398
  }))), Te = /* @__PURE__ */ a(Ie, {}), ze = /* @__PURE__ */ a(Se, {}), Fe = /* @__PURE__ */ a(Be, {}), K = /* @__PURE__ */ O.forwardRef(function(t, n) {
399
- const c = le({
399
+ const c = pe({
400
400
  props: t,
401
401
  name: "MuiCheckbox"
402
402
  }), {
@@ -421,7 +421,7 @@ const j = _("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
421
421
  }, R = we(g), k = I.input ?? T, [m, w] = $("root", {
422
422
  ref: n,
423
423
  elementType: Oe,
424
- className: pe(R.root, z),
424
+ className: de(R.root, z),
425
425
  shouldForwardComponentProp: !0,
426
426
  externalForwardedProps: {
427
427
  slots: S,
@@ -565,7 +565,7 @@ process.env.NODE_ENV !== "production" && (K.propTypes = {
565
565
  */
566
566
  value: e.any
567
567
  });
568
- const je = de({
568
+ const je = ue({
569
569
  components: {
570
570
  MuiCheckbox: {
571
571
  styleOverrides: {
@@ -586,8 +586,8 @@ const je = de({
586
586
  }
587
587
  }
588
588
  }
589
- }), Ae = me(
590
- ({ theme: o = je, dataTestId: t, ...n }, c) => /* @__PURE__ */ a(ue, { children: /* @__PURE__ */ a(fe, { theme: o, children: /* @__PURE__ */ a(K, { "data-testid": t, ref: c, ...n }) }) })
589
+ }), Ae = ie(
590
+ ({ theme: o = je, dataTestId: t, ...n }, c) => /* @__PURE__ */ a(fe, { children: /* @__PURE__ */ a(me, { theme: o, children: /* @__PURE__ */ a(K, { "data-testid": t, ref: c, ...n }) }) })
591
591
  );
592
592
  export {
593
593
  Ae as C
@@ -1,14 +1,14 @@
1
- import { jsxs as R, jsx as s } from "react/jsx-runtime";
1
+ import { jsxs as A, jsx as s } from "react/jsx-runtime";
2
2
  import e from "classnames";
3
3
  import { P as t } from "./index-B2g_Xs_b.js";
4
- import { D as b } from "./DEPRECATED_Icon-Bgufd-9Q.js";
5
- const k = "DEPRECATED_Button-module__sharedComponentsButton___wmUpf", w = "DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy", v = "DEPRECATED_Button-module__btnSecondary___Ga6J-", a = {
6
- sharedComponentsButton: k,
4
+ import { D as b } from "./DEPRECATED_Icon-Dgk7vjsh.js";
5
+ const R = "csdk_DEPRECATED_Button-module__sharedComponentsButton___wmUpf", w = "csdk_DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy", v = "csdk_DEPRECATED_Button-module__btnSecondary___Ga6J-", a = {
6
+ sharedComponentsButton: R,
7
7
  sharedComponentsButtonText: w,
8
8
  btnSecondary: v
9
- }, j = " ", C = (u) => {
9
+ }, j = " ", C = (_) => {
10
10
  const {
11
- allowDisabledTitle: _,
11
+ allowDisabledTitle: u,
12
12
  className: E,
13
13
  disabled: n,
14
14
  hoverSuffix: r,
@@ -16,15 +16,15 @@ const k = "DEPRECATED_Button-module__sharedComponentsButton___wmUpf", w = "DEPRE
16
16
  iconName: l,
17
17
  transparent: D,
18
18
  text: o,
19
- trailingIconName: i,
20
- title: c,
19
+ trailingIconName: c,
20
+ title: i,
21
21
  dark: T,
22
22
  gray: y,
23
23
  secondary: g,
24
24
  dataTestId: h,
25
25
  ariaLabel: N = "button",
26
26
  ...f
27
- } = u, B = e(
27
+ } = _, B = e(
28
28
  "btn",
29
29
  {
30
30
  "btn--disabled": n,
@@ -44,24 +44,24 @@ const k = "DEPRECATED_Button-module__sharedComponentsButton___wmUpf", w = "DEPRE
44
44
  disabled: n,
45
45
  hoverSuffix: r
46
46
  }
47
- ), P = e("btn__text", a.sharedComponentsButtonText), p = o && /* @__PURE__ */ s("span", { className: P, children: o }), I = d && p && j, S = i && /* @__PURE__ */ s(
47
+ ), P = e("btn__text", a.sharedComponentsButtonText), p = o && /* @__PURE__ */ s("span", { className: P, children: o }), k = d && p && j, I = c && /* @__PURE__ */ s(
48
48
  b,
49
49
  {
50
50
  className: m,
51
- name: i,
51
+ name: c,
52
52
  disabled: n,
53
53
  hoverSuffix: r
54
54
  }
55
- ), A = {
55
+ ), S = {
56
56
  disabled: n,
57
- title: c && (!n || _) ? c : void 0,
57
+ title: i && (!n || u) ? i : void 0,
58
58
  ...f
59
59
  };
60
- return /* @__PURE__ */ R("button", { ...A, className: B, "data-testid": h, "aria-label": N, children: [
60
+ return /* @__PURE__ */ A("button", { ...S, className: B, "data-testid": h, "aria-label": N, children: [
61
61
  d,
62
- I,
62
+ k,
63
63
  p,
64
- S
64
+ I
65
65
  ] });
66
66
  };
67
67
  C.propTypes = {
@@ -0,0 +1 @@
1
+ "use strict";const o=require("react/jsx-runtime"),e=require("classnames"),t=require("./index-CHH7nhRo.cjs"),C=require("./DEPRECATED_Icon-WhkrHLXK.cjs"),k="csdk_DEPRECATED_Button-module__sharedComponentsButton___wmUpf",S="csdk_DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy",j="csdk_DEPRECATED_Button-module__btnSecondary___Ga6J-",a={sharedComponentsButton:k,sharedComponentsButtonText:S,btnSecondary:j},q=" ",r=T=>{const{allowDisabledTitle:_,className:b,disabled:n,hoverSuffix:c,iconClassName:y,iconName:i,transparent:P,text:s,trailingIconName:l,title:p,dark:E,gray:D,secondary:x,dataTestId:g,ariaLabel:h="button",...B}=T,N=e("btn",{"btn--disabled":n,"btn--transp":P,"btn--dark":E,"btn--icon":!s,"btn--gray":D,[a.btnSecondary]:x},a.sharedComponentsButton,b),d=e("btn__icon",y),m=i&&o.jsx(C.DEPRECATED_Icon,{className:d,name:i,disabled:n,hoverSuffix:c}),R=e("btn__text",a.sharedComponentsButtonText),u=s&&o.jsx("span",{className:R,children:s}),A=m&&u&&q,I=l&&o.jsx(C.DEPRECATED_Icon,{className:d,name:l,disabled:n,hoverSuffix:c}),f={disabled:n,title:p&&(!n||_)?p:void 0,...B};return o.jsxs("button",{...f,className:N,"data-testid":g,"aria-label":h,children:[m,A,u,I]})};r.propTypes={allowDisabledTitle:t.PropTypes.bool,className:t.PropTypes.string,disabled:t.PropTypes.bool,hoverSuffix:t.PropTypes.string,iconClassName:t.PropTypes.string,iconName:t.PropTypes.string,onClick:t.PropTypes.func.isRequired,text:t.PropTypes.string,title:t.PropTypes.string,trailingIconName:t.PropTypes.string,transparent:t.PropTypes.bool,dark:t.PropTypes.bool,gray:t.PropTypes.bool};r.defaultProps={allowDisabledTitle:!1};exports.DEPRECATED_Button=r;
@@ -0,0 +1,63 @@
1
+ import { jsx as s, jsxs as p } from "react/jsx-runtime";
2
+ import c from "classnames";
3
+ import { D as v } from "./DEPRECATED_Icon-Dgk7vjsh.js";
4
+ const E = "csdk_Checkbox-module__transparent___wi79A", P = "csdk_Checkbox-module__icon___Hm4xR", T = "csdk_Checkbox-module__disabled___sHRTv", R = "csdk_Checkbox-module__sharedComponentsInputCheckbox___VU8jI", o = {
5
+ transparent: E,
6
+ icon: P,
7
+ disabled: T,
8
+ sharedComponentsInputCheckbox: R
9
+ }, H = (d) => {
10
+ const {
11
+ className: _,
12
+ disabled: n,
13
+ inline: m,
14
+ text: h,
15
+ textClassName: k,
16
+ title: a,
17
+ transparent: x,
18
+ dataTestId: C,
19
+ iconName: t,
20
+ onDescriptionClick: i,
21
+ inputCheckboxClassName: b,
22
+ ...u
23
+ } = d, l = { disabled: n, ...u };
24
+ a && !n && (l.title = a);
25
+ const e = "custom-checkbox", N = c(
26
+ e,
27
+ {
28
+ "custom-checkbox--inline": m,
29
+ [o.disabled]: n
30
+ },
31
+ _
32
+ ), f = c(`${e}__icon`, "app-icon app-icon--form-checkbox-mark", {
33
+ [o.transparent]: x
34
+ }), D = c(`${e}__text`, k), r = i ? (I) => {
35
+ i(), I.preventDefault();
36
+ } : void 0;
37
+ return /* @__PURE__ */ s("div", { className: N, children: /* @__PURE__ */ p("label", { className: `${e}__label`, children: [
38
+ /* @__PURE__ */ p("div", { className: c(o.sharedComponentsInputCheckbox, b), children: [
39
+ /* @__PURE__ */ s(
40
+ "input",
41
+ {
42
+ type: "checkbox",
43
+ className: `${e}__input`,
44
+ "data-testid": C,
45
+ ...l
46
+ }
47
+ ),
48
+ /* @__PURE__ */ s("span", { className: f, children: /* @__PURE__ */ s("svg", { className: "app-icon__svg", children: /* @__PURE__ */ s("use", { xlinkHref: "#form-checkbox-mark" }) }) })
49
+ ] }),
50
+ t && /* @__PURE__ */ s(
51
+ v,
52
+ {
53
+ name: t,
54
+ className: o.icon,
55
+ onClick: r
56
+ }
57
+ ),
58
+ /* @__PURE__ */ s("span", { className: D, onClick: r, children: h })
59
+ ] }) });
60
+ };
61
+ export {
62
+ H as D
63
+ };
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),c=require("classnames"),D=require("./DEPRECATED_Icon-WhkrHLXK.cjs"),I="csdk_Checkbox-module__transparent___wi79A",v="csdk_Checkbox-module__icon___Hm4xR",P="csdk_Checkbox-module__disabled___sHRTv",R="csdk_Checkbox-module__sharedComponentsInputCheckbox___VU8jI",n={transparent:I,icon:v,disabled:P,sharedComponentsInputCheckbox:R},T=_=>{const{className:d,disabled:o,inline:p,text:x,textClassName:m,title:t,transparent:h,dataTestId:k,iconName:a,onDescriptionClick:i,inputCheckboxClassName:C,...b}=_,l={disabled:o,...b};t&&!o&&(l.title=t);const e="custom-checkbox",u=c(e,{"custom-checkbox--inline":p,[n.disabled]:o},d),N=c(`${e}__icon`,"app-icon app-icon--form-checkbox-mark",{[n.transparent]:h}),E=c(`${e}__text`,m),r=i?j=>{i(),j.preventDefault()}:void 0;return s.jsx("div",{className:u,children:s.jsxs("label",{className:`${e}__label`,children:[s.jsxs("div",{className:c(n.sharedComponentsInputCheckbox,C),children:[s.jsx("input",{type:"checkbox",className:`${e}__input`,"data-testid":k,...l}),s.jsx("span",{className:N,children:s.jsx("svg",{className:"app-icon__svg",children:s.jsx("use",{xlinkHref:"#form-checkbox-mark"})})})]}),a&&s.jsx(D.DEPRECATED_Icon,{name:a,className:n.icon,onClick:r}),s.jsx("span",{className:E,onClick:r,children:x})]})})};exports.DEPRECATED_Checkbox=T;
@@ -1,13 +1,13 @@
1
1
  import { jsx as e, jsxs as I } from "react/jsx-runtime";
2
- import t from "classnames";
3
2
  import { useState as g } from "react";
4
- const w = "DEPRECATED_Icon-module__clickable___Wc4h2", y = "DEPRECATED_Icon-module__disabled___WZlIY", p = {
3
+ import t from "classnames";
4
+ const w = "csdk_DEPRECATED_Icon-module__clickable___Wc4h2", y = "csdk_DEPRECATED_Icon-module__disabled___WZlIY", f = {
5
5
  clickable: w,
6
6
  disabled: y
7
7
  }, o = () => {
8
8
  }, T = (c) => {
9
9
  const [l, i] = g(!1), {
10
- className: _ = "",
10
+ className: p = "",
11
11
  disabled: s = !1,
12
12
  name: r,
13
13
  hoverSuffix: d = "",
@@ -19,20 +19,20 @@ const w = "DEPRECATED_Icon-module__clickable___Wc4h2", y = "DEPRECATED_Icon-modu
19
19
  l || i(!0), v(n);
20
20
  }, b = (n) => {
21
21
  l && i(!1), h(n);
22
- }, x = { top: "auto" }, f = !s && l && d ? `${r}${d}` : r, C = t("app-icon", `app-icon--${f}`), M = t("app-icon__svg"), D = t(C, _, {
23
- [p.clickable]: m !== o,
24
- [p.disabled]: s
25
- }), { dataTestId: N, ...k } = c, a = { disabled: s, onClick: m, ...k };
22
+ }, x = { top: "auto" }, _ = !s && l && d ? `${r}${d}` : r, C = t("app-icon", `app-icon--${_}`), k = t("app-icon__svg"), M = t(C, p, {
23
+ [f.clickable]: m !== o,
24
+ [f.disabled]: s
25
+ }), { dataTestId: D, ...N } = c, a = { disabled: s, onClick: m, ...N };
26
26
  return u && !s && (a.title = u), delete a.hoverSuffix, /* @__PURE__ */ e(
27
27
  "span",
28
28
  {
29
29
  ...a,
30
- className: D,
30
+ className: M,
31
31
  onMouseEnter: E,
32
32
  onMouseLeave: b,
33
- "data-testid": N,
34
- children: /* @__PURE__ */ I("svg", { className: M, style: x, children: [
35
- /* @__PURE__ */ e("use", { xlinkHref: `#${f}` }),
33
+ "data-testid": D,
34
+ children: /* @__PURE__ */ I("svg", { className: k, style: x, children: [
35
+ /* @__PURE__ */ e("use", { xlinkHref: `#${_}` }),
36
36
  /* @__PURE__ */ e("symbol", { id: "general-arrow-down", viewBox: "0 0 24 24", children: /* @__PURE__ */ e(
37
37
  "path",
38
38
  {
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),I=require("react"),c=require("classnames"),N="csdk_DEPRECATED_Icon-module__clickable___Wc4h2",P="csdk_DEPRECATED_Icon-module__disabled___WZlIY",m={clickable:N,disabled:P},o=()=>{},R=t=>{const[l,i]=I.useState(!1),{className:x="",disabled:s=!1,name:r,hoverSuffix:d="",onClick:u=o,onMouseEnter:f=o,onMouseLeave:v=o,title:_=""}=t,h=a=>{l||i(!0),f(a)},p=a=>{l&&i(!1),v(a)},b={top:"auto"},E=!s&&l&&d?`${r}${d}`:r,C=c("app-icon",`app-icon--${E}`),j=c("app-icon__svg"),k=c(C,x,{[m.clickable]:u!==o,[m.disabled]:s}),{dataTestId:D,...M}=t,n={disabled:s,onClick:u,...M};return _&&!s&&(n.title=_),delete n.hoverSuffix,e.jsx("span",{...n,className:k,onMouseEnter:h,onMouseLeave:p,"data-testid":D,children:e.jsxs("svg",{className:j,style:b,children:[e.jsx("use",{xlinkHref:`#${E}`}),e.jsx("symbol",{id:"general-arrow-down",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M12 13.84l3.174-2.719a.5.5 0 0 1 .65.76l-3.5 2.998a.5.5 0 0 1-.65 0l-3.5-2.998a.5.5 0 1 1 .65-.76L12 13.841z"})}),e.jsx("symbol",{id:"general-vi-small-white",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M8.354 11.646l-.708.708 3.418 3.417 5.343-7.48-.814-.582-4.657 6.52z"})})]})})};exports.DEPRECATED_Icon=R;
@@ -22,4 +22,4 @@ ${R}
22
22
  html body {
23
23
  overflow-y: hidden;
24
24
  ${r?`width: calc(100% - ${o}px);`:""}
25
- }`,t)}else Jt(t);return()=>{Jt(t)}},[n,t])}const xn=e=>e===!1?!1:!we()||!e?null:typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e,mn=s.forwardRef((e,n)=>{const{open:t,autoLock:o,getContainer:r,debug:i,autoDestroy:f=!0,children:a}=e,[p,h]=s.useState(t),d=p||t;process.env.NODE_ENV!=="production"&&_t(we()||!t,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),s.useEffect(()=>{(f||t)&&h(t)},[t,f]);const[m,b]=s.useState(()=>xn(r));s.useEffect(()=>{const L=xn(r);b(L??null)});const[R,E]=Do(d&&!m,i),g=m??R;zo(o&&t&&we()&&(g===R||g===document.body));let c=null;a&&an(a)&&n&&(c=ln(a));const P=Fn(c,n);if(!d||!we()||m===void 0)return null;const y=g===!1||$o();let w=a;return n&&(w=s.cloneElement(a,{ref:P})),s.createElement(Hn.Provider,{value:E},y?w:bo.createPortal(w,g))});process.env.NODE_ENV!=="production"&&(mn.displayName="Portal");function en(e,n={}){let t=[];return K.Children.forEach(e,o=>{o==null&&!n.keepEmpty||(Array.isArray(o)?t=t.concat(en(o)):Wn(o)&&o.props?t=t.concat(en(o.props.children,n)):t.push(o))}),t}function at(e){return e instanceof HTMLElement||e instanceof SVGElement}function Qn(e){return e&&typeof e=="object"&&at(e.nativeElement)?e.nativeElement:at(e)?e:null}const tn=s.createContext(null);function Xo({children:e,onBatchResize:n}){const t=s.useRef(0),o=s.useRef([]),r=s.useContext(tn),i=s.useCallback((f,a,p)=>{t.current+=1;const h=t.current;o.current.push({size:f,element:a,data:p}),Promise.resolve().then(()=>{h===t.current&&(n==null||n(o.current),o.current=[])}),r==null||r(f,a,p)},[n,r]);return s.createElement(tn.Provider,{value:i},e)}const _e=new Map;function Zn(e){e.forEach(n=>{var o;const{target:t}=n;(o=_e.get(t))==null||o.forEach(r=>r(t))})}let Ut;function Gn(){return Ut||(Ut=new ResizeObserver(Zn)),Ut}process.env.NODE_ENV;process.env.NODE_ENV;function qo(e,n){_e.has(e)||(_e.set(e,new Set),Gn().observe(e)),_e.get(e).add(n)}function Uo(e,n){_e.has(e)&&(_e.get(e).delete(n),_e.get(e).size||(Gn().unobserve(e),_e.delete(e)))}function Qo(e,n){const{children:t,disabled:o}=e,r=s.useRef(null),i=s.useContext(tn),f=typeof t=="function",a=f?t(r):t,p=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!f&&s.isValidElement(a)&&an(a),d=h?ln(a):null,m=Fn(d,r),b=()=>Qn(r.current);s.useImperativeHandle(n,()=>b());const R=s.useRef(e);R.current=e;const E=s.useCallback(g=>{const{onResize:c,data:P}=R.current,{width:y,height:w}=g.getBoundingClientRect(),{offsetWidth:L,offsetHeight:S}=g,V=Math.floor(y),W=Math.floor(w);if(p.current.width!==V||p.current.height!==W||p.current.offsetWidth!==L||p.current.offsetHeight!==S){const C={width:V,height:W,offsetWidth:L,offsetHeight:S};p.current=C;const H=L===Math.round(y)?y:L,D=S===Math.round(w)?w:S,M={...C,offsetWidth:H,offsetHeight:D};i==null||i(M,g,P),c&&Promise.resolve().then(()=>{c(M,g)})}},[]);return s.useEffect(()=>{const g=b();return g&&!o&&qo(g,E),()=>Uo(g,E)},[r.current,o]),h?s.cloneElement(a,{ref:m}):a}const Kn=s.forwardRef(Qo);process.env.NODE_ENV!=="production"&&(Kn.displayName="SingleObserver");function nn(){return nn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},nn.apply(this,arguments)}const Zo="rc-observer-key";function Go(e,n){const{children:t}=e,o=typeof t=="function"?[t]:en(t);return process.env.NODE_ENV!=="production"&&(o.length>1?Ct(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):o.length===0&&Ct(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),o.map((r,i)=>{const f=(r==null?void 0:r.key)||`${Zo}-${i}`;return s.createElement(Kn,nn({},e,{key:f,ref:i===0?n:void 0}),r)})}const At=s.forwardRef(Go);process.env.NODE_ENV!=="production"&&(At.displayName="ResizeObserver");At.Collection=Xo;function Jn(e){var n;return(n=e==null?void 0:e.getRootNode)==null?void 0:n.call(e)}function Ko(e){return Jn(e)instanceof ShadowRoot}function on(e){return Ko(e)?Jn(e):null}function Ee(e){const n=s.useRef();return n.current=e,s.useCallback((...o)=>{var r;return(r=n.current)==null?void 0:r.call(n,...o)},[])}function Jo(){return{...s}.useId}let Pn=0;const Tn=Jo(),eo=Tn?function(n){const t=Tn();return n||(process.env.NODE_ENV==="test"?"test-id":t)}:function(n){const[t,o]=s.useState("ssr-id");return s.useEffect(()=>{const r=Pn;Pn+=1,o(`rc_unique_${r}`)},[]),n||(process.env.NODE_ENV==="test"?"test-id":t)},er=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;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))},tr=s.createContext({});function rn(e){const n=s.useRef(!1),[t,o]=s.useState(e);s.useEffect(()=>(n.current=!1,()=>{n.current=!0}),[]);function r(i,f){f&&n.current||o(i)}return[t,r]}function nr(e){const[,n]=s.useReducer(i=>i+1,0),t=s.useRef(e),o=Ee(()=>t.current),r=Ee(i=>{t.current=typeof i=="function"?i(t.current):i,n()});return[o,r]}const Me="none",St="appear",xt="enter",Pt="leave",Cn="none",be="prepare",Je="start",et="active",hn="end",to="prepared";function Mn(e,n){const t={};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}function or(e,n){const t={animationend:Mn("Animation","AnimationEnd"),transitionend:Mn("Transition","TransitionEnd")};return e&&("AnimationEvent"in n||delete t.animationend.animation,"TransitionEvent"in n||delete t.transitionend.transition),t}const rr=or(we(),typeof window<"u"?window:{});let no={};we()&&({style:no}=document.createElement("div"));const Tt={};function oo(e){if(Tt[e])return Tt[e];const n=rr[e];if(n){const t=Object.keys(n),o=t.length;for(let r=0;r<o;r+=1){const i=t[r];if(Object.prototype.hasOwnProperty.call(n,i)&&i in no)return Tt[e]=n[i],Tt[e]}}return""}const ro=oo("animationend"),so=oo("transitionend"),sr=!!(ro&&so),_n=ro||"animationend",Nn=so||"transitionend";function An(e,n){if(!e)return null;if(typeof e=="object"){const t=n.replace(/-\w/g,o=>o[1].toUpperCase());return e[t]}return`${e}-${n}`}const ir=e=>{const n=K.useRef();function t(r){r&&(r.removeEventListener(Nn,e),r.removeEventListener(_n,e))}function o(r){n.current&&n.current!==r&&t(n.current),r&&r!==n.current&&(r.addEventListener(Nn,e),r.addEventListener(_n,e),n.current=r)}return s.useEffect(()=>()=>{t(n.current)},[]),[o,t]},io=we()?K.useLayoutEffect:K.useEffect;let co=e=>+setTimeout(e,16),uo=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(co=e=>window.requestAnimationFrame(e),uo=e=>window.cancelAnimationFrame(e));let On=0;const Ot=new Map;function fo(e){Ot.delete(e)}const Mt=(e,n=1)=>{On+=1;const t=On;function o(r){if(r===0)fo(t),e();else{const i=co(()=>{o(r-1)});Ot.set(t,i)}}return o(n),t};Mt.cancel=e=>{const n=Ot.get(e);return fo(e),uo(n)};process.env.NODE_ENV!=="production"&&(Mt.ids=()=>Ot);const cr=()=>{const e=s.useRef(null);function n(){Mt.cancel(e.current)}function t(o,r=2){n();const i=Mt(()=>{r<=1?o({isCanceled:()=>i!==e.current}):t(o,r-1)});e.current=i}return s.useEffect(()=>()=>{n()},[]),[t,n]},ur=[be,Je,et,hn],fr=[be,to],ao=!1,ar=!0;function lo(e){return e===et||e===hn}const lr=(e,n,t)=>{const[o,r]=rn(Cn),[i,f]=cr();function a(){r(be,!0)}const p=n?fr:ur;return io(()=>{if(o!==Cn&&o!==hn){const h=p.indexOf(o),d=p[h+1],m=t(o);m===ao?r(d,!0):d&&i(b=>{function R(){b.isCanceled()||r(d,!0)}m===!0?R():Promise.resolve(m).then(R)})}},[e,o]),s.useEffect(()=>()=>{f()},[]),[a,o]};function dr(e,n,t,{motionEnter:o=!0,motionAppear:r=!0,motionLeave:i=!0,motionDeadline:f,motionLeaveImmediately:a,onAppearPrepare:p,onEnterPrepare:h,onLeavePrepare:d,onAppearStart:m,onEnterStart:b,onLeaveStart:R,onAppearActive:E,onEnterActive:g,onLeaveActive:c,onAppearEnd:P,onEnterEnd:y,onLeaveEnd:w,onVisibleChanged:L}){const[S,V]=rn(),[W,C]=nr(Me),[H,D]=rn(null),M=W(),B=K.useRef(!1),z=K.useRef(null);function F(){return t()}const T=K.useRef(!1);function x(){C(Me),D(null,!0)}const fe=Ee(_=>{const I=W();if(I===Me)return;const $=F();if(_&&!_.deadline&&_.target!==$)return;const te=T.current;let q;I===St&&te?q=P==null?void 0:P($,_):I===xt&&te?q=y==null?void 0:y($,_):I===Pt&&te&&(q=w==null?void 0:w($,_)),te&&q!==!1&&x()}),[U]=ir(fe),ae=_=>{switch(_){case St:return{[be]:p,[Je]:m,[et]:E};case xt:return{[be]:h,[Je]:b,[et]:g};case Pt:return{[be]:d,[Je]:R,[et]:c};default:return{}}},G=s.useMemo(()=>ae(M),[M]),[me,J]=lr(M,!e,_=>{var I;if(_===be){const $=G[be];return $?$(F()):ao}return J in G&&D(((I=G[J])==null?void 0:I.call(G,F(),null))||null),J===et&&M!==Me&&(U(F()),f>0&&(clearTimeout(z.current),z.current=setTimeout(()=>{fe({deadline:!0})},f))),J===to&&x(),ar}),ee=lo(J);T.current=ee;const Q=K.useRef(null);io(()=>{if(B.current&&Q.current===n)return;V(n);const _=B.current;B.current=!0;let I;!_&&n&&r&&(I=St),_&&n&&o&&(I=xt),(_&&!n&&i||!_&&a&&!n&&i)&&(I=Pt);const $=ae(I);I&&(e||$[be])?(C(I),me()):C(Me),Q.current=n},[n]),K.useEffect(()=>{(M===St&&!r||M===xt&&!o||M===Pt&&!i)&&C(Me)},[r,o,i]),K.useEffect(()=>()=>{B.current=!1,clearTimeout(z.current)},[]);const re=s.useRef(!1);K.useEffect(()=>{S&&(re.current=!0),S!==void 0&&M===Me&&((re.current||S)&&(L==null||L(S)),re.current=!0)},[S,M]);let X=H;return G[be]&&J===Je&&(X={transition:"none",...X}),[W,J,X,S??n]}function pr(e){let n=e;typeof e=="object"&&({transitionSupport:n}=e);function t(r,i){return!!(r.motionName&&n&&i!==!1)}const o=s.forwardRef((r,i)=>{const{visible:f=!0,removeOnLeave:a=!0,forceRender:p,children:h,motionName:d,leavedClassName:m,eventProps:b}=r,{motion:R}=s.useContext(tr),E=t(r,R),g=K.useRef();function c(){return Qn(g.current)}const[P,y,w,L]=dr(E,f,c,r),S=P(),V=s.useRef(L);L&&(V.current=!0);const W=s.useMemo(()=>{const D={};return Object.defineProperties(D,{nativeElement:{enumerable:!0,get:c},inMotion:{enumerable:!0,get:()=>()=>P()!==Me},enableMotion:{enumerable:!0,get:()=>()=>E}}),D},[]);s.useImperativeHandle(i,()=>W,[]);let C;const H={...b,visible:f};if(!h)C=null;else if(S===Me)L?C=h({...H},g):!a&&V.current&&m?C=h({...H,className:m},g):p||!a&&!m?C=h({...H,style:{display:"none"}},g):C=null;else{let D;y===be?D="prepare":lo(y)?D="active":y===Je&&(D="start");const M=An(d,`${S}-${D}`);C=h({...H,className:Re(An(d,S),{[M]:M&&D,[d]:typeof d=="string"}),style:w},g)}return s.isValidElement(C)&&an(C)&&(ln(C)||(C=s.cloneElement(C,{ref:g}))),C});return o.displayName="CSSMotion",o}const po=pr(sr);function mr(e){const{prefixCls:n,align:t,arrow:o,arrowPos:r}=e,{className:i,content:f}=o||{},{x:a=0,y:p=0}=r,h=s.useRef(null);if(!t||!t.points)return null;const d={position:"absolute"};if(t.autoArrow!==!1){const m=t.points[0],b=t.points[1],R=m[0],E=m[1],g=b[0],c=b[1];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}return s.createElement("div",{ref:h,className:Re(`${n}-arrow`,i),style:d},f)}function sn(){return sn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},sn.apply(this,arguments)}function hr(e){const{prefixCls:n,open:t,zIndex:o,mask:r,motion:i}=e;return r?s.createElement(po,sn({},i,{motionAppear:!0,visible:t,removeOnLeave:!0}),({className:f})=>s.createElement("div",{style:{zIndex:o},className:Re(`${n}-mask`,f)})):null}const mo=s.memo(({children:e})=>e,(e,n)=>n.cache);process.env.NODE_ENV!=="production"&&(mo.displayName="PopupContent");function cn(){return cn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},cn.apply(this,arguments)}const ho=s.forwardRef((e,n)=>{var $;const{popup:t,className:o,prefixCls:r,style:i,target:f,onVisibleChanged:a,open:p,keepDom:h,fresh:d,onClick:m,mask:b,arrow:R,arrowPos:E,align:g,motion:c,maskMotion:P,forceRender:y,getPopupContainer:w,autoDestroy:L,portal:S,zIndex:V,onMouseEnter:W,onMouseLeave:C,onPointerEnter:H,onPointerDownCapture:D,ready:M,offsetX:B,offsetY:z,offsetR:F,offsetB:T,onAlign:x,onPrepare:fe,stretch:U,targetWidth:ae,targetHeight:G}=e,me=typeof t=="function"?t():t,J=p||h,ee=(w==null?void 0:w.length)>0,[Q,re]=s.useState(!w||!ee);if(pe(()=>{!Q&&ee&&f&&re(!0)},[Q,ee,f]),!Q)return null;const X="auto",_={left:"-1000vw",top:"-1000vh",right:X,bottom:X};if(M||!p){const{points:te}=g,q=g.dynamicInset||(($=g._experimental)==null?void 0:$.dynamicInset),k=q&&te[0][1]==="r",Se=q&&te[0][0]==="b";k?(_.right=F,_.left=X):(_.left=B,_.right=X),Se?(_.bottom=T,_.top=X):(_.top=z,_.bottom=X)}const I={};return U&&(U.includes("height")&&G?I.height=G:U.includes("minHeight")&&G&&(I.minHeight=G),U.includes("width")&&ae?I.width=ae:U.includes("minWidth")&&ae&&(I.minWidth=ae)),p||(I.pointerEvents="none"),s.createElement(S,{open:y||J,getContainer:w&&(()=>w(f)),autoDestroy:L},s.createElement(hr,{prefixCls:r,open:p,zIndex:V,mask:b,motion:P}),s.createElement(At,{onResize:x,disabled:!p},te=>s.createElement(po,cn({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:y,leavedClassName:`${r}-hidden`},c,{onAppearPrepare:fe,onEnterPrepare:fe,visible:p,onVisibleChanged:q=>{var k;(k=c==null?void 0:c.onVisibleChanged)==null||k.call(c,q),a(q)}}),({className:q,style:k},Se)=>{const l=Re(r,q,o);return s.createElement("div",{ref:Yn(te,n,Se),className:l,style:{"--arrow-x":`${E.x||0}px`,"--arrow-y":`${E.y||0}px`,..._,...I,...k,boxSizing:"border-box",zIndex:V,...i},onMouseEnter:W,onMouseLeave:C,onPointerEnter:H,onClick:m,onPointerDownCapture:D},R&&s.createElement(mr,{prefixCls:r,arrow:R,arrowPos:E,align:g}),s.createElement(mo,{cache:!p&&!d},me))})))});process.env.NODE_ENV!=="production"&&(ho.displayName="Popup");const Ln=s.createContext(null);function In(e){return e?Array.isArray(e)?e:[e]:[]}function gr(e,n,t,o){return s.useMemo(()=>{const r=In(t??n),i=In(o??n),f=new Set(r),a=new Set(i);return e&&(f.has("hover")&&(f.delete("hover"),f.add("click")),a.has("hover")&&(a.delete("hover"),a.add("click"))),[f,a]},[e,n,t,o])}const yr=e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){const{width:n,height:t}=e.getBBox();if(n||t)return!0}if(e.getBoundingClientRect){const{width:n,height:t}=e.getBoundingClientRect();if(n||t)return!0}}return!1};function br(e=[],n=[],t){return t?e[0]===n[0]:e[0]===n[0]&&e[1]===n[1]}function vr(e,n,t,o){var f;const{points:r}=t,i=Object.keys(e);for(let a=0;a<i.length;a+=1){const p=i[a];if(br((f=e[p])==null?void 0:f.points,r,o))return`${n}-placement-${p}`}return""}function dt(e){return e.ownerDocument.defaultView}function un(e){const n=[];let t=e==null?void 0:e.parentElement;const o=["hidden","scroll","clip","auto"];for(;t;){const{overflowX:r,overflowY:i,overflow:f}=dt(t).getComputedStyle(t);[r,i,f].some(a=>o.includes(a))&&n.push(t),t=t.parentElement}return n}function lt(e,n=1){return Number.isNaN(e)?n:e}function ft(e){return lt(parseFloat(e),0)}function $n(e,n){const t={...e};return(n||[]).forEach(o=>{if(o instanceof HTMLBodyElement||o instanceof HTMLHtmlElement)return;const{overflow:r,overflowClipMargin:i,borderTopWidth:f,borderBottomWidth:a,borderLeftWidth:p,borderRightWidth:h}=dt(o).getComputedStyle(o),d=o.getBoundingClientRect(),{offsetHeight:m,clientHeight:b,offsetWidth:R,clientWidth:E}=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-b-g-c)*L,W=g*L,C=c*L,H=P*w,D=y*w;let M=0,B=0;if(r==="clip"){const fe=ft(i);M=fe*w,B=fe*L}const z=d.x+H-M,F=d.y+W-B,T=z+d.width+2*M-H-D-S,x=F+d.height+2*B-W-C-V;t.left=Math.max(t.left,z),t.top=Math.max(t.top,F),t.right=Math.min(t.right,T),t.bottom=Math.min(t.bottom,x)}),t}function Dn(e,n=0){const t=`${n}`,o=t.match(/^(.*)\%$/);return o?e*(parseFloat(o[1])/100):parseFloat(t)}function kn(e,n){const[t,o]=n||[];return[Dn(e.width,t),Dn(e.height,o)]}function Vn(e=""){return[e[0],e[1]]}function Ze(e,n){const t=n[0],o=n[1];let r,i;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,{x:r,y:i}}function De(e,n){const t={t:"b",b:"t",l:"r",r:"l"};return e.map((o,r)=>r===n?t[o]||"c":o).join("")}function Er(e,n,t,o,r,i,f){const[a,p]=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r[o]||{}}),h=s.useRef(0),d=s.useMemo(()=>n?un(n):[],[n]),m=s.useRef({});e||(()=>{m.current={}})();const R=Ee(()=>{var c,P;if(n&&t&&e){let de=function(v,ue,u=Ne){const Y=x.x+v,oe=x.y+ue,$e=Y+Q,Ce=oe+ee,zt=Math.max(Y,u.left),Rt=Math.max(oe,u.top),go=Math.min($e,u.right),yo=Math.min(Ce,u.bottom);return Math.max(0,(go-zt)*(yo-Rt))},Fe=function(){Ye=x.y+j,Xe=Ye+ee,ve=x.x+N,Oe=ve+Q};const y=n,w=y.ownerDocument,L=dt(y),{width:S,height:V,position:W}=L.getComputedStyle(y),C=y.style.left,H=y.style.top,D=y.style.right,M=y.style.bottom,B=y.style.overflow,z={...r[o],...i},F=w.createElement("div");(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";let T;if(Array.isArray(t))T={x:t[0],y:t[1],width:0,height:0};else{const v=t.getBoundingClientRect();v.x=v.x??v.left,v.y=v.y??v.top,T={x:v.x,y:v.y,width:v.width,height:v.height}}const x=y.getBoundingClientRect();x.x=x.x??x.left,x.y=x.y??x.top;const{clientWidth:fe,clientHeight:U,scrollWidth:ae,scrollHeight:G,scrollTop:me,scrollLeft:J}=w.documentElement,ee=x.height,Q=x.width,re=T.height,X=T.width,_={left:0,top:0,right:fe,bottom:U},I={left:-J,top:-me,right:ae-J,bottom:G-me};let{htmlRegion:$}=z;const te="visible",q="visibleFirst";$!=="scroll"&&$!==q&&($=te);const k=$===q,Se=$n(I,d),l=$n(_,d),Ne=$===te?l:Se,Z=k?l:Ne;y.style.left="auto",y.style.top="auto",y.style.right="0",y.style.bottom="0";const ke=y.getBoundingClientRect();y.style.left=C,y.style.top=H,y.style.right=D,y.style.bottom=M,y.style.overflow=B,(P=y.parentElement)==null||P.removeChild(F);const xe=lt(Math.round(Q/parseFloat(S)*1e3)/1e3),Ae=lt(Math.round(ee/parseFloat(V)*1e3)/1e3);if(xe===0||Ae===0||at(t)&&!yr(t))return;const{offset:He,targetOffset:se}=z;let[ie,ye]=kn(x,He);const[Lt,pt]=kn(T,se);T.x-=Lt,T.y-=pt;const[ce,It]=z.points||[],le=Vn(It),ne=Vn(ce),tt=Ze(T,le),nt=Ze(x,ne),Pe={...z};let N=tt.x-nt.x+ie,j=tt.y-nt.y+ye;const he=de(N,j),Ve=de(N,j,l),ze=Ze(T,["t","l"]),mt=Ze(x,["t","l"]),We=Ze(T,["b","r"]),ht=Ze(x,["b","r"]),$t=z.overflow||{},{adjustX:Dt,adjustY:kt,shiftX:gt,shiftY:yt}=$t,bt=v=>typeof v=="boolean"?v:v>=0;let Ye,Xe,ve,Oe;Fe();const Le=bt(kt),ot=ne[0]===le[0];if(Le&&ne[0]==="t"&&(Xe>Z.bottom||m.current.bt)){let v=j;ot?v-=ee-re:v=ze.y-ht.y-ye;const ue=de(N,v),u=de(N,v,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.bt=!0,j=v,ye=-ye,Pe.points=[De(ne,0),De(le,0)]):m.current.bt=!1}if(Le&&ne[0]==="b"&&(Ye<Z.top||m.current.tb)){let v=j;ot?v+=ee-re:v=We.y-mt.y-ye;const ue=de(N,v),u=de(N,v,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.tb=!0,j=v,ye=-ye,Pe.points=[De(ne,0),De(le,0)]):m.current.tb=!1}const je=bt(Dt),Te=ne[1]===le[1];if(je&&ne[1]==="l"&&(Oe>Z.right||m.current.rl)){let v=N;Te?v-=Q-X:v=ze.x-ht.x-ie;const ue=de(v,j),u=de(v,j,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.rl=!0,N=v,ie=-ie,Pe.points=[De(ne,1),De(le,1)]):m.current.rl=!1}if(je&&ne[1]==="r"&&(ve<Z.left||m.current.lr)){let v=N;Te?v+=Q-X:v=We.x-mt.x-ie;const ue=de(v,j),u=de(v,j,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.lr=!0,N=v,ie=-ie,Pe.points=[De(ne,1),De(le,1)]):m.current.lr=!1}Fe();const qe=gt===!0?0:gt;typeof qe=="number"&&(ve<l.left&&(N-=ve-l.left-ie,T.x+X<l.left+qe&&(N+=T.x-l.left+X-qe)),Oe>l.right&&(N-=Oe-l.right-ie,T.x>l.right-qe&&(N+=T.x-l.right+qe)));const Be=yt===!0?0:yt;typeof Be=="number"&&(Ye<l.top&&(j-=Ye-l.top-ye,T.y+re<l.top+Be&&(j+=T.y-l.top+re-Be)),Xe>l.bottom&&(j-=Xe-l.bottom-ye,T.y>l.bottom-Be&&(j+=T.y-l.bottom+Be)));const rt=x.x+N,Vt=rt+Q,st=x.y+j,Wt=st+ee,it=T.x,Yt=it+X,vt=T.y,Ft=vt+re,Ie=Math.max(rt,it),jt=Math.min(Vt,Yt),Bt=(Ie+jt)/2-rt,ct=Math.max(st,vt),Et=Math.min(Wt,Ft),Ue=(ct+Et)/2-st;f==null||f(n,Pe);let Qe=ke.right-x.x-(N+x.width),wt=ke.bottom-x.y-(j+x.height);xe===1&&(N=Math.round(N),Qe=Math.round(Qe)),Ae===1&&(j=Math.round(j),wt=Math.round(wt));const Ht={ready:!0,offsetX:N/xe,offsetY:j/Ae,offsetR:Qe/xe,offsetB:wt/Ae,arrowX:Bt/xe,arrowY:Ue/Ae,scaleX:xe,scaleY:Ae,align:Pe};p(Ht)}}),E=()=>{h.current+=1;const c=h.current;Promise.resolve().then(()=>{h.current===c&&R()})},g=()=>{p(c=>({...c,ready:!1}))};return pe(g,[o]),pe(()=>{e||g()},[e]),[a.ready,a.offsetX,a.offsetY,a.offsetR,a.offsetB,a.arrowX,a.arrowY,a.scaleX,a.scaleY,a.align,E]}function wr(e,n,t,o,r){pe(()=>{if(e&&n&&t){let m=function(){o(),r()};const i=n,f=t,a=un(i),p=un(f),h=dt(f),d=new Set([h,...a,...p]);return d.forEach(b=>{b.addEventListener("scroll",m,{passive:!0})}),h.addEventListener("resize",m,{passive:!0}),o(),()=>{d.forEach(b=>{b.removeEventListener("scroll",m),h.removeEventListener("resize",m)})}}},[e,n,t])}function Rr(e,n,t,o,r,i,f,a){const p=s.useRef(e);p.current=e;const h=s.useRef(!1);s.useEffect(()=>{var m,b;if(n&&o&&(!r||i)){const R=()=>{h.current=!1},E=P=>{var y,w;p.current&&!f(((w=(y=P.composedPath)==null?void 0:y.call(P))==null?void 0:w[0])||P.target)&&!h.current&&a(!1)},g=dt(o);g.addEventListener("pointerdown",R,!0),g.addEventListener("mousedown",E,!0),g.addEventListener("contextmenu",E,!0);const c=on(t);if(c&&(c.addEventListener("mousedown",E,!0),c.addEventListener("contextmenu",E,!0)),process.env.NODE_ENV!=="production"){const P=(m=t==null?void 0:t.getRootNode)==null?void 0:m.call(t),y=(b=o.getRootNode)==null?void 0:b.call(o);Ct(P===y,"trigger element and popup element should in same shadow root.")}return()=>{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))}}},[n,t,o,r,i]);function d(){h.current=!0}return d}function Sr(e=mn){const n=s.forwardRef((t,o)=>{const{prefixCls:r="rc-trigger-popup",children:i,action:f="hover",showAction:a,hideAction:p,popupVisible:h,defaultPopupVisible:d,onOpenChange:m,afterOpenChange:b,onPopupVisibleChange:R,afterPopupVisibleChange:E,mouseEnterDelay:g,mouseLeaveDelay:c=.1,focusDelay:P,blurDelay:y,mask:w,maskClosable:L=!0,getPopupContainer:S,forceRender:V,autoDestroy:W,popup:C,popupClassName:H,popupStyle:D,popupPlacement:M,builtinPlacements:B={},popupAlign:z,zIndex:F,stretch:T,getPopupClassNameFromAlign:x,fresh:fe,alignPoint:U,onPopupClick:ae,onPopupAlign:G,arrow:me,popupMotion:J,maskMotion:ee,...Q}=t,re=W||!1,[X,_]=s.useState(!1);pe(()=>{_(er())},[]);const I=s.useRef({}),$=s.useContext(Ln),te=s.useMemo(()=>({registerSubPopup:(u,Y)=>{I.current[u]=Y,$==null||$.registerSubPopup(u,Y)}}),[$]),q=eo(),[k,Se]=s.useState(null),l=s.useRef(null),Ne=Ee(u=>{l.current=u,at(u)&&k!==u&&Se(u),$==null||$.registerSubPopup(q,u)}),[Z,ke]=s.useState(null),xe=s.useRef(null),Ae=Ee(u=>{at(u)&&Z!==u&&(ke(u),xe.current=u)}),He=s.Children.only(i),se=(He==null?void 0:He.props)||{},ie={},ye=Ee(u=>{var oe,$e;const Y=Z;return(Y==null?void 0:Y.contains(u))||((oe=on(Y))==null?void 0:oe.host)===u||u===Y||(k==null?void 0:k.contains(u))||(($e=on(k))==null?void 0:$e.host)===u||u===k||Object.values(I.current).some(Ce=>(Ce==null?void 0:Ce.contains(u))||u===Ce)}),[Lt,pt]=s.useState(d||!1),ce=h??Lt,It=Ee(u=>{h===void 0&&pt(u)});pe(()=>{pt(h||!1)},[h]);const le=s.useRef(ce);le.current=ce;const ne=s.useRef([]);ne.current=[];const tt=Ee(u=>{It(u),(ne.current[ne.current.length-1]??ce)!==u&&(ne.current.push(u),m==null||m(u),R==null||R(u))}),nt=s.useRef(null),Pe=()=>{clearTimeout(nt.current)},N=(u,Y=0)=>{Pe(),Y===0?tt(u):nt.current=setTimeout(()=>{tt(u)},Y*1e3)};s.useEffect(()=>Pe,[]);const[j,de]=s.useState(!1);pe(u=>{(!u||ce)&&de(!0)},[ce]);const[he,Ve]=s.useState(null),[ze,mt]=s.useState(null),We=u=>{mt([u.clientX,u.clientY])},[ht,$t,Dt,kt,gt,yt,bt,Ye,Xe,ve,Oe]=Er(ce,k,U&&ze!==null?ze:Z,M,B,z,G),[Fe,Le]=gr(X,f,a,p),ot=Fe.has("click"),je=Le.has("click")||Le.has("contextMenu"),Te=Ee(()=>{j||Oe()});wr(ce,Z,k,Te,()=>{le.current&&U&&je&&N(!1)}),pe(()=>{Te()},[ze,M]),pe(()=>{ce&&!(B!=null&&B[M])&&Te()},[JSON.stringify(z)]);const Be=s.useMemo(()=>{const u=vr(B,r,ve,U);return Re(u,x==null?void 0:x(ve))},[ve,x,B,r,U]);s.useImperativeHandle(o,()=>({nativeElement:xe.current,popupElement:l.current,forceAlign:Te}));const[rt,Vt]=s.useState(0),[st,Wt]=s.useState(0),it=()=>{if(T&&Z){const u=Z.getBoundingClientRect();Vt(u.width),Wt(u.height)}},Yt=()=>{it(),Te()},vt=u=>{de(!1),Oe(),b==null||b(u),E==null||E(u)},Ft=()=>new Promise(u=>{it(),Ve(()=>u)});pe(()=>{he&&(Oe(),he(),Ve(null))},[he]);function Ie(u,Y,oe,$e){ie[u]=(Ce,...zt)=>{var Rt;$e==null||$e(Ce),N(Y,oe),(Rt=se[u])==null||Rt.call(se,Ce,...zt)}}(ot||je)&&(ie.onClick=(u,...Y)=>{var oe;le.current&&je?N(!1):!le.current&&ot&&(We(u),N(!0)),(oe=se.onClick)==null||oe.call(se,u,...Y)});const jt=Rr(ce,je,Z,k,w,L,ye,N),gn=Fe.has("hover"),Bt=Le.has("hover");let ct,Et;gn&&(Ie("onMouseEnter",!0,g,u=>{We(u)}),Ie("onPointerEnter",!0,g,u=>{We(u)}),ct=u=>{(ce||j)&&(k!=null&&k.contains(u.target))&&N(!0,g)},U&&(ie.onMouseMove=u=>{var Y;(Y=se.onMouseMove)==null||Y.call(se,u)})),Bt&&(Ie("onMouseLeave",!1,c),Ie("onPointerLeave",!1,c),Et=()=>{N(!1,c)}),Fe.has("focus")&&Ie("onFocus",!0,P),Le.has("focus")&&Ie("onBlur",!1,y),Fe.has("contextMenu")&&(ie.onContextMenu=(u,...Y)=>{var oe;le.current&&Le.has("contextMenu")?N(!1):(We(u),N(!0)),u.preventDefault(),(oe=se.onContextMenu)==null||oe.call(se,u,...Y)});const ut=s.useRef(!1);ut.current||(ut.current=V||ce||j);const Ue={...se,...ie},Qe={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(u=>{Q[u]&&(Qe[u]=(...Y)=>{var oe;(oe=Ue[u])==null||oe.call(Ue,...Y),Q[u](...Y)})});const Ht={x:yt,y:bt},v=me?{...me!==!0?me:{}}:null,ue=s.cloneElement(He,{...Ue,...Qe});return s.createElement(s.Fragment,null,s.createElement(At,{disabled:!ce,ref:Ae,onResize:Yt},ue),ut.current&&s.createElement(Ln.Provider,{value:te},s.createElement(ho,{portal:e,ref:Ne,prefixCls:r,popup:C,className:Re(H,Be),style:D,target:Z,onMouseEnter:ct,onMouseLeave:Et,onPointerEnter:ct,zIndex:F,open:ce,keepDom:j,fresh:fe,onClick:ae,onPointerDownCapture:jt,mask:w,motion:J,maskMotion:ee,onVisibleChanged:vt,onPrepare:Ft,forceRender:V,autoDestroy:re,getPopupContainer:S,align:ve,arrow:v,arrowPos:Ht,ready:ht,offsetX:$t,offsetY:Dt,offsetR:kt,offsetB:gt,onAlign:Te,stretch:T,targetWidth:rt/Ye,targetHeight:st/Xe})))});return process.env.NODE_ENV!=="production"&&(n.displayName="Trigger"),n}const xr=Sr(mn),Ge={shiftX:64,adjustY:1},Ke={adjustX:1,shiftY:!0},ge=[0,0],Pr={left:{points:["cr","cl"],overflow:Ke,offset:[-4,0],targetOffset:ge},right:{points:["cl","cr"],overflow:Ke,offset:[4,0],targetOffset:ge},top:{points:["bc","tc"],overflow:Ge,offset:[0,-4],targetOffset:ge},bottom:{points:["tc","bc"],overflow:Ge,offset:[0,4],targetOffset:ge},topLeft:{points:["bl","tl"],overflow:Ge,offset:[0,-4],targetOffset:ge},leftTop:{points:["tr","tl"],overflow:Ke,offset:[-4,0],targetOffset:ge},topRight:{points:["br","tr"],overflow:Ge,offset:[0,-4],targetOffset:ge},rightTop:{points:["tl","tr"],overflow:Ke,offset:[4,0],targetOffset:ge},bottomRight:{points:["tr","br"],overflow:Ge,offset:[0,4],targetOffset:ge},rightBottom:{points:["bl","br"],overflow:Ke,offset:[4,0],targetOffset:ge},bottomLeft:{points:["tl","bl"],overflow:Ge,offset:[0,4],targetOffset:ge},leftBottom:{points:["br","bl"],overflow:Ke,offset:[-4,0],targetOffset:ge}};function fn(){return fn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},fn.apply(this,arguments)}const Tr=s.forwardRef((e,n)=>{const{overlayClassName:t,trigger:o=["hover"],mouseEnterDelay:r=0,mouseLeaveDelay:i=.1,overlayStyle:f,prefixCls:a="rc-tooltip",children:p,onVisibleChange:h,afterVisibleChange:d,motion:m,placement:b="right",align:R={},destroyOnHidden:E=!1,defaultVisible:g,getTooltipContainer:c,overlayInnerStyle:P,arrowContent:y,overlay:w,id:L,showArrow:S=!0,classNames:V,styles:W,...C}=e,H=eo(L),D=K.useRef(null);K.useImperativeHandle(n,()=>D.current);const M={...C};"visible"in e&&(M.popupVisible=e.visible);const B=()=>s.createElement(wo,{key:"content",prefixCls:a,id:H,bodyClassName:V==null?void 0:V.body,overlayInnerStyle:{...P,...W==null?void 0:W.body}},w),z=()=>{const F=s.Children.only(p),x={...(F==null?void 0:F.props)||{},"aria-describedby":w?H:null};return s.cloneElement(p,x)};return s.createElement(xr,fn({popupClassName:Re(t,V==null?void 0:V.root),prefixCls:a,popup:B,action:o,builtinPlacements:Pr,popupPlacement:b,ref:D,popupAlign:R,getPopupContainer:c,onOpenChange:h,afterOpenChange:d,popupMotion:m,defaultPopupVisible:g,autoDestroy:E,mouseLeaveDelay:i,popupStyle:{...f,...W==null?void 0:W.root},mouseEnterDelay:r,arrow:S},M),z())}),Cr="DEPRECATED_Tooltip-module__breakLongWord___kWwu0",Mr="DEPRECATED_Tooltip-module__rcToolTipZoomIn___0ddOq",_r="DEPRECATED_Tooltip-module__rcToolTipZoomOut___kpbOG",Qt={breakLongWord:Cr,rcToolTipZoomIn:Mr,rcToolTipZoomOut:_r},Nr=e=>{const{breakingLongWord:n,hideArrow:t=!1,overlayClassName:o,overlay:r,imgOverlay:i=!1,semanticText:f,...a}=e,p=Re(o,"slf-default",vo.styleguideConstants.SISENSE_NAMESPACE,{"hide-arrow":t,[Qt.breakLongWord]:n,[Qt.semanticText]:f,[Qt.semanticText]:f}),h=()=>typeof r=="string"?i?Xt.jsx("img",{src:r}):Xt.jsx("div",{dangerouslySetInnerHTML:{__html:r}}):r;return Xt.jsx(Tr,{destroyOnHidden:!0,overlay:h(),...a,overlayClassName:p})};exports.DEPRECATED_Tooltip=Nr;
25
+ }`,t)}else Jt(t);return()=>{Jt(t)}},[n,t])}const xn=e=>e===!1?!1:!we()||!e?null:typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e,mn=s.forwardRef((e,n)=>{const{open:t,autoLock:o,getContainer:r,debug:i,autoDestroy:f=!0,children:a}=e,[p,h]=s.useState(t),d=p||t;process.env.NODE_ENV!=="production"&&_t(we()||!t,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),s.useEffect(()=>{(f||t)&&h(t)},[t,f]);const[m,b]=s.useState(()=>xn(r));s.useEffect(()=>{const L=xn(r);b(L??null)});const[R,E]=Do(d&&!m,i),g=m??R;zo(o&&t&&we()&&(g===R||g===document.body));let c=null;a&&an(a)&&n&&(c=ln(a));const P=Fn(c,n);if(!d||!we()||m===void 0)return null;const y=g===!1||$o();let w=a;return n&&(w=s.cloneElement(a,{ref:P})),s.createElement(Hn.Provider,{value:E},y?w:bo.createPortal(w,g))});process.env.NODE_ENV!=="production"&&(mn.displayName="Portal");function en(e,n={}){let t=[];return K.Children.forEach(e,o=>{o==null&&!n.keepEmpty||(Array.isArray(o)?t=t.concat(en(o)):Wn(o)&&o.props?t=t.concat(en(o.props.children,n)):t.push(o))}),t}function at(e){return e instanceof HTMLElement||e instanceof SVGElement}function Qn(e){return e&&typeof e=="object"&&at(e.nativeElement)?e.nativeElement:at(e)?e:null}const tn=s.createContext(null);function Xo({children:e,onBatchResize:n}){const t=s.useRef(0),o=s.useRef([]),r=s.useContext(tn),i=s.useCallback((f,a,p)=>{t.current+=1;const h=t.current;o.current.push({size:f,element:a,data:p}),Promise.resolve().then(()=>{h===t.current&&(n==null||n(o.current),o.current=[])}),r==null||r(f,a,p)},[n,r]);return s.createElement(tn.Provider,{value:i},e)}const _e=new Map;function Zn(e){e.forEach(n=>{var o;const{target:t}=n;(o=_e.get(t))==null||o.forEach(r=>r(t))})}let Ut;function Gn(){return Ut||(Ut=new ResizeObserver(Zn)),Ut}process.env.NODE_ENV;process.env.NODE_ENV;function qo(e,n){_e.has(e)||(_e.set(e,new Set),Gn().observe(e)),_e.get(e).add(n)}function Uo(e,n){_e.has(e)&&(_e.get(e).delete(n),_e.get(e).size||(Gn().unobserve(e),_e.delete(e)))}function Qo(e,n){const{children:t,disabled:o}=e,r=s.useRef(null),i=s.useContext(tn),f=typeof t=="function",a=f?t(r):t,p=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!f&&s.isValidElement(a)&&an(a),d=h?ln(a):null,m=Fn(d,r),b=()=>Qn(r.current);s.useImperativeHandle(n,()=>b());const R=s.useRef(e);R.current=e;const E=s.useCallback(g=>{const{onResize:c,data:P}=R.current,{width:y,height:w}=g.getBoundingClientRect(),{offsetWidth:L,offsetHeight:S}=g,V=Math.floor(y),W=Math.floor(w);if(p.current.width!==V||p.current.height!==W||p.current.offsetWidth!==L||p.current.offsetHeight!==S){const C={width:V,height:W,offsetWidth:L,offsetHeight:S};p.current=C;const H=L===Math.round(y)?y:L,D=S===Math.round(w)?w:S,M={...C,offsetWidth:H,offsetHeight:D};i==null||i(M,g,P),c&&Promise.resolve().then(()=>{c(M,g)})}},[]);return s.useEffect(()=>{const g=b();return g&&!o&&qo(g,E),()=>Uo(g,E)},[r.current,o]),h?s.cloneElement(a,{ref:m}):a}const Kn=s.forwardRef(Qo);process.env.NODE_ENV!=="production"&&(Kn.displayName="SingleObserver");function nn(){return nn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},nn.apply(this,arguments)}const Zo="rc-observer-key";function Go(e,n){const{children:t}=e,o=typeof t=="function"?[t]:en(t);return process.env.NODE_ENV!=="production"&&(o.length>1?Ct(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):o.length===0&&Ct(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),o.map((r,i)=>{const f=(r==null?void 0:r.key)||`${Zo}-${i}`;return s.createElement(Kn,nn({},e,{key:f,ref:i===0?n:void 0}),r)})}const At=s.forwardRef(Go);process.env.NODE_ENV!=="production"&&(At.displayName="ResizeObserver");At.Collection=Xo;function Jn(e){var n;return(n=e==null?void 0:e.getRootNode)==null?void 0:n.call(e)}function Ko(e){return Jn(e)instanceof ShadowRoot}function on(e){return Ko(e)?Jn(e):null}function Ee(e){const n=s.useRef();return n.current=e,s.useCallback((...o)=>{var r;return(r=n.current)==null?void 0:r.call(n,...o)},[])}function Jo(){return{...s}.useId}let Pn=0;const Tn=Jo(),eo=Tn?function(n){const t=Tn();return n||(process.env.NODE_ENV==="test"?"test-id":t)}:function(n){const[t,o]=s.useState("ssr-id");return s.useEffect(()=>{const r=Pn;Pn+=1,o(`rc_unique_${r}`)},[]),n||(process.env.NODE_ENV==="test"?"test-id":t)},er=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;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))},tr=s.createContext({});function rn(e){const n=s.useRef(!1),[t,o]=s.useState(e);s.useEffect(()=>(n.current=!1,()=>{n.current=!0}),[]);function r(i,f){f&&n.current||o(i)}return[t,r]}function nr(e){const[,n]=s.useReducer(i=>i+1,0),t=s.useRef(e),o=Ee(()=>t.current),r=Ee(i=>{t.current=typeof i=="function"?i(t.current):i,n()});return[o,r]}const Me="none",St="appear",xt="enter",Pt="leave",Cn="none",be="prepare",Je="start",et="active",hn="end",to="prepared";function Mn(e,n){const t={};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}function or(e,n){const t={animationend:Mn("Animation","AnimationEnd"),transitionend:Mn("Transition","TransitionEnd")};return e&&("AnimationEvent"in n||delete t.animationend.animation,"TransitionEvent"in n||delete t.transitionend.transition),t}const rr=or(we(),typeof window<"u"?window:{});let no={};we()&&({style:no}=document.createElement("div"));const Tt={};function oo(e){if(Tt[e])return Tt[e];const n=rr[e];if(n){const t=Object.keys(n),o=t.length;for(let r=0;r<o;r+=1){const i=t[r];if(Object.prototype.hasOwnProperty.call(n,i)&&i in no)return Tt[e]=n[i],Tt[e]}}return""}const ro=oo("animationend"),so=oo("transitionend"),sr=!!(ro&&so),_n=ro||"animationend",Nn=so||"transitionend";function An(e,n){if(!e)return null;if(typeof e=="object"){const t=n.replace(/-\w/g,o=>o[1].toUpperCase());return e[t]}return`${e}-${n}`}const ir=e=>{const n=K.useRef();function t(r){r&&(r.removeEventListener(Nn,e),r.removeEventListener(_n,e))}function o(r){n.current&&n.current!==r&&t(n.current),r&&r!==n.current&&(r.addEventListener(Nn,e),r.addEventListener(_n,e),n.current=r)}return s.useEffect(()=>()=>{t(n.current)},[]),[o,t]},io=we()?K.useLayoutEffect:K.useEffect;let co=e=>+setTimeout(e,16),uo=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(co=e=>window.requestAnimationFrame(e),uo=e=>window.cancelAnimationFrame(e));let On=0;const Ot=new Map;function fo(e){Ot.delete(e)}const Mt=(e,n=1)=>{On+=1;const t=On;function o(r){if(r===0)fo(t),e();else{const i=co(()=>{o(r-1)});Ot.set(t,i)}}return o(n),t};Mt.cancel=e=>{const n=Ot.get(e);return fo(e),uo(n)};process.env.NODE_ENV!=="production"&&(Mt.ids=()=>Ot);const cr=()=>{const e=s.useRef(null);function n(){Mt.cancel(e.current)}function t(o,r=2){n();const i=Mt(()=>{r<=1?o({isCanceled:()=>i!==e.current}):t(o,r-1)});e.current=i}return s.useEffect(()=>()=>{n()},[]),[t,n]},ur=[be,Je,et,hn],fr=[be,to],ao=!1,ar=!0;function lo(e){return e===et||e===hn}const lr=(e,n,t)=>{const[o,r]=rn(Cn),[i,f]=cr();function a(){r(be,!0)}const p=n?fr:ur;return io(()=>{if(o!==Cn&&o!==hn){const h=p.indexOf(o),d=p[h+1],m=t(o);m===ao?r(d,!0):d&&i(b=>{function R(){b.isCanceled()||r(d,!0)}m===!0?R():Promise.resolve(m).then(R)})}},[e,o]),s.useEffect(()=>()=>{f()},[]),[a,o]};function dr(e,n,t,{motionEnter:o=!0,motionAppear:r=!0,motionLeave:i=!0,motionDeadline:f,motionLeaveImmediately:a,onAppearPrepare:p,onEnterPrepare:h,onLeavePrepare:d,onAppearStart:m,onEnterStart:b,onLeaveStart:R,onAppearActive:E,onEnterActive:g,onLeaveActive:c,onAppearEnd:P,onEnterEnd:y,onLeaveEnd:w,onVisibleChanged:L}){const[S,V]=rn(),[W,C]=nr(Me),[H,D]=rn(null),M=W(),B=K.useRef(!1),z=K.useRef(null);function F(){return t()}const T=K.useRef(!1);function x(){C(Me),D(null,!0)}const fe=Ee(_=>{const I=W();if(I===Me)return;const $=F();if(_&&!_.deadline&&_.target!==$)return;const te=T.current;let q;I===St&&te?q=P==null?void 0:P($,_):I===xt&&te?q=y==null?void 0:y($,_):I===Pt&&te&&(q=w==null?void 0:w($,_)),te&&q!==!1&&x()}),[U]=ir(fe),ae=_=>{switch(_){case St:return{[be]:p,[Je]:m,[et]:E};case xt:return{[be]:h,[Je]:b,[et]:g};case Pt:return{[be]:d,[Je]:R,[et]:c};default:return{}}},G=s.useMemo(()=>ae(M),[M]),[me,J]=lr(M,!e,_=>{var I;if(_===be){const $=G[be];return $?$(F()):ao}return J in G&&D(((I=G[J])==null?void 0:I.call(G,F(),null))||null),J===et&&M!==Me&&(U(F()),f>0&&(clearTimeout(z.current),z.current=setTimeout(()=>{fe({deadline:!0})},f))),J===to&&x(),ar}),ee=lo(J);T.current=ee;const Q=K.useRef(null);io(()=>{if(B.current&&Q.current===n)return;V(n);const _=B.current;B.current=!0;let I;!_&&n&&r&&(I=St),_&&n&&o&&(I=xt),(_&&!n&&i||!_&&a&&!n&&i)&&(I=Pt);const $=ae(I);I&&(e||$[be])?(C(I),me()):C(Me),Q.current=n},[n]),K.useEffect(()=>{(M===St&&!r||M===xt&&!o||M===Pt&&!i)&&C(Me)},[r,o,i]),K.useEffect(()=>()=>{B.current=!1,clearTimeout(z.current)},[]);const re=s.useRef(!1);K.useEffect(()=>{S&&(re.current=!0),S!==void 0&&M===Me&&((re.current||S)&&(L==null||L(S)),re.current=!0)},[S,M]);let X=H;return G[be]&&J===Je&&(X={transition:"none",...X}),[W,J,X,S??n]}function pr(e){let n=e;typeof e=="object"&&({transitionSupport:n}=e);function t(r,i){return!!(r.motionName&&n&&i!==!1)}const o=s.forwardRef((r,i)=>{const{visible:f=!0,removeOnLeave:a=!0,forceRender:p,children:h,motionName:d,leavedClassName:m,eventProps:b}=r,{motion:R}=s.useContext(tr),E=t(r,R),g=K.useRef();function c(){return Qn(g.current)}const[P,y,w,L]=dr(E,f,c,r),S=P(),V=s.useRef(L);L&&(V.current=!0);const W=s.useMemo(()=>{const D={};return Object.defineProperties(D,{nativeElement:{enumerable:!0,get:c},inMotion:{enumerable:!0,get:()=>()=>P()!==Me},enableMotion:{enumerable:!0,get:()=>()=>E}}),D},[]);s.useImperativeHandle(i,()=>W,[]);let C;const H={...b,visible:f};if(!h)C=null;else if(S===Me)L?C=h({...H},g):!a&&V.current&&m?C=h({...H,className:m},g):p||!a&&!m?C=h({...H,style:{display:"none"}},g):C=null;else{let D;y===be?D="prepare":lo(y)?D="active":y===Je&&(D="start");const M=An(d,`${S}-${D}`);C=h({...H,className:Re(An(d,S),{[M]:M&&D,[d]:typeof d=="string"}),style:w},g)}return s.isValidElement(C)&&an(C)&&(ln(C)||(C=s.cloneElement(C,{ref:g}))),C});return o.displayName="CSSMotion",o}const po=pr(sr);function mr(e){const{prefixCls:n,align:t,arrow:o,arrowPos:r}=e,{className:i,content:f}=o||{},{x:a=0,y:p=0}=r,h=s.useRef(null);if(!t||!t.points)return null;const d={position:"absolute"};if(t.autoArrow!==!1){const m=t.points[0],b=t.points[1],R=m[0],E=m[1],g=b[0],c=b[1];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}return s.createElement("div",{ref:h,className:Re(`${n}-arrow`,i),style:d},f)}function sn(){return sn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},sn.apply(this,arguments)}function hr(e){const{prefixCls:n,open:t,zIndex:o,mask:r,motion:i}=e;return r?s.createElement(po,sn({},i,{motionAppear:!0,visible:t,removeOnLeave:!0}),({className:f})=>s.createElement("div",{style:{zIndex:o},className:Re(`${n}-mask`,f)})):null}const mo=s.memo(({children:e})=>e,(e,n)=>n.cache);process.env.NODE_ENV!=="production"&&(mo.displayName="PopupContent");function cn(){return cn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},cn.apply(this,arguments)}const ho=s.forwardRef((e,n)=>{var $;const{popup:t,className:o,prefixCls:r,style:i,target:f,onVisibleChanged:a,open:p,keepDom:h,fresh:d,onClick:m,mask:b,arrow:R,arrowPos:E,align:g,motion:c,maskMotion:P,forceRender:y,getPopupContainer:w,autoDestroy:L,portal:S,zIndex:V,onMouseEnter:W,onMouseLeave:C,onPointerEnter:H,onPointerDownCapture:D,ready:M,offsetX:B,offsetY:z,offsetR:F,offsetB:T,onAlign:x,onPrepare:fe,stretch:U,targetWidth:ae,targetHeight:G}=e,me=typeof t=="function"?t():t,J=p||h,ee=(w==null?void 0:w.length)>0,[Q,re]=s.useState(!w||!ee);if(pe(()=>{!Q&&ee&&f&&re(!0)},[Q,ee,f]),!Q)return null;const X="auto",_={left:"-1000vw",top:"-1000vh",right:X,bottom:X};if(M||!p){const{points:te}=g,q=g.dynamicInset||(($=g._experimental)==null?void 0:$.dynamicInset),k=q&&te[0][1]==="r",Se=q&&te[0][0]==="b";k?(_.right=F,_.left=X):(_.left=B,_.right=X),Se?(_.bottom=T,_.top=X):(_.top=z,_.bottom=X)}const I={};return U&&(U.includes("height")&&G?I.height=G:U.includes("minHeight")&&G&&(I.minHeight=G),U.includes("width")&&ae?I.width=ae:U.includes("minWidth")&&ae&&(I.minWidth=ae)),p||(I.pointerEvents="none"),s.createElement(S,{open:y||J,getContainer:w&&(()=>w(f)),autoDestroy:L},s.createElement(hr,{prefixCls:r,open:p,zIndex:V,mask:b,motion:P}),s.createElement(At,{onResize:x,disabled:!p},te=>s.createElement(po,cn({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:y,leavedClassName:`${r}-hidden`},c,{onAppearPrepare:fe,onEnterPrepare:fe,visible:p,onVisibleChanged:q=>{var k;(k=c==null?void 0:c.onVisibleChanged)==null||k.call(c,q),a(q)}}),({className:q,style:k},Se)=>{const l=Re(r,q,o);return s.createElement("div",{ref:Yn(te,n,Se),className:l,style:{"--arrow-x":`${E.x||0}px`,"--arrow-y":`${E.y||0}px`,..._,...I,...k,boxSizing:"border-box",zIndex:V,...i},onMouseEnter:W,onMouseLeave:C,onPointerEnter:H,onClick:m,onPointerDownCapture:D},R&&s.createElement(mr,{prefixCls:r,arrow:R,arrowPos:E,align:g}),s.createElement(mo,{cache:!p&&!d},me))})))});process.env.NODE_ENV!=="production"&&(ho.displayName="Popup");const Ln=s.createContext(null);function In(e){return e?Array.isArray(e)?e:[e]:[]}function gr(e,n,t,o){return s.useMemo(()=>{const r=In(t??n),i=In(o??n),f=new Set(r),a=new Set(i);return e&&(f.has("hover")&&(f.delete("hover"),f.add("click")),a.has("hover")&&(a.delete("hover"),a.add("click"))),[f,a]},[e,n,t,o])}const yr=e=>{if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){const{width:n,height:t}=e.getBBox();if(n||t)return!0}if(e.getBoundingClientRect){const{width:n,height:t}=e.getBoundingClientRect();if(n||t)return!0}}return!1};function br(e=[],n=[],t){return t?e[0]===n[0]:e[0]===n[0]&&e[1]===n[1]}function vr(e,n,t,o){var f;const{points:r}=t,i=Object.keys(e);for(let a=0;a<i.length;a+=1){const p=i[a];if(br((f=e[p])==null?void 0:f.points,r,o))return`${n}-placement-${p}`}return""}function dt(e){return e.ownerDocument.defaultView}function un(e){const n=[];let t=e==null?void 0:e.parentElement;const o=["hidden","scroll","clip","auto"];for(;t;){const{overflowX:r,overflowY:i,overflow:f}=dt(t).getComputedStyle(t);[r,i,f].some(a=>o.includes(a))&&n.push(t),t=t.parentElement}return n}function lt(e,n=1){return Number.isNaN(e)?n:e}function ft(e){return lt(parseFloat(e),0)}function $n(e,n){const t={...e};return(n||[]).forEach(o=>{if(o instanceof HTMLBodyElement||o instanceof HTMLHtmlElement)return;const{overflow:r,overflowClipMargin:i,borderTopWidth:f,borderBottomWidth:a,borderLeftWidth:p,borderRightWidth:h}=dt(o).getComputedStyle(o),d=o.getBoundingClientRect(),{offsetHeight:m,clientHeight:b,offsetWidth:R,clientWidth:E}=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-b-g-c)*L,W=g*L,C=c*L,H=P*w,D=y*w;let M=0,B=0;if(r==="clip"){const fe=ft(i);M=fe*w,B=fe*L}const z=d.x+H-M,F=d.y+W-B,T=z+d.width+2*M-H-D-S,x=F+d.height+2*B-W-C-V;t.left=Math.max(t.left,z),t.top=Math.max(t.top,F),t.right=Math.min(t.right,T),t.bottom=Math.min(t.bottom,x)}),t}function Dn(e,n=0){const t=`${n}`,o=t.match(/^(.*)\%$/);return o?e*(parseFloat(o[1])/100):parseFloat(t)}function kn(e,n){const[t,o]=n||[];return[Dn(e.width,t),Dn(e.height,o)]}function Vn(e=""){return[e[0],e[1]]}function Ze(e,n){const t=n[0],o=n[1];let r,i;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,{x:r,y:i}}function De(e,n){const t={t:"b",b:"t",l:"r",r:"l"};return e.map((o,r)=>r===n?t[o]||"c":o).join("")}function Er(e,n,t,o,r,i,f){const[a,p]=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r[o]||{}}),h=s.useRef(0),d=s.useMemo(()=>n?un(n):[],[n]),m=s.useRef({});e||(()=>{m.current={}})();const R=Ee(()=>{var c,P;if(n&&t&&e){let de=function(v,ue,u=Ne){const Y=x.x+v,oe=x.y+ue,$e=Y+Q,Ce=oe+ee,zt=Math.max(Y,u.left),Rt=Math.max(oe,u.top),go=Math.min($e,u.right),yo=Math.min(Ce,u.bottom);return Math.max(0,(go-zt)*(yo-Rt))},Fe=function(){Ye=x.y+j,Xe=Ye+ee,ve=x.x+N,Oe=ve+Q};const y=n,w=y.ownerDocument,L=dt(y),{width:S,height:V,position:W}=L.getComputedStyle(y),C=y.style.left,H=y.style.top,D=y.style.right,M=y.style.bottom,B=y.style.overflow,z={...r[o],...i},F=w.createElement("div");(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";let T;if(Array.isArray(t))T={x:t[0],y:t[1],width:0,height:0};else{const v=t.getBoundingClientRect();v.x=v.x??v.left,v.y=v.y??v.top,T={x:v.x,y:v.y,width:v.width,height:v.height}}const x=y.getBoundingClientRect();x.x=x.x??x.left,x.y=x.y??x.top;const{clientWidth:fe,clientHeight:U,scrollWidth:ae,scrollHeight:G,scrollTop:me,scrollLeft:J}=w.documentElement,ee=x.height,Q=x.width,re=T.height,X=T.width,_={left:0,top:0,right:fe,bottom:U},I={left:-J,top:-me,right:ae-J,bottom:G-me};let{htmlRegion:$}=z;const te="visible",q="visibleFirst";$!=="scroll"&&$!==q&&($=te);const k=$===q,Se=$n(I,d),l=$n(_,d),Ne=$===te?l:Se,Z=k?l:Ne;y.style.left="auto",y.style.top="auto",y.style.right="0",y.style.bottom="0";const ke=y.getBoundingClientRect();y.style.left=C,y.style.top=H,y.style.right=D,y.style.bottom=M,y.style.overflow=B,(P=y.parentElement)==null||P.removeChild(F);const xe=lt(Math.round(Q/parseFloat(S)*1e3)/1e3),Ae=lt(Math.round(ee/parseFloat(V)*1e3)/1e3);if(xe===0||Ae===0||at(t)&&!yr(t))return;const{offset:He,targetOffset:se}=z;let[ie,ye]=kn(x,He);const[Lt,pt]=kn(T,se);T.x-=Lt,T.y-=pt;const[ce,It]=z.points||[],le=Vn(It),ne=Vn(ce),tt=Ze(T,le),nt=Ze(x,ne),Pe={...z};let N=tt.x-nt.x+ie,j=tt.y-nt.y+ye;const he=de(N,j),Ve=de(N,j,l),ze=Ze(T,["t","l"]),mt=Ze(x,["t","l"]),We=Ze(T,["b","r"]),ht=Ze(x,["b","r"]),$t=z.overflow||{},{adjustX:Dt,adjustY:kt,shiftX:gt,shiftY:yt}=$t,bt=v=>typeof v=="boolean"?v:v>=0;let Ye,Xe,ve,Oe;Fe();const Le=bt(kt),ot=ne[0]===le[0];if(Le&&ne[0]==="t"&&(Xe>Z.bottom||m.current.bt)){let v=j;ot?v-=ee-re:v=ze.y-ht.y-ye;const ue=de(N,v),u=de(N,v,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.bt=!0,j=v,ye=-ye,Pe.points=[De(ne,0),De(le,0)]):m.current.bt=!1}if(Le&&ne[0]==="b"&&(Ye<Z.top||m.current.tb)){let v=j;ot?v+=ee-re:v=We.y-mt.y-ye;const ue=de(N,v),u=de(N,v,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.tb=!0,j=v,ye=-ye,Pe.points=[De(ne,0),De(le,0)]):m.current.tb=!1}const je=bt(Dt),Te=ne[1]===le[1];if(je&&ne[1]==="l"&&(Oe>Z.right||m.current.rl)){let v=N;Te?v-=Q-X:v=ze.x-ht.x-ie;const ue=de(v,j),u=de(v,j,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.rl=!0,N=v,ie=-ie,Pe.points=[De(ne,1),De(le,1)]):m.current.rl=!1}if(je&&ne[1]==="r"&&(ve<Z.left||m.current.lr)){let v=N;Te?v+=Q-X:v=We.x-mt.x-ie;const ue=de(v,j),u=de(v,j,l);ue>he||ue===he&&(!k||u>=Ve)?(m.current.lr=!0,N=v,ie=-ie,Pe.points=[De(ne,1),De(le,1)]):m.current.lr=!1}Fe();const qe=gt===!0?0:gt;typeof qe=="number"&&(ve<l.left&&(N-=ve-l.left-ie,T.x+X<l.left+qe&&(N+=T.x-l.left+X-qe)),Oe>l.right&&(N-=Oe-l.right-ie,T.x>l.right-qe&&(N+=T.x-l.right+qe)));const Be=yt===!0?0:yt;typeof Be=="number"&&(Ye<l.top&&(j-=Ye-l.top-ye,T.y+re<l.top+Be&&(j+=T.y-l.top+re-Be)),Xe>l.bottom&&(j-=Xe-l.bottom-ye,T.y>l.bottom-Be&&(j+=T.y-l.bottom+Be)));const rt=x.x+N,Vt=rt+Q,st=x.y+j,Wt=st+ee,it=T.x,Yt=it+X,vt=T.y,Ft=vt+re,Ie=Math.max(rt,it),jt=Math.min(Vt,Yt),Bt=(Ie+jt)/2-rt,ct=Math.max(st,vt),Et=Math.min(Wt,Ft),Ue=(ct+Et)/2-st;f==null||f(n,Pe);let Qe=ke.right-x.x-(N+x.width),wt=ke.bottom-x.y-(j+x.height);xe===1&&(N=Math.round(N),Qe=Math.round(Qe)),Ae===1&&(j=Math.round(j),wt=Math.round(wt));const Ht={ready:!0,offsetX:N/xe,offsetY:j/Ae,offsetR:Qe/xe,offsetB:wt/Ae,arrowX:Bt/xe,arrowY:Ue/Ae,scaleX:xe,scaleY:Ae,align:Pe};p(Ht)}}),E=()=>{h.current+=1;const c=h.current;Promise.resolve().then(()=>{h.current===c&&R()})},g=()=>{p(c=>({...c,ready:!1}))};return pe(g,[o]),pe(()=>{e||g()},[e]),[a.ready,a.offsetX,a.offsetY,a.offsetR,a.offsetB,a.arrowX,a.arrowY,a.scaleX,a.scaleY,a.align,E]}function wr(e,n,t,o,r){pe(()=>{if(e&&n&&t){let m=function(){o(),r()};const i=n,f=t,a=un(i),p=un(f),h=dt(f),d=new Set([h,...a,...p]);return d.forEach(b=>{b.addEventListener("scroll",m,{passive:!0})}),h.addEventListener("resize",m,{passive:!0}),o(),()=>{d.forEach(b=>{b.removeEventListener("scroll",m),h.removeEventListener("resize",m)})}}},[e,n,t])}function Rr(e,n,t,o,r,i,f,a){const p=s.useRef(e);p.current=e;const h=s.useRef(!1);s.useEffect(()=>{var m,b;if(n&&o&&(!r||i)){const R=()=>{h.current=!1},E=P=>{var y,w;p.current&&!f(((w=(y=P.composedPath)==null?void 0:y.call(P))==null?void 0:w[0])||P.target)&&!h.current&&a(!1)},g=dt(o);g.addEventListener("pointerdown",R,!0),g.addEventListener("mousedown",E,!0),g.addEventListener("contextmenu",E,!0);const c=on(t);if(c&&(c.addEventListener("mousedown",E,!0),c.addEventListener("contextmenu",E,!0)),process.env.NODE_ENV!=="production"){const P=(m=t==null?void 0:t.getRootNode)==null?void 0:m.call(t),y=(b=o.getRootNode)==null?void 0:b.call(o);Ct(P===y,"trigger element and popup element should in same shadow root.")}return()=>{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))}}},[n,t,o,r,i]);function d(){h.current=!0}return d}function Sr(e=mn){const n=s.forwardRef((t,o)=>{const{prefixCls:r="rc-trigger-popup",children:i,action:f="hover",showAction:a,hideAction:p,popupVisible:h,defaultPopupVisible:d,onOpenChange:m,afterOpenChange:b,onPopupVisibleChange:R,afterPopupVisibleChange:E,mouseEnterDelay:g,mouseLeaveDelay:c=.1,focusDelay:P,blurDelay:y,mask:w,maskClosable:L=!0,getPopupContainer:S,forceRender:V,autoDestroy:W,popup:C,popupClassName:H,popupStyle:D,popupPlacement:M,builtinPlacements:B={},popupAlign:z,zIndex:F,stretch:T,getPopupClassNameFromAlign:x,fresh:fe,alignPoint:U,onPopupClick:ae,onPopupAlign:G,arrow:me,popupMotion:J,maskMotion:ee,...Q}=t,re=W||!1,[X,_]=s.useState(!1);pe(()=>{_(er())},[]);const I=s.useRef({}),$=s.useContext(Ln),te=s.useMemo(()=>({registerSubPopup:(u,Y)=>{I.current[u]=Y,$==null||$.registerSubPopup(u,Y)}}),[$]),q=eo(),[k,Se]=s.useState(null),l=s.useRef(null),Ne=Ee(u=>{l.current=u,at(u)&&k!==u&&Se(u),$==null||$.registerSubPopup(q,u)}),[Z,ke]=s.useState(null),xe=s.useRef(null),Ae=Ee(u=>{at(u)&&Z!==u&&(ke(u),xe.current=u)}),He=s.Children.only(i),se=(He==null?void 0:He.props)||{},ie={},ye=Ee(u=>{var oe,$e;const Y=Z;return(Y==null?void 0:Y.contains(u))||((oe=on(Y))==null?void 0:oe.host)===u||u===Y||(k==null?void 0:k.contains(u))||(($e=on(k))==null?void 0:$e.host)===u||u===k||Object.values(I.current).some(Ce=>(Ce==null?void 0:Ce.contains(u))||u===Ce)}),[Lt,pt]=s.useState(d||!1),ce=h??Lt,It=Ee(u=>{h===void 0&&pt(u)});pe(()=>{pt(h||!1)},[h]);const le=s.useRef(ce);le.current=ce;const ne=s.useRef([]);ne.current=[];const tt=Ee(u=>{It(u),(ne.current[ne.current.length-1]??ce)!==u&&(ne.current.push(u),m==null||m(u),R==null||R(u))}),nt=s.useRef(null),Pe=()=>{clearTimeout(nt.current)},N=(u,Y=0)=>{Pe(),Y===0?tt(u):nt.current=setTimeout(()=>{tt(u)},Y*1e3)};s.useEffect(()=>Pe,[]);const[j,de]=s.useState(!1);pe(u=>{(!u||ce)&&de(!0)},[ce]);const[he,Ve]=s.useState(null),[ze,mt]=s.useState(null),We=u=>{mt([u.clientX,u.clientY])},[ht,$t,Dt,kt,gt,yt,bt,Ye,Xe,ve,Oe]=Er(ce,k,U&&ze!==null?ze:Z,M,B,z,G),[Fe,Le]=gr(X,f,a,p),ot=Fe.has("click"),je=Le.has("click")||Le.has("contextMenu"),Te=Ee(()=>{j||Oe()});wr(ce,Z,k,Te,()=>{le.current&&U&&je&&N(!1)}),pe(()=>{Te()},[ze,M]),pe(()=>{ce&&!(B!=null&&B[M])&&Te()},[JSON.stringify(z)]);const Be=s.useMemo(()=>{const u=vr(B,r,ve,U);return Re(u,x==null?void 0:x(ve))},[ve,x,B,r,U]);s.useImperativeHandle(o,()=>({nativeElement:xe.current,popupElement:l.current,forceAlign:Te}));const[rt,Vt]=s.useState(0),[st,Wt]=s.useState(0),it=()=>{if(T&&Z){const u=Z.getBoundingClientRect();Vt(u.width),Wt(u.height)}},Yt=()=>{it(),Te()},vt=u=>{de(!1),Oe(),b==null||b(u),E==null||E(u)},Ft=()=>new Promise(u=>{it(),Ve(()=>u)});pe(()=>{he&&(Oe(),he(),Ve(null))},[he]);function Ie(u,Y,oe,$e){ie[u]=(Ce,...zt)=>{var Rt;$e==null||$e(Ce),N(Y,oe),(Rt=se[u])==null||Rt.call(se,Ce,...zt)}}(ot||je)&&(ie.onClick=(u,...Y)=>{var oe;le.current&&je?N(!1):!le.current&&ot&&(We(u),N(!0)),(oe=se.onClick)==null||oe.call(se,u,...Y)});const jt=Rr(ce,je,Z,k,w,L,ye,N),gn=Fe.has("hover"),Bt=Le.has("hover");let ct,Et;gn&&(Ie("onMouseEnter",!0,g,u=>{We(u)}),Ie("onPointerEnter",!0,g,u=>{We(u)}),ct=u=>{(ce||j)&&(k!=null&&k.contains(u.target))&&N(!0,g)},U&&(ie.onMouseMove=u=>{var Y;(Y=se.onMouseMove)==null||Y.call(se,u)})),Bt&&(Ie("onMouseLeave",!1,c),Ie("onPointerLeave",!1,c),Et=()=>{N(!1,c)}),Fe.has("focus")&&Ie("onFocus",!0,P),Le.has("focus")&&Ie("onBlur",!1,y),Fe.has("contextMenu")&&(ie.onContextMenu=(u,...Y)=>{var oe;le.current&&Le.has("contextMenu")?N(!1):(We(u),N(!0)),u.preventDefault(),(oe=se.onContextMenu)==null||oe.call(se,u,...Y)});const ut=s.useRef(!1);ut.current||(ut.current=V||ce||j);const Ue={...se,...ie},Qe={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(u=>{Q[u]&&(Qe[u]=(...Y)=>{var oe;(oe=Ue[u])==null||oe.call(Ue,...Y),Q[u](...Y)})});const Ht={x:yt,y:bt},v=me?{...me!==!0?me:{}}:null,ue=s.cloneElement(He,{...Ue,...Qe});return s.createElement(s.Fragment,null,s.createElement(At,{disabled:!ce,ref:Ae,onResize:Yt},ue),ut.current&&s.createElement(Ln.Provider,{value:te},s.createElement(ho,{portal:e,ref:Ne,prefixCls:r,popup:C,className:Re(H,Be),style:D,target:Z,onMouseEnter:ct,onMouseLeave:Et,onPointerEnter:ct,zIndex:F,open:ce,keepDom:j,fresh:fe,onClick:ae,onPointerDownCapture:jt,mask:w,motion:J,maskMotion:ee,onVisibleChanged:vt,onPrepare:Ft,forceRender:V,autoDestroy:re,getPopupContainer:S,align:ve,arrow:v,arrowPos:Ht,ready:ht,offsetX:$t,offsetY:Dt,offsetR:kt,offsetB:gt,onAlign:Te,stretch:T,targetWidth:rt/Ye,targetHeight:st/Xe})))});return process.env.NODE_ENV!=="production"&&(n.displayName="Trigger"),n}const xr=Sr(mn),Ge={shiftX:64,adjustY:1},Ke={adjustX:1,shiftY:!0},ge=[0,0],Pr={left:{points:["cr","cl"],overflow:Ke,offset:[-4,0],targetOffset:ge},right:{points:["cl","cr"],overflow:Ke,offset:[4,0],targetOffset:ge},top:{points:["bc","tc"],overflow:Ge,offset:[0,-4],targetOffset:ge},bottom:{points:["tc","bc"],overflow:Ge,offset:[0,4],targetOffset:ge},topLeft:{points:["bl","tl"],overflow:Ge,offset:[0,-4],targetOffset:ge},leftTop:{points:["tr","tl"],overflow:Ke,offset:[-4,0],targetOffset:ge},topRight:{points:["br","tr"],overflow:Ge,offset:[0,-4],targetOffset:ge},rightTop:{points:["tl","tr"],overflow:Ke,offset:[4,0],targetOffset:ge},bottomRight:{points:["tr","br"],overflow:Ge,offset:[0,4],targetOffset:ge},rightBottom:{points:["bl","br"],overflow:Ke,offset:[4,0],targetOffset:ge},bottomLeft:{points:["tl","bl"],overflow:Ge,offset:[0,4],targetOffset:ge},leftBottom:{points:["br","bl"],overflow:Ke,offset:[-4,0],targetOffset:ge}};function fn(){return fn=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},fn.apply(this,arguments)}const Tr=s.forwardRef((e,n)=>{const{overlayClassName:t,trigger:o=["hover"],mouseEnterDelay:r=0,mouseLeaveDelay:i=.1,overlayStyle:f,prefixCls:a="rc-tooltip",children:p,onVisibleChange:h,afterVisibleChange:d,motion:m,placement:b="right",align:R={},destroyOnHidden:E=!1,defaultVisible:g,getTooltipContainer:c,overlayInnerStyle:P,arrowContent:y,overlay:w,id:L,showArrow:S=!0,classNames:V,styles:W,...C}=e,H=eo(L),D=K.useRef(null);K.useImperativeHandle(n,()=>D.current);const M={...C};"visible"in e&&(M.popupVisible=e.visible);const B=()=>s.createElement(wo,{key:"content",prefixCls:a,id:H,bodyClassName:V==null?void 0:V.body,overlayInnerStyle:{...P,...W==null?void 0:W.body}},w),z=()=>{const F=s.Children.only(p),x={...(F==null?void 0:F.props)||{},"aria-describedby":w?H:null};return s.cloneElement(p,x)};return s.createElement(xr,fn({popupClassName:Re(t,V==null?void 0:V.root),prefixCls:a,popup:B,action:o,builtinPlacements:Pr,popupPlacement:b,ref:D,popupAlign:R,getPopupContainer:c,onOpenChange:h,afterOpenChange:d,popupMotion:m,defaultPopupVisible:g,autoDestroy:E,mouseLeaveDelay:i,popupStyle:{...f,...W==null?void 0:W.root},mouseEnterDelay:r,arrow:S},M),z())}),Cr="csdk_DEPRECATED_Tooltip-module__breakLongWord___kWwu0",Mr="csdk_DEPRECATED_Tooltip-module__rcToolTipZoomIn___0ddOq",_r="csdk_DEPRECATED_Tooltip-module__rcToolTipZoomOut___kpbOG",Qt={breakLongWord:Cr,rcToolTipZoomIn:Mr,rcToolTipZoomOut:_r},Nr=e=>{const{breakingLongWord:n,hideArrow:t=!1,overlayClassName:o,overlay:r,imgOverlay:i=!1,semanticText:f,...a}=e,p=Re(o,"slf-default",vo.styleguideConstants.SISENSE_NAMESPACE,{"hide-arrow":t,[Qt.breakLongWord]:n,[Qt.semanticText]:f,[Qt.semanticText]:f}),h=()=>typeof r=="string"?i?Xt.jsx("img",{src:r}):Xt.jsx("div",{dangerouslySetInnerHTML:{__html:r}}):r;return Xt.jsx(Tr,{destroyOnHidden:!0,overlay:h(),...a,overlayClassName:p})};exports.DEPRECATED_Tooltip=Nr;