@pfct/purple 1.5.0-npm-next.3 → 1.5.0-npm-next.5

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 (272) hide show
  1. package/dist/chunks/{index.B4T1_S1a.js → index.B7ToLlZV.js} +300 -300
  2. package/dist/chunks/index.BUYroSWi.js +1 -0
  3. package/dist/chunks/index.CycwZAWT.js +67 -0
  4. package/dist/chunks/index.D2Ren1qk.js +45 -0
  5. package/dist/chunks/{index.styled.D9nfJhVZ.js → index.styled.BYNpitkL.js} +252 -252
  6. package/dist/chunks/index.styled.BbkiuKd_.js +398 -0
  7. package/dist/components/Accordion/index.cjs.js +1 -1
  8. package/dist/components/Accordion/index.es.js +223 -223
  9. package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
  10. package/dist/components/Badge/BaseBadge/index.es.js +10 -10
  11. package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
  12. package/dist/components/Badge/BaseBadge/index.styled.es.js +2 -2
  13. package/dist/components/Badge/IconBadge/index.cjs.js +1 -1
  14. package/dist/components/Badge/IconBadge/index.es.js +6 -6
  15. package/dist/components/Badge/TextBadge/index.cjs.js +1 -1
  16. package/dist/components/Badge/TextBadge/index.es.js +7 -7
  17. package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
  18. package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +22 -21
  19. package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
  20. package/dist/components/BottomSheet/NavBottomSheet/index.es.js +2 -2
  21. package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
  22. package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +2 -2
  23. package/dist/components/BottomSheet/index.cjs.js +1 -1
  24. package/dist/components/BottomSheet/index.es.js +1 -1
  25. package/dist/components/Button/BaseButton/index.cjs.js +1 -1
  26. package/dist/components/Button/BaseButton/index.es.js +5 -5
  27. package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
  28. package/dist/components/Button/DoubleButton/index.es.js +2 -2
  29. package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
  30. package/dist/components/Button/FloatBaseButton/index.es.js +12 -12
  31. package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
  32. package/dist/components/Button/FloatDoubleButton/index.es.js +11 -11
  33. package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
  34. package/dist/components/Button/FloatSingleButton/index.es.js +12 -12
  35. package/dist/components/Button/SingleButton/index.cjs.js +1 -1
  36. package/dist/components/Button/SingleButton/index.es.js +4 -4
  37. package/dist/components/Button/TestButton/index.cjs.js +1 -1
  38. package/dist/components/Button/TestButton/index.es.js +2 -2
  39. package/dist/components/Button/index.cjs.js +1 -1
  40. package/dist/components/Button/index.es.js +1 -1
  41. package/dist/components/Card/index.cjs.js +1 -1
  42. package/dist/components/Card/index.es.js +7 -7
  43. package/dist/components/Chips/BasicChips/index.cjs.js +1 -1
  44. package/dist/components/Chips/BasicChips/index.es.js +8 -8
  45. package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
  46. package/dist/components/Chips/BasicChips/index.styled.es.js +2 -2
  47. package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
  48. package/dist/components/Chips/ChipItem/index.es.js +46 -48
  49. package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
  50. package/dist/components/Chips/ChipItem/index.styled.es.js +20 -19
  51. package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
  52. package/dist/components/Chips/ChipsFrame/index.es.js +28 -28
  53. package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
  54. package/dist/components/Chips/ChipsFrame/index.styled.es.js +2 -2
  55. package/dist/components/Comment/Group/index.cjs.js +1 -1
  56. package/dist/components/Comment/Group/index.es.js +3 -3
  57. package/dist/components/Comment/Item/index.cjs.js +1 -1
  58. package/dist/components/Comment/Item/index.es.js +6 -6
  59. package/dist/components/Control/CheckBox/CheckIcon.cjs.js +1 -1
  60. package/dist/components/Control/CheckBox/CheckIcon.es.js +8 -8
  61. package/dist/components/Control/CheckBox/index.cjs.js +1 -1
  62. package/dist/components/Control/CheckBox/index.es.js +29 -28
  63. package/dist/components/Control/CheckMark/CheckMark.cjs.js +1 -1
  64. package/dist/components/Control/CheckMark/CheckMark.es.js +3 -3
  65. package/dist/components/Control/CheckMark/index.cjs.js +1 -1
  66. package/dist/components/Control/CheckMark/index.es.js +22 -21
  67. package/dist/components/Control/RadioButton/index.cjs.js +1 -1
  68. package/dist/components/Control/RadioButton/index.es.js +11 -11
  69. package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
  70. package/dist/components/Control/RadioButton/index.styled.es.js +17 -16
  71. package/dist/components/Control/Switch/index.cjs.js +1 -1
  72. package/dist/components/Control/Switch/index.es.js +23 -22
  73. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
  74. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +25 -24
  75. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
  76. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +26 -25
  77. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
  78. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +3 -3
  79. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
  80. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +27 -26
  81. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
  82. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +31 -30
  83. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
  84. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +27 -26
  85. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
  86. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +28 -27
  87. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
  88. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +5 -5
  89. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
  90. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +1 -1
  91. package/dist/components/DatePicker/BaseDatePicker/Month/index.cjs.js +1 -1
  92. package/dist/components/DatePicker/BaseDatePicker/Month/index.es.js +4 -4
  93. package/dist/components/DatePicker/BaseDatePicker/Week/index.cjs.js +1 -1
  94. package/dist/components/DatePicker/BaseDatePicker/Week/index.es.js +3 -3
  95. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
  96. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +25 -25
  97. package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
  98. package/dist/components/DatePicker/BaseDatePicker/index.es.js +46 -45
  99. package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
  100. package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +26 -26
  101. package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
  102. package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +27 -26
  103. package/dist/components/Divider/index.cjs.js +1 -1
  104. package/dist/components/Divider/index.es.js +3 -3
  105. package/dist/components/Input/BaseInput/index.cjs.js +1 -1
  106. package/dist/components/Input/BaseInput/index.es.js +39 -39
  107. package/dist/components/Input/NumberInput/index.cjs.js +1 -1
  108. package/dist/components/Input/NumberInput/index.es.js +38 -37
  109. package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
  110. package/dist/components/Input/PostfixInput/index.es.js +60 -60
  111. package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
  112. package/dist/components/Input/PostfixInput/index.util.es.js +20 -19
  113. package/dist/components/Input/ResidentNumberInput/index.cjs.js +1 -1
  114. package/dist/components/Input/ResidentNumberInput/index.es.js +73 -73
  115. package/dist/components/Input/TextField/index.cjs.js +1 -1
  116. package/dist/components/Input/TextField/index.es.js +49 -49
  117. package/dist/components/Input/common/InputFrame/index.cjs.js +1 -1
  118. package/dist/components/Input/common/InputFrame/index.es.js +17 -17
  119. package/dist/components/Input/index.cjs.js +1 -1
  120. package/dist/components/Input/index.d.ts +1 -0
  121. package/dist/components/Input/index.es.js +24 -22
  122. package/dist/components/List/index.cjs.js +1 -1
  123. package/dist/components/List/index.es.js +13 -13
  124. package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
  125. package/dist/components/Loading/ProgressBar/index.es.js +7 -7
  126. package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
  127. package/dist/components/Loading/ProgressBar/index.styled.es.js +18 -17
  128. package/dist/components/Loading/Skeleton/SkeletonLayout/index.cjs.js +1 -1
  129. package/dist/components/Loading/Skeleton/SkeletonLayout/index.es.js +3 -3
  130. package/dist/components/Loading/Skeleton/index.cjs.js +1 -1
  131. package/dist/components/Loading/Skeleton/index.es.js +10 -10
  132. package/dist/components/Loading/Spinner/index.cjs.js +1 -1
  133. package/dist/components/Loading/Spinner/index.es.js +2 -2
  134. package/dist/components/Loading/index.cjs.js +1 -1
  135. package/dist/components/Loading/index.es.js +1 -1
  136. package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
  137. package/dist/components/MiniButton/BoxMiniButton/index.es.js +6 -6
  138. package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
  139. package/dist/components/MiniButton/IconMiniButton/index.es.js +27 -30
  140. package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
  141. package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +39 -42
  142. package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
  143. package/dist/components/MiniButton/common/ButtonTag.es.js +3 -3
  144. package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
  145. package/dist/components/MiniButton/common/index.styled.es.js +19 -18
  146. package/dist/components/Modal/BaseModal/index.cjs.js +1 -1
  147. package/dist/components/Modal/BaseModal/index.es.js +2 -2
  148. package/dist/components/Modal/index.cjs.js +1 -1
  149. package/dist/components/Modal/index.es.js +2 -2
  150. package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
  151. package/dist/components/Navigation/BaseNavigation/index.es.js +15 -15
  152. package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
  153. package/dist/components/Navigation/BottomNavigationBar/index.es.js +12 -12
  154. package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
  155. package/dist/components/Navigation/PageNavigationBar/index.es.js +33 -33
  156. package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
  157. package/dist/components/Navigation/TitleNavigationBar/index.es.js +24 -24
  158. package/dist/components/Navigation/index.cjs.js +1 -1
  159. package/dist/components/Navigation/index.es.js +31 -31
  160. package/dist/components/OverlayRoot/index.cjs.js +1 -1
  161. package/dist/components/OverlayRoot/index.es.js +17 -16
  162. package/dist/components/Segment/BaseSegment/index.cjs.js +1 -1
  163. package/dist/components/Segment/BaseSegment/index.es.js +14 -14
  164. package/dist/components/Segment/ExtendSegment/index.cjs.js +1 -1
  165. package/dist/components/Segment/ExtendSegment/index.es.js +19 -19
  166. package/dist/components/SelectBox/index.cjs.js +1 -1
  167. package/dist/components/SelectBox/index.es.js +55 -55
  168. package/dist/components/SelectBox/index.styled.cjs.js +1 -1
  169. package/dist/components/SelectBox/index.styled.es.js +24 -23
  170. package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
  171. package/dist/components/Tabs/FillTabs/index.es.js +26 -25
  172. package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
  173. package/dist/components/Tabs/TextTabs/index.es.js +31 -30
  174. package/dist/components/Tag/index.cjs.js +1 -1
  175. package/dist/components/Tag/index.es.js +4 -4
  176. package/dist/components/Tag/index.styled.cjs.js +1 -1
  177. package/dist/components/Tag/index.styled.es.js +17 -16
  178. package/dist/components/Terms/index.cjs.js +1 -1
  179. package/dist/components/Terms/index.es.js +40 -39
  180. package/dist/components/Title/index.cjs.js +1 -1
  181. package/dist/components/Title/index.es.js +13 -13
  182. package/dist/components/Title/index.styled.cjs.js +1 -1
  183. package/dist/components/Title/index.styled.es.js +18 -17
  184. package/dist/components/ToastMessage/BaseToastMessage/index.cjs.js +1 -1
  185. package/dist/components/ToastMessage/BaseToastMessage/index.es.js +10 -10
  186. package/dist/components/ToastMessage/BaseToastMessage/index.styled.cjs.js +1 -1
  187. package/dist/components/ToastMessage/BaseToastMessage/index.styled.es.js +18 -17
  188. package/dist/components/ToastMessage/Toast/index.cjs.js +1 -1
  189. package/dist/components/ToastMessage/Toast/index.es.js +20 -20
  190. package/dist/components/Tooltip/BasicTooltip/index.cjs.js +1 -1
  191. package/dist/components/Tooltip/BasicTooltip/index.es.js +4 -4
  192. package/dist/components/Tooltip/ImpactTooltip/index.cjs.js +1 -1
  193. package/dist/components/Tooltip/ImpactTooltip/index.es.js +5 -5
  194. package/dist/components/Tooltip/TooltipBase/index.cjs.js +2 -2
  195. package/dist/components/Tooltip/TooltipBase/index.es.js +42 -42
  196. package/dist/components/index.cjs.js +1 -1
  197. package/dist/components/index.es.js +36 -34
  198. package/dist/components/ui/bottomSheet.cjs.js +7 -7
  199. package/dist/components/ui/bottomSheet.es.js +90 -90
  200. package/dist/components/ui/button.cjs.js +1 -1
  201. package/dist/components/ui/button.es.js +3 -3
  202. package/dist/components/ui/dialog.cjs.js +1 -1
  203. package/dist/components/ui/dialog.es.js +43 -43
  204. package/dist/components/ui/drawer.cjs.js +2 -2
  205. package/dist/components/ui/drawer.es.js +159 -159
  206. package/dist/components/ui/share-ui.cjs.js +1 -1
  207. package/dist/components/ui/share-ui.es.js +34 -34
  208. package/dist/components/ui/typography.cjs.js +1 -1
  209. package/dist/components/ui/typography.es.js +3 -3
  210. package/dist/core/Display/Mobile.cjs.js +1 -1
  211. package/dist/core/Display/Mobile.es.js +4 -4
  212. package/dist/core/Display/Pc.cjs.js +1 -1
  213. package/dist/core/Display/Pc.es.js +4 -4
  214. package/dist/core/Display/index.styled.cjs.js +1 -1
  215. package/dist/core/Display/index.styled.es.js +18 -17
  216. package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
  217. package/dist/core/Typography/BaseTypography/index.es.js +5 -5
  218. package/dist/core/Typography/index.cjs.js +1 -1
  219. package/dist/core/Typography/index.es.js +19 -19
  220. package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
  221. package/dist/hooks/useLayoutIsMobile.es.js +18 -17
  222. package/dist/icons/src/aliases/aliases.cjs.js +1 -1
  223. package/dist/icons/src/aliases/aliases.d.ts +13 -13
  224. package/dist/icons/src/aliases/aliases.es.js +46 -46
  225. package/dist/icons/src/aliases/index.cjs.js +1 -1
  226. package/dist/icons/src/aliases/index.es.js +92 -92
  227. package/dist/icons/src/aliases/prefixed.cjs.js +1 -1
  228. package/dist/icons/src/aliases/prefixed.d.ts +16 -16
  229. package/dist/icons/src/aliases/prefixed.es.js +50 -50
  230. package/dist/icons/src/aliases/suffixed.cjs.js +1 -1
  231. package/dist/icons/src/aliases/suffixed.d.ts +17 -17
  232. package/dist/icons/src/aliases/suffixed.es.js +42 -42
  233. package/dist/icons/src/icons/index.cjs.js +1 -1
  234. package/dist/icons/src/icons/index.d.ts +12 -12
  235. package/dist/icons/src/icons/index.es.js +48 -48
  236. package/dist/index.cjs.js +1 -1
  237. package/dist/index.es.js +254 -252
  238. package/dist/library/BasicForm/index.cjs.js +1 -1
  239. package/dist/library/BasicForm/index.es.js +11 -11
  240. package/dist/library/BasicLayout/Body.cjs.js +1 -1
  241. package/dist/library/BasicLayout/Body.es.js +7 -7
  242. package/dist/library/BasicLayout/Footer.cjs.js +1 -1
  243. package/dist/library/BasicLayout/Footer.es.js +74 -73
  244. package/dist/library/BasicLayout/index.cjs.js +1 -1
  245. package/dist/library/BasicLayout/index.es.js +50 -49
  246. package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
  247. package/dist/library/BasicLayout/index.styled.es.js +46 -45
  248. package/dist/library/IconWithImage/index.cjs.js +1 -1
  249. package/dist/library/IconWithImage/index.es.js +4 -4
  250. package/dist/library/List/BottomSheetItemList/index.cjs.js +1 -1
  251. package/dist/library/List/BottomSheetItemList/index.es.js +5 -5
  252. package/dist/library/Lottie/index.cjs.js +1 -1
  253. package/dist/library/Lottie/index.es.js +55 -55
  254. package/dist/library/Spacing/index.cjs.js +1 -1
  255. package/dist/library/Spacing/index.es.js +3 -3
  256. package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
  257. package/dist/utils/GenerateColorStyle/chip.es.js +2 -2
  258. package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
  259. package/dist/utils/GenerateColorStyle/index.es.js +1 -1
  260. package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
  261. package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +18 -17
  262. package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
  263. package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +18 -17
  264. package/dist/utils/index.cjs.js +1 -1
  265. package/dist/utils/index.es.js +1 -1
  266. package/package.json +1 -1
  267. package/dist/chunks/index.Dj0l8V9d.js +0 -67
  268. package/dist/chunks/index.DsdUneNS.js +0 -45
  269. package/dist/chunks/index.Y_MfYxSQ.js +0 -1
  270. package/dist/chunks/index.styled.7ZYWAl1u.js +0 -398
  271. package/dist/chunks/jsx-runtime.713F0z8w.js +0 -30
  272. package/dist/chunks/jsx-runtime.Drh4NO5G.js +0 -633
@@ -1,19 +1,19 @@
1
1
  import * as c from "react";
2
- import { useState as nt } from "react";
3
- import { S as Pe, u as L } from "./index.Dj0l8V9d.js";
4
- import { j as y } from "./jsx-runtime.Drh4NO5G.js";
5
- import * as rt from "react-dom";
6
- import ot from "react-dom";
7
- function T(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
2
+ import { useState as ot } from "react";
3
+ import { S as Ne, u as L } from "./index.CycwZAWT.js";
4
+ import { jsx as y, jsxs as de, Fragment as fe } from "react/jsx-runtime";
5
+ import * as at from "react-dom";
6
+ import it from "react-dom";
7
+ function M(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
8
8
  return function(o) {
9
9
  if (e == null || e(o), n === !1 || !o.defaultPrevented)
10
10
  return t == null ? void 0 : t(o);
11
11
  };
12
12
  }
13
- function at(e, t) {
13
+ function ct(e, t) {
14
14
  const n = c.createContext(t), r = (a) => {
15
15
  const { children: s, ...i } = a, d = c.useMemo(() => i, Object.values(i));
16
- return /* @__PURE__ */ y.jsx(n.Provider, { value: d, children: s });
16
+ return /* @__PURE__ */ y(n.Provider, { value: d, children: s });
17
17
  };
18
18
  r.displayName = e + "Provider";
19
19
  function o(a) {
@@ -24,7 +24,7 @@ function at(e, t) {
24
24
  }
25
25
  return [r, o];
26
26
  }
27
- function it(e, t = []) {
27
+ function st(e, t = []) {
28
28
  let n = [];
29
29
  function r(a, s) {
30
30
  const i = c.createContext(s), d = n.length;
@@ -32,7 +32,7 @@ function it(e, t = []) {
32
32
  const l = (v) => {
33
33
  var g;
34
34
  const { scope: m, children: p, ...S } = v, u = ((g = m == null ? void 0 : m[e]) == null ? void 0 : g[d]) || i, h = c.useMemo(() => S, Object.values(S));
35
- return /* @__PURE__ */ y.jsx(u.Provider, { value: h, children: p });
35
+ return /* @__PURE__ */ y(u.Provider, { value: h, children: p });
36
36
  };
37
37
  l.displayName = a + "Provider";
38
38
  function f(v, m) {
@@ -54,9 +54,9 @@ function it(e, t = []) {
54
54
  );
55
55
  };
56
56
  };
57
- return o.scopeName = e, [r, ct(o, ...t)];
57
+ return o.scopeName = e, [r, ut(o, ...t)];
58
58
  }
59
- function ct(...e) {
59
+ function ut(...e) {
60
60
  const t = e[0];
61
61
  if (e.length === 1) return t;
62
62
  const n = () => {
@@ -74,16 +74,16 @@ function ct(...e) {
74
74
  };
75
75
  return n.scopeName = t.scopeName, n;
76
76
  }
77
- var st = globalThis != null && globalThis.document ? c.useLayoutEffect : () => {
78
- }, ut = c.useId || (() => {
79
- }), lt = 0;
77
+ var lt = globalThis != null && globalThis.document ? c.useLayoutEffect : () => {
78
+ }, dt = c.useId || (() => {
79
+ }), ft = 0;
80
80
  function q(e) {
81
- const [t, n] = c.useState(ut());
82
- return st(() => {
83
- n((r) => r ?? String(lt++));
81
+ const [t, n] = c.useState(dt());
82
+ return lt(() => {
83
+ n((r) => r ?? String(ft++));
84
84
  }, [e]), e || (t ? `radix-${t}` : "");
85
85
  }
86
- function M(e) {
86
+ function I(e) {
87
87
  const t = c.useRef(e);
88
88
  return c.useEffect(() => {
89
89
  t.current = e;
@@ -92,13 +92,13 @@ function M(e) {
92
92
  return (r = t.current) == null ? void 0 : r.call(t, ...n);
93
93
  }, []);
94
94
  }
95
- function dt({
95
+ function vt({
96
96
  prop: e,
97
97
  defaultProp: t,
98
98
  onChange: n = () => {
99
99
  }
100
100
  }) {
101
- const [r, o] = ft({ defaultProp: t, onChange: n }), a = e !== void 0, s = a ? e : r, i = M(n), d = c.useCallback(
101
+ const [r, o] = mt({ defaultProp: t, onChange: n }), a = e !== void 0, s = a ? e : r, i = I(n), d = c.useCallback(
102
102
  (l) => {
103
103
  if (a) {
104
104
  const v = typeof l == "function" ? l(e) : l;
@@ -110,16 +110,16 @@ function dt({
110
110
  );
111
111
  return [s, d];
112
112
  }
113
- function ft({
113
+ function mt({
114
114
  defaultProp: e,
115
115
  onChange: t
116
116
  }) {
117
- const n = c.useState(e), [r] = n, o = c.useRef(r), a = M(t);
117
+ const n = c.useState(e), [r] = n, o = c.useRef(r), a = I(t);
118
118
  return c.useEffect(() => {
119
119
  o.current !== r && (a(r), o.current = r);
120
120
  }, [r, o, a]), n;
121
121
  }
122
- var vt = [
122
+ var ht = [
123
123
  "a",
124
124
  "button",
125
125
  "div",
@@ -136,18 +136,18 @@ var vt = [
136
136
  "span",
137
137
  "svg",
138
138
  "ul"
139
- ], x = vt.reduce((e, t) => {
139
+ ], A = ht.reduce((e, t) => {
140
140
  const n = c.forwardRef((r, o) => {
141
- const { asChild: a, ...s } = r, i = a ? Pe : t;
142
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ y.jsx(i, { ...s, ref: o });
141
+ const { asChild: a, ...s } = r, i = a ? Ne : t;
142
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ y(i, { ...s, ref: o });
143
143
  });
144
144
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
145
145
  }, {});
146
- function mt(e, t) {
147
- e && rt.flushSync(() => e.dispatchEvent(t));
146
+ function pt(e, t) {
147
+ e && at.flushSync(() => e.dispatchEvent(t));
148
148
  }
149
- function ht(e, t = globalThis == null ? void 0 : globalThis.document) {
150
- const n = M(e);
149
+ function gt(e, t = globalThis == null ? void 0 : globalThis.document) {
150
+ const n = I(e);
151
151
  c.useEffect(() => {
152
152
  const r = (o) => {
153
153
  o.key === "Escape" && n(o);
@@ -155,11 +155,11 @@ function ht(e, t = globalThis == null ? void 0 : globalThis.document) {
155
155
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
156
156
  }, [n, t]);
157
157
  }
158
- var pt = "DismissableLayer", ae = "dismissableLayer.update", gt = "dismissableLayer.pointerDownOutside", yt = "dismissableLayer.focusOutside", de, Re = c.createContext({
158
+ var yt = "DismissableLayer", ae = "dismissableLayer.update", Et = "dismissableLayer.pointerDownOutside", bt = "dismissableLayer.focusOutside", ve, De = c.createContext({
159
159
  layers: /* @__PURE__ */ new Set(),
160
160
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
161
161
  branches: /* @__PURE__ */ new Set()
162
- }), Ne = c.forwardRef(
162
+ }), Oe = c.forwardRef(
163
163
  (e, t) => {
164
164
  const {
165
165
  disableOutsidePointerEvents: n = !1,
@@ -169,27 +169,27 @@ var pt = "DismissableLayer", ae = "dismissableLayer.update", gt = "dismissableLa
169
169
  onInteractOutside: s,
170
170
  onDismiss: i,
171
171
  ...d
172
- } = e, l = c.useContext(Re), [f, v] = c.useState(null), m = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, p] = c.useState({}), S = L(t, (E) => v(E)), u = Array.from(l.layers), [h] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), g = u.indexOf(h), P = f ? u.indexOf(f) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, C = P >= g, w = Ct((E) => {
173
- const O = E.target, j = [...l.branches].some((Z) => Z.contains(O));
174
- !C || j || (o == null || o(E), s == null || s(E), E.defaultPrevented || i == null || i());
175
- }, m), D = St((E) => {
172
+ } = e, l = c.useContext(De), [f, v] = c.useState(null), m = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, p] = c.useState({}), S = L(t, (E) => v(E)), u = Array.from(l.layers), [h] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), g = u.indexOf(h), P = f ? u.indexOf(f) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, C = P >= g, w = wt((E) => {
173
+ const O = E.target, B = [...l.branches].some((Z) => Z.contains(O));
174
+ !C || B || (o == null || o(E), s == null || s(E), E.defaultPrevented || i == null || i());
175
+ }, m), D = Pt((E) => {
176
176
  const O = E.target;
177
177
  [...l.branches].some((Z) => Z.contains(O)) || (a == null || a(E), s == null || s(E), E.defaultPrevented || i == null || i());
178
178
  }, m);
179
- return ht((E) => {
179
+ return gt((E) => {
180
180
  P === l.layers.size - 1 && (r == null || r(E), !E.defaultPrevented && i && (E.preventDefault(), i()));
181
181
  }, m), c.useEffect(() => {
182
182
  if (f)
183
- return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (de = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(f)), l.layers.add(f), fe(), () => {
184
- n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = de);
183
+ return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (ve = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(f)), l.layers.add(f), me(), () => {
184
+ n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = ve);
185
185
  };
186
186
  }, [f, m, n, l]), c.useEffect(() => () => {
187
- f && (l.layers.delete(f), l.layersWithOutsidePointerEventsDisabled.delete(f), fe());
187
+ f && (l.layers.delete(f), l.layersWithOutsidePointerEventsDisabled.delete(f), me());
188
188
  }, [f, l]), c.useEffect(() => {
189
189
  const E = () => p({});
190
190
  return document.addEventListener(ae, E), () => document.removeEventListener(ae, E);
191
- }, []), /* @__PURE__ */ y.jsx(
192
- x.div,
191
+ }, []), /* @__PURE__ */ y(
192
+ A.div,
193
193
  {
194
194
  ...d,
195
195
  ref: S,
@@ -197,9 +197,9 @@ var pt = "DismissableLayer", ae = "dismissableLayer.update", gt = "dismissableLa
197
197
  pointerEvents: b ? C ? "auto" : "none" : void 0,
198
198
  ...e.style
199
199
  },
200
- onFocusCapture: T(e.onFocusCapture, D.onFocusCapture),
201
- onBlurCapture: T(e.onBlurCapture, D.onBlurCapture),
202
- onPointerDownCapture: T(
200
+ onFocusCapture: M(e.onFocusCapture, D.onFocusCapture),
201
+ onBlurCapture: M(e.onBlurCapture, D.onBlurCapture),
202
+ onPointerDownCapture: M(
203
203
  e.onPointerDownCapture,
204
204
  w.onPointerDownCapture
205
205
  )
@@ -207,27 +207,27 @@ var pt = "DismissableLayer", ae = "dismissableLayer.update", gt = "dismissableLa
207
207
  );
208
208
  }
209
209
  );
210
- Ne.displayName = pt;
211
- var Et = "DismissableLayerBranch", bt = c.forwardRef((e, t) => {
212
- const n = c.useContext(Re), r = c.useRef(null), o = L(t, r);
210
+ Oe.displayName = yt;
211
+ var Ct = "DismissableLayerBranch", St = c.forwardRef((e, t) => {
212
+ const n = c.useContext(De), r = c.useRef(null), o = L(t, r);
213
213
  return c.useEffect(() => {
214
214
  const a = r.current;
215
215
  if (a)
216
216
  return n.branches.add(a), () => {
217
217
  n.branches.delete(a);
218
218
  };
219
- }, [n.branches]), /* @__PURE__ */ y.jsx(x.div, { ...e, ref: o });
219
+ }, [n.branches]), /* @__PURE__ */ y(A.div, { ...e, ref: o });
220
220
  });
221
- bt.displayName = Et;
222
- function Ct(e, t = globalThis == null ? void 0 : globalThis.document) {
223
- const n = M(e), r = c.useRef(!1), o = c.useRef(() => {
221
+ St.displayName = Ct;
222
+ function wt(e, t = globalThis == null ? void 0 : globalThis.document) {
223
+ const n = I(e), r = c.useRef(!1), o = c.useRef(() => {
224
224
  });
225
225
  return c.useEffect(() => {
226
226
  const a = (i) => {
227
227
  if (i.target && !r.current) {
228
228
  let d = function() {
229
- De(
230
- gt,
229
+ Ae(
230
+ Et,
231
231
  n,
232
232
  l,
233
233
  { discrete: !0 }
@@ -249,11 +249,11 @@ function Ct(e, t = globalThis == null ? void 0 : globalThis.document) {
249
249
  onPointerDownCapture: () => r.current = !0
250
250
  };
251
251
  }
252
- function St(e, t = globalThis == null ? void 0 : globalThis.document) {
253
- const n = M(e), r = c.useRef(!1);
252
+ function Pt(e, t = globalThis == null ? void 0 : globalThis.document) {
253
+ const n = I(e), r = c.useRef(!1);
254
254
  return c.useEffect(() => {
255
255
  const o = (a) => {
256
- a.target && !r.current && De(yt, n, { originalEvent: a }, {
256
+ a.target && !r.current && Ae(bt, n, { originalEvent: a }, {
257
257
  discrete: !1
258
258
  });
259
259
  };
@@ -263,22 +263,22 @@ function St(e, t = globalThis == null ? void 0 : globalThis.document) {
263
263
  onBlurCapture: () => r.current = !1
264
264
  };
265
265
  }
266
- function fe() {
266
+ function me() {
267
267
  const e = new CustomEvent(ae);
268
268
  document.dispatchEvent(e);
269
269
  }
270
- function De(e, t, n, { discrete: r }) {
270
+ function Ae(e, t, n, { discrete: r }) {
271
271
  const o = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
272
- t && o.addEventListener(e, t, { once: !0 }), r ? mt(o, a) : o.dispatchEvent(a);
272
+ t && o.addEventListener(e, t, { once: !0 }), r ? pt(o, a) : o.dispatchEvent(a);
273
273
  }
274
- var Q = "focusScope.autoFocusOnMount", J = "focusScope.autoFocusOnUnmount", ve = { bubbles: !1, cancelable: !0 }, wt = "FocusScope", Oe = c.forwardRef((e, t) => {
274
+ var Q = "focusScope.autoFocusOnMount", J = "focusScope.autoFocusOnUnmount", he = { bubbles: !1, cancelable: !0 }, Rt = "FocusScope", Te = c.forwardRef((e, t) => {
275
275
  const {
276
276
  loop: n = !1,
277
277
  trapped: r = !1,
278
278
  onMountAutoFocus: o,
279
279
  onUnmountAutoFocus: a,
280
280
  ...s
281
- } = e, [i, d] = c.useState(null), l = M(o), f = M(a), v = c.useRef(null), m = L(t, (u) => d(u)), p = c.useRef({
281
+ } = e, [i, d] = c.useState(null), l = I(o), f = I(a), v = c.useRef(null), m = L(t, (u) => d(u)), p = c.useRef({
282
282
  paused: !1,
283
283
  pause() {
284
284
  this.paused = !0;
@@ -292,15 +292,15 @@ var Q = "focusScope.autoFocusOnMount", J = "focusScope.autoFocusOnUnmount", ve =
292
292
  let u = function(b) {
293
293
  if (p.paused || !i) return;
294
294
  const C = b.target;
295
- i.contains(C) ? v.current = C : A(v.current, { select: !0 });
295
+ i.contains(C) ? v.current = C : T(v.current, { select: !0 });
296
296
  }, h = function(b) {
297
297
  if (p.paused || !i) return;
298
298
  const C = b.relatedTarget;
299
- C !== null && (i.contains(C) || A(v.current, { select: !0 }));
299
+ C !== null && (i.contains(C) || T(v.current, { select: !0 }));
300
300
  }, g = function(b) {
301
301
  if (document.activeElement === document.body)
302
302
  for (const w of b)
303
- w.removedNodes.length > 0 && A(i);
303
+ w.removedNodes.length > 0 && T(i);
304
304
  };
305
305
  document.addEventListener("focusin", u), document.addEventListener("focusout", h);
306
306
  const P = new MutationObserver(g);
@@ -310,16 +310,16 @@ var Q = "focusScope.autoFocusOnMount", J = "focusScope.autoFocusOnUnmount", ve =
310
310
  }
311
311
  }, [r, i, p.paused]), c.useEffect(() => {
312
312
  if (i) {
313
- he.add(p);
313
+ ge.add(p);
314
314
  const u = document.activeElement;
315
315
  if (!i.contains(u)) {
316
- const g = new CustomEvent(Q, ve);
317
- i.addEventListener(Q, l), i.dispatchEvent(g), g.defaultPrevented || (Pt(xt(xe(i)), { select: !0 }), document.activeElement === u && A(i));
316
+ const g = new CustomEvent(Q, he);
317
+ i.addEventListener(Q, l), i.dispatchEvent(g), g.defaultPrevented || (Nt(Mt(Me(i)), { select: !0 }), document.activeElement === u && T(i));
318
318
  }
319
319
  return () => {
320
320
  i.removeEventListener(Q, l), setTimeout(() => {
321
- const g = new CustomEvent(J, ve);
322
- i.addEventListener(J, f), i.dispatchEvent(g), g.defaultPrevented || A(u ?? document.body, { select: !0 }), i.removeEventListener(J, f), he.remove(p);
321
+ const g = new CustomEvent(J, he);
322
+ i.addEventListener(J, f), i.dispatchEvent(g), g.defaultPrevented || T(u ?? document.body, { select: !0 }), i.removeEventListener(J, f), ge.remove(p);
323
323
  }, 0);
324
324
  };
325
325
  }
@@ -329,25 +329,25 @@ var Q = "focusScope.autoFocusOnMount", J = "focusScope.autoFocusOnUnmount", ve =
329
329
  if (!n && !r || p.paused) return;
330
330
  const h = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, g = document.activeElement;
331
331
  if (h && g) {
332
- const P = u.currentTarget, [b, C] = Rt(P);
333
- b && C ? !u.shiftKey && g === C ? (u.preventDefault(), n && A(b, { select: !0 })) : u.shiftKey && g === b && (u.preventDefault(), n && A(C, { select: !0 })) : g === P && u.preventDefault();
332
+ const P = u.currentTarget, [b, C] = Dt(P);
333
+ b && C ? !u.shiftKey && g === C ? (u.preventDefault(), n && T(b, { select: !0 })) : u.shiftKey && g === b && (u.preventDefault(), n && T(C, { select: !0 })) : g === P && u.preventDefault();
334
334
  }
335
335
  },
336
336
  [n, r, p.paused]
337
337
  );
338
- return /* @__PURE__ */ y.jsx(x.div, { tabIndex: -1, ...s, ref: m, onKeyDown: S });
338
+ return /* @__PURE__ */ y(A.div, { tabIndex: -1, ...s, ref: m, onKeyDown: S });
339
339
  });
340
- Oe.displayName = wt;
341
- function Pt(e, { select: t = !1 } = {}) {
340
+ Te.displayName = Rt;
341
+ function Nt(e, { select: t = !1 } = {}) {
342
342
  const n = document.activeElement;
343
343
  for (const r of e)
344
- if (A(r, { select: t }), document.activeElement !== n) return;
344
+ if (T(r, { select: t }), document.activeElement !== n) return;
345
345
  }
346
- function Rt(e) {
347
- const t = xe(e), n = me(t, e), r = me(t.reverse(), e);
346
+ function Dt(e) {
347
+ const t = Me(e), n = pe(t, e), r = pe(t.reverse(), e);
348
348
  return [n, r];
349
349
  }
350
- function xe(e) {
350
+ function Me(e) {
351
351
  const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
352
352
  acceptNode: (r) => {
353
353
  const o = r.tagName === "INPUT" && r.type === "hidden";
@@ -357,11 +357,11 @@ function xe(e) {
357
357
  for (; n.nextNode(); ) t.push(n.currentNode);
358
358
  return t;
359
359
  }
360
- function me(e, t) {
360
+ function pe(e, t) {
361
361
  for (const n of e)
362
- if (!Nt(n, { upTo: t })) return n;
362
+ if (!Ot(n, { upTo: t })) return n;
363
363
  }
364
- function Nt(e, { upTo: t }) {
364
+ function Ot(e, { upTo: t }) {
365
365
  if (getComputedStyle(e).visibility === "hidden") return !0;
366
366
  for (; e; ) {
367
367
  if (t !== void 0 && e === t) return !1;
@@ -370,57 +370,57 @@ function Nt(e, { upTo: t }) {
370
370
  }
371
371
  return !1;
372
372
  }
373
- function Dt(e) {
373
+ function At(e) {
374
374
  return e instanceof HTMLInputElement && "select" in e;
375
375
  }
376
- function A(e, { select: t = !1 } = {}) {
376
+ function T(e, { select: t = !1 } = {}) {
377
377
  if (e && e.focus) {
378
378
  const n = document.activeElement;
379
- e.focus({ preventScroll: !0 }), e !== n && Dt(e) && t && e.select();
379
+ e.focus({ preventScroll: !0 }), e !== n && At(e) && t && e.select();
380
380
  }
381
381
  }
382
- var he = Ot();
383
- function Ot() {
382
+ var ge = Tt();
383
+ function Tt() {
384
384
  let e = [];
385
385
  return {
386
386
  add(t) {
387
387
  const n = e[0];
388
- t !== n && (n == null || n.pause()), e = pe(e, t), e.unshift(t);
388
+ t !== n && (n == null || n.pause()), e = ye(e, t), e.unshift(t);
389
389
  },
390
390
  remove(t) {
391
391
  var n;
392
- e = pe(e, t), (n = e[0]) == null || n.resume();
392
+ e = ye(e, t), (n = e[0]) == null || n.resume();
393
393
  }
394
394
  };
395
395
  }
396
- function pe(e, t) {
396
+ function ye(e, t) {
397
397
  const n = [...e], r = n.indexOf(t);
398
398
  return r !== -1 && n.splice(r, 1), n;
399
399
  }
400
- function xt(e) {
400
+ function Mt(e) {
401
401
  return e.filter((t) => t.tagName !== "A");
402
402
  }
403
- var At = globalThis != null && globalThis.document ? c.useLayoutEffect : () => {
404
- }, Tt = "Portal", Ae = c.forwardRef((e, t) => {
403
+ var It = globalThis != null && globalThis.document ? c.useLayoutEffect : () => {
404
+ }, xt = "Portal", Ie = c.forwardRef((e, t) => {
405
405
  var i;
406
406
  const { container: n, ...r } = e, [o, a] = c.useState(!1);
407
- At(() => a(!0), []);
407
+ It(() => a(!0), []);
408
408
  const s = n || o && ((i = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : i.body);
409
- return s ? ot.createPortal(/* @__PURE__ */ y.jsx(x.div, { ...r, ref: t }), s) : null;
409
+ return s ? it.createPortal(/* @__PURE__ */ y(A.div, { ...r, ref: t }), s) : null;
410
410
  });
411
- Ae.displayName = Tt;
412
- var ge = globalThis != null && globalThis.document ? c.useLayoutEffect : () => {
411
+ Ie.displayName = xt;
412
+ var Ee = globalThis != null && globalThis.document ? c.useLayoutEffect : () => {
413
413
  };
414
- function Mt(e, t) {
414
+ function Lt(e, t) {
415
415
  return c.useReducer((n, r) => t[n][r] ?? n, e);
416
416
  }
417
417
  var z = (e) => {
418
- const { present: t, children: n } = e, r = It(t), o = typeof n == "function" ? n({ present: r.isPresent }) : c.Children.only(n), a = L(r.ref, Lt(o));
418
+ const { present: t, children: n } = e, r = _t(t), o = typeof n == "function" ? n({ present: r.isPresent }) : c.Children.only(n), a = L(r.ref, Ft(o));
419
419
  return typeof n == "function" || r.isPresent ? c.cloneElement(o, { ref: a }) : null;
420
420
  };
421
421
  z.displayName = "Presence";
422
- function It(e) {
423
- const [t, n] = c.useState(), r = c.useRef({}), o = c.useRef(e), a = c.useRef("none"), s = e ? "mounted" : "unmounted", [i, d] = Mt(s, {
422
+ function _t(e) {
423
+ const [t, n] = c.useState(), r = c.useRef({}), o = c.useRef(e), a = c.useRef("none"), s = e ? "mounted" : "unmounted", [i, d] = Lt(s, {
424
424
  mounted: {
425
425
  UNMOUNT: "unmounted",
426
426
  ANIMATION_OUT: "unmountSuspended"
@@ -434,19 +434,19 @@ function It(e) {
434
434
  }
435
435
  });
436
436
  return c.useEffect(() => {
437
- const l = B(r.current);
437
+ const l = U(r.current);
438
438
  a.current = i === "mounted" ? l : "none";
439
- }, [i]), ge(() => {
439
+ }, [i]), Ee(() => {
440
440
  const l = r.current, f = o.current;
441
441
  if (f !== e) {
442
- const m = a.current, p = B(l);
442
+ const m = a.current, p = U(l);
443
443
  e ? d("MOUNT") : p === "none" || (l == null ? void 0 : l.display) === "none" ? d("UNMOUNT") : d(f && m !== p ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
444
444
  }
445
- }, [e, d]), ge(() => {
445
+ }, [e, d]), Ee(() => {
446
446
  if (t) {
447
447
  let l;
448
448
  const f = t.ownerDocument.defaultView ?? window, v = (p) => {
449
- const u = B(r.current).includes(p.animationName);
449
+ const u = U(r.current).includes(p.animationName);
450
450
  if (p.target === t && u && (d("ANIMATION_END"), !o.current)) {
451
451
  const h = t.style.animationFillMode;
452
452
  t.style.animationFillMode = "forwards", l = f.setTimeout(() => {
@@ -454,7 +454,7 @@ function It(e) {
454
454
  });
455
455
  }
456
456
  }, m = (p) => {
457
- p.target === t && (a.current = B(r.current));
457
+ p.target === t && (a.current = U(r.current));
458
458
  };
459
459
  return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", v), t.addEventListener("animationend", v), () => {
460
460
  f.clearTimeout(l), t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", v), t.removeEventListener("animationend", v);
@@ -468,24 +468,24 @@ function It(e) {
468
468
  }, [])
469
469
  };
470
470
  }
471
- function B(e) {
471
+ function U(e) {
472
472
  return (e == null ? void 0 : e.animationName) || "none";
473
473
  }
474
- function Lt(e) {
474
+ function Ft(e) {
475
475
  var r, o;
476
476
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
477
477
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
478
478
  }
479
479
  var ee = 0;
480
- function _t() {
480
+ function kt() {
481
481
  c.useEffect(() => {
482
482
  const e = document.querySelectorAll("[data-radix-focus-guard]");
483
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? ye()), document.body.insertAdjacentElement("beforeend", e[1] ?? ye()), ee++, () => {
483
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? be()), document.body.insertAdjacentElement("beforeend", e[1] ?? be()), ee++, () => {
484
484
  ee === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), ee--;
485
485
  };
486
486
  }, []);
487
487
  }
488
- function ye() {
488
+ function be() {
489
489
  const e = document.createElement("span");
490
490
  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;
491
491
  }
@@ -498,7 +498,7 @@ var N = function() {
498
498
  return t;
499
499
  }, N.apply(this, arguments);
500
500
  };
501
- function Te(e, t) {
501
+ function xe(e, t) {
502
502
  var n = {};
503
503
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
504
504
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -506,17 +506,17 @@ function Te(e, t) {
506
506
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
507
507
  return n;
508
508
  }
509
- function Ft(e, t, n) {
509
+ function Wt(e, t, n) {
510
510
  if (n || arguments.length === 2) for (var r = 0, o = t.length, a; r < o; r++)
511
511
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
512
512
  return e.concat(a || Array.prototype.slice.call(t));
513
513
  }
514
- var G = "right-scroll-bar-position", Y = "width-before-scroll-bar", kt = "with-scroll-bars-hidden", Wt = "--removed-body-scroll-bar-size";
514
+ var G = "right-scroll-bar-position", Y = "width-before-scroll-bar", Bt = "with-scroll-bars-hidden", Ut = "--removed-body-scroll-bar-size";
515
515
  function te(e, t) {
516
516
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
517
517
  }
518
- function jt(e, t) {
519
- var n = nt(function() {
518
+ function $t(e, t) {
519
+ var n = ot(function() {
520
520
  return {
521
521
  // value
522
522
  value: e,
@@ -536,15 +536,15 @@ function jt(e, t) {
536
536
  })[0];
537
537
  return n.callback = t, n.facade;
538
538
  }
539
- var Bt = typeof window < "u" ? c.useLayoutEffect : c.useEffect, Ee = /* @__PURE__ */ new WeakMap();
540
- function Ut(e, t) {
541
- var n = jt(null, function(r) {
539
+ var jt = typeof window < "u" ? c.useLayoutEffect : c.useEffect, Ce = /* @__PURE__ */ new WeakMap();
540
+ function Kt(e, t) {
541
+ var n = $t(null, function(r) {
542
542
  return e.forEach(function(o) {
543
543
  return te(o, r);
544
544
  });
545
545
  });
546
- return Bt(function() {
547
- var r = Ee.get(n);
546
+ return jt(function() {
547
+ var r = Ce.get(n);
548
548
  if (r) {
549
549
  var o = new Set(r), a = new Set(e), s = n.current;
550
550
  o.forEach(function(i) {
@@ -553,14 +553,14 @@ function Ut(e, t) {
553
553
  o.has(i) || te(i, s);
554
554
  });
555
555
  }
556
- Ee.set(n, e);
556
+ Ce.set(n, e);
557
557
  }, [e]), n;
558
558
  }
559
- function $t(e) {
559
+ function Vt(e) {
560
560
  return e;
561
561
  }
562
- function Kt(e, t) {
563
- t === void 0 && (t = $t);
562
+ function Gt(e, t) {
563
+ t === void 0 && (t = Vt);
564
564
  var n = [], r = !1, o = {
565
565
  read: function() {
566
566
  if (r)
@@ -614,13 +614,13 @@ function Kt(e, t) {
614
614
  };
615
615
  return o;
616
616
  }
617
- function Vt(e) {
617
+ function Yt(e) {
618
618
  e === void 0 && (e = {});
619
- var t = Kt(null);
619
+ var t = Gt(null);
620
620
  return t.options = N({ async: !0, ssr: !1 }, e), t;
621
621
  }
622
- var Me = function(e) {
623
- var t = e.sideCar, n = Te(e, ["sideCar"]);
622
+ var Le = function(e) {
623
+ var t = e.sideCar, n = xe(e, ["sideCar"]);
624
624
  if (!t)
625
625
  throw new Error("Sidecar: please provide `sideCar` property to import the right car");
626
626
  var r = t.read();
@@ -628,21 +628,21 @@ var Me = function(e) {
628
628
  throw new Error("Sidecar medium not found");
629
629
  return c.createElement(r, N({}, n));
630
630
  };
631
- Me.isSideCarExport = !0;
632
- function Gt(e, t) {
633
- return e.useMedium(t), Me;
631
+ Le.isSideCarExport = !0;
632
+ function Xt(e, t) {
633
+ return e.useMedium(t), Le;
634
634
  }
635
- var Ie = Vt(), ne = function() {
635
+ var _e = Yt(), ne = function() {
636
636
  }, H = c.forwardRef(function(e, t) {
637
637
  var n = c.useRef(null), r = c.useState({
638
638
  onScrollCapture: ne,
639
639
  onWheelCapture: ne,
640
640
  onTouchMoveCapture: ne
641
- }), o = r[0], a = r[1], s = e.forwardProps, i = e.children, d = e.className, l = e.removeScrollBar, f = e.enabled, v = e.shards, m = e.sideCar, p = e.noIsolation, S = e.inert, u = e.allowPinchZoom, h = e.as, g = h === void 0 ? "div" : h, P = e.gapMode, b = Te(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = m, w = Ut([n, t]), D = N(N({}, b), o);
641
+ }), o = r[0], a = r[1], s = e.forwardProps, i = e.children, d = e.className, l = e.removeScrollBar, f = e.enabled, v = e.shards, m = e.sideCar, p = e.noIsolation, S = e.inert, u = e.allowPinchZoom, h = e.as, g = h === void 0 ? "div" : h, P = e.gapMode, b = xe(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = m, w = Kt([n, t]), D = N(N({}, b), o);
642
642
  return c.createElement(
643
643
  c.Fragment,
644
644
  null,
645
- f && c.createElement(C, { sideCar: Ie, removeScrollBar: l, shards: v, noIsolation: p, inert: S, setCallbacks: a, allowPinchZoom: !!u, lockRef: n, gapMode: P }),
645
+ f && c.createElement(C, { sideCar: _e, removeScrollBar: l, shards: v, noIsolation: p, inert: S, setCallbacks: a, allowPinchZoom: !!u, lockRef: n, gapMode: P }),
646
646
  s ? c.cloneElement(c.Children.only(i), N(N({}, D), { ref: w })) : c.createElement(g, N({}, D, { className: d, ref: w }), i)
647
647
  );
648
648
  });
@@ -655,37 +655,37 @@ H.classNames = {
655
655
  fullWidth: Y,
656
656
  zeroRight: G
657
657
  };
658
- var Yt = function() {
658
+ var zt = function() {
659
659
  if (typeof __webpack_nonce__ < "u")
660
660
  return __webpack_nonce__;
661
661
  };
662
- function Xt() {
662
+ function Ht() {
663
663
  if (!document)
664
664
  return null;
665
665
  var e = document.createElement("style");
666
666
  e.type = "text/css";
667
- var t = Yt();
667
+ var t = zt();
668
668
  return t && e.setAttribute("nonce", t), e;
669
669
  }
670
- function zt(e, t) {
670
+ function Zt(e, t) {
671
671
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
672
672
  }
673
- function Ht(e) {
673
+ function qt(e) {
674
674
  var t = document.head || document.getElementsByTagName("head")[0];
675
675
  t.appendChild(e);
676
676
  }
677
- var Zt = function() {
677
+ var Qt = function() {
678
678
  var e = 0, t = null;
679
679
  return {
680
680
  add: function(n) {
681
- e == 0 && (t = Xt()) && (zt(t, n), Ht(t)), e++;
681
+ e == 0 && (t = Ht()) && (Zt(t, n), qt(t)), e++;
682
682
  },
683
683
  remove: function() {
684
684
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
685
685
  }
686
686
  };
687
- }, qt = function() {
688
- var e = Zt();
687
+ }, Jt = function() {
688
+ var e = Qt();
689
689
  return function(t, n) {
690
690
  c.useEffect(function() {
691
691
  return e.add(t), function() {
@@ -693,36 +693,36 @@ var Zt = function() {
693
693
  };
694
694
  }, [t && n]);
695
695
  };
696
- }, Le = function() {
697
- var e = qt(), t = function(n) {
696
+ }, Fe = function() {
697
+ var e = Jt(), t = function(n) {
698
698
  var r = n.styles, o = n.dynamic;
699
699
  return e(r, o), null;
700
700
  };
701
701
  return t;
702
- }, Qt = {
702
+ }, en = {
703
703
  left: 0,
704
704
  top: 0,
705
705
  right: 0,
706
706
  gap: 0
707
707
  }, re = function(e) {
708
708
  return parseInt(e || "", 10) || 0;
709
- }, Jt = function(e) {
709
+ }, tn = function(e) {
710
710
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
711
711
  return [re(n), re(r), re(o)];
712
- }, en = function(e) {
712
+ }, nn = function(e) {
713
713
  if (e === void 0 && (e = "margin"), typeof window > "u")
714
- return Qt;
715
- var t = Jt(e), n = document.documentElement.clientWidth, r = window.innerWidth;
714
+ return en;
715
+ var t = tn(e), n = document.documentElement.clientWidth, r = window.innerWidth;
716
716
  return {
717
717
  left: t[0],
718
718
  top: t[1],
719
719
  right: t[2],
720
720
  gap: Math.max(0, r - n + t[2] - t[0])
721
721
  };
722
- }, tn = Le(), W = "data-scroll-locked", nn = function(e, t, n, r) {
722
+ }, rn = Fe(), W = "data-scroll-locked", on = function(e, t, n, r) {
723
723
  var o = e.left, a = e.top, s = e.right, i = e.gap;
724
724
  return n === void 0 && (n = "margin"), `
725
- .`.concat(kt, ` {
725
+ .`.concat(Bt, ` {
726
726
  overflow: hidden `).concat(r, `;
727
727
  padding-right: `).concat(i, "px ").concat(r, `;
728
728
  }
@@ -760,119 +760,119 @@ var Zt = function() {
760
760
  }
761
761
 
762
762
  body[`).concat(W, `] {
763
- `).concat(Wt, ": ").concat(i, `px;
763
+ `).concat(Ut, ": ").concat(i, `px;
764
764
  }
765
765
  `);
766
- }, be = function() {
766
+ }, Se = function() {
767
767
  var e = parseInt(document.body.getAttribute(W) || "0", 10);
768
768
  return isFinite(e) ? e : 0;
769
- }, rn = function() {
769
+ }, an = function() {
770
770
  c.useEffect(function() {
771
- return document.body.setAttribute(W, (be() + 1).toString()), function() {
772
- var e = be() - 1;
771
+ return document.body.setAttribute(W, (Se() + 1).toString()), function() {
772
+ var e = Se() - 1;
773
773
  e <= 0 ? document.body.removeAttribute(W) : document.body.setAttribute(W, e.toString());
774
774
  };
775
775
  }, []);
776
- }, on = function(e) {
776
+ }, cn = function(e) {
777
777
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
778
- rn();
778
+ an();
779
779
  var a = c.useMemo(function() {
780
- return en(o);
780
+ return nn(o);
781
781
  }, [o]);
782
- return c.createElement(tn, { styles: nn(a, !t, o, n ? "" : "!important") });
782
+ return c.createElement(rn, { styles: on(a, !t, o, n ? "" : "!important") });
783
783
  }, ie = !1;
784
784
  if (typeof window < "u")
785
785
  try {
786
- var U = Object.defineProperty({}, "passive", {
786
+ var $ = Object.defineProperty({}, "passive", {
787
787
  get: function() {
788
788
  return ie = !0, !0;
789
789
  }
790
790
  });
791
- window.addEventListener("test", U, U), window.removeEventListener("test", U, U);
791
+ window.addEventListener("test", $, $), window.removeEventListener("test", $, $);
792
792
  } catch {
793
793
  ie = !1;
794
794
  }
795
- var _ = ie ? { passive: !1 } : !1, an = function(e) {
795
+ var _ = ie ? { passive: !1 } : !1, sn = function(e) {
796
796
  return e.tagName === "TEXTAREA";
797
- }, _e = function(e, t) {
797
+ }, ke = function(e, t) {
798
798
  if (!(e instanceof Element))
799
799
  return !1;
800
800
  var n = window.getComputedStyle(e);
801
801
  return (
802
802
  // not-not-scrollable
803
803
  n[t] !== "hidden" && // contains scroll inside self
804
- !(n.overflowY === n.overflowX && !an(e) && n[t] === "visible")
804
+ !(n.overflowY === n.overflowX && !sn(e) && n[t] === "visible")
805
805
  );
806
- }, cn = function(e) {
807
- return _e(e, "overflowY");
808
- }, sn = function(e) {
809
- return _e(e, "overflowX");
810
- }, Ce = function(e, t) {
806
+ }, un = function(e) {
807
+ return ke(e, "overflowY");
808
+ }, ln = function(e) {
809
+ return ke(e, "overflowX");
810
+ }, we = function(e, t) {
811
811
  var n = t.ownerDocument, r = t;
812
812
  do {
813
813
  typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
814
- var o = Fe(e, r);
814
+ var o = We(e, r);
815
815
  if (o) {
816
- var a = ke(e, r), s = a[1], i = a[2];
816
+ var a = Be(e, r), s = a[1], i = a[2];
817
817
  if (s > i)
818
818
  return !0;
819
819
  }
820
820
  r = r.parentNode;
821
821
  } while (r && r !== n.body);
822
822
  return !1;
823
- }, un = function(e) {
823
+ }, dn = function(e) {
824
824
  var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
825
825
  return [
826
826
  t,
827
827
  n,
828
828
  r
829
829
  ];
830
- }, ln = function(e) {
830
+ }, fn = function(e) {
831
831
  var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
832
832
  return [
833
833
  t,
834
834
  n,
835
835
  r
836
836
  ];
837
- }, Fe = function(e, t) {
838
- return e === "v" ? cn(t) : sn(t);
839
- }, ke = function(e, t) {
837
+ }, We = function(e, t) {
840
838
  return e === "v" ? un(t) : ln(t);
841
- }, dn = function(e, t) {
839
+ }, Be = function(e, t) {
840
+ return e === "v" ? dn(t) : fn(t);
841
+ }, vn = function(e, t) {
842
842
  return e === "h" && t === "rtl" ? -1 : 1;
843
- }, fn = function(e, t, n, r, o) {
844
- var a = dn(e, window.getComputedStyle(t).direction), s = a * r, i = n.target, d = t.contains(i), l = !1, f = s > 0, v = 0, m = 0;
843
+ }, mn = function(e, t, n, r, o) {
844
+ var a = vn(e, window.getComputedStyle(t).direction), s = a * r, i = n.target, d = t.contains(i), l = !1, f = s > 0, v = 0, m = 0;
845
845
  do {
846
- var p = ke(e, i), S = p[0], u = p[1], h = p[2], g = u - h - a * S;
847
- (S || g) && Fe(e, i) && (v += g, m += S), i instanceof ShadowRoot ? i = i.host : i = i.parentNode;
846
+ var p = Be(e, i), S = p[0], u = p[1], h = p[2], g = u - h - a * S;
847
+ (S || g) && We(e, i) && (v += g, m += S), i instanceof ShadowRoot ? i = i.host : i = i.parentNode;
848
848
  } while (
849
849
  // portaled content
850
850
  !d && i !== document.body || // self content
851
851
  d && (t.contains(i) || t === i)
852
852
  );
853
853
  return (f && Math.abs(v) < 1 || !f && Math.abs(m) < 1) && (l = !0), l;
854
- }, $ = function(e) {
854
+ }, j = function(e) {
855
855
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
856
- }, Se = function(e) {
856
+ }, Pe = function(e) {
857
857
  return [e.deltaX, e.deltaY];
858
- }, we = function(e) {
858
+ }, Re = function(e) {
859
859
  return e && "current" in e ? e.current : e;
860
- }, vn = function(e, t) {
860
+ }, hn = function(e, t) {
861
861
  return e[0] === t[0] && e[1] === t[1];
862
- }, mn = function(e) {
862
+ }, pn = function(e) {
863
863
  return `
864
864
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
865
865
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
866
866
  `);
867
- }, hn = 0, F = [];
868
- function pn(e) {
869
- var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), o = c.useState(hn++)[0], a = c.useState(Le)[0], s = c.useRef(e);
867
+ }, gn = 0, F = [];
868
+ function yn(e) {
869
+ var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), o = c.useState(gn++)[0], a = c.useState(Fe)[0], s = c.useRef(e);
870
870
  c.useEffect(function() {
871
871
  s.current = e;
872
872
  }, [e]), c.useEffect(function() {
873
873
  if (e.inert) {
874
874
  document.body.classList.add("block-interactivity-".concat(o));
875
- var u = Ft([e.lockRef.current], (e.shards || []).map(we), !0).filter(Boolean);
875
+ var u = Wt([e.lockRef.current], (e.shards || []).map(Re), !0).filter(Boolean);
876
876
  return u.forEach(function(h) {
877
877
  return h.classList.add("allow-interactivity-".concat(o));
878
878
  }), function() {
@@ -885,48 +885,48 @@ function pn(e) {
885
885
  var i = c.useCallback(function(u, h) {
886
886
  if ("touches" in u && u.touches.length === 2 || u.type === "wheel" && u.ctrlKey)
887
887
  return !s.current.allowPinchZoom;
888
- var g = $(u), P = n.current, b = "deltaX" in u ? u.deltaX : P[0] - g[0], C = "deltaY" in u ? u.deltaY : P[1] - g[1], w, D = u.target, E = Math.abs(b) > Math.abs(C) ? "h" : "v";
888
+ var g = j(u), P = n.current, b = "deltaX" in u ? u.deltaX : P[0] - g[0], C = "deltaY" in u ? u.deltaY : P[1] - g[1], w, D = u.target, E = Math.abs(b) > Math.abs(C) ? "h" : "v";
889
889
  if ("touches" in u && E === "h" && D.type === "range")
890
890
  return !1;
891
- var O = Ce(E, D);
891
+ var O = we(E, D);
892
892
  if (!O)
893
893
  return !0;
894
- if (O ? w = E : (w = E === "v" ? "h" : "v", O = Ce(E, D)), !O)
894
+ if (O ? w = E : (w = E === "v" ? "h" : "v", O = we(E, D)), !O)
895
895
  return !1;
896
896
  if (!r.current && "changedTouches" in u && (b || C) && (r.current = w), !w)
897
897
  return !0;
898
- var j = r.current || w;
899
- return fn(j, h, u, j === "h" ? b : C);
898
+ var B = r.current || w;
899
+ return mn(B, h, u, B === "h" ? b : C);
900
900
  }, []), d = c.useCallback(function(u) {
901
901
  var h = u;
902
902
  if (!(!F.length || F[F.length - 1] !== a)) {
903
- var g = "deltaY" in h ? Se(h) : $(h), P = t.current.filter(function(w) {
904
- return w.name === h.type && (w.target === h.target || h.target === w.shadowParent) && vn(w.delta, g);
903
+ var g = "deltaY" in h ? Pe(h) : j(h), P = t.current.filter(function(w) {
904
+ return w.name === h.type && (w.target === h.target || h.target === w.shadowParent) && hn(w.delta, g);
905
905
  })[0];
906
906
  if (P && P.should) {
907
907
  h.cancelable && h.preventDefault();
908
908
  return;
909
909
  }
910
910
  if (!P) {
911
- var b = (s.current.shards || []).map(we).filter(Boolean).filter(function(w) {
911
+ var b = (s.current.shards || []).map(Re).filter(Boolean).filter(function(w) {
912
912
  return w.contains(h.target);
913
913
  }), C = b.length > 0 ? i(h, b[0]) : !s.current.noIsolation;
914
914
  C && h.cancelable && h.preventDefault();
915
915
  }
916
916
  }
917
917
  }, []), l = c.useCallback(function(u, h, g, P) {
918
- var b = { name: u, delta: h, target: g, should: P, shadowParent: gn(g) };
918
+ var b = { name: u, delta: h, target: g, should: P, shadowParent: En(g) };
919
919
  t.current.push(b), setTimeout(function() {
920
920
  t.current = t.current.filter(function(C) {
921
921
  return C !== b;
922
922
  });
923
923
  }, 1);
924
924
  }, []), f = c.useCallback(function(u) {
925
- n.current = $(u), r.current = void 0;
925
+ n.current = j(u), r.current = void 0;
926
926
  }, []), v = c.useCallback(function(u) {
927
- l(u.type, Se(u), u.target, i(u, e.lockRef.current));
927
+ l(u.type, Pe(u), u.target, i(u, e.lockRef.current));
928
928
  }, []), m = c.useCallback(function(u) {
929
- l(u.type, $(u), u.target, i(u, e.lockRef.current));
929
+ l(u.type, j(u), u.target, i(u, e.lockRef.current));
930
930
  }, []);
931
931
  c.useEffect(function() {
932
932
  return F.push(a), e.setCallbacks({
@@ -943,38 +943,38 @@ function pn(e) {
943
943
  return c.createElement(
944
944
  c.Fragment,
945
945
  null,
946
- S ? c.createElement(a, { styles: mn(o) }) : null,
947
- p ? c.createElement(on, { gapMode: e.gapMode }) : null
946
+ S ? c.createElement(a, { styles: pn(o) }) : null,
947
+ p ? c.createElement(cn, { gapMode: e.gapMode }) : null
948
948
  );
949
949
  }
950
- function gn(e) {
950
+ function En(e) {
951
951
  for (var t = null; e !== null; )
952
952
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
953
953
  return t;
954
954
  }
955
- const yn = Gt(Ie, pn);
956
- var We = c.forwardRef(function(e, t) {
957
- return c.createElement(H, N({}, e, { ref: t, sideCar: yn }));
955
+ const bn = Xt(_e, yn);
956
+ var Ue = c.forwardRef(function(e, t) {
957
+ return c.createElement(H, N({}, e, { ref: t, sideCar: bn }));
958
958
  });
959
- We.classNames = H.classNames;
960
- var En = function(e) {
959
+ Ue.classNames = H.classNames;
960
+ var Cn = function(e) {
961
961
  if (typeof document > "u")
962
962
  return null;
963
963
  var t = Array.isArray(e) ? e[0] : e;
964
964
  return t.ownerDocument.body;
965
- }, k = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), V = {}, oe = 0, je = function(e) {
966
- return e && (e.host || je(e.parentNode));
967
- }, bn = function(e, t) {
965
+ }, k = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), V = {}, oe = 0, $e = function(e) {
966
+ return e && (e.host || $e(e.parentNode));
967
+ }, Sn = function(e, t) {
968
968
  return t.map(function(n) {
969
969
  if (e.contains(n))
970
970
  return n;
971
- var r = je(n);
971
+ var r = $e(n);
972
972
  return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
973
973
  }).filter(function(n) {
974
974
  return !!n;
975
975
  });
976
- }, Cn = function(e, t, n, r) {
977
- var o = bn(t, Array.isArray(e) ? e : [e]);
976
+ }, wn = function(e, t, n, r) {
977
+ var o = Sn(t, Array.isArray(e) ? e : [e]);
978
978
  V[n] || (V[n] = /* @__PURE__ */ new WeakMap());
979
979
  var a = V[n], s = [], i = /* @__PURE__ */ new Set(), d = new Set(o), l = function(v) {
980
980
  !v || i.has(v) || (i.add(v), l(v.parentNode));
@@ -999,13 +999,13 @@ var En = function(e) {
999
999
  k.set(v, m), a.set(v, p), m || (K.has(v) || v.removeAttribute(r), K.delete(v)), p || v.removeAttribute(n);
1000
1000
  }), oe--, oe || (k = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), V = {});
1001
1001
  };
1002
- }, Sn = function(e, t, n) {
1002
+ }, Pn = function(e, t, n) {
1003
1003
  n === void 0 && (n = "data-aria-hidden");
1004
- var r = Array.from(Array.isArray(e) ? e : [e]), o = En(e);
1005
- return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), Cn(r, o, n, "aria-hidden")) : function() {
1004
+ var r = Array.from(Array.isArray(e) ? e : [e]), o = Cn(e);
1005
+ return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), wn(r, o, n, "aria-hidden")) : function() {
1006
1006
  return null;
1007
1007
  };
1008
- }, ce = "Dialog", [Be, _n] = it(ce), [wn, R] = Be(ce), Ue = (e) => {
1008
+ }, ce = "Dialog", [je, kn] = st(ce), [Rn, R] = je(ce), Ke = (e) => {
1009
1009
  const {
1010
1010
  __scopeDialog: t,
1011
1011
  children: n,
@@ -1013,13 +1013,13 @@ var En = function(e) {
1013
1013
  defaultOpen: o,
1014
1014
  onOpenChange: a,
1015
1015
  modal: s = !0
1016
- } = e, i = c.useRef(null), d = c.useRef(null), [l = !1, f] = dt({
1016
+ } = e, i = c.useRef(null), d = c.useRef(null), [l = !1, f] = vt({
1017
1017
  prop: r,
1018
1018
  defaultProp: o,
1019
1019
  onChange: a
1020
1020
  });
1021
- return /* @__PURE__ */ y.jsx(
1022
- wn,
1021
+ return /* @__PURE__ */ y(
1022
+ Rn,
1023
1023
  {
1024
1024
  scope: t,
1025
1025
  triggerRef: i,
@@ -1035,12 +1035,12 @@ var En = function(e) {
1035
1035
  }
1036
1036
  );
1037
1037
  };
1038
- Ue.displayName = ce;
1039
- var $e = "DialogTrigger", Ke = c.forwardRef(
1038
+ Ke.displayName = ce;
1039
+ var Ve = "DialogTrigger", Ge = c.forwardRef(
1040
1040
  (e, t) => {
1041
- const { __scopeDialog: n, ...r } = e, o = R($e, n), a = L(t, o.triggerRef);
1042
- return /* @__PURE__ */ y.jsx(
1043
- x.button,
1041
+ const { __scopeDialog: n, ...r } = e, o = R(Ve, n), a = L(t, o.triggerRef);
1042
+ return /* @__PURE__ */ y(
1043
+ A.button,
1044
1044
  {
1045
1045
  type: "button",
1046
1046
  "aria-haspopup": "dialog",
@@ -1049,34 +1049,34 @@ var $e = "DialogTrigger", Ke = c.forwardRef(
1049
1049
  "data-state": le(o.open),
1050
1050
  ...r,
1051
1051
  ref: a,
1052
- onClick: T(e.onClick, o.onOpenToggle)
1052
+ onClick: M(e.onClick, o.onOpenToggle)
1053
1053
  }
1054
1054
  );
1055
1055
  }
1056
1056
  );
1057
- Ke.displayName = $e;
1058
- var se = "DialogPortal", [Pn, Ve] = Be(se, {
1057
+ Ge.displayName = Ve;
1058
+ var se = "DialogPortal", [Nn, Ye] = je(se, {
1059
1059
  forceMount: void 0
1060
- }), Ge = (e) => {
1060
+ }), Xe = (e) => {
1061
1061
  const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, a = R(se, t);
1062
- return /* @__PURE__ */ y.jsx(Pn, { scope: t, forceMount: n, children: c.Children.map(r, (s) => /* @__PURE__ */ y.jsx(z, { present: n || a.open, children: /* @__PURE__ */ y.jsx(Ae, { asChild: !0, container: o, children: s }) })) });
1062
+ return /* @__PURE__ */ y(Nn, { scope: t, forceMount: n, children: c.Children.map(r, (s) => /* @__PURE__ */ y(z, { present: n || a.open, children: /* @__PURE__ */ y(Ie, { asChild: !0, container: o, children: s }) })) });
1063
1063
  };
1064
- Ge.displayName = se;
1065
- var X = "DialogOverlay", Ye = c.forwardRef(
1064
+ Xe.displayName = se;
1065
+ var X = "DialogOverlay", ze = c.forwardRef(
1066
1066
  (e, t) => {
1067
- const n = Ve(X, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = R(X, e.__scopeDialog);
1068
- return a.modal ? /* @__PURE__ */ y.jsx(z, { present: r || a.open, children: /* @__PURE__ */ y.jsx(Rn, { ...o, ref: t }) }) : null;
1067
+ const n = Ye(X, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = R(X, e.__scopeDialog);
1068
+ return a.modal ? /* @__PURE__ */ y(z, { present: r || a.open, children: /* @__PURE__ */ y(Dn, { ...o, ref: t }) }) : null;
1069
1069
  }
1070
1070
  );
1071
- Ye.displayName = X;
1072
- var Rn = c.forwardRef(
1071
+ ze.displayName = X;
1072
+ var Dn = c.forwardRef(
1073
1073
  (e, t) => {
1074
1074
  const { __scopeDialog: n, ...r } = e, o = R(X, n);
1075
1075
  return (
1076
1076
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
1077
1077
  // ie. when `Overlay` and `Content` are siblings
1078
- /* @__PURE__ */ y.jsx(We, { as: Pe, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ y.jsx(
1079
- x.div,
1078
+ /* @__PURE__ */ y(Ue, { as: Ne, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ y(
1079
+ A.div,
1080
1080
  {
1081
1081
  "data-state": le(o.open),
1082
1082
  ...r,
@@ -1086,46 +1086,46 @@ var Rn = c.forwardRef(
1086
1086
  ) })
1087
1087
  );
1088
1088
  }
1089
- ), I = "DialogContent", Xe = c.forwardRef(
1089
+ ), x = "DialogContent", He = c.forwardRef(
1090
1090
  (e, t) => {
1091
- const n = Ve(I, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = R(I, e.__scopeDialog);
1092
- return /* @__PURE__ */ y.jsx(z, { present: r || a.open, children: a.modal ? /* @__PURE__ */ y.jsx(Nn, { ...o, ref: t }) : /* @__PURE__ */ y.jsx(Dn, { ...o, ref: t }) });
1091
+ const n = Ye(x, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = R(x, e.__scopeDialog);
1092
+ return /* @__PURE__ */ y(z, { present: r || a.open, children: a.modal ? /* @__PURE__ */ y(On, { ...o, ref: t }) : /* @__PURE__ */ y(An, { ...o, ref: t }) });
1093
1093
  }
1094
1094
  );
1095
- Xe.displayName = I;
1096
- var Nn = c.forwardRef(
1095
+ He.displayName = x;
1096
+ var On = c.forwardRef(
1097
1097
  (e, t) => {
1098
- const n = R(I, e.__scopeDialog), r = c.useRef(null), o = L(t, n.contentRef, r);
1098
+ const n = R(x, e.__scopeDialog), r = c.useRef(null), o = L(t, n.contentRef, r);
1099
1099
  return c.useEffect(() => {
1100
1100
  const a = r.current;
1101
- if (a) return Sn(a);
1102
- }, []), /* @__PURE__ */ y.jsx(
1103
- ze,
1101
+ if (a) return Pn(a);
1102
+ }, []), /* @__PURE__ */ y(
1103
+ Ze,
1104
1104
  {
1105
1105
  ...e,
1106
1106
  ref: o,
1107
1107
  trapFocus: n.open,
1108
1108
  disableOutsidePointerEvents: !0,
1109
- onCloseAutoFocus: T(e.onCloseAutoFocus, (a) => {
1109
+ onCloseAutoFocus: M(e.onCloseAutoFocus, (a) => {
1110
1110
  var s;
1111
1111
  a.preventDefault(), (s = n.triggerRef.current) == null || s.focus();
1112
1112
  }),
1113
- onPointerDownOutside: T(e.onPointerDownOutside, (a) => {
1113
+ onPointerDownOutside: M(e.onPointerDownOutside, (a) => {
1114
1114
  const s = a.detail.originalEvent, i = s.button === 0 && s.ctrlKey === !0;
1115
1115
  (s.button === 2 || i) && a.preventDefault();
1116
1116
  }),
1117
- onFocusOutside: T(
1117
+ onFocusOutside: M(
1118
1118
  e.onFocusOutside,
1119
1119
  (a) => a.preventDefault()
1120
1120
  )
1121
1121
  }
1122
1122
  );
1123
1123
  }
1124
- ), Dn = c.forwardRef(
1124
+ ), An = c.forwardRef(
1125
1125
  (e, t) => {
1126
- const n = R(I, e.__scopeDialog), r = c.useRef(!1), o = c.useRef(!1);
1127
- return /* @__PURE__ */ y.jsx(
1128
- ze,
1126
+ const n = R(x, e.__scopeDialog), r = c.useRef(!1), o = c.useRef(!1);
1127
+ return /* @__PURE__ */ y(
1128
+ Ze,
1129
1129
  {
1130
1130
  ...e,
1131
1131
  ref: t,
@@ -1144,20 +1144,20 @@ var Nn = c.forwardRef(
1144
1144
  }
1145
1145
  );
1146
1146
  }
1147
- ), ze = c.forwardRef(
1147
+ ), Ze = c.forwardRef(
1148
1148
  (e, t) => {
1149
- const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, ...s } = e, i = R(I, n), d = c.useRef(null), l = L(t, d);
1150
- return _t(), /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
1151
- /* @__PURE__ */ y.jsx(
1152
- Oe,
1149
+ const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, ...s } = e, i = R(x, n), d = c.useRef(null), l = L(t, d);
1150
+ return kt(), /* @__PURE__ */ de(fe, { children: [
1151
+ /* @__PURE__ */ y(
1152
+ Te,
1153
1153
  {
1154
1154
  asChild: !0,
1155
1155
  loop: !0,
1156
1156
  trapped: r,
1157
1157
  onMountAutoFocus: o,
1158
1158
  onUnmountAutoFocus: a,
1159
- children: /* @__PURE__ */ y.jsx(
1160
- Ne,
1159
+ children: /* @__PURE__ */ y(
1160
+ Oe,
1161
1161
  {
1162
1162
  role: "dialog",
1163
1163
  id: i.contentId,
@@ -1171,50 +1171,50 @@ var Nn = c.forwardRef(
1171
1171
  )
1172
1172
  }
1173
1173
  ),
1174
- /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
1175
- /* @__PURE__ */ y.jsx(On, { titleId: i.titleId }),
1176
- /* @__PURE__ */ y.jsx(An, { contentRef: d, descriptionId: i.descriptionId })
1174
+ /* @__PURE__ */ de(fe, { children: [
1175
+ /* @__PURE__ */ y(Tn, { titleId: i.titleId }),
1176
+ /* @__PURE__ */ y(In, { contentRef: d, descriptionId: i.descriptionId })
1177
1177
  ] })
1178
1178
  ] });
1179
1179
  }
1180
- ), ue = "DialogTitle", He = c.forwardRef(
1180
+ ), ue = "DialogTitle", qe = c.forwardRef(
1181
1181
  (e, t) => {
1182
1182
  const { __scopeDialog: n, ...r } = e, o = R(ue, n);
1183
- return /* @__PURE__ */ y.jsx(x.h2, { id: o.titleId, ...r, ref: t });
1183
+ return /* @__PURE__ */ y(A.h2, { id: o.titleId, ...r, ref: t });
1184
1184
  }
1185
1185
  );
1186
- He.displayName = ue;
1187
- var Ze = "DialogDescription", qe = c.forwardRef(
1186
+ qe.displayName = ue;
1187
+ var Qe = "DialogDescription", Je = c.forwardRef(
1188
1188
  (e, t) => {
1189
- const { __scopeDialog: n, ...r } = e, o = R(Ze, n);
1190
- return /* @__PURE__ */ y.jsx(x.p, { id: o.descriptionId, ...r, ref: t });
1189
+ const { __scopeDialog: n, ...r } = e, o = R(Qe, n);
1190
+ return /* @__PURE__ */ y(A.p, { id: o.descriptionId, ...r, ref: t });
1191
1191
  }
1192
1192
  );
1193
- qe.displayName = Ze;
1194
- var Qe = "DialogClose", Je = c.forwardRef(
1193
+ Je.displayName = Qe;
1194
+ var et = "DialogClose", tt = c.forwardRef(
1195
1195
  (e, t) => {
1196
- const { __scopeDialog: n, ...r } = e, o = R(Qe, n);
1197
- return /* @__PURE__ */ y.jsx(
1198
- x.button,
1196
+ const { __scopeDialog: n, ...r } = e, o = R(et, n);
1197
+ return /* @__PURE__ */ y(
1198
+ A.button,
1199
1199
  {
1200
1200
  type: "button",
1201
1201
  ...r,
1202
1202
  ref: t,
1203
- onClick: T(e.onClick, () => o.onOpenChange(!1))
1203
+ onClick: M(e.onClick, () => o.onOpenChange(!1))
1204
1204
  }
1205
1205
  );
1206
1206
  }
1207
1207
  );
1208
- Je.displayName = Qe;
1208
+ tt.displayName = et;
1209
1209
  function le(e) {
1210
1210
  return e ? "open" : "closed";
1211
1211
  }
1212
- var et = "DialogTitleWarning", [Fn, tt] = at(et, {
1213
- contentName: I,
1212
+ var nt = "DialogTitleWarning", [Wn, rt] = ct(nt, {
1213
+ contentName: x,
1214
1214
  titleName: ue,
1215
1215
  docsSlug: "dialog"
1216
- }), On = ({ titleId: e }) => {
1217
- const t = tt(et), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
1216
+ }), Tn = ({ titleId: e }) => {
1217
+ const t = rt(nt), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
1218
1218
 
1219
1219
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
1220
1220
 
@@ -1222,21 +1222,21 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
1222
1222
  return c.useEffect(() => {
1223
1223
  e && (document.getElementById(e) || console.error(n));
1224
1224
  }, [n, e]), null;
1225
- }, xn = "DialogDescriptionWarning", An = ({ contentRef: e, descriptionId: t }) => {
1226
- const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tt(xn).contentName}}.`;
1225
+ }, Mn = "DialogDescriptionWarning", In = ({ contentRef: e, descriptionId: t }) => {
1226
+ const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${rt(Mn).contentName}}.`;
1227
1227
  return c.useEffect(() => {
1228
1228
  var a;
1229
1229
  const o = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
1230
1230
  t && o && (document.getElementById(t) || console.warn(r));
1231
1231
  }, [r, e, t]), null;
1232
- }, kn = Ue, Wn = Ke, jn = Ge, Bn = Ye, Un = Xe, $n = He, Kn = qe, Vn = Je;
1232
+ }, Bn = Ke, Un = Ge, $n = Xe, jn = ze, Kn = He, Vn = qe, Gn = Je, Yn = tt;
1233
1233
  export {
1234
- Vn as C,
1235
- Kn as D,
1236
- Bn as O,
1237
- jn as P,
1238
- kn as R,
1239
- $n as T,
1240
- Un as a,
1241
- Wn as b
1234
+ Yn as C,
1235
+ Gn as D,
1236
+ jn as O,
1237
+ $n as P,
1238
+ Bn as R,
1239
+ Vn as T,
1240
+ Kn as a,
1241
+ Un as b
1242
1242
  };