@pfct/purple 1.5.0-rc.1 → 1.5.0-rc.11

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 (323) hide show
  1. package/dist/Icon/utils/svgr-cli.template.d.ts +7 -0
  2. package/dist/assets/index.css +1 -1
  3. package/dist/chunks/clsx.C11secjj.js +1 -0
  4. package/dist/chunks/clsx.OuTLNxxd.js +16 -0
  5. package/dist/chunks/index.52hLHqtl.js +671 -0
  6. package/dist/chunks/index.B1zCXH4b.js +1 -0
  7. package/dist/chunks/index.BFOvovu2.js +1 -0
  8. package/dist/chunks/index.BZPx6jYI.js +8 -0
  9. package/dist/chunks/index.C-8GI_iQ.js +5 -0
  10. package/dist/chunks/index.C4zsfJoH.js +1 -0
  11. package/dist/chunks/index.CHQFbaeH.js +41 -0
  12. package/dist/chunks/{index.LN3KW-I4.js → index.Cc-miKAT.js} +1 -1
  13. package/dist/chunks/index.Cdy_UEl-.js +1 -0
  14. package/dist/chunks/index.D-9nbSdR.js +205 -0
  15. package/dist/chunks/{index.styled.D_VcbV29.js → index.D0q0M2nK.js} +264 -326
  16. package/dist/chunks/index.D2jUN9AV.js +1 -0
  17. package/dist/chunks/index.D6z7cYa5.js +1 -0
  18. package/dist/chunks/index.DDo7KIbo.js +60 -0
  19. package/dist/chunks/index.DHAJ5bcO.js +1531 -0
  20. package/dist/chunks/index.DMhXgOEz.js +1 -0
  21. package/dist/chunks/index.DS2YScMD.js +27 -0
  22. package/dist/chunks/index.DYrg31YP.js +354 -0
  23. package/dist/chunks/index.Dh7jK0Mq.js +777 -0
  24. package/dist/chunks/index.DjUJriOp.js +1 -0
  25. package/dist/chunks/index.HA10ghBA.js +152 -0
  26. package/dist/chunks/index.Zd9j6m3g.js +1 -0
  27. package/dist/chunks/index.ak1mD2js.js +1 -0
  28. package/dist/chunks/index.eUOZnpu6.js +13 -0
  29. package/dist/chunks/index.nObpX_Vm.js +71 -0
  30. package/dist/chunks/index.vLV8RYs2.js +288 -0
  31. package/dist/components/Accordion/index.cjs.js +1 -1
  32. package/dist/components/Accordion/index.es.js +289 -425
  33. package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
  34. package/dist/components/Badge/BaseBadge/index.es.js +1 -1
  35. package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
  36. package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
  37. package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
  38. package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +22 -24
  39. package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
  40. package/dist/components/BottomSheet/NavBottomSheet/index.es.js +1 -1
  41. package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
  42. package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +1 -1
  43. package/dist/components/BottomSheet/index.cjs.js +1 -1
  44. package/dist/components/BottomSheet/index.es.js +1 -1
  45. package/dist/components/Button/BaseButton/index.cjs.js +1 -1
  46. package/dist/components/Button/BaseButton/index.es.js +1 -1
  47. package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
  48. package/dist/components/Button/DoubleButton/index.es.js +1 -1
  49. package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
  50. package/dist/components/Button/FloatBaseButton/index.es.js +1 -1
  51. package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
  52. package/dist/components/Button/FloatDoubleButton/index.es.js +1 -1
  53. package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
  54. package/dist/components/Button/FloatSingleButton/index.es.js +1 -1
  55. package/dist/components/Button/SingleButton/index.cjs.js +1 -1
  56. package/dist/components/Button/SingleButton/index.es.js +1 -1
  57. package/dist/components/Button/index.cjs.js +1 -1
  58. package/dist/components/Button/index.es.js +1 -1
  59. package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
  60. package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
  61. package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
  62. package/dist/components/Chips/ChipItem/index.es.js +21 -23
  63. package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
  64. package/dist/components/Chips/ChipItem/index.styled.es.js +19 -21
  65. package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
  66. package/dist/components/Chips/ChipsFrame/index.es.js +10 -10
  67. package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
  68. package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
  69. package/dist/components/Control/CheckMark/index.cjs.js +1 -1
  70. package/dist/components/Control/CheckMark/index.es.js +16 -18
  71. package/dist/components/Control/RadioButton/index.cjs.js +1 -1
  72. package/dist/components/Control/RadioButton/index.es.js +1 -1
  73. package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
  74. package/dist/components/Control/RadioButton/index.styled.es.js +16 -18
  75. package/dist/components/Control/Switch/index.cjs.js +1 -1
  76. package/dist/components/Control/Switch/index.d.ts +37 -9
  77. package/dist/components/Control/Switch/index.es.js +189 -84
  78. package/dist/components/Control/index.cjs.js +1 -1
  79. package/dist/components/Control/index.d.ts +2 -1
  80. package/dist/components/Control/index.es.js +4 -4
  81. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
  82. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +18 -20
  83. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
  84. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +18 -20
  85. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
  86. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +1 -1
  87. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
  88. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +18 -20
  89. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
  90. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +18 -20
  91. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
  92. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +18 -20
  93. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
  94. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +27 -29
  95. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
  96. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +1 -1
  97. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
  98. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +1 -1
  99. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
  100. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +11 -11
  101. package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
  102. package/dist/components/DatePicker/BaseDatePicker/index.es.js +26 -28
  103. package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
  104. package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +1 -1
  105. package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
  106. package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +16 -18
  107. package/dist/components/Input/NumberInput/index.cjs.js +1 -1
  108. package/dist/components/Input/NumberInput/index.es.js +48 -50
  109. package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
  110. package/dist/components/Input/PostfixInput/index.util.es.js +19 -21
  111. package/dist/components/Input/TextField/index.cjs.js +1 -1
  112. package/dist/components/Input/TextField/index.es.js +10 -10
  113. package/dist/components/Input/index.cjs.js +1 -1
  114. package/dist/components/Input/index.es.js +27 -29
  115. package/dist/components/{Modal → LegacyModal}/BaseModal/index.cjs.js +1 -1
  116. package/dist/components/{Modal → LegacyModal}/BaseModal/index.es.js +2 -2
  117. package/dist/components/LegacyModal/index.cjs.js +1 -0
  118. package/dist/components/LegacyModal/index.d.ts +31 -0
  119. package/dist/components/LegacyModal/index.es.js +9 -0
  120. package/dist/components/List/index.cjs.js +1 -1
  121. package/dist/components/List/index.es.js +8 -8
  122. package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
  123. package/dist/components/Loading/ProgressBar/index.es.js +1 -1
  124. package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
  125. package/dist/components/Loading/ProgressBar/index.styled.es.js +17 -19
  126. package/dist/components/Loading/Spinner/index.cjs.js +1 -1
  127. package/dist/components/Loading/Spinner/index.es.js +1 -1
  128. package/dist/components/Loading/index.cjs.js +1 -1
  129. package/dist/components/Loading/index.es.js +1 -1
  130. package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
  131. package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
  132. package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
  133. package/dist/components/MiniButton/IconMiniButton/index.d.ts +1 -1
  134. package/dist/components/MiniButton/IconMiniButton/index.es.js +34 -31
  135. package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
  136. package/dist/components/MiniButton/UnderLineMiniButton/index.d.ts +1 -0
  137. package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +36 -31
  138. package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
  139. package/dist/components/MiniButton/common/index.styled.es.js +18 -20
  140. package/dist/components/Modal/index.cjs.js +1 -1
  141. package/dist/components/Modal/index.d.ts +14 -27
  142. package/dist/components/Modal/index.es.js +99 -7
  143. package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
  144. package/dist/components/Navigation/BaseNavigation/index.es.js +9 -9
  145. package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
  146. package/dist/components/Navigation/BottomNavigationBar/index.es.js +5 -5
  147. package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
  148. package/dist/components/Navigation/PageNavigationBar/index.es.js +10 -10
  149. package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
  150. package/dist/components/Navigation/TitleNavigationBar/index.es.js +10 -10
  151. package/dist/components/Navigation/index.cjs.js +1 -1
  152. package/dist/components/Navigation/index.es.js +10 -10
  153. package/dist/components/OverlayRoot/index.cjs.js +1 -1
  154. package/dist/components/OverlayRoot/index.es.js +16 -18
  155. package/dist/components/Segment/BaseSegment/index.styled.cjs.js +1 -1
  156. package/dist/components/Segment/BaseSegment/index.styled.es.js +1 -1
  157. package/dist/components/Segment/ExtendSegment/index.styled.cjs.js +1 -1
  158. package/dist/components/Segment/ExtendSegment/index.styled.es.js +1 -1
  159. package/dist/components/SelectBox/index.cjs.js +1 -1
  160. package/dist/components/SelectBox/index.es.js +14 -14
  161. package/dist/components/SelectBox/index.styled.cjs.js +1 -1
  162. package/dist/components/SelectBox/index.styled.es.js +23 -25
  163. package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
  164. package/dist/components/Tabs/FillTabs/index.es.js +18 -20
  165. package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
  166. package/dist/components/Tabs/TextTabs/index.d.ts +15 -11
  167. package/dist/components/Tabs/TextTabs/index.es.js +51 -64
  168. package/dist/components/Tabs/index.cjs.js +1 -1
  169. package/dist/components/Tabs/index.es.js +5 -4
  170. package/dist/components/Tag/index.cjs.js +1 -1
  171. package/dist/components/Tag/index.es.js +1 -1
  172. package/dist/components/Tag/index.styled.cjs.js +1 -1
  173. package/dist/components/Tag/index.styled.es.js +16 -18
  174. package/dist/components/Terms/index.cjs.js +1 -1
  175. package/dist/components/Terms/index.es.js +14 -15
  176. package/dist/components/TextArea/index.cjs.js +1 -0
  177. package/dist/components/TextArea/index.d.ts +80 -0
  178. package/dist/components/TextArea/index.es.js +30 -0
  179. package/dist/components/Title/index.cjs.js +1 -1
  180. package/dist/components/Title/index.es.js +1 -1
  181. package/dist/components/Title/index.styled.cjs.js +1 -1
  182. package/dist/components/Title/index.styled.es.js +20 -22
  183. package/dist/components/Toast/index.cjs.js +1 -0
  184. package/dist/components/Toast/index.d.ts +5 -0
  185. package/dist/components/Toast/index.es.js +36 -0
  186. package/dist/components/index.cjs.js +1 -1
  187. package/dist/components/index.d.ts +6 -3
  188. package/dist/components/index.es.js +154 -120
  189. package/dist/components/ui/bottomSheet.cjs.js +13 -13
  190. package/dist/components/ui/bottomSheet.es.js +76 -71
  191. package/dist/components/ui/button.cjs.js +1 -1
  192. package/dist/components/ui/button.es.js +4 -4
  193. package/dist/components/ui/checkbox.cjs.js +1 -0
  194. package/dist/components/ui/checkbox.d.ts +9 -0
  195. package/dist/components/ui/checkbox.es.js +445 -0
  196. package/dist/components/ui/dialog.cjs.js +1 -1
  197. package/dist/components/ui/dialog.es.js +30 -30
  198. package/dist/components/ui/drawer.cjs.js +1 -1
  199. package/dist/components/ui/drawer.es.js +2 -2
  200. package/dist/components/ui/impact-tooltip.cjs.js +1 -0
  201. package/dist/components/ui/impact-tooltip.d.ts +16 -0
  202. package/dist/components/ui/impact-tooltip.es.js +387 -0
  203. package/dist/components/ui/share-ui.cjs.js +1 -1
  204. package/dist/components/ui/share-ui.es.js +2 -2
  205. package/dist/components/ui/tooltip.cjs.js +1 -0
  206. package/dist/components/ui/tooltip.d.ts +9 -0
  207. package/dist/components/ui/tooltip.es.js +392 -0
  208. package/dist/components/ui/typography.cjs.js +1 -1
  209. package/dist/components/ui/typography.es.js +3 -3
  210. package/dist/core/Colors/index.cjs.js +1 -1
  211. package/dist/core/Colors/index.d.ts +0 -4
  212. package/dist/core/Colors/index.es.js +4 -8
  213. package/dist/core/Display/Mobile.cjs.js +1 -1
  214. package/dist/core/Display/Mobile.es.js +1 -1
  215. package/dist/core/Display/Pc.cjs.js +1 -1
  216. package/dist/core/Display/Pc.es.js +1 -1
  217. package/dist/core/Display/index.styled.cjs.js +1 -1
  218. package/dist/core/Display/index.styled.es.js +17 -19
  219. package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
  220. package/dist/core/Typography/BaseTypography/index.es.js +2 -2
  221. package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
  222. package/dist/hooks/useLayoutIsMobile.es.js +17 -19
  223. package/dist/icons/src/aliases/aliases.cjs.js +1 -1
  224. package/dist/icons/src/aliases/aliases.d.ts +9 -9
  225. package/dist/icons/src/aliases/aliases.es.js +44 -44
  226. package/dist/icons/src/aliases/index.cjs.js +1 -1
  227. package/dist/icons/src/aliases/index.es.js +88 -88
  228. package/dist/icons/src/aliases/prefixed.cjs.js +1 -1
  229. package/dist/icons/src/aliases/prefixed.d.ts +11 -11
  230. package/dist/icons/src/aliases/prefixed.es.js +48 -48
  231. package/dist/icons/src/aliases/suffixed.cjs.js +1 -1
  232. package/dist/icons/src/aliases/suffixed.d.ts +16 -16
  233. package/dist/icons/src/aliases/suffixed.es.js +46 -46
  234. package/dist/icons/src/icons/index.cjs.js +1 -1
  235. package/dist/icons/src/icons/index.d.ts +11 -11
  236. package/dist/icons/src/icons/index.es.js +50 -50
  237. package/dist/index.cjs.js +1 -1
  238. package/dist/index.es.js +379 -345
  239. package/dist/lib/utils.cjs.js +1 -1
  240. package/dist/lib/utils.es.js +2761 -2
  241. package/dist/library/BasicLayout/Footer.cjs.js +1 -1
  242. package/dist/library/BasicLayout/Footer.d.ts +2 -2
  243. package/dist/library/BasicLayout/Footer.es.js +35 -34
  244. package/dist/library/BasicLayout/index.cjs.js +1 -1
  245. package/dist/library/BasicLayout/index.d.ts +1 -1
  246. package/dist/library/BasicLayout/index.es.js +20 -22
  247. package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
  248. package/dist/library/BasicLayout/index.styled.es.js +45 -47
  249. package/dist/library/Lottie/index.cjs.js +1 -1
  250. package/dist/library/Lottie/index.es.js +116 -116
  251. package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
  252. package/dist/utils/GenerateColorStyle/chip.es.js +1 -1
  253. package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
  254. package/dist/utils/GenerateColorStyle/index.es.js +8 -8
  255. package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
  256. package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +17 -19
  257. package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
  258. package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +17 -19
  259. package/dist/utils/index.cjs.js +1 -1
  260. package/dist/utils/index.es.js +8 -8
  261. package/package.json +22 -15
  262. package/dist/chunks/index.B0KRXeX3.js +0 -205
  263. package/dist/chunks/index.BiFBNKMb.js +0 -51
  264. package/dist/chunks/index.C4mr2-78.js +0 -1
  265. package/dist/chunks/index.CAOufkQO.js +0 -1072
  266. package/dist/chunks/index.Dazlhpef.js +0 -45
  267. package/dist/chunks/index.DnJQUgiG.js +0 -1
  268. package/dist/chunks/index.SS1p-Ys5.js +0 -1
  269. package/dist/chunks/index.styled.DX1B4OiV.js +0 -412
  270. package/dist/chunks/utils.B9KdtH6G.js +0 -2493
  271. package/dist/chunks/utils.Gb5_Gcy7.js +0 -1
  272. package/dist/components/Control/CheckBox/CheckIcon.cjs.js +0 -1
  273. package/dist/components/Control/CheckBox/CheckIcon.d.ts +0 -6
  274. package/dist/components/Control/CheckBox/CheckIcon.es.js +0 -26
  275. package/dist/components/Control/CheckBox/index.cjs.js +0 -1
  276. package/dist/components/Control/CheckBox/index.d.ts +0 -12
  277. package/dist/components/Control/CheckBox/index.es.js +0 -96
  278. package/dist/components/Control/CheckBox/index.styled.cjs.js +0 -24
  279. package/dist/components/Control/CheckBox/index.styled.d.ts +0 -18
  280. package/dist/components/Control/CheckBox/index.styled.es.js +0 -30
  281. package/dist/components/Control/Switch/index.styled.cjs.js +0 -32
  282. package/dist/components/Control/Switch/index.styled.d.ts +0 -15
  283. package/dist/components/Control/Switch/index.styled.es.js +0 -42
  284. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.cjs.js +0 -8
  285. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.d.ts +0 -9
  286. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.es.js +0 -14
  287. package/dist/components/ToastMessage/BaseToastMessage/index.cjs.js +0 -1
  288. package/dist/components/ToastMessage/BaseToastMessage/index.d.ts +0 -13
  289. package/dist/components/ToastMessage/BaseToastMessage/index.es.js +0 -25
  290. package/dist/components/ToastMessage/BaseToastMessage/index.styled.cjs.js +0 -1
  291. package/dist/components/ToastMessage/BaseToastMessage/index.styled.d.ts +0 -10
  292. package/dist/components/ToastMessage/BaseToastMessage/index.styled.es.js +0 -80
  293. package/dist/components/ToastMessage/Toast/index.cjs.js +0 -1
  294. package/dist/components/ToastMessage/Toast/index.d.ts +0 -13
  295. package/dist/components/ToastMessage/Toast/index.es.js +0 -32
  296. package/dist/components/ToastMessage/Toast/index.styled.cjs.js +0 -13
  297. package/dist/components/ToastMessage/Toast/index.styled.d.ts +0 -8
  298. package/dist/components/ToastMessage/Toast/index.styled.es.js +0 -18
  299. package/dist/components/ToastMessage/index.cjs.js +0 -1
  300. package/dist/components/ToastMessage/index.d.ts +0 -1
  301. package/dist/components/ToastMessage/index.es.js +0 -4
  302. package/dist/components/Tooltip/BasicTooltip/index.cjs.js +0 -1
  303. package/dist/components/Tooltip/BasicTooltip/index.d.ts +0 -5
  304. package/dist/components/Tooltip/BasicTooltip/index.es.js +0 -6
  305. package/dist/components/Tooltip/ImpactTooltip/index.cjs.js +0 -1
  306. package/dist/components/Tooltip/ImpactTooltip/index.d.ts +0 -7
  307. package/dist/components/Tooltip/ImpactTooltip/index.es.js +0 -23
  308. package/dist/components/Tooltip/TooltipBase/index.cjs.js +0 -8
  309. package/dist/components/Tooltip/TooltipBase/index.d.ts +0 -18
  310. package/dist/components/Tooltip/TooltipBase/index.es.js +0 -146
  311. package/dist/components/Tooltip/TooltipBase/index.styled.cjs.js +0 -107
  312. package/dist/components/Tooltip/TooltipBase/index.styled.d.ts +0 -22
  313. package/dist/components/Tooltip/TooltipBase/index.styled.es.js +0 -2006
  314. package/dist/components/Tooltip/index.cjs.js +0 -1
  315. package/dist/components/Tooltip/index.d.ts +0 -6
  316. package/dist/components/Tooltip/index.es.js +0 -6
  317. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.d.ts +0 -0
  318. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.cjs.js +0 -0
  319. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.d.ts +0 -0
  320. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.es.js +0 -0
  321. /package/dist/components/{Modal → LegacyModal}/index.styled.cjs.js +0 -0
  322. /package/dist/components/{Modal → LegacyModal}/index.styled.d.ts +0 -0
  323. /package/dist/components/{Modal → LegacyModal}/index.styled.es.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";const Xt=require("react"),Ce=require("react-dom"),J=require("./index.DjUJriOp.js"),q=require("./jsx-runtime.713F0z8w.js"),Ut=require("./index.BIcga6m3.js"),Pe=require("./index.Cdy_UEl-.js"),Ee=require("./index.D6z7cYa5.js");function Zt(t){if(t&&typeof t=="object"&&"default"in t)return t;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const O=Zt(Xt),Se=Zt(Ce),De=["top","right","bottom","left"],Z=Math.min,F=Math.max,ut=Math.round,at=Math.floor,z=t=>({x:t,y:t}),Le={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function vt(t,e,n){return F(t,Z(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function U(t){return t.split("-")[0]}function et(t){return t.split("-")[1]}function Rt(t){return t==="x"?"y":"x"}function Ot(t){return t==="y"?"height":"width"}function V(t){return["top","bottom"].includes(U(t))?"y":"x"}function Ct(t){return Rt(V(t))}function Me(t,e,n){n===void 0&&(n=!1);const o=et(t),i=Ct(t),r=Ot(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=dt(s)),[s,dt(s)]}function $e(t){const e=dt(t);return[bt(t),e,bt(e)]}function bt(t){return t.replace(/start|end/g,e=>Te[e])}function ke(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Ne(t,e,n,o){const i=et(t);let r=ke(U(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(bt)))),r}function dt(t){return t.replace(/left|right|bottom|top/g,e=>Le[e])}function je(t){return{top:0,right:0,bottom:0,left:0,...t}}function Kt(t){return typeof t!="number"?je(t):{top:t,right:t,bottom:t,left:t}}function pt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Ht(t,e,n){let{reference:o,floating:i}=t;const r=V(e),s=Ct(e),c=Ot(s),l=U(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(et(e)){case"start":d[s]-=m*(n&&a?-1:1);break;case"end":d[s]+=m*(n&&a?-1:1);break}return d}const Fe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Ht(a,o,l),m=o,d={},p=0;for(let h=0;h<c.length;h++){const{name:x,fn:g}=c[h],{x:w,y:b,data:y,reset:v}=await g({x:f,y:u,initialPlacement:o,placement:m,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=w??f,u=b??u,d={...d,[x]:{...d[x],...y}},v&&p<=50&&(p++,typeof v=="object"&&(v.placement&&(m=v.placement),v.rects&&(a=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:f,y:u}=Ht(a,m,l)),h=-1)}return{x:f,y:u,placement:m,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:d=0}=X(e,t),p=Kt(d),x=c[m?u==="floating"?"reference":"floating":u],g=pt(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(x)))==null||n?x:x.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),w=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),y=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},v=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:b,strategy:l}):w);return{top:(g.top-v.top+p.top)/y.y,bottom:(v.bottom-g.bottom+p.bottom)/y.y,left:(g.left-v.left+p.left)/y.x,right:(v.right-g.right+p.right)/y.x}}const _e=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=Kt(f),m={x:n,y:o},d=Ct(i),p=Ot(d),h=await s.getDimensions(a),x=d==="y",g=x?"top":"left",w=x?"bottom":"right",b=x?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[d]-m[d]-r.floating[p],v=m[d]-r.reference[d],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let C=R?R[b]:0;(!C||!await(s.isElement==null?void 0:s.isElement(R)))&&(C=c.floating[b]||r.floating[p]);const T=y/2-v/2,N=C/2-h[p]/2-1,L=Z(u[g],N),$=Z(u[w],N),k=L,E=C-h[p]-$,P=C/2-h[p]/2+T,j=vt(k,P,E),S=!l.arrow&&et(i)!=null&&P!==j&&r.reference[p]/2-(P<k?L:$)-h[p]/2<0,D=S?P<k?P-k:P-E:0;return{[d]:m[d]+D,data:{[d]:j,centerOffset:P-j-D,...S&&{alignmentOffset:D}},reset:S}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...x}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=U(i),w=V(c),b=U(c)===c,y=await(l.isRTL==null?void 0:l.isRTL(a.floating)),v=m||(b||!h?[dt(c)]:$e(c)),R=p!=="none";!m&&R&&v.push(...Ne(c,h,p,y));const C=[c,...v],T=await it(e,x),N=[];let L=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&N.push(T[g]),u){const P=Me(i,s,y);N.push(T[P[0]],T[P[1]])}if(L=[...L,{placement:i,overflows:N}],!N.every(P=>P<=0)){var $,k;const P=((($=r.flip)==null?void 0:$.index)||0)+1,j=C[P];if(j&&(!(u==="alignment"?w!==V(j):!1)||L.every(A=>A.overflows[0]>0&&V(A.placement)===w)))return{data:{index:P,overflows:L},reset:{placement:j}};let S=(k=L.filter(D=>D.overflows[0]<=0).sort((D,A)=>D.overflows[1]-A.overflows[1])[0])==null?void 0:k.placement;if(!S)switch(d){case"bestFit":{var E;const D=(E=L.filter(A=>{if(R){const M=V(A.placement);return M===w||M==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(M=>M>0).reduce((M,B)=>M+B,0)]).sort((A,M)=>A[1]-M[1])[0])==null?void 0:E[0];D&&(S=D);break}case"initialPlacement":S=c;break}if(i!==S)return{reset:{placement:S}}}return{}}}};function Wt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Bt(t){return De.some(e=>t[e]>=0)}const We=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=Wt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Bt(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=Wt(r,n.floating);return{data:{escapedOffsets:s,escaped:Bt(s)}}}default:return{}}}}};async function Be(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=U(n),c=et(n),l=V(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:m,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:m*a}:{x:m*a,y:d*f}}const Ve=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await Be(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},ze=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:x=>{let{x:g,y:w}=x;return{x:g,y:w}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=V(U(i)),m=Rt(u);let d=a[m],p=a[u];if(r){const x=m==="y"?"top":"left",g=m==="y"?"bottom":"right",w=d+f[x],b=d-f[g];d=vt(w,d,b)}if(s){const x=u==="y"?"top":"left",g=u==="y"?"bottom":"right",w=p+f[x],b=p-f[g];p=vt(w,p,b)}const h=c.fn({...e,[m]:d,[u]:p});return{...h,data:{x:h.x-n,y:h.y-o,enabled:{[m]:r,[u]:s}}}}}},Ie=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=V(i),m=Rt(u);let d=f[m],p=f[u];const h=X(c,e),x=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const b=m==="y"?"height":"width",y=r.reference[m]-r.floating[b]+x.mainAxis,v=r.reference[m]+r.reference[b]-x.mainAxis;d<y?d=y:d>v&&(d=v)}if(a){var g,w;const b=m==="y"?"width":"height",y=["top","left"].includes(U(i)),v=r.reference[u]-r.floating[b]+(y&&((g=s.offset)==null?void 0:g[u])||0)+(y?0:x.crossAxis),R=r.reference[u]+r.reference[b]+(y?0:((w=s.offset)==null?void 0:w[u])||0)-(y?x.crossAxis:0);p<v?p=v:p>R&&(p=R)}return{[m]:d,[u]:p}}}},Ye=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=U(i),m=et(i),d=V(i)==="y",{width:p,height:h}=r.floating;let x,g;u==="top"||u==="bottom"?(x=u,g=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,x=m==="end"?"top":"bottom");const w=h-f.top-f.bottom,b=p-f.left-f.right,y=Z(h-f[x],w),v=Z(p-f[g],b),R=!e.middlewareData.shift;let C=y,T=v;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(T=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(C=w),R&&!m){const L=F(f.left,0),$=F(f.right,0),k=F(f.top,0),E=F(f.bottom,0);d?T=p-2*(L!==0||$!==0?L+$:F(f.left,f.right)):C=h-2*(k!==0||E!==0?k+E:F(f.top,f.bottom))}await l({...e,availableWidth:T,availableHeight:C});const N=await s.getDimensions(c.floating);return p!==N.width||h!==N.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function nt(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Y(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return ht()?t instanceof Node||t instanceof _(t).Node:!1}function H(t){return ht()?t instanceof Element||t instanceof _(t).Element:!1}function I(t){return ht()?t instanceof HTMLElement||t instanceof _(t).HTMLElement:!1}function Vt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _(t).ShadowRoot}function st(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=W(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function qe(t){return["table","td","th"].includes(nt(t))}function gt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Pt(t){const e=Et(),n=H(t)?W(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Xe(t){let e=K(t);for(;I(e)&&!tt(e);){if(Pt(e))return e;if(gt(e))return null;e=K(e)}return null}function Et(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function tt(t){return["html","body","#document"].includes(nt(t))}function W(t){return _(t).getComputedStyle(t)}function xt(t){return H(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(nt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Vt(t)&&t.host||Y(t);return Vt(e)?e.host:e}function Jt(t){const e=K(t);return tt(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&st(e)?e:Jt(e)}function rt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=_(i);if(r){const c=At(s);return e.concat(s,s.visualViewport||[],st(i)?i:[],c&&n?rt(c):[])}return e.concat(i,rt(i,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qt(t){const e=W(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ut(n)!==r||ut(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function St(t){return H(t)?t:t.contextElement}function Q(t){const e=St(t);if(!I(e))return z(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Qt(e);let s=(r?ut(n.width):n.width)/o,c=(r?ut(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Ue=z(0);function te(t){const e=_(t);return!Et()||!e.visualViewport?Ue:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ze(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==_(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=St(t);let s=z(1);e&&(o?H(o)&&(s=Q(o)):s=Q(t));const c=Ze(r,n,o)?te(r):z(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const m=_(r),d=o&&H(o)?_(o):o;let p=m,h=At(p);for(;h&&o&&d!==p;){const x=Q(h),g=h.getBoundingClientRect(),w=W(h),b=g.left+(h.clientLeft+parseFloat(w.paddingLeft))*x.x,y=g.top+(h.clientTop+parseFloat(w.paddingTop))*x.y;l*=x.x,a*=x.y,f*=x.x,u*=x.y,l+=b,a+=y,p=_(h),h=At(p)}}return pt({width:f,height:u,x:l,y:a})}function Dt(t,e){const n=xt(t).scrollLeft;return e?e.left+n:G(Y(t)).left+n}function ee(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Dt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Ke(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=Y(o),c=e?gt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=z(1);const f=z(0),u=I(o);if((u||!u&&!r)&&((nt(o)!=="body"||st(s))&&(l=xt(o)),I(o))){const d=G(o);a=Q(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const m=s&&!u&&!r?ee(s,l,!0):z(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+m.x,y:n.y*a.y-l.scrollTop*a.y+f.y+m.y}}function Ge(t){return Array.from(t.getClientRects())}function Je(t){const e=Y(t),n=xt(t),o=t.ownerDocument.body,i=F(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=F(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Dt(t);const c=-n.scrollTop;return W(o).direction==="rtl"&&(s+=F(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Qe(t,e){const n=_(t),o=Y(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Et();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function tn(t,e){const n=G(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?Q(t):z(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function zt(t,e,n){let o;if(e==="viewport")o=Qe(t,n);else if(e==="document")o=Je(Y(t));else if(H(e))o=tn(e,n);else{const i=te(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function ne(t,e){const n=K(t);return n===e||!H(n)||tt(n)?!1:W(n).position==="fixed"||ne(n,e)}function en(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter(c=>H(c)&&nt(c)!=="body"),i=null;const r=W(t).position==="fixed";let s=r?K(t):t;for(;H(s)&&!tt(s);){const c=W(s),l=Pt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||st(s)&&!l&&ne(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function nn(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?gt(e)?[]:en(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=zt(e,f,i);return a.top=F(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=F(u.left,a.left),a},zt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function on(t){const{width:e,height:n}=Qt(t);return{width:e,height:n}}function rn(t,e,n){const o=I(e),i=Y(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=z(0);function a(){l.x=Dt(i)}if(o||!o&&!r)if((nt(e)!=="body"||st(i))&&(c=xt(e)),o){const d=G(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();const f=i&&!o&&!r?ee(i,c):z(0),u=s.left+c.scrollLeft-l.x-f.x,m=s.top+c.scrollTop-l.y-f.y;return{x:u,y:m,width:s.width,height:s.height}}function wt(t){return W(t).position==="static"}function It(t,e){if(!I(t)||W(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Y(t)===n&&(n=n.ownerDocument.body),n}function oe(t,e){const n=_(t);if(gt(t))return n;if(!I(t)){let i=K(t);for(;i&&!tt(i);){if(H(i)&&!wt(i))return i;i=K(i)}return n}let o=It(t,e);for(;o&&qe(o)&&wt(o);)o=It(o,e);return o&&tt(o)&&wt(o)&&!Pt(o)?n:o||Xe(t)||n}const sn=async function(t){const e=this.getOffsetParent||oe,n=this.getDimensions,o=await n(t.floating);return{reference:rn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function cn(t){return W(t).direction==="rtl"}const ln={convertOffsetParentRelativeRectToViewportRelativeRect:Ke,getDocumentElement:Y,getClippingRect:nn,getOffsetParent:oe,getElementRects:sn,getClientRects:Ge,getDimensions:on,getScale:Q,isElement:H,isRTL:cn};function ie(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function an(t,e){let n=null,o;const i=Y(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:f,top:u,width:m,height:d}=a;if(c||e(),!m||!d)return;const p=at(u),h=at(i.clientWidth-(f+m)),x=at(i.clientHeight-(u+d)),g=at(f),b={rootMargin:-p+"px "+-h+"px "+-x+"px "+-g+"px",threshold:F(0,Z(1,l))||1};let y=!0;function v(R){const C=R[0].intersectionRatio;if(C!==l){if(!y)return s();C?s(!1,C):o=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!ie(a,t.getBoundingClientRect())&&s(),y=!1}try{n=new IntersectionObserver(v,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(v,b)}n.observe(t)}return s(!0),r}function fn(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=St(t),f=i||r?[...a?rt(a):[],...rt(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?an(a,n):null;let m=-1,d=null;s&&(d=new ResizeObserver(g=>{let[w]=g;w&&w.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,h=l?G(t):null;l&&x();function x(){const g=G(t);h&&!ie(h,g)&&n(),h=g,p=requestAnimationFrame(x)}return n(),()=>{var g;f.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),u==null||u(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const un=Ve,dn=ze,pn=He,mn=Ye,hn=We,Yt=_e,gn=Ie,xn=(t,e,n)=>{const o=new Map,i={platform:ln,...n},r={...i.platform,_c:o};return Fe(t,e,{...i,platform:r})};var wn=typeof document<"u",yn=function(){},ft=wn?Xt.useLayoutEffect:yn;function mt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!mt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!mt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function qt(t,e){const n=re(t);return Math.round(e*n)/n}function yt(t){const e=O.useRef(t);return ft(()=>{e.current=t}),e}function vn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=O.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,d]=O.useState(o);mt(m,o)||d(o);const[p,h]=O.useState(null),[x,g]=O.useState(null),w=O.useCallback(A=>{A!==R.current&&(R.current=A,h(A))},[]),b=O.useCallback(A=>{A!==C.current&&(C.current=A,g(A))},[]),y=r||p,v=s||x,R=O.useRef(null),C=O.useRef(null),T=O.useRef(f),N=l!=null,L=yt(l),$=yt(i),k=yt(a),E=O.useCallback(()=>{if(!R.current||!C.current)return;const A={placement:e,strategy:n,middleware:m};$.current&&(A.platform=$.current),xn(R.current,C.current,A).then(M=>{const B={...M,isPositioned:k.current!==!1};P.current&&!mt(T.current,B)&&(T.current=B,Se.flushSync(()=>{u(B)}))})},[m,e,n,$,k]);ft(()=>{a===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const P=O.useRef(!1);ft(()=>(P.current=!0,()=>{P.current=!1}),[]),ft(()=>{if(y&&(R.current=y),v&&(C.current=v),y&&v){if(L.current)return L.current(y,v,E);E()}},[y,v,E,L,N]);const j=O.useMemo(()=>({reference:R,floating:C,setReference:w,setFloating:b}),[w,b]),S=O.useMemo(()=>({reference:y,floating:v}),[y,v]),D=O.useMemo(()=>{const A={position:n,left:0,top:0};if(!S.floating)return A;const M=qt(S.floating,f.x),B=qt(S.floating,f.y);return c?{...A,transform:"translate("+M+"px, "+B+"px)",...re(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:B}},[n,c,S.floating,f.x,f.y]);return O.useMemo(()=>({...f,update:E,refs:j,elements:S,floatingStyles:D}),[f,E,j,S,D])}const bn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?Yt({element:o.current,padding:i}).fn(n):{}:o?Yt({element:o,padding:i}).fn(n):{}}}},An=(t,e)=>({...un(t),options:[t,e]}),Rn=(t,e)=>({...dn(t),options:[t,e]}),On=(t,e)=>({...gn(t),options:[t,e]}),Cn=(t,e)=>({...pn(t),options:[t,e]}),Pn=(t,e)=>({...mn(t),options:[t,e]}),En=(t,e)=>({...hn(t),options:[t,e]}),Sn=(t,e)=>({...bn(t),options:[t,e]});var Dn="Arrow",se=O.forwardRef((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return q.jsxRuntimeExports.jsx(J.Primitive.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:q.jsxRuntimeExports.jsx("polygon",{points:"0,0 30,0 15,10"})})});se.displayName=Dn;var Ln=se,Lt="Popper",[ce,Tn]=J.createContextScope(Lt),[Mn,le]=ce(Lt),ae=t=>{const{__scopePopper:e,children:n}=t,[o,i]=O.useState(null);return q.jsxRuntimeExports.jsx(Mn,{scope:e,anchor:o,onAnchorChange:i,children:n})};ae.displayName=Lt;var fe="PopperAnchor",ue=O.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=le(fe,n),s=O.useRef(null),c=Ut.useComposedRefs(e,s),l=O.useRef(null);return O.useEffect(()=>{const a=l.current;l.current=(o==null?void 0:o.current)||s.current,a!==l.current&&r.onAnchorChange(l.current)}),o?null:q.jsxRuntimeExports.jsx(J.Primitive.div,{...i,ref:c})});ue.displayName=fe;var Tt="PopperContent",[$n,kn]=ce(Tt),de=O.forwardRef((t,e)=>{var Mt,$t,kt,Nt,jt,Ft;const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:m=!1,updatePositionStrategy:d="optimized",onPlaced:p,...h}=t,x=le(Tt,n),[g,w]=O.useState(null),b=Ut.useComposedRefs(e,ot=>w(ot)),[y,v]=O.useState(null),R=Ee.useSize(y),C=(R==null?void 0:R.width)??0,T=(R==null?void 0:R.height)??0,N=o+(r!=="center"?"-"+r:""),L=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},$=Array.isArray(a)?a:[a],k=$.length>0,E={padding:L,boundary:$.filter(jn),altBoundary:k},{refs:P,floatingStyles:j,placement:S,isPositioned:D,middlewareData:A}=vn({strategy:"fixed",placement:N,whileElementsMounted:(...ot)=>fn(...ot,{animationFrame:d==="always"}),elements:{reference:x.anchor},middleware:[An({mainAxis:i+T,alignmentAxis:s}),l&&Rn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?On():void 0,...E}),l&&Cn({...E}),Pn({...E,apply:({elements:ot,rects:_t,availableWidth:be,availableHeight:Ae})=>{const{width:Re,height:Oe}=_t.reference,lt=ot.floating.style;lt.setProperty("--radix-popper-available-width",`${be}px`),lt.setProperty("--radix-popper-available-height",`${Ae}px`),lt.setProperty("--radix-popper-anchor-width",`${Re}px`),lt.setProperty("--radix-popper-anchor-height",`${Oe}px`)}}),y&&Sn({element:y,padding:c}),Fn({arrowWidth:C,arrowHeight:T}),m&&En({strategy:"referenceHidden",...E})]}),[M,B]=he(S),ct=Pe.useCallbackRef(p);J.useLayoutEffect2(()=>{D&&(ct==null||ct())},[D,ct]);const ge=(Mt=A.arrow)==null?void 0:Mt.x,xe=($t=A.arrow)==null?void 0:$t.y,we=((kt=A.arrow)==null?void 0:kt.centerOffset)!==0,[ye,ve]=O.useState();return J.useLayoutEffect2(()=>{g&&ve(window.getComputedStyle(g).zIndex)},[g]),q.jsxRuntimeExports.jsx("div",{ref:P.setFloating,"data-radix-popper-content-wrapper":"",style:{...j,transform:D?j.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--radix-popper-transform-origin":[(Nt=A.transformOrigin)==null?void 0:Nt.x,(jt=A.transformOrigin)==null?void 0:jt.y].join(" "),...((Ft=A.hide)==null?void 0:Ft.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:q.jsxRuntimeExports.jsx($n,{scope:n,placedSide:M,onArrowChange:v,arrowX:ge,arrowY:xe,shouldHideArrow:we,children:q.jsxRuntimeExports.jsx(J.Primitive.div,{"data-side":M,"data-align":B,...h,ref:b,style:{...h.style,animation:D?void 0:"none"}})})})});de.displayName=Tt;var pe="PopperArrow",Nn={top:"bottom",right:"left",bottom:"top",left:"right"},me=O.forwardRef(function(e,n){const{__scopePopper:o,...i}=e,r=kn(pe,o),s=Nn[r.placedSide];return q.jsxRuntimeExports.jsx("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:q.jsxRuntimeExports.jsx(Ln,{...i,ref:n,style:{...i.style,display:"block"}})})});me.displayName=pe;function jn(t){return t!==null}var Fn=t=>({name:"transformOrigin",options:t,fn(e){var x,g,w;const{placement:n,rects:o,middlewareData:i}=e,s=((x=i.arrow)==null?void 0:x.centerOffset)!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=he(n),u={start:"0%",center:"50%",end:"100%"}[f],m=(((g=i.arrow)==null?void 0:g.x)??0)+c/2,d=(((w=i.arrow)==null?void 0:w.y)??0)+l/2;let p="",h="";return a==="bottom"?(p=s?u:`${m}px`,h=`${-l}px`):a==="top"?(p=s?u:`${m}px`,h=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,h=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,h=s?u:`${d}px`),{data:{x:p,y:h}}}});function he(t){const[e,n="center"]=t.split("-");return[e,n]}var _n=ae,Hn=ue,Wn=de,Bn=me;exports.Anchor=Hn;exports.Arrow=Bn;exports.Content=Wn;exports.Root2=_n;exports.createPopperScope=Tn;
@@ -0,0 +1 @@
1
+ "use strict";const g=require("react"),S=require("./index.BIcga6m3.js"),d=require("./jsx-runtime.713F0z8w.js");function b(t){if(t&&typeof t=="object"&&"default"in t)return t;const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const i=b(g);var j=Symbol.for("react.lazy"),u=i[" use ".trim().toString()];function E(t){return typeof t=="object"&&t!==null&&"then"in t}function y(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===j&&"_payload"in t&&E(t._payload)}function R(t){const n=C(t),o=i.forwardRef((r,e)=>{let{children:l,...c}=r;y(l)&&typeof u=="function"&&(l=u(l._payload));const s=i.Children.toArray(l),a=s.find(O);if(a){const f=a.props.children,m=s.map(p=>p===a?i.Children.count(f)>1?i.Children.only(null):i.isValidElement(f)?f.props.children:null:p);return d.jsxRuntimeExports.jsx(n,{...c,ref:e,children:i.isValidElement(f)?i.cloneElement(f,void 0,m):null})}return d.jsxRuntimeExports.jsx(n,{...c,ref:e,children:l})});return o.displayName=`${t}.Slot`,o}var _=R("Slot");function C(t){const n=i.forwardRef((o,r)=>{let{children:e,...l}=o;if(y(e)&&typeof u=="function"&&(e=u(e._payload)),i.isValidElement(e)){const c=P(e),s=h(l,e.props);return e.type!==i.Fragment&&(s.ref=r?S.composeRefs(r,c):c),i.cloneElement(e,s)}return i.Children.count(e)>1?i.Children.only(null):null});return n.displayName=`${t}.SlotClone`,n}var x=Symbol("radix.slottable");function O(t){return i.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===x}function h(t,n){const o={...n};for(const r in n){const e=t[r],l=n[r];/^on[A-Z]/.test(r)?e&&l?o[r]=(...s)=>{const a=l(...s);return e(...s),a}:e&&(o[r]=e):r==="style"?o[r]={...e,...l}:r==="className"&&(o[r]=[e,l].filter(Boolean).join(" "))}return{...t,...o}}function P(t){var r,e;let n=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?t.ref:(n=(e=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:e.get,o=n&&"isReactWarning"in n&&n.isReactWarning,o?t.props.ref:t.props.ref||t.ref)}exports.Slot=_;
@@ -0,0 +1,8 @@
1
+ import * as u from "react";
2
+ function t(r) {
3
+ const e = u.useRef({ value: r, previous: r });
4
+ return u.useMemo(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [r]);
5
+ }
6
+ export {
7
+ t as u
8
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";const H=require("react"),d=require("./index.DjUJriOp.js"),v=require("./index.BIcga6m3.js"),C=require("./index.ak1mD2js.js"),P=require("./index.Cdy_UEl-.js"),R=require("./index.CHQFbaeH.js"),j=require("./index.C4zsfJoH.js"),a=require("./jsx-runtime.713F0z8w.js");function V(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=V(H);function B(e){const t=Z(e),r=i.forwardRef((n,o)=>{const{children:s,...l}=n,c=i.Children.toArray(s),u=c.find(K);if(u){const f=u.props.children,x=c.map(m=>m===u?i.Children.count(f)>1?i.Children.only(null):i.isValidElement(f)?f.props.children:null:m);return a.jsxRuntimeExports.jsx(t,{...l,ref:o,children:i.isValidElement(f)?i.cloneElement(f,void 0,x):null})}return a.jsxRuntimeExports.jsx(t,{...l,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function Z(e){const t=i.forwardRef((r,n)=>{const{children:o,...s}=r;if(i.isValidElement(o)){const l=Y(o),c=U(s,o.props);return o.type!==i.Fragment&&(c.ref=n?v.composeRefs(n,l):l),i.cloneElement(o,c)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var z=Symbol("radix.slottable");function K(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===z}function U(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...c)=>{const u=s(...c);return o(...c),u}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function Y(e){var n,o;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var D="Dialog",[O,ge]=d.createContextScope(D),[J,p]=O(D),I=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:l=!0}=e,c=i.useRef(null),u=i.useRef(null),[f,x]=d.useControllableState({prop:n,defaultProp:o??!1,onChange:s,caller:D});return a.jsxRuntimeExports.jsx(J,{scope:t,triggerRef:c,contentRef:u,contentId:C.useId(),titleId:C.useId(),descriptionId:C.useId(),open:f,onOpenChange:x,onOpenToggle:i.useCallback(()=>x(m=>!m),[x]),modal:l,children:r})};I.displayName=D;var N="DialogTrigger",b=i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=p(N,r),s=v.useComposedRefs(t,o.triggerRef);return a.jsxRuntimeExports.jsx(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":h(o.open),...n,ref:s,onClick:d.composeEventHandlers(e.onClick,o.onOpenToggle)})});b.displayName=N;var y="DialogPortal",[Q,T]=O(y,{forceMount:void 0}),A=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,s=p(y,t);return a.jsxRuntimeExports.jsx(Q,{scope:t,forceMount:r,children:i.Children.map(n,l=>a.jsxRuntimeExports.jsx(j.Presence,{present:r||s.open,children:a.jsxRuntimeExports.jsx(P.Portal,{asChild:!0,container:o,children:l})}))})};A.displayName=y;var E="DialogOverlay",S=i.forwardRef((e,t)=>{const r=T(E,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=p(E,e.__scopeDialog);return s.modal?a.jsxRuntimeExports.jsx(j.Presence,{present:n||s.open,children:a.jsxRuntimeExports.jsx(ee,{...o,ref:t})}):null});S.displayName=E;var X=B("DialogOverlay.RemoveScroll"),ee=i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=p(E,r);return a.jsxRuntimeExports.jsx(R.ReactRemoveScroll,{as:X,allowPinchZoom:!0,shards:[o.contentRef],children:a.jsxRuntimeExports.jsx(d.Primitive.div,{"data-state":h(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),g="DialogContent",M=i.forwardRef((e,t)=>{const r=T(g,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,s=p(g,e.__scopeDialog);return a.jsxRuntimeExports.jsx(j.Presence,{present:n||s.open,children:s.modal?a.jsxRuntimeExports.jsx(te,{...o,ref:t}):a.jsxRuntimeExports.jsx(oe,{...o,ref:t})})});M.displayName=g;var te=i.forwardRef((e,t)=>{const r=p(g,e.__scopeDialog),n=i.useRef(null),o=v.useComposedRefs(t,r.contentRef,n);return i.useEffect(()=>{const s=n.current;if(s)return R.hideOthers(s)},[]),a.jsxRuntimeExports.jsx(w,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:d.composeEventHandlers(e.onCloseAutoFocus,s=>{var l;s.preventDefault(),(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:d.composeEventHandlers(e.onPointerDownOutside,s=>{const l=s.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&s.preventDefault()}),onFocusOutside:d.composeEventHandlers(e.onFocusOutside,s=>s.preventDefault())})}),oe=i.forwardRef((e,t)=>{const r=p(g,e.__scopeDialog),n=i.useRef(!1),o=i.useRef(!1);return a.jsxRuntimeExports.jsx(w,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var l,c;(l=e.onCloseAutoFocus)==null||l.call(e,s),s.defaultPrevented||(n.current||(c=r.triggerRef.current)==null||c.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{var u,f;(u=e.onInteractOutside)==null||u.call(e,s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=s.target;((f=r.triggerRef.current)==null?void 0:f.contains(l))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),w=i.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,...l}=e,c=p(g,r),u=i.useRef(null),f=v.useComposedRefs(t,u);return R.useFocusGuards(),a.jsxRuntimeExports.jsxs(a.jsxRuntimeExports.Fragment,{children:[a.jsxRuntimeExports.jsx(R.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:a.jsxRuntimeExports.jsx(P.DismissableLayer,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":h(c.open),...l,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),a.jsxRuntimeExports.jsxs(a.jsxRuntimeExports.Fragment,{children:[a.jsxRuntimeExports.jsx(ne,{titleId:c.titleId}),a.jsxRuntimeExports.jsx(se,{contentRef:u,descriptionId:c.descriptionId})]})]})}),_="DialogTitle",F=i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=p(_,r);return a.jsxRuntimeExports.jsx(d.Primitive.h2,{id:o.titleId,...n,ref:t})});F.displayName=_;var W="DialogDescription",$=i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=p(W,r);return a.jsxRuntimeExports.jsx(d.Primitive.p,{id:o.descriptionId,...n,ref:t})});$.displayName=W;var L="DialogClose",k=i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=p(L,r);return a.jsxRuntimeExports.jsx(d.Primitive.button,{type:"button",...n,ref:t,onClick:d.composeEventHandlers(e.onClick,()=>o.onOpenChange(!1))})});k.displayName=L;function h(e){return e?"open":"closed"}var q="DialogTitleWarning",[xe,G]=d.createContext2(q,{contentName:g,titleName:_,docsSlug:"dialog"}),ne=({titleId:e})=>{const t=G(q),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
+
3
+ If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
+
5
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},re="DialogDescriptionWarning",se=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${G(re).contentName}}.`;return i.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},ie=I,ae=b,le=A,ce=S,ue=M,de=F,fe=$,pe=k;exports.Close=pe;exports.Content=ue;exports.Description=fe;exports.Overlay=ce;exports.Portal=le;exports.Root=ie;exports.Title=de;exports.Trigger=ae;
@@ -0,0 +1 @@
1
+ "use strict";const y=require("react"),E=require("./index.BIcga6m3.js"),g=require("./index.DjUJriOp.js");function P(e){if(e&&typeof e=="object"&&"default"in e)return e;const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const a=P(y);function R(e,n){return a.useReducer((t,r)=>n[t][r]??t,e)}var A=e=>{const{present:n,children:t}=e,r=S(n),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=E.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};A.displayName="Presence";function S(e){const[n,t]=a.useState(),r=a.useRef(null),i=a.useRef(e),u=a.useRef("none"),p=e?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect2(()=>{const o=r.current,d=i.current;if(d!==e){const f=u.current,s=l(o);e?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,c]),g.useLayoutEffect2(()=>{if(n){let o;const d=n.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(CSS.escape(s.animationName));if(s.target===n&&M&&(c("ANIMATION_END"),!i.current)){const T=n.style.animationFillMode;n.style.animationFillMode="forwards",o=d.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=T)})}},f=s=>{s.target===n&&(u.current=l(r.current))};return n.addEventListener("animationstart",f),n.addEventListener("animationcancel",m),n.addEventListener("animationend",m),()=>{d.clearTimeout(o),n.removeEventListener("animationstart",f),n.removeEventListener("animationcancel",m),n.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{r.current=o?getComputedStyle(o):null,t(o)},[])}}function l(e){return(e==null?void 0:e.animationName)||"none"}function v(e){var r,i;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Presence=A;
@@ -0,0 +1,41 @@
1
+ "use strict";const oe=require("react"),ge=require("./index.BIcga6m3.js"),ye=require("./index.DjUJriOp.js"),z=require("./index.Cdy_UEl-.js"),be=require("./jsx-runtime.713F0z8w.js");function Se(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=Se(oe);var D="focusScope.autoFocusOnMount",_="focusScope.autoFocusOnUnmount",G={bubbles:!1,cancelable:!0},Ee="FocusScope",ce=u.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:c,onUnmountAutoFocus:i,...s}=e,[a,E]=u.useState(null),y=z.useCallbackRef(c),p=z.useCallbackRef(i),f=u.useRef(null),v=ge.useComposedRefs(t,o=>E(o)),h=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(r){let o=function(m){if(h.paused||!a)return;const g=m.target;a.contains(g)?f.current=g:R(f.current,{select:!0})},l=function(m){if(h.paused||!a)return;const g=m.relatedTarget;g!==null&&(a.contains(g)||R(f.current,{select:!0}))},d=function(m){if(document.activeElement===document.body)for(const b of m)b.removedNodes.length>0&&R(a)};document.addEventListener("focusin",o),document.addEventListener("focusout",l);const S=new MutationObserver(d);return a&&S.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",o),document.removeEventListener("focusout",l),S.disconnect()}}},[r,a,h.paused]),u.useEffect(()=>{if(a){Q.add(h);const o=document.activeElement;if(!a.contains(o)){const d=new CustomEvent(D,G);a.addEventListener(D,y),a.dispatchEvent(d),d.defaultPrevented||(we(Te(ue(a)),{select:!0}),document.activeElement===o&&R(a))}return()=>{a.removeEventListener(D,y),setTimeout(()=>{const d=new CustomEvent(_,G);a.addEventListener(_,p),a.dispatchEvent(d),d.defaultPrevented||R(o??document.body,{select:!0}),a.removeEventListener(_,p),Q.remove(h)},0)}}},[a,y,p,h]);const w=u.useCallback(o=>{if(!n&&!r||h.paused)return;const l=o.key==="Tab"&&!o.altKey&&!o.ctrlKey&&!o.metaKey,d=document.activeElement;if(l&&d){const S=o.currentTarget,[m,g]=Ce(S);m&&g?!o.shiftKey&&d===g?(o.preventDefault(),n&&R(m,{select:!0})):o.shiftKey&&d===m&&(o.preventDefault(),n&&R(g,{select:!0})):d===S&&o.preventDefault()}},[n,r,h.paused]);return be.jsxRuntimeExports.jsx(ye.Primitive.div,{tabIndex:-1,...s,ref:v,onKeyDown:w})});ce.displayName=Ee;function we(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(R(r,{select:t}),document.activeElement!==n)return}function Ce(e){const t=ue(e),n=Z(t,e),r=Z(t.reverse(),e);return[n,r]}function ue(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const c=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||c?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Z(e,t){for(const n of e)if(!Re(n,{upTo:t}))return n}function Re(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ke(e){return e instanceof HTMLInputElement&&"select"in e}function R(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ke(e)&&t&&e.select()}}var Q=Ae();function Ae(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=$(e,t),e.unshift(t)},remove(t){var n;e=$(e,t),(n=e[0])==null||n.resume()}}}function $(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Te(e){return e.filter(t=>t.tagName!=="A")}var U=0;function Oe(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??J()),document.body.insertAdjacentElement("beforeend",e[1]??J()),U++,()=>{U===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),U--}},[])}function J(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var C=function(){return C=Object.assign||function(t){for(var n,r=1,c=arguments.length;r<c;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},C.apply(this,arguments)};function ie(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,r=Object.getOwnPropertySymbols(e);c<r.length;c++)t.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(e,r[c])&&(n[r[c]]=e[r[c]]);return n}function Pe(e,t,n){if(n||arguments.length===2)for(var r=0,c=t.length,i;r<c;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var W="right-scroll-bar-position",B="width-before-scroll-bar",Me="with-scroll-bars-hidden",Ne="--removed-body-scroll-bar-size";function K(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Fe(e,t){var n=oe.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var c=n.value;c!==r&&(n.value=r,n.callback(r,c))}}}})[0];return n.callback=t,n.facade}var Le=typeof window<"u"?u.useLayoutEffect:u.useEffect,ee=new WeakMap;function xe(e,t){var n=Fe(null,function(r){return e.forEach(function(c){return K(c,r)})});return Le(function(){var r=ee.get(n);if(r){var c=new Set(r),i=new Set(e),s=n.current;c.forEach(function(a){i.has(a)||K(a,null)}),i.forEach(function(a){c.has(a)||K(a,s)})}ee.set(n,e)},[e]),n}function Ie(e){return e}function We(e,t){t===void 0&&(t=Ie);var n=[],r=!1,c={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var E=function(){var p=s;s=[],p.forEach(i)},y=function(){return Promise.resolve().then(E)};y(),n={push:function(p){s.push(p),y()},filter:function(p){return s=s.filter(p),n}}}};return c}function Be(e){e===void 0&&(e={});var t=We(null);return t.options=C({async:!0,ssr:!1},e),t}var le=function(e){var t=e.sideCar,n=ie(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return u.createElement(r,C({},n))};le.isSideCarExport=!0;function je(e,t){return e.useMedium(t),le}var se=Be(),H=function(){},j=u.forwardRef(function(e,t){var n=u.useRef(null),r=u.useState({onScrollCapture:H,onWheelCapture:H,onTouchMoveCapture:H}),c=r[0],i=r[1],s=e.forwardProps,a=e.children,E=e.className,y=e.removeScrollBar,p=e.enabled,f=e.shards,v=e.sideCar,h=e.noIsolation,w=e.inert,o=e.allowPinchZoom,l=e.as,d=l===void 0?"div":l,S=e.gapMode,m=ie(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),g=v,b=xe([n,t]),k=C(C({},m),c);return u.createElement(u.Fragment,null,p&&u.createElement(g,{sideCar:se,removeScrollBar:y,shards:f,noIsolation:h,inert:w,setCallbacks:i,allowPinchZoom:!!o,lockRef:n,gapMode:S}),s?u.cloneElement(u.Children.only(a),C(C({},k),{ref:b})):u.createElement(d,C({},k,{className:E,ref:b}),a))});j.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};j.classNames={fullWidth:B,zeroRight:W};var De=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function _e(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=De();return t&&e.setAttribute("nonce",t),e}function Ue(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ke(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var He=function(){var e=0,t=null;return{add:function(n){e==0&&(t=_e())&&(Ue(t,n),Ke(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ve=function(){var e=He();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},fe=function(){var e=Ve(),t=function(n){var r=n.styles,c=n.dynamic;return e(r,c),null};return t},Xe={left:0,top:0,right:0,gap:0},V=function(e){return parseInt(e||"",10)||0},Ye=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],c=t[e==="padding"?"paddingRight":"marginRight"];return[V(n),V(r),V(c)]},qe=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Xe;var t=Ye(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ze=fe(),P="data-scroll-locked",Ge=function(e,t,n,r){var c=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
2
+ .`.concat(Me,` {
3
+ overflow: hidden `).concat(r,`;
4
+ padding-right: `).concat(a,"px ").concat(r,`;
5
+ }
6
+ body[`).concat(P,`] {
7
+ overflow: hidden `).concat(r,`;
8
+ overscroll-behavior: contain;
9
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
10
+ padding-left: `.concat(c,`px;
11
+ padding-top: `).concat(i,`px;
12
+ padding-right: `).concat(s,`px;
13
+ margin-left:0;
14
+ margin-top:0;
15
+ margin-right: `).concat(a,"px ").concat(r,`;
16
+ `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
17
+ }
18
+
19
+ .`).concat(W,` {
20
+ right: `).concat(a,"px ").concat(r,`;
21
+ }
22
+
23
+ .`).concat(B,` {
24
+ margin-right: `).concat(a,"px ").concat(r,`;
25
+ }
26
+
27
+ .`).concat(W," .").concat(W,` {
28
+ right: 0 `).concat(r,`;
29
+ }
30
+
31
+ .`).concat(B," .").concat(B,` {
32
+ margin-right: 0 `).concat(r,`;
33
+ }
34
+
35
+ body[`).concat(P,`] {
36
+ `).concat(Ne,": ").concat(a,`px;
37
+ }
38
+ `)},te=function(){var e=parseInt(document.body.getAttribute(P)||"0",10);return isFinite(e)?e:0},Ze=function(){u.useEffect(function(){return document.body.setAttribute(P,(te()+1).toString()),function(){var e=te()-1;e<=0?document.body.removeAttribute(P):document.body.setAttribute(P,e.toString())}},[])},Qe=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,c=r===void 0?"margin":r;Ze();var i=u.useMemo(function(){return qe(c)},[c]);return u.createElement(ze,{styles:Ge(i,!t,c,n?"":"!important")})},Y=!1;if(typeof window<"u")try{var F=Object.defineProperty({},"passive",{get:function(){return Y=!0,!0}});window.addEventListener("test",F,F),window.removeEventListener("test",F,F)}catch{Y=!1}var A=Y?{passive:!1}:!1,$e=function(e){return e.tagName==="TEXTAREA"},de=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!$e(e)&&n[t]==="visible")},Je=function(e){return de(e,"overflowY")},et=function(e){return de(e,"overflowX")},ne=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var c=ve(e,r);if(c){var i=he(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},tt=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},nt=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ve=function(e,t){return e==="v"?Je(t):et(t)},he=function(e,t){return e==="v"?tt(t):nt(t)},rt=function(e,t){return e==="h"&&t==="rtl"?-1:1},at=function(e,t,n,r,c){var i=rt(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,E=t.contains(a),y=!1,p=s>0,f=0,v=0;do{var h=he(e,a),w=h[0],o=h[1],l=h[2],d=o-l-i*w;(w||d)&&ve(e,a)&&(f+=d,v+=w),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!E&&a!==document.body||E&&(t.contains(a)||t===a));return(p&&Math.abs(f)<1||!p&&Math.abs(v)<1)&&(y=!0),y},L=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},re=function(e){return[e.deltaX,e.deltaY]},ae=function(e){return e&&"current"in e?e.current:e},ot=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ct=function(e){return`
39
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
40
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
+ `)},ut=0,T=[];function it(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),c=u.useState(ut++)[0],i=u.useState(fe)[0],s=u.useRef(e);u.useEffect(function(){s.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(c));var o=Pe([e.lockRef.current],(e.shards||[]).map(ae),!0).filter(Boolean);return o.forEach(function(l){return l.classList.add("allow-interactivity-".concat(c))}),function(){document.body.classList.remove("block-interactivity-".concat(c)),o.forEach(function(l){return l.classList.remove("allow-interactivity-".concat(c))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(o,l){if("touches"in o&&o.touches.length===2||o.type==="wheel"&&o.ctrlKey)return!s.current.allowPinchZoom;var d=L(o),S=n.current,m="deltaX"in o?o.deltaX:S[0]-d[0],g="deltaY"in o?o.deltaY:S[1]-d[1],b,k=o.target,M=Math.abs(m)>Math.abs(g)?"h":"v";if("touches"in o&&M==="h"&&k.type==="range")return!1;var N=ne(M,k);if(!N)return!0;if(N?b=M:(b=M==="v"?"h":"v",N=ne(M,k)),!N)return!1;if(!r.current&&"changedTouches"in o&&(m||g)&&(r.current=b),!b)return!0;var q=r.current||b;return at(q,l,o,q==="h"?m:g)},[]),E=u.useCallback(function(o){var l=o;if(!(!T.length||T[T.length-1]!==i)){var d="deltaY"in l?re(l):L(l),S=t.current.filter(function(b){return b.name===l.type&&(b.target===l.target||l.target===b.shadowParent)&&ot(b.delta,d)})[0];if(S&&S.should){l.cancelable&&l.preventDefault();return}if(!S){var m=(s.current.shards||[]).map(ae).filter(Boolean).filter(function(b){return b.contains(l.target)}),g=m.length>0?a(l,m[0]):!s.current.noIsolation;g&&l.cancelable&&l.preventDefault()}}},[]),y=u.useCallback(function(o,l,d,S){var m={name:o,delta:l,target:d,should:S,shadowParent:lt(d)};t.current.push(m),setTimeout(function(){t.current=t.current.filter(function(g){return g!==m})},1)},[]),p=u.useCallback(function(o){n.current=L(o),r.current=void 0},[]),f=u.useCallback(function(o){y(o.type,re(o),o.target,a(o,e.lockRef.current))},[]),v=u.useCallback(function(o){y(o.type,L(o),o.target,a(o,e.lockRef.current))},[]);u.useEffect(function(){return T.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",E,A),document.addEventListener("touchmove",E,A),document.addEventListener("touchstart",p,A),function(){T=T.filter(function(o){return o!==i}),document.removeEventListener("wheel",E,A),document.removeEventListener("touchmove",E,A),document.removeEventListener("touchstart",p,A)}},[]);var h=e.removeScrollBar,w=e.inert;return u.createElement(u.Fragment,null,w?u.createElement(i,{styles:ct(c)}):null,h?u.createElement(Qe,{gapMode:e.gapMode}):null)}function lt(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const st=je(se,it);var me=u.forwardRef(function(e,t){return u.createElement(j,C({},e,{ref:t,sideCar:st}))});me.classNames=j.classNames;var ft=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},O=new WeakMap,x=new WeakMap,I={},X=0,pe=function(e){return e&&(e.host||pe(e.parentNode))},dt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=pe(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},vt=function(e,t,n,r){var c=dt(t,Array.isArray(e)?e:[e]);I[n]||(I[n]=new WeakMap);var i=I[n],s=[],a=new Set,E=new Set(c),y=function(f){!f||a.has(f)||(a.add(f),y(f.parentNode))};c.forEach(y);var p=function(f){!f||E.has(f)||Array.prototype.forEach.call(f.children,function(v){if(a.has(v))p(v);else try{var h=v.getAttribute(r),w=h!==null&&h!=="false",o=(O.get(v)||0)+1,l=(i.get(v)||0)+1;O.set(v,o),i.set(v,l),s.push(v),o===1&&w&&x.set(v,!0),l===1&&v.setAttribute(n,"true"),w||v.setAttribute(r,"true")}catch(d){console.error("aria-hidden: cannot operate on ",v,d)}})};return p(t),a.clear(),X++,function(){s.forEach(function(f){var v=O.get(f)-1,h=i.get(f)-1;O.set(f,v),i.set(f,h),v||(x.has(f)||f.removeAttribute(r),x.delete(f)),h||f.removeAttribute(n)}),X--,X||(O=new WeakMap,O=new WeakMap,x=new WeakMap,I={})}},ht=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),c=ft(e);return c?(r.push.apply(r,Array.from(c.querySelectorAll("[aria-live]"))),vt(r,c,n,"aria-hidden")):function(){return null}};exports.FocusScope=ce;exports.ReactRemoveScroll=me;exports.hideOthers=ht;exports.useFocusGuards=Oe;
@@ -1,4 +1,4 @@
1
- import { a as O } from "./utils.B9KdtH6G.js";
1
+ import { c as O } from "./clsx.OuTLNxxd.js";
2
2
  const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
3
3
  var u;
4
4
  if ((l == null ? void 0 : l.variants) == null) return y(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
@@ -0,0 +1 @@
1
+ "use strict";const M=require("react"),f=require("./index.DjUJriOp.js"),x=require("./index.BIcga6m3.js"),h=require("./jsx-runtime.713F0z8w.js"),I=require("react-dom"),H=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function U(e){if(e&&typeof e=="object"&&"default"in e)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=U(M),q=H(I);function y(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>{var s;return(s=t.current)==null?void 0:s.call(t,...n)},[])}function z(e,t=globalThis==null?void 0:globalThis.document){const n=y(e);i.useEffect(()=>{const s=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",s,{capture:!0}),()=>t.removeEventListener("keydown",s,{capture:!0})},[n,t])}var K="DismissableLayer",m="dismissableLayer.update",$="dismissableLayer.pointerDownOutside",X="dismissableLayer.focusOutside",R,w=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:o,onInteractOutside:l,onDismiss:c,...v}=e,u=i.useContext(w),[d,j]=i.useState(null),E=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,B]=i.useState({}),N=x.useComposedRefs(t,a=>j(a)),P=Array.from(u.layers),[A]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),F=P.indexOf(A),D=d?P.indexOf(d):-1,W=u.layersWithOutsidePointerEventsDisabled.size>0,O=D>=F,k=J(a=>{const p=a.target,L=[...u.branches].some(b=>b.contains(p));!O||L||(r==null||r(a),l==null||l(a),a.defaultPrevented||c==null||c())},E),C=Q(a=>{const p=a.target;[...u.branches].some(b=>b.contains(p))||(o==null||o(a),l==null||l(a),a.defaultPrevented||c==null||c())},E);return z(a=>{D===u.layers.size-1&&(s==null||s(a),!a.defaultPrevented&&c&&(a.preventDefault(),c()))},E),i.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(R=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),g(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(E.body.style.pointerEvents=R)}},[d,E,n,u]),i.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),g())},[d,u]),i.useEffect(()=>{const a=()=>B({});return document.addEventListener(m,a),()=>document.removeEventListener(m,a)},[]),h.jsxRuntimeExports.jsx(f.Primitive.div,{...v,ref:N,style:{pointerEvents:W?O?"auto":"none":void 0,...e.style},onFocusCapture:f.composeEventHandlers(e.onFocusCapture,C.onFocusCapture),onBlurCapture:f.composeEventHandlers(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:f.composeEventHandlers(e.onPointerDownCapture,k.onPointerDownCapture)})});T.displayName=K;var Y="DismissableLayerBranch",G=i.forwardRef((e,t)=>{const n=i.useContext(w),s=i.useRef(null),r=x.useComposedRefs(t,s);return i.useEffect(()=>{const o=s.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),h.jsxRuntimeExports.jsx(f.Primitive.div,{...e,ref:r})});G.displayName=Y;function J(e,t=globalThis==null?void 0:globalThis.document){const n=y(e),s=i.useRef(!1),r=i.useRef(()=>{});return i.useEffect(()=>{const o=c=>{if(c.target&&!s.current){let v=function(){S($,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function Q(e,t=globalThis==null?void 0:globalThis.document){const n=y(e),s=i.useRef(!1);return i.useEffect(()=>{const r=o=>{o.target&&!s.current&&S(X,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(m);document.dispatchEvent(e)}function S(e,t,n,{discrete:s}){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?f.dispatchDiscreteCustomEvent(r,o):r.dispatchEvent(o)}var V="Portal",_=i.forwardRef((e,t)=>{var c;const{container:n,...s}=e,[r,o]=i.useState(!1);f.useLayoutEffect2(()=>o(!0),[]);const l=n||r&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return l?q.default.createPortal(h.jsxRuntimeExports.jsx(f.Primitive.div,{...s,ref:t}),l):null});_.displayName=V;exports.DismissableLayer=T;exports.Portal=_;exports.useCallbackRef=y;
@@ -0,0 +1,205 @@
1
+ import * as s from "react";
2
+ import { j as v } from "./jsx-runtime.Drh4NO5G.js";
3
+ import * as y from "react-dom";
4
+ import { c as P } from "./index.DLcqcWxM.js";
5
+ function W(t, e) {
6
+ const o = s.createContext(e), r = (u) => {
7
+ const { children: c, ...i } = u, l = s.useMemo(() => i, Object.values(i));
8
+ return /* @__PURE__ */ v.jsx(o.Provider, { value: l, children: c });
9
+ };
10
+ r.displayName = t + "Provider";
11
+ function n(u) {
12
+ const c = s.useContext(o);
13
+ if (c) return c;
14
+ if (e !== void 0) return e;
15
+ throw new Error(`\`${u}\` must be used within \`${t}\``);
16
+ }
17
+ return [r, n];
18
+ }
19
+ function A(t, e = []) {
20
+ let o = [];
21
+ function r(u, c) {
22
+ const i = s.createContext(c), l = o.length;
23
+ o = [...o, c];
24
+ const a = (f) => {
25
+ var C;
26
+ const { scope: p, children: x, ...m } = f, S = ((C = p == null ? void 0 : p[t]) == null ? void 0 : C[l]) || i, h = s.useMemo(() => m, Object.values(m));
27
+ return /* @__PURE__ */ v.jsx(S.Provider, { value: h, children: x });
28
+ };
29
+ a.displayName = u + "Provider";
30
+ function d(f, p) {
31
+ var S;
32
+ const x = ((S = p == null ? void 0 : p[t]) == null ? void 0 : S[l]) || i, m = s.useContext(x);
33
+ if (m) return m;
34
+ if (c !== void 0) return c;
35
+ throw new Error(`\`${f}\` must be used within \`${u}\``);
36
+ }
37
+ return [a, d];
38
+ }
39
+ const n = () => {
40
+ const u = o.map((c) => s.createContext(c));
41
+ return function(i) {
42
+ const l = (i == null ? void 0 : i[t]) || u;
43
+ return s.useMemo(
44
+ () => ({ [`__scope${t}`]: { ...i, [t]: l } }),
45
+ [i, l]
46
+ );
47
+ };
48
+ };
49
+ return n.scopeName = t, [r, b(n, ...e)];
50
+ }
51
+ function b(...t) {
52
+ const e = t[0];
53
+ if (t.length === 1) return e;
54
+ const o = () => {
55
+ const r = t.map((n) => ({
56
+ useScope: n(),
57
+ scopeName: n.scopeName
58
+ }));
59
+ return function(u) {
60
+ const c = r.reduce((i, { useScope: l, scopeName: a }) => {
61
+ const f = l(u)[`__scope${a}`];
62
+ return { ...i, ...f };
63
+ }, {});
64
+ return s.useMemo(() => ({ [`__scope${e.scopeName}`]: c }), [c]);
65
+ };
66
+ };
67
+ return o.scopeName = e.scopeName, o;
68
+ }
69
+ function L(t, e, { checkForDefaultPrevented: o = !0 } = {}) {
70
+ return function(n) {
71
+ if (t == null || t(n), o === !1 || !n.defaultPrevented)
72
+ return e == null ? void 0 : e(n);
73
+ };
74
+ }
75
+ var w = globalThis != null && globalThis.document ? s.useLayoutEffect : () => {
76
+ }, E = s[" useInsertionEffect ".trim().toString()] || w;
77
+ function T({
78
+ prop: t,
79
+ defaultProp: e,
80
+ onChange: o = () => {
81
+ },
82
+ caller: r
83
+ }) {
84
+ const [n, u, c] = R({
85
+ defaultProp: e,
86
+ onChange: o
87
+ }), i = t !== void 0, l = i ? t : n;
88
+ {
89
+ const d = s.useRef(t !== void 0);
90
+ s.useEffect(() => {
91
+ const f = d.current;
92
+ f !== i && console.warn(
93
+ `${r} is changing from ${f ? "controlled" : "uncontrolled"} to ${i ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
94
+ ), d.current = i;
95
+ }, [i, r]);
96
+ }
97
+ const a = s.useCallback(
98
+ (d) => {
99
+ var f;
100
+ if (i) {
101
+ const p = $(d) ? d(t) : d;
102
+ p !== t && ((f = c.current) == null || f.call(c, p));
103
+ } else
104
+ u(d);
105
+ },
106
+ [i, t, u, c]
107
+ );
108
+ return [l, a];
109
+ }
110
+ function R({
111
+ defaultProp: t,
112
+ onChange: e
113
+ }) {
114
+ const [o, r] = s.useState(t), n = s.useRef(o), u = s.useRef(e);
115
+ return E(() => {
116
+ u.current = e;
117
+ }, [e]), s.useEffect(() => {
118
+ var c;
119
+ n.current !== o && ((c = u.current) == null || c.call(u, o), n.current = o);
120
+ }, [o, n]), [o, r, u];
121
+ }
122
+ function $(t) {
123
+ return typeof t == "function";
124
+ }
125
+ // @__NO_SIDE_EFFECTS__
126
+ function j(t) {
127
+ const e = /* @__PURE__ */ g(t), o = s.forwardRef((r, n) => {
128
+ const { children: u, ...c } = r, i = s.Children.toArray(u), l = i.find(O);
129
+ if (l) {
130
+ const a = l.props.children, d = i.map((f) => f === l ? s.Children.count(a) > 1 ? s.Children.only(null) : s.isValidElement(a) ? a.props.children : null : f);
131
+ return /* @__PURE__ */ v.jsx(e, { ...c, ref: n, children: s.isValidElement(a) ? s.cloneElement(a, void 0, d) : null });
132
+ }
133
+ return /* @__PURE__ */ v.jsx(e, { ...c, ref: n, children: u });
134
+ });
135
+ return o.displayName = `${t}.Slot`, o;
136
+ }
137
+ // @__NO_SIDE_EFFECTS__
138
+ function g(t) {
139
+ const e = s.forwardRef((o, r) => {
140
+ const { children: n, ...u } = o;
141
+ if (s.isValidElement(n)) {
142
+ const c = D(n), i = N(u, n.props);
143
+ return n.type !== s.Fragment && (i.ref = r ? P(r, c) : c), s.cloneElement(n, i);
144
+ }
145
+ return s.Children.count(n) > 1 ? s.Children.only(null) : null;
146
+ });
147
+ return e.displayName = `${t}.SlotClone`, e;
148
+ }
149
+ var _ = Symbol("radix.slottable");
150
+ function O(t) {
151
+ return s.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === _;
152
+ }
153
+ function N(t, e) {
154
+ const o = { ...e };
155
+ for (const r in e) {
156
+ const n = t[r], u = e[r];
157
+ /^on[A-Z]/.test(r) ? n && u ? o[r] = (...i) => {
158
+ const l = u(...i);
159
+ return n(...i), l;
160
+ } : n && (o[r] = n) : r === "style" ? o[r] = { ...n, ...u } : r === "className" && (o[r] = [n, u].filter(Boolean).join(" "));
161
+ }
162
+ return { ...t, ...o };
163
+ }
164
+ function D(t) {
165
+ var r, n;
166
+ let e = (r = Object.getOwnPropertyDescriptor(t.props, "ref")) == null ? void 0 : r.get, o = e && "isReactWarning" in e && e.isReactWarning;
167
+ return o ? t.ref : (e = (n = Object.getOwnPropertyDescriptor(t, "ref")) == null ? void 0 : n.get, o = e && "isReactWarning" in e && e.isReactWarning, o ? t.props.ref : t.props.ref || t.ref);
168
+ }
169
+ var I = [
170
+ "a",
171
+ "button",
172
+ "div",
173
+ "form",
174
+ "h2",
175
+ "h3",
176
+ "img",
177
+ "input",
178
+ "label",
179
+ "li",
180
+ "nav",
181
+ "ol",
182
+ "p",
183
+ "select",
184
+ "span",
185
+ "svg",
186
+ "ul"
187
+ ], B = I.reduce((t, e) => {
188
+ const o = /* @__PURE__ */ j(`Primitive.${e}`), r = s.forwardRef((n, u) => {
189
+ const { asChild: c, ...i } = n, l = c ? o : e;
190
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ v.jsx(l, { ...i, ref: u });
191
+ });
192
+ return r.displayName = `Primitive.${e}`, { ...t, [e]: r };
193
+ }, {});
194
+ function F(t, e) {
195
+ t && y.flushSync(() => t.dispatchEvent(e));
196
+ }
197
+ export {
198
+ B as P,
199
+ T as a,
200
+ L as b,
201
+ A as c,
202
+ W as d,
203
+ F as e,
204
+ w as u
205
+ };