@wrdagency/blockout 1.0.26 → 1.0.29

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 (200) hide show
  1. package/dist/{2NBKRL7C-Cunv252F.js → 2NBKRL7C-DBbnghCe.js} +16 -16
  2. package/dist/{2RSXSRCN-dNqvVCu5.js → 2RSXSRCN-BxQ_v-Je.js} +15 -15
  3. package/dist/{4CMBR7SL-Cf8t3EeF.js → 4CMBR7SL-DezfZPUS.js} +25 -25
  4. package/dist/{5JTVDSTH-zDMMKAyC.js → 5JTVDSTH-CZ7mfyUK.js} +4 -4
  5. package/dist/{5VQZOHHZ-BbettT93.js → 5VQZOHHZ-DLX-ulBK.js} +1 -1
  6. package/dist/{6VRAQV3D-pLV6BqmA.js → 6VRAQV3D-BYmT0QTl.js} +6 -6
  7. package/dist/{A3WPL2ZJ-DEsxy0M-.js → A3WPL2ZJ-24tGIJIQ.js} +2 -2
  8. package/dist/{BM6PGYQY-g6WySwtg.js → BM6PGYQY-DCbkDr5N.js} +4 -4
  9. package/dist/{DG5U6ZEL-9kCi_mGg.js → DG5U6ZEL-DB0iwihy.js} +3 -3
  10. package/dist/{EM5CXX6A-BAj-o9Ka.js → EM5CXX6A-B4ZS4Hs_.js} +2 -2
  11. package/dist/{F5MUBM3I-AbDoeFd8.js → F5MUBM3I-75qY3y0N.js} +17 -17
  12. package/dist/{G7GW6PWC-DeYlSr7f.js → G7GW6PWC-Dk4hVbAk.js} +32 -32
  13. package/dist/{IWEFDH56-DLJvQd6v.js → IWEFDH56-BACkQ6dc.js} +3 -3
  14. package/dist/{J2LQO3EC-Cevd6Bvq.js → J2LQO3EC-BXJIaM2U.js} +2 -2
  15. package/dist/JMHAJKUZ-D5KCN1Aj.js +114 -0
  16. package/dist/{KFH4SEIX-JLk95eQA.js → KFH4SEIX-DaQeP5D_.js} +13 -13
  17. package/dist/{LMDWO4NN-BfJb6my4.js → LMDWO4NN-CpSMaD5G.js} +26 -26
  18. package/dist/MAXQOH4L-BYWBWXpb.js +459 -0
  19. package/dist/{MR26YJYP-CDaPeerB.js → MR26YJYP-CTh6rCwA.js} +66 -66
  20. package/dist/{MTZPJQMC-CraWj4on.js → MTZPJQMC-D2i4-LA_.js} +4 -4
  21. package/dist/{O2PQ2652-BCwdW7qA.js → O2PQ2652-DIoegIkE.js} +3 -3
  22. package/dist/{P7GR5CS5-DbUZzAnv.js → P7GR5CS5-3RsPGPTy.js} +1 -1
  23. package/dist/{PFRGBC2K-DmHoUTiZ.js → PFRGBC2K-BdRJd-gU.js} +36 -36
  24. package/dist/{RS7LB2H4-D1_VRecC.js → RS7LB2H4-COOfOq9w.js} +1 -1
  25. package/dist/{RZ4GPYOB-rG3RP8Xi.js → RZ4GPYOB-CovncfhJ.js} +5 -5
  26. package/dist/{S43UC3DV-bOoyE-xW.js → S43UC3DV-HCi6u_G4.js} +8 -8
  27. package/dist/{T7VMP3TM-DZitNAMz.js → T7VMP3TM-C8D6mVva.js} +19 -19
  28. package/dist/{TIW3GMFC-DPiX149D.js → TIW3GMFC-BF0w2_9R.js} +16 -16
  29. package/dist/{TP7N7UIH-D_nR5wDv.js → TP7N7UIH-C4jXJDlO.js} +2 -2
  30. package/dist/{UQQRIHDV-ULrGYPSq.js → UQQRIHDV-DEGlgATx.js} +10 -10
  31. package/dist/{UYGDZTLQ-CTQQ8oFQ.js → UYGDZTLQ-HiDKLOW5.js} +2 -2
  32. package/dist/{VIIRIBF3-C4pOScX8.js → VIIRIBF3-B-djNAU9.js} +3 -3
  33. package/dist/{WMYDSCNQ-qLZnyPON.js → WMYDSCNQ-pGjWB-Pk.js} +12 -12
  34. package/dist/{WYCIER3C-BJwD0YDE.js → WYCIER3C-CxfgpZG_.js} +2 -2
  35. package/dist/{YORGHBM4-6CReFG7i.js → YORGHBM4-D_fOXG5Y.js} +1 -1
  36. package/dist/{YV4JVR4I-D8_aZ62q.js → YV4JVR4I-CQnJhUSg.js} +26 -26
  37. package/dist/assets/button.css +1 -1
  38. package/dist/assets/index19.css +1 -1
  39. package/dist/assets/index20.css +1 -1
  40. package/dist/assets/index21.css +1 -1
  41. package/dist/assets/index9.css +1 -1
  42. package/dist/assets/static.css +1 -0
  43. package/dist/assets/style.css +1 -1
  44. package/dist/assets/style10.css +1 -1
  45. package/dist/assets/style6.css +1 -1
  46. package/dist/assets/style8.css +1 -1
  47. package/dist/assets/style9.css +1 -1
  48. package/dist/{combobox-group-BCdU5rML.js → combobox-group-hNvv1WJm.js} +3 -3
  49. package/dist/{combobox-popover-D5bLZY4d.js → combobox-popover-BZ_1wNrj.js} +5 -5
  50. package/dist/components/avatar/index.d.ts +2 -2
  51. package/dist/components/avatar/index.js +20 -18
  52. package/dist/components/breadcrumbs/index.js +5 -5
  53. package/dist/components/button/icon.js +1 -1
  54. package/dist/components/button/row.js +4 -4
  55. package/dist/components/command-palette/dialog.d.ts +9 -0
  56. package/dist/components/command-palette/dialog.js +34 -0
  57. package/dist/components/command-palette/index.js +8 -175
  58. package/dist/components/command-palette/presets.d.ts +4 -0
  59. package/dist/components/command-palette/presets.js +10 -0
  60. package/dist/components/command-palette/static.d.ts +19 -0
  61. package/dist/components/command-palette/static.js +76 -0
  62. package/dist/components/controls/base-popover-control/index.js +4 -4
  63. package/dist/components/controls/checkbox-control/index.js +1 -1
  64. package/dist/components/controls/choice-control/choice.js +1 -1
  65. package/dist/components/controls/choice-control/index.js +1 -1
  66. package/dist/components/controls/date-control/index.js +2 -2
  67. package/dist/components/controls/date-control/picker.js +5 -5
  68. package/dist/components/controls/list-control/item.js +1 -1
  69. package/dist/components/controls/recurrence-control/index.js +1 -1
  70. package/dist/components/controls/select-control/control.js +1 -1
  71. package/dist/components/controls/select-control/select.js +33 -32
  72. package/dist/components/controls/tag-control/ariakit-experimental.js +253 -252
  73. package/dist/components/controls/tag-control/index.js +9 -8
  74. package/dist/components/controls/tag-control/props.js +1 -1
  75. package/dist/components/controls/toggle-control/index.js +1 -1
  76. package/dist/components/controls/toggle-group-control/index.js +1 -1
  77. package/dist/components/data-form/status.js +1 -1
  78. package/dist/components/data-form/submit.js +1 -1
  79. package/dist/components/data-view/data/filter.js +2 -2
  80. package/dist/components/data-view/index.js +1 -1
  81. package/dist/components/data-view/layouts/grid/group.js +2 -2
  82. package/dist/components/data-view/layouts/grid/item.js +2 -2
  83. package/dist/components/data-view/layouts/kanban/group.js +2 -2
  84. package/dist/components/data-view/layouts/kanban/item.js +2 -2
  85. package/dist/components/data-view/layouts/kanban/root.js +1 -1
  86. package/dist/components/data-view/layouts/list/group.js +2 -2
  87. package/dist/components/data-view/layouts/list/item.js +2 -2
  88. package/dist/components/data-view/layouts/table/empty.js +2 -2
  89. package/dist/components/data-view/layouts/table/group.js +3 -3
  90. package/dist/components/data-view/layouts/table/item.js +3 -3
  91. package/dist/components/data-view/layouts/table/root.js +2 -2
  92. package/dist/components/data-view/layouts/tile/group.js +2 -2
  93. package/dist/components/data-view/layouts/tile/item.js +2 -2
  94. package/dist/components/data-view/parts/body/empty.js +1 -1
  95. package/dist/components/data-view/parts/body/index.js +4 -4
  96. package/dist/components/data-view/parts/controls/index.js +2 -2
  97. package/dist/components/data-view/parts/controls/search.js +2 -2
  98. package/dist/components/data-view/parts/filters/chip.js +1 -1
  99. package/dist/components/data-view/parts/filters/editor.js +1 -1
  100. package/dist/components/data-view/parts/footer/actions.js +2 -2
  101. package/dist/components/data-view/parts/footer/index.js +2 -2
  102. package/dist/components/data-view/parts/footer/selection.js +2 -2
  103. package/dist/components/data-view/parts/view-control/index.js +2 -2
  104. package/dist/components/data-view/root.js +2 -2
  105. package/dist/components/data-view/slots/group/checkbox.js +3 -3
  106. package/dist/components/data-view/slots/group/context.js +1 -1
  107. package/dist/components/data-view/slots/group/header.js +1 -1
  108. package/dist/components/data-view/slots/group/icon.js +1 -1
  109. package/dist/components/data-view/slots/group/index.js +1 -1
  110. package/dist/components/data-view/slots/group/label.js +1 -1
  111. package/dist/components/data-view/slots/index.js +3 -3
  112. package/dist/components/data-view/slots/item/actions.js +1 -1
  113. package/dist/components/data-view/slots/item/checkbox.js +2 -2
  114. package/dist/components/data-view/slots/item/depth.js +3 -3
  115. package/dist/components/data-view/slots/item/description.js +1 -1
  116. package/dist/components/data-view/slots/item/index.js +1 -1
  117. package/dist/components/data-view/slots/item/properties.js +2 -2
  118. package/dist/components/data-view/slots/item/relations.js +3 -3
  119. package/dist/components/data-view/slots/item/tags.js +1 -1
  120. package/dist/components/data-view/slots/item/thumbnail.js +1 -1
  121. package/dist/components/data-view/slots/item/title.js +1 -1
  122. package/dist/components/data-view/slots/item/util.js +2 -2
  123. package/dist/components/data-view/slots/property/field/editable.js +2 -2
  124. package/dist/components/data-view/slots/property/field/index.js +1 -1
  125. package/dist/components/data-view/slots/property/field/static.js +1 -1
  126. package/dist/components/data-view/slots/property/index.js +1 -1
  127. package/dist/components/data-view/slots/property/label.js +1 -1
  128. package/dist/components/data-view/slots/root/checkbox.js +2 -2
  129. package/dist/components/data-view/slots/root/index.js +1 -1
  130. package/dist/components/dialog/index.js +3 -3
  131. package/dist/components/filesystem/file.js +1 -1
  132. package/dist/components/filesystem/folder.js +5 -5
  133. package/dist/components/filesystem/list.js +1 -1
  134. package/dist/components/filesystem/root.js +1 -1
  135. package/dist/components/index.d.ts +1 -1
  136. package/dist/components/index.js +1 -1
  137. package/dist/components/menu/index.js +2 -2
  138. package/dist/components/menu/item.js +1 -1
  139. package/dist/components/menu/items/action.js +1 -1
  140. package/dist/components/menu/items/spacer.js +1 -1
  141. package/dist/components/menu/items/submenu.js +3 -3
  142. package/dist/components/menu/items/toggle.js +1 -1
  143. package/dist/components/progress/index.js +1 -1
  144. package/dist/components/shell/index.js +14 -12
  145. package/dist/components/shell/navigation-separator.d.ts +6 -0
  146. package/dist/components/shell/navigation-separator.js +14 -0
  147. package/dist/components/shell/pane.js +1 -1
  148. package/dist/components/shell/sidebar-item.d.ts +5 -4
  149. package/dist/components/shell/sidebar-item.js +26 -20
  150. package/dist/components/tabs/list.js +1 -1
  151. package/dist/components/tabs/panel.js +1 -1
  152. package/dist/components/tabs/root.js +1 -1
  153. package/dist/components/tabs/tab.js +1 -1
  154. package/dist/components/tag/tag.js +1 -1
  155. package/dist/components/toolbar/divider.js +1 -1
  156. package/dist/components/toolbar/index.js +1 -1
  157. package/dist/components/toolbar/root.js +1 -1
  158. package/dist/components/window/index.js +2 -2
  159. package/dist/{composite-provider-DFOFHro7.js → composite-provider-BPIeS4Cg.js} +2 -2
  160. package/dist/{disclosure-provider-DIT2ijtk.js → disclosure-provider-cEVysvZT.js} +2 -2
  161. package/dist/{filter-DzrtcAfG.js → filter-DHK0UoZG.js} +1 -1
  162. package/dist/{index-Bp_FFk15.js → index-BLCPauyN.js} +2 -2
  163. package/dist/{index-B5z_GwnD.js → index-BnbjJBS4.js} +3 -3
  164. package/dist/{index-C8OctMj0.js → index-CLl-PPjx.js} +1 -1
  165. package/dist/index.d.ts +1 -0
  166. package/dist/index.js +77 -56
  167. package/dist/{item-CGLYiEST.js → item-CmTk8eHD.js} +2 -2
  168. package/dist/{menu-button-C-h3k7Gh.js → menu-button-GQO5dB3U.js} +33 -33
  169. package/dist/{menu-separator-CuuhJPnR.js → menu-separator-Z6pSHpX5.js} +3 -3
  170. package/dist/{picker-BUCg1BqW.js → picker-DyJogHYh.js} +4 -4
  171. package/dist/{popover-provider-BoZ9PI_r.js → popover-provider-BJEfhgr1.js} +4 -4
  172. package/dist/presets-BDIhXP0C.js +148 -0
  173. package/dist/primitives/icon-label/index.d.ts +2 -0
  174. package/dist/primitives/icon-label/index.js +18 -14
  175. package/dist/primitives/link/index.d.ts +3 -1
  176. package/dist/primitives/link/index.js +26 -25
  177. package/dist/primitives/nav-link/index.d.ts +4 -3
  178. package/dist/primitives/nav-link/index.js +21 -17
  179. package/dist/primitives/popover/root.js +1 -1
  180. package/dist/primitives/popover/target.js +1 -1
  181. package/dist/primitives/popover/window.js +3 -3
  182. package/dist/primitives/scroll-area/index.js +1 -1
  183. package/dist/primitives/tooltip/index.d.ts +2 -0
  184. package/dist/primitives/tooltip/index.js +36 -24
  185. package/dist/{select-popover-DmN0T8PP.js → select-popover-Dheunyb0.js} +53 -53
  186. package/dist/{select-value-DnWKxDD-.js → select-value-B3DYk9eV.js} +2 -2
  187. package/dist/{tab-BXGTM7Se.js → tab-DejwS4C8.js} +4 -4
  188. package/dist/{tab-list-BPSxHllS.js → tab-list-CndMWcVv.js} +3 -3
  189. package/dist/{tab-panel-fbUcLE4f.js → tab-panel-DedzuWUA.js} +7 -7
  190. package/dist/{tab-provider-x586a8l7.js → tab-provider-B0BoLfST.js} +21 -21
  191. package/dist/{tag-remove-BdHvB_5c.js → tag-remove-Dz-sGbyZ.js} +35 -35
  192. package/dist/{toolbar-hQ58P-Nk.js → toolbar-PSaF1mdF.js} +11 -11
  193. package/dist/{toolbar-separator-CN00-jyc.js → toolbar-separator-DJHiHbGj.js} +3 -3
  194. package/dist/{tooltip-arrow-BRJ4m2ZL.js → tooltip-arrow-BVwULA6B.js} +9 -9
  195. package/dist/utils/index.d.ts +8 -0
  196. package/dist/utils/index.js +23 -0
  197. package/package.json +1 -1
  198. package/dist/MAXQOH4L-DB7jDisS.js +0 -564
  199. package/dist/assets/index22.css +0 -1
  200. package/dist/components/command-palette/index.d.ts +0 -28
@@ -1,9 +1,9 @@
1
- import { u as _, a as H } from "./VIIRIBF3-C4pOScX8.js";
2
- import { u as T } from "./UQQRIHDV-ULrGYPSq.js";
3
- import { u as y } from "./6VRAQV3D-pLV6BqmA.js";
4
- import { a as S } from "./YV4JVR4I-D8_aZ62q.js";
5
- import { s as k, f as P, c as w, a as A, _ as D, i as N, j as R, e as F, P as j, Q as B, R as K, m as g, o as p, D as V } from "./LMDWO4NN-BfJb6my4.js";
6
- import { a as M } from "./PFRGBC2K-DmHoUTiZ.js";
1
+ import { u as _, a as H } from "./VIIRIBF3-B-djNAU9.js";
2
+ import { u as T } from "./UQQRIHDV-DEGlgATx.js";
3
+ import { u as y } from "./6VRAQV3D-BYmT0QTl.js";
4
+ import { a as S } from "./YV4JVR4I-CQnJhUSg.js";
5
+ import { s as k, f as w, c as A, a as D, _ as P, i as F, j as N, e as R, E as j, F as B, R as K, m as g, o as p, D as V } from "./LMDWO4NN-CpSMaD5G.js";
6
+ import { a as M } from "./PFRGBC2K-BdRJd-gU.js";
7
7
  var W = "div";
8
8
  function q(a, o, u) {
9
9
  var r;
@@ -17,7 +17,7 @@ function q(a, o, u) {
17
17
  const t = V(a).getElementById(c);
18
18
  return t ? M(t) ? !0 : !!t.querySelector("[role=menuitem][aria-expanded=true]") : !1;
19
19
  }
20
- var L = w(
20
+ var L = A(
21
21
  function(o) {
22
22
  var u = o, {
23
23
  store: r,
@@ -25,7 +25,7 @@ var L = w(
25
25
  preventScrollOnKeyDown: c = !0,
26
26
  focusOnHover: s,
27
27
  blurOnHoverEnd: t
28
- } = u, n = D(u, [
28
+ } = u, n = P(u, [
29
29
  "store",
30
30
  "hideOnClick",
31
31
  "preventScrollOnKeyDown",
@@ -33,18 +33,18 @@ var L = w(
33
33
  "blurOnHoverEnd"
34
34
  ]);
35
35
  const l = _(!0), O = H();
36
- r = r || l || O, N(
36
+ r = r || l || O, F(
37
37
  r,
38
38
  process.env.NODE_ENV !== "production" && "MenuItem must be wrapped in a MenuList, Menu or Menubar component"
39
39
  );
40
- const m = n.onClick, b = R(i), f = "hideAll" in r ? r.hideAll : void 0, d = !!f, h = F((e) => {
40
+ const m = n.onClick, b = N(i), f = "hideAll" in r ? r.hideAll : void 0, d = !!f, h = R((e) => {
41
41
  m == null || m(e), !(e.defaultPrevented || j(e) || B(e) || !f || e.currentTarget.getAttribute("aria-haspopup") === "menu") && b(e) && f();
42
42
  }), C = S(
43
43
  r,
44
44
  (e) => "contentElement" in e ? e.contentElement : null
45
- ), x = K(C, "menuitem");
45
+ ), E = K(C, "menuitem");
46
46
  return n = g(p({
47
- role: x
47
+ role: E
48
48
  }, n), {
49
49
  onClick: h
50
50
  }), n = y(p({
@@ -56,8 +56,8 @@ var L = w(
56
56
  focusOnHover(e) {
57
57
  const v = () => typeof s == "function" ? s(e) : s ?? !0;
58
58
  if (!r || !v()) return !1;
59
- const { baseElement: E, items: I } = r.getState();
60
- return d ? (e.currentTarget.hasAttribute("aria-expanded") && e.currentTarget.focus(), !0) : q(E, I, e.currentTarget) ? (e.currentTarget.focus(), !0) : !1;
59
+ const { baseElement: x, items: I } = r.getState();
60
+ return d ? (e.currentTarget.hasAttribute("aria-expanded") && e.currentTarget.focus(), !0) : q(x, I, e.currentTarget) ? (e.currentTarget.focus(), !0) : !1;
61
61
  },
62
62
  blurOnHoverEnd(e) {
63
63
  return typeof t == "function" ? t(e) : t ?? d;
@@ -65,9 +65,9 @@ var L = w(
65
65
  })), n;
66
66
  }
67
67
  ), Y = k(
68
- P(function(o) {
68
+ w(function(o) {
69
69
  const u = L(o);
70
- return A(W, u);
70
+ return D(W, u);
71
71
  })
72
72
  );
73
73
  export {
@@ -1,8 +1,8 @@
1
- import { u as B } from "./PFRGBC2K-DmHoUTiZ.js";
2
- import { c as O, _ as m, A as p, t as q, F as x, e as N, h as H, k as Y, G as j, H as G, I as _, m as L, n as V, o as T, f as z, a as J } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { u as F } from "./PFRGBC2K-BdRJd-gU.js";
2
+ import { c as O, _ as m, A as p, t as q, H as x, e as N, h as H, k as Y, I as j, J, K as _, m as L, n as V, o as T, f as z, a as G } from "./LMDWO4NN-CpSMaD5G.js";
3
3
  import { useRef as w, useState as D, useEffect as Q } from "react";
4
4
  var W = "button";
5
- function M(a) {
5
+ function K(a) {
6
6
  if (!a.isTrusted) return !1;
7
7
  const t = a.currentTarget;
8
8
  return a.key === "Enter" ? p(t) || t.tagName === "SUMMARY" || t.tagName === "A" : a.key === " " ? p(t) || t.tagName === "SUMMARY" || t.tagName === "INPUT" || t.tagName === "SELECT" : !1;
@@ -10,11 +10,11 @@ function M(a) {
10
10
  var X = Symbol("command"), Z = O(
11
11
  function(t) {
12
12
  var o = t, { clickOnEnter: d = !0, clickOnSpace: u = !0 } = o, r = m(o, ["clickOnEnter", "clickOnSpace"]);
13
- const c = w(null), [K, R] = D(!1);
13
+ const c = w(null), [M, R] = D(!1);
14
14
  Q(() => {
15
15
  c.current && R(p(c.current));
16
16
  }, []);
17
- const [U, k] = D(!1), f = w(!1), y = q(r), [E, A] = x(r, X, !0), v = r.onKeyDown, F = N((e) => {
17
+ const [U, k] = D(!1), f = w(!1), y = q(r), [E, A] = x(r, X, !0), v = r.onKeyDown, I = N((e) => {
18
18
  v == null || v(e);
19
19
  const s = e.currentTarget;
20
20
  if (e.defaultPrevented || E || y || !H(e) || Y(s) || s.isContentEditable) return;
@@ -24,19 +24,19 @@ var X = Symbol("command"), Z = O(
24
24
  return;
25
25
  }
26
26
  if (i || n) {
27
- const S = M(e);
27
+ const S = K(e);
28
28
  if (i) {
29
29
  if (!S) {
30
30
  e.preventDefault();
31
- const b = e, { view: $ } = b, h = m(b, ["view"]), C = () => _(s, h);
32
- j() ? G(s, "keyup", C) : queueMicrotask(C);
31
+ const b = e, { view: $ } = b, B = m(b, ["view"]), C = () => _(s, B);
32
+ j() ? J(s, "keyup", C) : queueMicrotask(C);
33
33
  }
34
34
  } else n && (f.current = !0, S || (e.preventDefault(), k(!0)));
35
35
  }
36
- }), P = r.onKeyUp, I = N((e) => {
36
+ }), P = r.onKeyUp, h = N((e) => {
37
37
  if (P == null || P(e), e.defaultPrevented || E || y || e.metaKey) return;
38
38
  const s = u && e.key === " ";
39
- if (f.current && s && (f.current = !1, !M(e))) {
39
+ if (f.current && s && (f.current = !1, !K(e))) {
40
40
  e.preventDefault(), k(!1);
41
41
  const i = e.currentTarget, n = e, { view: g } = n, l = m(n, ["view"]);
42
42
  queueMicrotask(() => _(i, l));
@@ -44,16 +44,16 @@ var X = Symbol("command"), Z = O(
44
44
  });
45
45
  return r = L(T(T({
46
46
  "data-active": U || void 0,
47
- type: K ? "button" : void 0
47
+ type: M ? "button" : void 0
48
48
  }, A), r), {
49
49
  ref: V(c, r.ref),
50
- onKeyDown: F,
51
- onKeyUp: I
52
- }), r = B(r), r;
50
+ onKeyDown: I,
51
+ onKeyUp: h
52
+ }), r = F(r), r;
53
53
  }
54
54
  ), ae = z(function(t) {
55
55
  const o = Z(t);
56
- return J(W, o);
56
+ return G(W, o);
57
57
  });
58
58
  export {
59
59
  ae as C,
@@ -1,5 +1,5 @@
1
- import { t as p, c as k, s as M, i as ee, g as U, f as _, b as Y, d as te } from "./YV4JVR4I-D8_aZ62q.js";
2
- import { T as S, U as R, V as L, a2 as ne, N as re, D as ie, W as se, q as oe, o as ae } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { t as p, c as k, s as M, i as ee, g as U, f as _, b as X, d as te } from "./YV4JVR4I-CQnJhUSg.js";
2
+ import { U as S, V as R, W as L, a2 as ne, M as re, D as ie, X as se, q as oe, o as ae } from "./LMDWO4NN-CpSMaD5G.js";
3
3
  import { r as $, f as le } from "./7PRQYBBV-91wrWGjk.js";
4
4
  function de(e) {
5
5
  var r;
@@ -15,7 +15,7 @@ function de(e) {
15
15
  function ue(e) {
16
16
  return e == null ? void 0 : e.__unstablePrivateStore;
17
17
  }
18
- function j(e = {}) {
18
+ function Y(e = {}) {
19
19
  var r;
20
20
  p(e, e.store);
21
21
  const t = (r = e.store) == null ? void 0 : r.getState(), o = S(
@@ -103,12 +103,12 @@ function j(e = {}) {
103
103
  __unstablePrivateStore: c
104
104
  });
105
105
  }
106
- function H(e, r, t) {
106
+ function j(e, r, t) {
107
107
  return se(r, [t.store]), _(e, t, "items", "setItems"), e;
108
108
  }
109
109
  function Ee(e = {}) {
110
- const [r, t] = Y(j, e);
111
- return H(r, t, e);
110
+ const [r, t] = X(Y, e);
111
+ return j(r, t, e);
112
112
  }
113
113
  var ce = { id: null };
114
114
  function h(e, r) {
@@ -128,7 +128,7 @@ function me(e, r, t = !1) {
128
128
  ...e.slice(0, o)
129
129
  ];
130
130
  }
131
- function J(e) {
131
+ function H(e) {
132
132
  const r = [];
133
133
  for (const t of e) {
134
134
  const o = r.find((s) => {
@@ -139,7 +139,7 @@ function J(e) {
139
139
  }
140
140
  return r;
141
141
  }
142
- function K(e) {
142
+ function J(e) {
143
143
  let r = 0;
144
144
  for (const { length: t } of e)
145
145
  t > r && (r = t);
@@ -153,7 +153,7 @@ function ve(e) {
153
153
  };
154
154
  }
155
155
  function Ie(e, r, t) {
156
- const o = K(e);
156
+ const o = J(e);
157
157
  for (const s of e)
158
158
  for (let l = 0; l < o; l += 1) {
159
159
  const d = s[l];
@@ -165,7 +165,7 @@ function Ie(e, r, t) {
165
165
  return e;
166
166
  }
167
167
  function Se(e) {
168
- const r = J(e), t = K(r), o = [];
168
+ const r = H(e), t = J(r), o = [];
169
169
  for (let s = 0; s < t; s += 1)
170
170
  for (const l of r) {
171
171
  const d = l[s];
@@ -182,7 +182,7 @@ function Se(e) {
182
182
  }
183
183
  function ge(e = {}) {
184
184
  var r;
185
- const t = (r = e.store) == null ? void 0 : r.getState(), o = j(e), s = S(
185
+ const t = (r = e.store) == null ? void 0 : r.getState(), o = Y(e), s = S(
186
186
  e.activeId,
187
187
  t == null ? void 0 : t.activeId,
188
188
  e.defaultActiveId
@@ -235,27 +235,27 @@ function ge(e = {}) {
235
235
  includesBaseElement: m = i.includesBaseElement,
236
236
  renderedItems: w = i.renderedItems,
237
237
  rtl: b = i.rtl
238
- } = x, y = n === "up" || n === "down", D = n === "next" || n === "down", Q = D ? b && !y : !b || y, X = g && !a;
238
+ } = x, y = n === "up" || n === "down", D = n === "next" || n === "down", K = D ? b && !y : !b || y, Q = g && !a;
239
239
  let v = y ? le(
240
- Ie(J(w), u, X)
240
+ Ie(H(w), u, Q)
241
241
  ) : w;
242
- if (v = Q ? $(v) : v, v = y ? Se(v) : v, u == null)
242
+ if (v = K ? $(v) : v, v = y ? Se(v) : v, u == null)
243
243
  return (E = h(v)) == null ? void 0 : E.id;
244
244
  const B = v.find((I) => I.id === u);
245
245
  if (!B)
246
246
  return (P = h(v)) == null ? void 0 : P.id;
247
- const z = v.some((I) => I.rowId), Z = v.indexOf(B), N = v.slice(Z + 1), W = G(N, B.rowId);
247
+ const z = v.some((I) => I.rowId), Z = v.indexOf(B), V = v.slice(Z + 1), W = G(V, B.rowId);
248
248
  if (a) {
249
249
  const I = fe(W, u), C = I.slice(a)[0] || // If we can't find an item, just return the last one.
250
250
  I[I.length - 1];
251
251
  return C == null ? void 0 : C.id;
252
252
  }
253
- const V = F && (y ? F !== "horizontal" : F !== "vertical"), T = z && f && (y ? f !== "horizontal" : f !== "vertical"), A = D ? (!z || y) && V && m : y ? m : !1;
254
- if (V) {
255
- const I = T && !A ? v : G(v, B.rowId), C = me(I, u, A), q = h(C, u);
256
- return q == null ? void 0 : q.id;
253
+ const N = F && (y ? F !== "horizontal" : F !== "vertical"), q = z && f && (y ? f !== "horizontal" : f !== "vertical"), A = D ? (!z || y) && N && m : y ? m : !1;
254
+ if (N) {
255
+ const I = q && !A ? v : G(v, B.rowId), C = me(I, u, A), T = h(C, u);
256
+ return T == null ? void 0 : T.id;
257
257
  }
258
- if (T) {
258
+ if (q) {
259
259
  const I = h(
260
260
  // We can use nextItems, which contains all the next items, including
261
261
  // items from other rows, to wrap between rows. However, if there is a
@@ -263,7 +263,7 @@ function ge(e = {}) {
263
263
  // the row. So moving next from the last item will focus on the
264
264
  // composite container. On grid composites, horizontal navigation never
265
265
  // focuses on the composite container, only vertical.
266
- A ? W : N,
266
+ A ? W : V,
267
267
  u
268
268
  );
269
269
  return A ? (I == null ? void 0 : I.id) || null : I == null ? void 0 : I.id;
@@ -296,19 +296,19 @@ function be(e) {
296
296
  return ae({ id: r }, e);
297
297
  }
298
298
  function xe(e, r, t) {
299
- return e = H(e, r, t), _(e, t, "activeId", "setActiveId"), _(e, t, "includesBaseElement"), _(e, t, "virtualFocus"), _(e, t, "orientation"), _(e, t, "rtl"), _(e, t, "focusLoop"), _(e, t, "focusWrap"), _(e, t, "focusShift"), e;
299
+ return e = j(e, r, t), _(e, t, "activeId", "setActiveId"), _(e, t, "includesBaseElement"), _(e, t, "virtualFocus"), _(e, t, "orientation"), _(e, t, "rtl"), _(e, t, "focusLoop"), _(e, t, "focusWrap"), _(e, t, "focusShift"), e;
300
300
  }
301
301
  function ye(e = {}) {
302
302
  e = be(e);
303
- const [r, t] = Y(ge, e);
303
+ const [r, t] = X(ge, e);
304
304
  return xe(r, t, e);
305
305
  }
306
306
  export {
307
- j as a,
307
+ Y as a,
308
308
  xe as b,
309
309
  ge as c,
310
310
  be as d,
311
- H as e,
311
+ j as e,
312
312
  Ee as f,
313
313
  ye as u
314
314
  };
@@ -1,7 +1,7 @@
1
- import { g as v, s as Z, i as K, f as $, a as ee } from "./5VQZOHHZ-BbettT93.js";
2
- import { u as te, C as re } from "./P7GR5CS5-DbUZzAnv.js";
3
- import { f as oe, h as ne, u as se } from "./PFRGBC2K-DmHoUTiZ.js";
4
- import { f as ie, c as ue, a as ae, _ as O, i as ce, u as le, b as B, d as E, g as fe, e as P, h as I, j as de, k as z, l as me, m as pe, n as ve, o as M, p as ge } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { g as v, s as Z, i as K, f as $, a as ee } from "./5VQZOHHZ-DLX-ulBK.js";
2
+ import { u as te, C as re } from "./P7GR5CS5-3RsPGPTy.js";
3
+ import { f as oe, h as ne, u as se } from "./PFRGBC2K-BdRJd-gU.js";
4
+ import { f as ie, c as ue, a as ae, _ as O, i as ce, u as le, b as B, d as E, g as fe, e as P, h as I, j as de, k as z, l as me, m as pe, n as ve, o as M, p as ge } from "./LMDWO4NN-CpSMaD5G.js";
5
5
  import { f as ye, r as Ee } from "./7PRQYBBV-91wrWGjk.js";
6
6
  import { useRef as R, useEffect as L, useState as Ie, useCallback as Ce } from "react";
7
7
  import { jsx as Pe } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { k as o, D as u } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { k as o, D as u } from "./LMDWO4NN-CpSMaD5G.js";
2
2
  var f = { id: null };
3
3
  function a(n, t, i = !1) {
4
4
  const e = n.findIndex((s) => s.id === t);
@@ -1,9 +1,9 @@
1
- import { b as ie, i as j, c as se, g as ae } from "./5VQZOHHZ-BbettT93.js";
2
- import { u as ue } from "./RZ4GPYOB-rG3RP8Xi.js";
3
- import { a as le, b as fe, c as ce } from "./P7GR5CS5-DbUZzAnv.js";
4
- import { u as de } from "./2RSXSRCN-dNqvVCu5.js";
5
- import { u as me } from "./YV4JVR4I-D8_aZ62q.js";
6
- import { s as pe, f as be, c as Ie, a as ge, _ as ve, q as we, t as Pe, m as S, o as x, e as T, v as Se, w as D, h as A, x as xe, j as N, y as Ce, z as he, l as Ee, n as ye, r as Te, k as De, A as Ae, B as ke } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { b as ie, i as j, c as se, g as ae } from "./5VQZOHHZ-DLX-ulBK.js";
2
+ import { u as ue } from "./RZ4GPYOB-CovncfhJ.js";
3
+ import { a as le, b as fe, c as ce } from "./P7GR5CS5-3RsPGPTy.js";
4
+ import { u as de } from "./2RSXSRCN-BxQ_v-Je.js";
5
+ import { u as me } from "./YV4JVR4I-CQnJhUSg.js";
6
+ import { s as pe, f as be, c as Ie, a as ge, _ as ve, q as we, t as Pe, m as S, o as x, e as T, v as Se, w as D, h as A, x as xe, j as N, y as Ce, z as he, l as Ee, n as ye, r as Te, k as De, A as Ae, B as ke } from "./LMDWO4NN-CpSMaD5G.js";
7
7
  import { useRef as V, useContext as Oe, useCallback as Re, useMemo as ze } from "react";
8
8
  import { jsx as Ke } from "react/jsx-runtime";
9
9
  var Fe = "button";
@@ -1,5 +1,5 @@
1
- import { e, C as r } from "./P7GR5CS5-DbUZzAnv.js";
2
- import { J as t } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { e, C as r } from "./P7GR5CS5-3RsPGPTy.js";
2
+ import { L as t } from "./LMDWO4NN-CpSMaD5G.js";
3
3
  var o = t(
4
4
  [r],
5
5
  [e]
@@ -1,5 +1,5 @@
1
- import { c as t, a as s } from "./WYCIER3C-BJwD0YDE.js";
2
- import { b as a } from "./YV4JVR4I-D8_aZ62q.js";
1
+ import { c as t, a as s } from "./WYCIER3C-CxfgpZG_.js";
2
+ import { b as a } from "./YV4JVR4I-CQnJhUSg.js";
3
3
  function u(r = {}) {
4
4
  return t(r);
5
5
  }
@@ -11,7 +11,7 @@ function S(r = {}) {
11
11
  return c(e, o, r);
12
12
  }
13
13
  export {
14
- S as a,
14
+ c as a,
15
15
  u as c,
16
- c as u
16
+ S as u
17
17
  };
@@ -1,6 +1,6 @@
1
- import { P as o, a as r } from "./MTZPJQMC-CraWj4on.js";
2
- import { e as a, C } from "./P7GR5CS5-DbUZzAnv.js";
3
- import { J as s } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { a as o, P as r } from "./MTZPJQMC-D2i4-LA_.js";
2
+ import { e as a, C } from "./P7GR5CS5-3RsPGPTy.js";
3
+ import { L as s } from "./LMDWO4NN-CpSMaD5G.js";
4
4
  import { createContext as t } from "react";
5
5
  var e = s(
6
6
  [r, C],
@@ -1,5 +1,5 @@
1
- import { P as o, a as r } from "./MTZPJQMC-CraWj4on.js";
2
- import { J as t } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { a as o, P as r } from "./MTZPJQMC-D2i4-LA_.js";
2
+ import { L as t } from "./LMDWO4NN-CpSMaD5G.js";
3
3
  var e = t(
4
4
  [r],
5
5
  [o]
@@ -1,6 +1,6 @@
1
- import { u as T } from "./RS7LB2H4-D1_VRecC.js";
2
- import { u as h } from "./2RSXSRCN-dNqvVCu5.js";
3
- import { c as v, X as j, A as f, m as p, n as g, o as l, f as D, a as E, _ as w, i as M, j as V, F as A, e as F } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { u as R } from "./RS7LB2H4-COOfOq9w.js";
2
+ import { u as h } from "./2RSXSRCN-BxQ_v-Je.js";
3
+ import { c as v, T as j, A as f, m as p, n as g, o as l, f as D, a as E, _ as w, i as H, j as M, H as V, e as A } from "./LMDWO4NN-CpSMaD5G.js";
4
4
  import { useRef as C, useState as P, useEffect as B } from "react";
5
5
  var _ = "button", b = v(
6
6
  function(t) {
@@ -15,14 +15,14 @@ var _ = "button", b = v(
15
15
  ref: g(s, t.ref)
16
16
  }), t = h(t), t;
17
17
  }
18
- ), J = D(function(t) {
18
+ ), K = D(function(t) {
19
19
  const s = b(t);
20
20
  return E(_, s);
21
- }), H = "button", I = Symbol("disclosure"), X = v(
21
+ }), I = "button", $ = Symbol("disclosure"), q = v(
22
22
  function(t) {
23
23
  var s = t, { store: e, toggleOnClick: a = !0 } = s, o = w(s, ["store", "toggleOnClick"]);
24
- const N = T();
25
- e = e || N, M(
24
+ const N = R();
25
+ e = e || N, H(
26
26
  e,
27
27
  process.env.NODE_ENV !== "production" && "Disclosure must receive a `store` prop or be wrapped in a DisclosureProvider component."
28
28
  );
@@ -31,24 +31,24 @@ var _ = "button", b = v(
31
31
  let r = n === i.current;
32
32
  n != null && n.isConnected || (e == null || e.setDisclosureElement(i.current), r = !0), x(c && r);
33
33
  }, [n, e, c]);
34
- const d = o.onClick, S = V(a), [y, O] = A(o, I, !0), R = F((r) => {
35
- d == null || d(r), !r.defaultPrevented && (y || S(r) && (e == null || e.setDisclosureElement(r.currentTarget), e == null || e.toggle()));
34
+ const d = o.onClick, S = M(a), [T, y] = V(o, $, !0), O = A((r) => {
35
+ d == null || d(r), !r.defaultPrevented && (T || S(r) && (e == null || e.setDisclosureElement(r.currentTarget), e == null || e.toggle()));
36
36
  }), m = e.useState("contentElement");
37
37
  return o = p(l(l({
38
38
  "aria-expanded": k,
39
39
  "aria-controls": m == null ? void 0 : m.id
40
- }, O), o), {
40
+ }, y), o), {
41
41
  ref: g(i, o.ref),
42
- onClick: R
42
+ onClick: O
43
43
  }), o = b(o), o;
44
44
  }
45
- ), K = D(function(t) {
46
- const s = X(t);
47
- return E(H, s);
45
+ ), L = D(function(t) {
46
+ const s = q(t);
47
+ return E(I, s);
48
48
  });
49
49
  export {
50
- J as B,
51
- K as D,
52
- X as a,
50
+ K as B,
51
+ L as D,
52
+ q as a,
53
53
  b as u
54
54
  };
@@ -1,15 +1,15 @@
1
1
  import { createContext as ze, useRef as q, useContext as Ye, useState as Q, useEffect as C, useCallback as $e, useMemo as Ot, isValidElement as Ft } from "react";
2
- import { f as K, c as ue, a as ne, m as x, o as y, _ as Me, n as ct, b as N, aj as Qe, D as F, l as ee, a1 as be, a0 as Xe, a2 as re, L as j, Z as Dt, e as Ce, a8 as At, ad as lt, ah as Tt, ak as Rt, ab as Ne, a3 as ft, q as $t, g as dt, A as Ct, j as Ve, H as Mt, x as _t, i as pt } from "./LMDWO4NN-BfJb6my4.js";
3
- import { c as He, d as et, r as Nt, e as Vt, F as Ht, i as Lt, g as It, j as kt, k as ye, u as Bt, l as qt } from "./PFRGBC2K-DmHoUTiZ.js";
2
+ import { c as ue, m as x, o as y, f as K, a as ne, _ as Me, n as ct, b as N, aj as Qe, D as F, l as ee, a1 as be, a0 as Xe, a2 as re, P as j, Z as Dt, e as Ce, a6 as At, ad as lt, ah as Tt, ak as Rt, a9 as Ne, a3 as ft, q as $t, g as dt, A as Ct, j as Ve, J as Mt, x as _t, i as pt } from "./LMDWO4NN-CpSMaD5G.js";
3
+ import { c as He, d as et, r as Nt, e as Vt, F as Ht, i as Lt, g as It, j as kt, k as ye, u as Bt, l as qt } from "./PFRGBC2K-BdRJd-gU.js";
4
4
  import { r as Be } from "./index-Cgx3BqdJ.js";
5
5
  import { jsx as E, jsxs as Te, Fragment as Re } from "react/jsx-runtime";
6
- import { a as te, d as jt } from "./YV4JVR4I-D8_aZ62q.js";
7
- import { u as vt, i as Wt } from "./KFH4SEIX-JLk95eQA.js";
8
- import { u as zt } from "./WYCIER3C-BJwD0YDE.js";
9
- import { a as Yt } from "./BM6PGYQY-g6WySwtg.js";
10
- import { e as Ke, D as Xt, d as Kt, f as Ut } from "./RS7LB2H4-D1_VRecC.js";
11
- import { b as mt, P as Gt } from "./MTZPJQMC-CraWj4on.js";
12
- import { a as Zt, c as Jt, o as Qt, f as er, s as tr, b as rr, d as nr, l as or } from "./floating-ui.dom-2MezWvgs.js";
6
+ import { a as te, d as jt } from "./YV4JVR4I-CQnJhUSg.js";
7
+ import { u as vt, i as Wt } from "./KFH4SEIX-DaQeP5D_.js";
8
+ import { u as zt } from "./WYCIER3C-CxfgpZG_.js";
9
+ import { u as Yt } from "./BM6PGYQY-DCbkDr5N.js";
10
+ import { e as Ke, D as Xt, d as Kt, f as Ut } from "./RS7LB2H4-COOfOq9w.js";
11
+ import { b as mt, a as Gt } from "./MTZPJQMC-D2i4-LA_.js";
12
+ import { a as Jt, c as Zt, o as Qt, f as er, s as tr, b as rr, d as nr, l as or } from "./floating-ui.dom-2MezWvgs.js";
13
13
  var tt = ze(null), sr = "span", gt = ue(
14
14
  function(t) {
15
15
  return t = x(y({}, t), {
@@ -57,7 +57,7 @@ function lr(e, t) {
57
57
  function fr(e = "id") {
58
58
  return `${e ? `${e}-` : ""}${Math.random().toString(36).slice(2, 8)}`;
59
59
  }
60
- function J(e) {
60
+ function Z(e) {
61
61
  queueMicrotask(() => {
62
62
  e == null || e.focus();
63
63
  });
@@ -141,7 +141,7 @@ var ht = ue(function(t) {
141
141
  "data-focus-trap": a.id,
142
142
  className: "__focus-trap-inner-before",
143
143
  onFocus: (g) => {
144
- be(g, f) ? J(He()) : J(I.current);
144
+ be(g, f) ? Z(He()) : Z(I.current);
145
145
  }
146
146
  }
147
147
  ),
@@ -153,7 +153,7 @@ var ht = ue(function(t) {
153
153
  "data-focus-trap": a.id,
154
154
  className: "__focus-trap-inner-after",
155
155
  onFocus: (g) => {
156
- be(g, f) ? J(et()) : J(A.current);
156
+ be(g, f) ? Z(et()) : Z(A.current);
157
157
  }
158
158
  }
159
159
  )
@@ -166,7 +166,7 @@ var ht = ue(function(t) {
166
166
  "data-focus-trap": a.id,
167
167
  className: "__focus-trap-outer-before",
168
168
  onFocus: (g) => {
169
- !(g.relatedTarget === A.current) && be(g, f) ? J(M.current) : J(et());
169
+ !(g.relatedTarget === A.current) && be(g, f) ? Z(M.current) : Z(et());
170
170
  }
171
171
  }
172
172
  ),
@@ -181,7 +181,7 @@ var ht = ue(function(t) {
181
181
  className: "__focus-trap-outer-after",
182
182
  onFocus: (g) => {
183
183
  if (be(g, f))
184
- J(_.current);
184
+ Z(_.current);
185
185
  else {
186
186
  const p = He();
187
187
  if (p === M.current) {
@@ -191,7 +191,7 @@ var ht = ue(function(t) {
191
191
  });
192
192
  return;
193
193
  }
194
- J(p);
194
+ Z(p);
195
195
  }
196
196
  }
197
197
  }
@@ -370,7 +370,7 @@ function Et(e, t = "") {
370
370
  ie(e, pe(t, !0), !0)
371
371
  );
372
372
  }
373
- function Ze(e, t) {
373
+ function Je(e, t) {
374
374
  const n = pe(t, !0);
375
375
  if (e[n]) return !0;
376
376
  const r = pe(t);
@@ -433,7 +433,7 @@ function Ie({
433
433
  return a.addEventListener("focusin", m, !0), () => a.removeEventListener("focusin", m, !0);
434
434
  }, [e, u, o]), C(() => u ? Xe(t, (m) => {
435
435
  const { contentElement: b, disclosureElement: D } = e.getState(), f = m.target;
436
- !b || !f || !wr(f) || j(b, f) || xr(D, f) || f.hasAttribute("data-focus-trap") || Sr(m, b) || i.current && !Ze(f, b.id) || Lt(f) || s(m);
436
+ !b || !f || !wr(f) || j(b, f) || xr(D, f) || f.hasAttribute("data-focus-trap") || Sr(m, b) || i.current && !Je(f, b.id) || Lt(f) || s(m);
437
437
  }, r) : void 0, [u, r]);
438
438
  }
439
439
  function ke(e, t) {
@@ -445,7 +445,7 @@ function Or(e, t, n) {
445
445
  type: "click",
446
446
  listener: (u) => {
447
447
  const { contentElement: i } = e.getState(), a = o.current;
448
- a && Dt(a) && Ze(a, i == null ? void 0 : i.id) && ke(t, u) && e.hide();
448
+ a && Dt(a) && Je(a, i == null ? void 0 : i.id) && ke(t, u) && e.hide();
449
449
  }
450
450
  })), Ie(x(y({}, s), {
451
451
  type: "focusin",
@@ -781,15 +781,15 @@ var xt = ue(function(t) {
781
781
  if (c)
782
782
  return wt(c);
783
783
  }, [P, R, S]);
784
- const Z = P && S;
784
+ const J = P && S;
785
785
  N(() => {
786
- if (!T || !Z) return;
786
+ if (!T || !J) return;
787
787
  const c = g.current;
788
788
  return Er(T, [c]);
789
- }, [T, Z, A]);
789
+ }, [T, J, A]);
790
790
  const ve = Ce(f);
791
791
  N(() => {
792
- if (!T || !Z) return;
792
+ if (!T || !J) return;
793
793
  const { disclosureElement: c } = p.getState(), v = g.current, w = ve() || [], h = [
794
794
  v,
795
795
  ...w,
@@ -802,7 +802,7 @@ var xt = ue(function(t) {
802
802
  }, [
803
803
  T,
804
804
  p,
805
- Z,
805
+ J,
806
806
  ve,
807
807
  we,
808
808
  i,
@@ -853,8 +853,8 @@ var xt = ue(function(t) {
853
853
  if (h && !ye(h)) {
854
854
  const Y = h.closest("[data-dialog]");
855
855
  if (Y != null && Y.id) {
856
- const he = F(Y), De = `[aria-controls~="${Y.id}"]`, Je = he.querySelector(De);
857
- Je && (h = Je);
856
+ const he = F(Y), De = `[aria-controls~="${Y.id}"]`, Ze = he.querySelector(De);
857
+ Ze && (h = Ze);
858
858
  }
859
859
  }
860
860
  const $ = h && ye(h);
@@ -885,7 +885,7 @@ var xt = ue(function(t) {
885
885
  C(() => !S || !R ? void 0 : Xe("keydown", (v) => {
886
886
  if (v.key !== "Escape" || v.defaultPrevented) return;
887
887
  const w = g.current;
888
- if (!w || Ze(w)) return;
888
+ if (!w || Je(w)) return;
889
889
  const h = v.target;
890
890
  if (!h) return;
891
891
  const { disclosureElement: $ } = p.getState();
@@ -1084,7 +1084,7 @@ var Xr = ue(
1084
1084
  r,
1085
1085
  process.env.NODE_ENV !== "production" && "Popover must receive a `store` prop or be wrapped in a PopoverProvider component."
1086
1086
  );
1087
- const p = r.useState("arrowElement"), U = r.useState("anchorElement"), S = r.useState("disclosureElement"), O = r.useState("popoverElement"), G = r.useState("contentElement"), T = r.useState("placement"), P = r.useState("mounted"), R = r.useState("rendered"), k = q(null), [Pe, ae] = Q(!1), { portalRef: we, domReady: Z } = ft(s, d.portalRef), ve = Ce(A), me = Ce(l), ge = !!l;
1087
+ const p = r.useState("arrowElement"), U = r.useState("anchorElement"), S = r.useState("disclosureElement"), O = r.useState("popoverElement"), G = r.useState("contentElement"), T = r.useState("placement"), P = r.useState("mounted"), R = r.useState("rendered"), k = q(null), [Pe, ae] = Q(!1), { portalRef: we, domReady: J } = ft(s, d.portalRef), ve = Ce(A), me = Ce(l), ge = !!l;
1088
1088
  N(() => {
1089
1089
  if (!(O != null && O.isConnected)) return;
1090
1090
  O.style.setProperty(
@@ -1104,7 +1104,7 @@ var Xr = ue(
1104
1104
  fitViewport: L,
1105
1105
  overflowPadding: _
1106
1106
  })
1107
- ], z = await Jt(B, O, {
1107
+ ], z = await Zt(B, O, {
1108
1108
  placement: T,
1109
1109
  strategy: m ? "fixed" : "absolute",
1110
1110
  middleware: oe
@@ -1131,7 +1131,7 @@ var Xr = ue(
1131
1131
  [Fe]: "100%"
1132
1132
  });
1133
1133
  }
1134
- }, ce = Zt(B, O, async () => {
1134
+ }, ce = Jt(B, O, async () => {
1135
1135
  ge ? (await me({ updatePosition: W }), ae(!0)) : await W();
1136
1136
  }, {
1137
1137
  // JSDOM doesn't support ResizeObserver
@@ -1149,7 +1149,7 @@ var Xr = ue(
1149
1149
  O,
1150
1150
  T,
1151
1151
  P,
1152
- Z,
1152
+ J,
1153
1153
  m,
1154
1154
  b,
1155
1155
  D,
@@ -1164,7 +1164,7 @@ var Xr = ue(
1164
1164
  ge,
1165
1165
  me
1166
1166
  ]), N(() => {
1167
- if (!P || !Z || !(O != null && O.isConnected) || !(G != null && G.isConnected)) return;
1167
+ if (!P || !J || !(O != null && O.isConnected) || !(G != null && G.isConnected)) return;
1168
1168
  const B = () => {
1169
1169
  O.style.zIndex = getComputedStyle(G).zIndex;
1170
1170
  };
@@ -1173,7 +1173,7 @@ var Xr = ue(
1173
1173
  W = requestAnimationFrame(B);
1174
1174
  });
1175
1175
  return () => cancelAnimationFrame(W);
1176
- }, [P, Z, O, G]);
1176
+ }, [P, J, O, G]);
1177
1177
  const xe = m ? "fixed" : "absolute";
1178
1178
  return d = ee(
1179
1179
  d,