@pfct/purple 1.7.0-next.3 → 1.7.0-next.4

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 (231) hide show
  1. package/dist/chunks/index.9fap07Gq.js +60 -0
  2. package/dist/chunks/index.B-Bfcjo7.js +1 -0
  3. package/dist/chunks/index.BfjI33ZB.js +41 -0
  4. package/dist/chunks/{index.Dud5PpT2.js → index.BmifSqQX.js} +26 -26
  5. package/dist/chunks/{index.BRcoZnsL.js → index.BngGCpBd.js} +1 -1
  6. package/dist/chunks/{index.B04X8ryw.js → index.BtGja8CI.js} +1 -1
  7. package/dist/chunks/{index.BKkcGVEJ.js → index.C1WOc90r.js} +81 -81
  8. package/dist/chunks/index.C3oZfEx6.js +283 -0
  9. package/dist/chunks/{index.CtswiKeA.js → index.CDVf4iB0.js} +1 -1
  10. package/dist/chunks/{index.DrALxeqy.js → index.CIUK7hO2.js} +23 -23
  11. package/dist/chunks/{index.DIsmU7qE.js → index.CVogEmtp.js} +1 -1
  12. package/dist/chunks/index.CqHp_goI.js +1 -0
  13. package/dist/chunks/{index.B3rAhBCw.js → index.CskkVMdK.js} +1 -1
  14. package/dist/chunks/{index.93u2Cu_l.js → index.DIaW0faE.js} +1 -1
  15. package/dist/chunks/{index.-8MfVPUU.js → index.DVHp5IZe.js} +47 -47
  16. package/dist/chunks/index.QJBZMz2E.js +5 -0
  17. package/dist/chunks/index.eYfYnSCV.js +1 -0
  18. package/dist/chunks/index.ps14_l3u.js +1 -0
  19. package/dist/components/Accordion/index.cjs.js +1 -1
  20. package/dist/components/Accordion/index.es.js +176 -176
  21. package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
  22. package/dist/components/Badge/BaseBadge/index.es.js +10 -10
  23. package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
  24. package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
  25. package/dist/components/Badge/IconBadge/index.cjs.js +1 -1
  26. package/dist/components/Badge/IconBadge/index.es.js +6 -6
  27. package/dist/components/Badge/TextBadge/index.cjs.js +1 -1
  28. package/dist/components/Badge/TextBadge/index.es.js +7 -7
  29. package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
  30. package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +32 -32
  31. package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
  32. package/dist/components/BottomSheet/NavBottomSheet/index.es.js +8 -8
  33. package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
  34. package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +15 -15
  35. package/dist/components/Button/BaseButton/index.cjs.js +1 -1
  36. package/dist/components/Button/BaseButton/index.es.js +4 -4
  37. package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
  38. package/dist/components/Button/DoubleButton/index.es.js +6 -6
  39. package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
  40. package/dist/components/Button/FloatBaseButton/index.es.js +16 -16
  41. package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
  42. package/dist/components/Button/FloatDoubleButton/index.es.js +13 -13
  43. package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
  44. package/dist/components/Button/FloatSingleButton/index.es.js +8 -8
  45. package/dist/components/Button/SingleButton/index.cjs.js +1 -1
  46. package/dist/components/Button/SingleButton/index.es.js +3 -3
  47. package/dist/components/Button/TestButton/index.cjs.js +1 -1
  48. package/dist/components/Button/TestButton/index.es.js +2 -2
  49. package/dist/components/Card/index.cjs.js +1 -1
  50. package/dist/components/Card/index.es.js +7 -7
  51. package/dist/components/Chips/BasicChips/index.cjs.js +1 -1
  52. package/dist/components/Chips/BasicChips/index.es.js +8 -8
  53. package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
  54. package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
  55. package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
  56. package/dist/components/Chips/ChipItem/index.es.js +31 -34
  57. package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
  58. package/dist/components/Chips/ChipsFrame/index.es.js +14 -14
  59. package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
  60. package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
  61. package/dist/components/Comment/Group/index.cjs.js +1 -1
  62. package/dist/components/Comment/Group/index.es.js +3 -3
  63. package/dist/components/Comment/Item/index.cjs.js +1 -1
  64. package/dist/components/Comment/Item/index.es.js +6 -6
  65. package/dist/components/Control/CheckMark/CheckMark.cjs.js +1 -1
  66. package/dist/components/Control/CheckMark/CheckMark.es.js +3 -3
  67. package/dist/components/Control/CheckMark/index.cjs.js +1 -1
  68. package/dist/components/Control/CheckMark/index.es.js +7 -7
  69. package/dist/components/Control/RadioButton/index.cjs.js +1 -1
  70. package/dist/components/Control/RadioButton/index.es.js +11 -11
  71. package/dist/components/Control/Switch/index.cjs.js +1 -1
  72. package/dist/components/Control/Switch/index.es.js +71 -71
  73. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
  74. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +12 -12
  75. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
  76. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +12 -12
  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 +14 -14
  81. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
  82. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +18 -18
  83. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
  84. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +13 -13
  85. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
  86. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +3 -3
  87. package/dist/components/DatePicker/BaseDatePicker/Month/index.cjs.js +1 -1
  88. package/dist/components/DatePicker/BaseDatePicker/Month/index.es.js +4 -4
  89. package/dist/components/DatePicker/BaseDatePicker/Week/index.cjs.js +1 -1
  90. package/dist/components/DatePicker/BaseDatePicker/Week/index.es.js +3 -3
  91. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
  92. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +16 -16
  93. package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
  94. package/dist/components/DatePicker/BaseDatePicker/index.es.js +31 -31
  95. package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
  96. package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +27 -27
  97. package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
  98. package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +14 -14
  99. package/dist/components/Divider/index.cjs.js +1 -1
  100. package/dist/components/Divider/index.es.js +17 -17
  101. package/dist/components/Input/BaseInput/index.cjs.js +1 -1
  102. package/dist/components/Input/BaseInput/index.es.js +44 -44
  103. package/dist/components/Input/NumberInput/index.cjs.js +1 -1
  104. package/dist/components/Input/NumberInput/index.es.js +23 -23
  105. package/dist/components/Input/PostfixInput/index.cjs.js +1 -1
  106. package/dist/components/Input/PostfixInput/index.es.js +61 -61
  107. package/dist/components/Input/ResidentNumberInput/index.cjs.js +1 -1
  108. package/dist/components/Input/ResidentNumberInput/index.es.js +65 -65
  109. package/dist/components/Input/TextField/index.cjs.js +1 -1
  110. package/dist/components/Input/TextField/index.es.js +32 -32
  111. package/dist/components/Input/common/InputFrame/index.cjs.js +1 -1
  112. package/dist/components/Input/common/InputFrame/index.es.js +17 -17
  113. package/dist/components/Input/index.cjs.js +1 -1
  114. package/dist/components/Input/index.es.js +1 -1
  115. package/dist/components/LegacyModal/BaseModal/index.cjs.js +1 -1
  116. package/dist/components/LegacyModal/BaseModal/index.es.js +8 -8
  117. package/dist/components/LegacyModal/index.cjs.js +1 -1
  118. package/dist/components/LegacyModal/index.es.js +19 -19
  119. package/dist/components/List/index.cjs.js +1 -1
  120. package/dist/components/List/index.es.js +11 -11
  121. package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
  122. package/dist/components/Loading/ProgressBar/index.es.js +3 -3
  123. package/dist/components/Loading/Skeleton/index.cjs.js +1 -1
  124. package/dist/components/Loading/Skeleton/index.es.js +5 -5
  125. package/dist/components/Loading/Spinner/index.cjs.js +1 -1
  126. package/dist/components/Loading/Spinner/index.es.js +3 -3
  127. package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
  128. package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
  129. package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
  130. package/dist/components/MiniButton/IconMiniButton/index.es.js +27 -30
  131. package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
  132. package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +40 -43
  133. package/dist/components/MiniButton/common/ButtonTag.cjs.js +1 -1
  134. package/dist/components/MiniButton/common/ButtonTag.es.js +3 -3
  135. package/dist/components/Modal/index.cjs.js +1 -1
  136. package/dist/components/Modal/index.es.js +42 -42
  137. package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
  138. package/dist/components/Navigation/BaseNavigation/index.es.js +14 -14
  139. package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
  140. package/dist/components/Navigation/BottomNavigationBar/index.es.js +10 -10
  141. package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
  142. package/dist/components/Navigation/PageNavigationBar/index.es.js +21 -21
  143. package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
  144. package/dist/components/Navigation/TitleNavigationBar/index.es.js +12 -12
  145. package/dist/components/Navigation/index.cjs.js +1 -1
  146. package/dist/components/Navigation/index.es.js +21 -21
  147. package/dist/components/OverlayRoot/index.cjs.js +1 -1
  148. package/dist/components/OverlayRoot/index.es.js +6 -6
  149. package/dist/components/Segment/BaseSegment/index.cjs.js +1 -1
  150. package/dist/components/Segment/BaseSegment/index.es.js +16 -16
  151. package/dist/components/Segment/ExtendSegment/index.cjs.js +1 -1
  152. package/dist/components/Segment/ExtendSegment/index.es.js +18 -18
  153. package/dist/components/SelectBox/index.cjs.js +1 -1
  154. package/dist/components/SelectBox/index.es.js +42 -42
  155. package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
  156. package/dist/components/Tabs/FillTabs/index.es.js +11 -11
  157. package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
  158. package/dist/components/Tabs/TextTabs/index.es.js +18 -18
  159. package/dist/components/Tag/index.cjs.js +1 -1
  160. package/dist/components/Tag/index.es.js +7 -8
  161. package/dist/components/Terms/index.cjs.js +1 -1
  162. package/dist/components/Terms/index.es.js +26 -26
  163. package/dist/components/TextArea/index.cjs.js +1 -1
  164. package/dist/components/TextArea/index.es.js +17 -17
  165. package/dist/components/Title/index.cjs.js +1 -1
  166. package/dist/components/Title/index.es.js +12 -12
  167. package/dist/components/Toast/index.cjs.js +1 -1
  168. package/dist/components/Toast/index.es.js +4 -4
  169. package/dist/components/index.cjs.js +1 -1
  170. package/dist/components/index.es.js +1 -1
  171. package/dist/components/ui/bottomSheet.cjs.js +1 -1
  172. package/dist/components/ui/bottomSheet.es.js +92 -92
  173. package/dist/components/ui/button.cjs.js +1 -1
  174. package/dist/components/ui/button.es.js +13 -14
  175. package/dist/components/ui/checkbox.cjs.js +1 -1
  176. package/dist/components/ui/checkbox.es.js +88 -88
  177. package/dist/components/ui/dialog.cjs.js +1 -1
  178. package/dist/components/ui/dialog.es.js +48 -48
  179. package/dist/components/ui/drawer.cjs.js +2 -2
  180. package/dist/components/ui/drawer.es.js +159 -159
  181. package/dist/components/ui/impact-tooltip.cjs.js +1 -1
  182. package/dist/components/ui/impact-tooltip.es.js +133 -133
  183. package/dist/components/ui/share-ui.cjs.js +1 -1
  184. package/dist/components/ui/share-ui.es.js +34 -34
  185. package/dist/components/ui/tooltip.cjs.js +1 -1
  186. package/dist/components/ui/tooltip.es.js +138 -138
  187. package/dist/components/ui/typography.cjs.js +1 -1
  188. package/dist/components/ui/typography.es.js +3 -3
  189. package/dist/core/Display/Mobile.cjs.js +1 -1
  190. package/dist/core/Display/Mobile.es.js +4 -4
  191. package/dist/core/Display/Pc.cjs.js +1 -1
  192. package/dist/core/Display/Pc.es.js +4 -4
  193. package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
  194. package/dist/core/Typography/BaseTypography/index.es.js +3 -3
  195. package/dist/core/Typography/index.cjs.js +1 -1
  196. package/dist/core/Typography/index.es.js +19 -19
  197. package/dist/icons/src/icons/index.cjs.js +1 -1
  198. package/dist/icons/src/icons/index.d.ts +1 -1
  199. package/dist/icons/src/icons/index.d.ts.map +1 -1
  200. package/dist/icons/src/icons/index.es.js +4 -4
  201. package/dist/index.cjs.js +1 -1
  202. package/dist/index.es.js +1 -1
  203. package/dist/library/BasicForm/index.cjs.js +1 -1
  204. package/dist/library/BasicForm/index.es.js +10 -10
  205. package/dist/library/BasicLayout/Body.cjs.js +1 -1
  206. package/dist/library/BasicLayout/Body.es.js +7 -7
  207. package/dist/library/BasicLayout/Footer.cjs.js +1 -1
  208. package/dist/library/BasicLayout/Footer.es.js +71 -71
  209. package/dist/library/BasicLayout/index.cjs.js +1 -1
  210. package/dist/library/BasicLayout/index.es.js +35 -35
  211. package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
  212. package/dist/library/BasicLayout/index.styled.es.js +1 -1
  213. package/dist/library/IconWithImage/index.cjs.js +1 -1
  214. package/dist/library/IconWithImage/index.es.js +4 -4
  215. package/dist/library/List/BottomSheetItemList/index.cjs.js +1 -1
  216. package/dist/library/List/BottomSheetItemList/index.es.js +5 -5
  217. package/dist/library/Lottie/index.cjs.js +1 -1
  218. package/dist/library/Lottie/index.es.js +47 -47
  219. package/dist/library/Spacing/index.cjs.js +1 -1
  220. package/dist/library/Spacing/index.es.js +3 -3
  221. package/package.json +1 -1
  222. package/dist/chunks/index.9yN3bH7k.js +0 -283
  223. package/dist/chunks/index.BTUe9yKh.js +0 -1
  224. package/dist/chunks/index.Beaq4T1c.js +0 -1
  225. package/dist/chunks/index.BspO8Abs.js +0 -41
  226. package/dist/chunks/index.CtIpJqp4.js +0 -5
  227. package/dist/chunks/index.DcvrUsoU.js +0 -1
  228. package/dist/chunks/index._MxrBNop.js +0 -60
  229. package/dist/chunks/index.mCMIO9lL.js +0 -1
  230. package/dist/chunks/jsx-runtime.B0Vkbtvx.js +0 -14
  231. package/dist/chunks/jsx-runtime.C63F304d.js +0 -615
@@ -0,0 +1,60 @@
1
+ import * as e from "react";
2
+ import { c as S } from "./index.DLcqcWxM.js";
3
+ import { jsx as y } from "react/jsx-runtime";
4
+ var E = /* @__PURE__ */ Symbol.for("react.lazy"), p = e[" use ".trim().toString()];
5
+ function g(r) {
6
+ return typeof r == "object" && r !== null && "then" in r;
7
+ }
8
+ function d(r) {
9
+ return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof === E && "_payload" in r && g(r._payload);
10
+ }
11
+ // @__NO_SIDE_EFFECTS__
12
+ function C(r) {
13
+ const n = /* @__PURE__ */ _(r), o = e.forwardRef((i, t) => {
14
+ let { children: l, ...a } = i;
15
+ d(l) && typeof p == "function" && (l = p(l._payload));
16
+ const s = e.Children.toArray(l), f = s.find(b);
17
+ if (f) {
18
+ const c = f.props.children, m = s.map((u) => u === f ? e.Children.count(c) > 1 ? e.Children.only(null) : e.isValidElement(c) ? c.props.children : null : u);
19
+ return /* @__PURE__ */ y(n, { ...a, ref: t, children: e.isValidElement(c) ? e.cloneElement(c, void 0, m) : null });
20
+ }
21
+ return /* @__PURE__ */ y(n, { ...a, ref: t, children: l });
22
+ });
23
+ return o.displayName = `${r}.Slot`, o;
24
+ }
25
+ var V = /* @__PURE__ */ C("Slot");
26
+ // @__NO_SIDE_EFFECTS__
27
+ function _(r) {
28
+ const n = e.forwardRef((o, i) => {
29
+ let { children: t, ...l } = o;
30
+ if (d(t) && typeof p == "function" && (t = p(t._payload)), e.isValidElement(t)) {
31
+ const a = P(t), s = h(l, t.props);
32
+ return t.type !== e.Fragment && (s.ref = i ? S(i, a) : a), e.cloneElement(t, s);
33
+ }
34
+ return e.Children.count(t) > 1 ? e.Children.only(null) : null;
35
+ });
36
+ return n.displayName = `${r}.SlotClone`, n;
37
+ }
38
+ var R = /* @__PURE__ */ Symbol("radix.slottable");
39
+ function b(r) {
40
+ return e.isValidElement(r) && typeof r.type == "function" && "__radixId" in r.type && r.type.__radixId === R;
41
+ }
42
+ function h(r, n) {
43
+ const o = { ...n };
44
+ for (const i in n) {
45
+ const t = r[i], l = n[i];
46
+ /^on[A-Z]/.test(i) ? t && l ? o[i] = (...s) => {
47
+ const f = l(...s);
48
+ return t(...s), f;
49
+ } : t && (o[i] = t) : i === "style" ? o[i] = { ...t, ...l } : i === "className" && (o[i] = [t, l].filter(Boolean).join(" "));
50
+ }
51
+ return { ...r, ...o };
52
+ }
53
+ function P(r) {
54
+ let n = Object.getOwnPropertyDescriptor(r.props, "ref")?.get, o = n && "isReactWarning" in n && n.isReactWarning;
55
+ return o ? r.ref : (n = Object.getOwnPropertyDescriptor(r, "ref")?.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? r.props.ref : r.props.ref || r.ref);
56
+ }
57
+ export {
58
+ V as S,
59
+ C as c
60
+ };
@@ -0,0 +1 @@
1
+ "use strict";const W=require("react"),f=require("./index.eYfYnSCV.js"),w=require("./index.BIcga6m3.js"),h=require("react/jsx-runtime"),M=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 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 s=U(W),q=H(M);function p(e){const t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...n)=>t.current?.(...n),[])}function z(e,t=globalThis?.document){const n=p(e);s.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var K="DismissableLayer",m="dismissableLayer.update",$="dismissableLayer.pointerDownOutside",X="dismissableLayer.focusOutside",R,T=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),x=s.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:d,onDismiss:l,...v}=e,c=s.useContext(T),[u,B]=s.useState(null),E=u?.ownerDocument??globalThis?.document,[,F]=s.useState({}),I=w.useComposedRefs(t,i=>B(i)),P=Array.from(c.layers),[N]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),k=P.indexOf(N),D=u?P.indexOf(u):-1,A=c.layersWithOutsidePointerEventsDisabled.size>0,O=D>=k,j=J(i=>{const y=i.target,L=[...c.branches].some(b=>b.contains(y));!O||L||(o?.(i),d?.(i),i.defaultPrevented||l?.())},E),C=Q(i=>{const y=i.target;[...c.branches].some(b=>b.contains(y))||(a?.(i),d?.(i),i.defaultPrevented||l?.())},E);return z(i=>{D===c.layers.size-1&&(r?.(i),!i.defaultPrevented&&l&&(i.preventDefault(),l()))},E),s.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(R=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(E.body.style.pointerEvents=R)}},[u,E,n,c]),s.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),s.useEffect(()=>{const i=()=>F({});return document.addEventListener(m,i),()=>document.removeEventListener(m,i)},[]),h.jsx(f.Primitive.div,{...v,ref:I,style:{pointerEvents:A?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,j.onPointerDownCapture)})});x.displayName=K;var Y="DismissableLayerBranch",G=s.forwardRef((e,t)=>{const n=s.useContext(T),r=s.useRef(null),o=w.useComposedRefs(t,r);return s.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),h.jsx(f.Primitive.div,{...e,ref:o})});G.displayName=Y;function J(e,t=globalThis?.document){const n=p(e),r=s.useRef(!1),o=s.useRef(()=>{});return s.useEffect(()=>{const a=l=>{if(l.target&&!r.current){let v=function(){S($,n,c,{discrete:!0})};const c={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=v,t.addEventListener("click",o.current,{once:!0})):v()}else t.removeEventListener("click",o.current);r.current=!1},d=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(d),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Q(e,t=globalThis?.document){const n=p(e),r=s.useRef(!1);return s.useEffect(()=>{const o=a=>{a.target&&!r.current&&S(X,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function g(){const e=new CustomEvent(m);document.dispatchEvent(e)}function S(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?f.dispatchDiscreteCustomEvent(o,a):o.dispatchEvent(a)}var V="Portal",_=s.forwardRef((e,t)=>{const{container:n,...r}=e,[o,a]=s.useState(!1);f.useLayoutEffect2(()=>a(!0),[]);const d=n||o&&globalThis?.document?.body;return d?q.default.createPortal(h.jsx(f.Primitive.div,{...r,ref:t}),d):null});_.displayName=V;exports.DismissableLayer=x;exports.Portal=_;exports.useCallbackRef=p;
@@ -0,0 +1,41 @@
1
+ "use strict";const ue=require("react"),Se=require("./index.BIcga6m3.js"),Ee=require("./index.eYfYnSCV.js"),Z=require("./index.B-Bfcjo7.js"),we=require("react/jsx-runtime");function Ce(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=Ce(ue);var _="focusScope.autoFocusOnMount",U="focusScope.autoFocusOnUnmount",Q={bubbles:!1,cancelable:!0},Re="FocusScope",ie=u.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:c,onUnmountAutoFocus:i,...s}=e,[a,E]=u.useState(null),b=Z.useCallbackRef(c),g=Z.useCallbackRef(i),f=u.useRef(null),v=Se.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(p){if(h.paused||!a)return;const y=p.target;a.contains(y)?f.current=y:T(f.current,{select:!0})},l=function(p){if(h.paused||!a)return;const y=p.relatedTarget;y!==null&&(a.contains(y)||T(f.current,{select:!0}))},d=function(p){if(document.activeElement===document.body)for(const S of p)S.removedNodes.length>0&&T(a)};document.addEventListener("focusin",o),document.addEventListener("focusout",l);const m=new MutationObserver(d);return a&&m.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",o),document.removeEventListener("focusout",l),m.disconnect()}}},[r,a,h.paused]),u.useEffect(()=>{if(a){J.add(h);const o=document.activeElement;if(!a.contains(o)){const d=new CustomEvent(_,Q);a.addEventListener(_,b),a.dispatchEvent(d),d.defaultPrevented||(ke(Me(le(a)),{select:!0}),document.activeElement===o&&T(a))}return()=>{a.removeEventListener(_,b),setTimeout(()=>{const d=new CustomEvent(U,Q);a.addEventListener(U,g),a.dispatchEvent(d),d.defaultPrevented||T(o??document.body,{select:!0}),a.removeEventListener(U,g),J.remove(h)},0)}}},[a,b,g,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 m=o.currentTarget,[p,y]=Te(m);p&&y?!o.shiftKey&&d===y?(o.preventDefault(),n&&T(p,{select:!0})):o.shiftKey&&d===p&&(o.preventDefault(),n&&T(y,{select:!0})):d===m&&o.preventDefault()}},[n,r,h.paused]);return we.jsx(Ee.Primitive.div,{tabIndex:-1,...s,ref:v,onKeyDown:w})});ie.displayName=Re;function ke(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(T(r,{select:t}),document.activeElement!==n)return}function Te(e){const t=le(e),n=$(t,e),r=$(t.reverse(),e);return[n,r]}function le(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 $(e,t){for(const n of e)if(!Ae(n,{upTo:t}))return n}function Ae(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 Ne(e){return e instanceof HTMLInputElement&&"select"in e}function T(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ne(e)&&t&&e.select()}}var J=Oe();function Oe(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=ee(e,t),e.unshift(t)},remove(t){e=ee(e,t),e[0]?.resume()}}}function ee(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Me(e){return e.filter(t=>t.tagName!=="A")}var K=0;function Fe(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??te()),document.body.insertAdjacentElement("beforeend",e[1]??te()),K++,()=>{K===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),K--}},[])}function te(){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 se(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",Le="with-scroll-bars-hidden",xe="--removed-body-scroll-bar-size";function H(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ie(e,t){var n=ue.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 We=typeof window<"u"?u.useLayoutEffect:u.useEffect,ne=new WeakMap;function Be(e,t){var n=Ie(null,function(r){return e.forEach(function(c){return H(c,r)})});return We(function(){var r=ne.get(n);if(r){var c=new Set(r),i=new Set(e),s=n.current;c.forEach(function(a){i.has(a)||H(a,null)}),i.forEach(function(a){c.has(a)||H(a,s)})}ne.set(n,e)},[e]),n}function De(e){return e}function je(e,t){t===void 0&&(t=De);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 g=s;s=[],g.forEach(i)},b=function(){return Promise.resolve().then(E)};b(),n={push:function(g){s.push(g),b()},filter:function(g){return s=s.filter(g),n}}}};return c}function _e(e){e===void 0&&(e={});var t=je(null);return t.options=C({async:!0,ssr:!1},e),t}var fe=function(e){var t=e.sideCar,n=se(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))};fe.isSideCarExport=!0;function Ue(e,t){return e.useMedium(t),fe}var de=_e(),V=function(){},D=u.forwardRef(function(e,t){var n=u.useRef(null),r=u.useState({onScrollCapture:V,onWheelCapture:V,onTouchMoveCapture:V}),c=r[0],i=r[1],s=e.forwardProps,a=e.children,E=e.className,b=e.removeScrollBar,g=e.enabled,f=e.shards,v=e.sideCar,h=e.noRelative,w=e.noIsolation,o=e.inert,l=e.allowPinchZoom,d=e.as,m=d===void 0?"div":d,p=e.gapMode,y=se(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=v,R=Be([n,t]),k=C(C({},y),c);return u.createElement(u.Fragment,null,g&&u.createElement(S,{sideCar:de,removeScrollBar:b,shards:f,noRelative:h,noIsolation:w,inert:o,setCallbacks:i,allowPinchZoom:!!l,lockRef:n,gapMode:p}),s?u.cloneElement(u.Children.only(a),C(C({},k),{ref:R})):u.createElement(m,C({},k,{className:E,ref:R}),a))});D.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};D.classNames={fullWidth:B,zeroRight:W};var Ke=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function He(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ke();return t&&e.setAttribute("nonce",t),e}function Ve(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xe(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ye=function(){var e=0,t=null;return{add:function(n){e==0&&(t=He())&&(Ve(t,n),Xe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},qe=function(){var e=Ye();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ve=function(){var e=qe(),t=function(n){var r=n.styles,c=n.dynamic;return e(r,c),null};return t},Ge={left:0,top:0,right:0,gap:0},X=function(e){return parseInt(e||"",10)||0},ze=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[X(n),X(r),X(c)]},Ze=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ge;var t=ze(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])}},Qe=ve(),M="data-scroll-locked",$e=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(Le,` {
3
+ overflow: hidden `).concat(r,`;
4
+ padding-right: `).concat(a,"px ").concat(r,`;
5
+ }
6
+ body[`).concat(M,`] {
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(M,`] {
36
+ `).concat(xe,": ").concat(a,`px;
37
+ }
38
+ `)},re=function(){var e=parseInt(document.body.getAttribute(M)||"0",10);return isFinite(e)?e:0},Je=function(){u.useEffect(function(){return document.body.setAttribute(M,(re()+1).toString()),function(){var e=re()-1;e<=0?document.body.removeAttribute(M):document.body.setAttribute(M,e.toString())}},[])},et=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,c=r===void 0?"margin":r;Je();var i=u.useMemo(function(){return Ze(c)},[c]);return u.createElement(Qe,{styles:$e(i,!t,c,n?"":"!important")})},q=!1;if(typeof window<"u")try{var P=Object.defineProperty({},"passive",{get:function(){return q=!0,!0}});window.addEventListener("test",P,P),window.removeEventListener("test",P,P)}catch{q=!1}var A=q?{passive:!1}:!1,tt=function(e){return e.tagName==="TEXTAREA"},he=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!tt(e)&&n[t]==="visible")},nt=function(e){return he(e,"overflowY")},rt=function(e){return he(e,"overflowX")},ae=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var c=me(e,r);if(c){var i=pe(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},at=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ot=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},me=function(e,t){return e==="v"?nt(t):rt(t)},pe=function(e,t){return e==="v"?at(t):ot(t)},ct=function(e,t){return e==="h"&&t==="rtl"?-1:1},ut=function(e,t,n,r,c){var i=ct(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,E=t.contains(a),b=!1,g=s>0,f=0,v=0;do{if(!a)break;var h=pe(e,a),w=h[0],o=h[1],l=h[2],d=o-l-i*w;(w||d)&&me(e,a)&&(f+=d,v+=w);var m=a.parentNode;a=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!E&&a!==document.body||E&&(t.contains(a)||t===a));return(g&&Math.abs(f)<1||!g&&Math.abs(v)<1)&&(b=!0),b},L=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},oe=function(e){return[e.deltaX,e.deltaY]},ce=function(e){return e&&"current"in e?e.current:e},it=function(e,t){return e[0]===t[0]&&e[1]===t[1]},lt=function(e){return`
39
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
40
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
+ `)},st=0,N=[];function ft(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),c=u.useState(st++)[0],i=u.useState(ve)[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(ce),!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),m=n.current,p="deltaX"in o?o.deltaX:m[0]-d[0],y="deltaY"in o?o.deltaY:m[1]-d[1],S,R=o.target,k=Math.abs(p)>Math.abs(y)?"h":"v";if("touches"in o&&k==="h"&&R.type==="range")return!1;var G=window.getSelection(),j=G&&G.anchorNode,be=j?j===R||j.contains(R):!1;if(be)return!1;var F=ae(k,R);if(!F)return!0;if(F?S=k:(S=k==="v"?"h":"v",F=ae(k,R)),!F)return!1;if(!r.current&&"changedTouches"in o&&(p||y)&&(r.current=S),!S)return!0;var z=r.current||S;return ut(z,l,o,z==="h"?p:y)},[]),E=u.useCallback(function(o){var l=o;if(!(!N.length||N[N.length-1]!==i)){var d="deltaY"in l?oe(l):L(l),m=t.current.filter(function(S){return S.name===l.type&&(S.target===l.target||l.target===S.shadowParent)&&it(S.delta,d)})[0];if(m&&m.should){l.cancelable&&l.preventDefault();return}if(!m){var p=(s.current.shards||[]).map(ce).filter(Boolean).filter(function(S){return S.contains(l.target)}),y=p.length>0?a(l,p[0]):!s.current.noIsolation;y&&l.cancelable&&l.preventDefault()}}},[]),b=u.useCallback(function(o,l,d,m){var p={name:o,delta:l,target:d,should:m,shadowParent:dt(d)};t.current.push(p),setTimeout(function(){t.current=t.current.filter(function(y){return y!==p})},1)},[]),g=u.useCallback(function(o){n.current=L(o),r.current=void 0},[]),f=u.useCallback(function(o){b(o.type,oe(o),o.target,a(o,e.lockRef.current))},[]),v=u.useCallback(function(o){b(o.type,L(o),o.target,a(o,e.lockRef.current))},[]);u.useEffect(function(){return N.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",E,A),document.addEventListener("touchmove",E,A),document.addEventListener("touchstart",g,A),function(){N=N.filter(function(o){return o!==i}),document.removeEventListener("wheel",E,A),document.removeEventListener("touchmove",E,A),document.removeEventListener("touchstart",g,A)}},[]);var h=e.removeScrollBar,w=e.inert;return u.createElement(u.Fragment,null,w?u.createElement(i,{styles:lt(c)}):null,h?u.createElement(et,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function dt(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const vt=Ue(de,ft);var ge=u.forwardRef(function(e,t){return u.createElement(D,C({},e,{ref:t,sideCar:vt}))});ge.classNames=D.classNames;var ht=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={},Y=0,ye=function(e){return e&&(e.host||ye(e.parentNode))},mt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ye(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})},pt=function(e,t,n,r){var c=mt(t,Array.isArray(e)?e:[e]);I[n]||(I[n]=new WeakMap);var i=I[n],s=[],a=new Set,E=new Set(c),b=function(f){!f||a.has(f)||(a.add(f),b(f.parentNode))};c.forEach(b);var g=function(f){!f||E.has(f)||Array.prototype.forEach.call(f.children,function(v){if(a.has(v))g(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 g(t),a.clear(),Y++,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)}),Y--,Y||(O=new WeakMap,O=new WeakMap,x=new WeakMap,I={})}},gt=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),c=ht(e);return c?(r.push.apply(r,Array.from(c.querySelectorAll("[aria-live], script"))),pt(r,c,n,"aria-hidden")):function(){return null}};exports.FocusScope=ie;exports.ReactRemoveScroll=ge;exports.hideOthers=gt;exports.useFocusGuards=Fe;
@@ -1,11 +1,11 @@
1
1
  import * as r from "react";
2
- import { j as m } from "./jsx-runtime.C63F304d.js";
3
- import * as S from "react-dom";
4
- import { c as y } from "./index.DLcqcWxM.js";
2
+ import { jsx as m } from "react/jsx-runtime";
3
+ import * as y from "react-dom";
4
+ import { c as E } from "./index.DLcqcWxM.js";
5
5
  function M(e, t) {
6
6
  const n = r.createContext(t), s = (i) => {
7
7
  const { children: u, ...c } = i, l = r.useMemo(() => c, Object.values(c));
8
- return /* @__PURE__ */ m.jsx(n.Provider, { value: l, children: u });
8
+ return /* @__PURE__ */ m(n.Provider, { value: l, children: u });
9
9
  };
10
10
  s.displayName = e + "Provider";
11
11
  function o(i) {
@@ -22,8 +22,8 @@ function W(e, t = []) {
22
22
  const c = r.createContext(u), l = n.length;
23
23
  n = [...n, u];
24
24
  const f = (a) => {
25
- const { scope: v, children: C, ...p } = a, h = v?.[e]?.[l] || c, x = r.useMemo(() => p, Object.values(p));
26
- return /* @__PURE__ */ m.jsx(h.Provider, { value: x, children: C });
25
+ const { scope: v, children: C, ...p } = a, h = v?.[e]?.[l] || c, S = r.useMemo(() => p, Object.values(p));
26
+ return /* @__PURE__ */ m(h.Provider, { value: S, children: C });
27
27
  };
28
28
  f.displayName = i + "Provider";
29
29
  function d(a, v) {
@@ -44,9 +44,9 @@ function W(e, t = []) {
44
44
  );
45
45
  };
46
46
  };
47
- return o.scopeName = e, [s, E(o, ...t)];
47
+ return o.scopeName = e, [s, x(o, ...t)];
48
48
  }
49
- function E(...e) {
49
+ function x(...e) {
50
50
  const t = e[0];
51
51
  if (e.length === 1) return t;
52
52
  const n = () => {
@@ -95,7 +95,7 @@ function H({
95
95
  const f = r.useCallback(
96
96
  (d) => {
97
97
  if (c) {
98
- const a = R(d) ? d(e) : d;
98
+ const a = w(d) ? d(e) : d;
99
99
  a !== e && u.current?.(a);
100
100
  } else
101
101
  i(d);
@@ -115,18 +115,18 @@ function g({
115
115
  o.current !== n && (i.current?.(n), o.current = n);
116
116
  }, [n, o]), [n, s, i];
117
117
  }
118
- function R(e) {
118
+ function w(e) {
119
119
  return typeof e == "function";
120
120
  }
121
121
  // @__NO_SIDE_EFFECTS__
122
- function w(e) {
122
+ function R(e) {
123
123
  const t = /* @__PURE__ */ $(e), n = r.forwardRef((s, o) => {
124
- const { children: i, ...u } = s, c = r.Children.toArray(i), l = c.find(_);
124
+ const { children: i, ...u } = s, c = r.Children.toArray(i), l = c.find(O);
125
125
  if (l) {
126
126
  const f = l.props.children, d = c.map((a) => a === l ? r.Children.count(f) > 1 ? r.Children.only(null) : r.isValidElement(f) ? f.props.children : null : a);
127
- return /* @__PURE__ */ m.jsx(t, { ...u, ref: o, children: r.isValidElement(f) ? r.cloneElement(f, void 0, d) : null });
127
+ return /* @__PURE__ */ m(t, { ...u, ref: o, children: r.isValidElement(f) ? r.cloneElement(f, void 0, d) : null });
128
128
  }
129
- return /* @__PURE__ */ m.jsx(t, { ...u, ref: o, children: i });
129
+ return /* @__PURE__ */ m(t, { ...u, ref: o, children: i });
130
130
  });
131
131
  return n.displayName = `${e}.Slot`, n;
132
132
  }
@@ -135,18 +135,18 @@ function $(e) {
135
135
  const t = r.forwardRef((n, s) => {
136
136
  const { children: o, ...i } = n;
137
137
  if (r.isValidElement(o)) {
138
- const u = N(o), c = O(i, o.props);
139
- return o.type !== r.Fragment && (c.ref = s ? y(s, u) : u), r.cloneElement(o, c);
138
+ const u = D(o), c = N(i, o.props);
139
+ return o.type !== r.Fragment && (c.ref = s ? E(s, u) : u), r.cloneElement(o, c);
140
140
  }
141
141
  return r.Children.count(o) > 1 ? r.Children.only(null) : null;
142
142
  });
143
143
  return t.displayName = `${e}.SlotClone`, t;
144
144
  }
145
- var j = /* @__PURE__ */ Symbol("radix.slottable");
146
- function _(e) {
147
- return r.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === j;
145
+ var _ = /* @__PURE__ */ Symbol("radix.slottable");
146
+ function O(e) {
147
+ return r.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === _;
148
148
  }
149
- function O(e, t) {
149
+ function N(e, t) {
150
150
  const n = { ...t };
151
151
  for (const s in t) {
152
152
  const o = e[s], i = t[s];
@@ -157,11 +157,11 @@ function O(e, t) {
157
157
  }
158
158
  return { ...e, ...n };
159
159
  }
160
- function N(e) {
160
+ function D(e) {
161
161
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
162
162
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
163
163
  }
164
- var D = [
164
+ var I = [
165
165
  "a",
166
166
  "button",
167
167
  "div",
@@ -179,15 +179,15 @@ var D = [
179
179
  "span",
180
180
  "svg",
181
181
  "ul"
182
- ], L = D.reduce((e, t) => {
183
- const n = /* @__PURE__ */ w(`Primitive.${t}`), s = r.forwardRef((o, i) => {
182
+ ], L = I.reduce((e, t) => {
183
+ const n = /* @__PURE__ */ R(`Primitive.${t}`), s = r.forwardRef((o, i) => {
184
184
  const { asChild: u, ...c } = o, l = u ? n : t;
185
- return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ m.jsx(l, { ...c, ref: i });
185
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ m(l, { ...c, ref: i });
186
186
  });
187
187
  return s.displayName = `Primitive.${t}`, { ...e, [t]: s };
188
188
  }, {});
189
189
  function T(e, t) {
190
- e && S.flushSync(() => e.dispatchEvent(t));
190
+ e && y.flushSync(() => e.dispatchEvent(t));
191
191
  }
192
192
  export {
193
193
  L as P,
@@ -1 +1 @@
1
- "use strict";const T=require("react"),E=require("./index.BIcga6m3.js"),g=require("./index.BTUe9yKh.js");function P(n){if(n&&typeof n=="object"&&"default"in n)return n;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const i=P(T);function R(n,e){return i.useReducer((t,r)=>e[t][r]??t,n)}var A=n=>{const{present:e,children:t}=n,r=S(e),a=typeof t=="function"?t({present:r.isPresent}):i.Children.only(t),u=E.useComposedRefs(r.ref,v(a));return typeof t=="function"||r.isPresent?i.cloneElement(a,{ref:u}):null};A.displayName="Presence";function S(n){const[e,t]=i.useState(),r=i.useRef(null),a=i.useRef(n),u=i.useRef("none"),p=n?"mounted":"unmounted",[N,s]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect2(()=>{const o=r.current,d=a.current;if(d!==n){const f=u.current,c=l(o);n?s("MOUNT"):c==="none"||o?.display==="none"?s("UNMOUNT"):s(d&&f!==c?"ANIMATION_OUT":"UNMOUNT"),a.current=n}},[n,s]),g.useLayoutEffect2(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=c=>{const y=l(r.current).includes(CSS.escape(c.animationName));if(c.target===e&&y&&(s("ANIMATION_END"),!a.current)){const M=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=M)})}},f=c=>{c.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else s("ANIMATION_END")},[e,s]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:i.useCallback(o=>{r.current=o?getComputedStyle(o):null,t(o)},[])}}function l(n){return n?.animationName||"none"}function v(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=A;
1
+ "use strict";const T=require("react"),E=require("./index.BIcga6m3.js"),g=require("./index.eYfYnSCV.js");function P(n){if(n&&typeof n=="object"&&"default"in n)return n;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const i=P(T);function R(n,e){return i.useReducer((t,r)=>e[t][r]??t,n)}var A=n=>{const{present:e,children:t}=n,r=S(e),a=typeof t=="function"?t({present:r.isPresent}):i.Children.only(t),u=E.useComposedRefs(r.ref,v(a));return typeof t=="function"||r.isPresent?i.cloneElement(a,{ref:u}):null};A.displayName="Presence";function S(n){const[e,t]=i.useState(),r=i.useRef(null),a=i.useRef(n),u=i.useRef("none"),p=n?"mounted":"unmounted",[N,s]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect2(()=>{const o=r.current,d=a.current;if(d!==n){const f=u.current,c=l(o);n?s("MOUNT"):c==="none"||o?.display==="none"?s("UNMOUNT"):s(d&&f!==c?"ANIMATION_OUT":"UNMOUNT"),a.current=n}},[n,s]),g.useLayoutEffect2(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=c=>{const y=l(r.current).includes(CSS.escape(c.animationName));if(c.target===e&&y&&(s("ANIMATION_END"),!a.current)){const M=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=M)})}},f=c=>{c.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else s("ANIMATION_END")},[e,s]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:i.useCallback(o=>{r.current=o?getComputedStyle(o):null,t(o)},[])}}function l(n){return n?.animationName||"none"}function v(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=A;
@@ -1 +1 @@
1
- "use strict";const u=require("react"),c=require("./index.BTUe9yKh.js");function a(t){if(t&&typeof t=="object"&&"default"in t)return t;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function f(t){const[e,r]=o.useState(i());return c.useLayoutEffect2(()=>{r(n=>n??String(s++))},[t]),t||(e?`radix-${e}`:"")}exports.useId=f;
1
+ "use strict";const u=require("react"),c=require("./index.eYfYnSCV.js");function a(t){if(t&&typeof t=="object"&&"default"in t)return t;const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function f(t){const[e,r]=o.useState(i());return c.useLayoutEffect2(()=>{r(n=>n??String(s++))},[t]),t||(e?`radix-${e}`:"")}exports.useId=f;