@wrdagency/blockout 1.0.23 → 1.0.25

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 (226) hide show
  1. package/dist/{2NBKRL7C-Ds7w7Ay7.js → 2NBKRL7C-Cunv252F.js} +10 -10
  2. package/dist/{2RSXSRCN-BBEFwUiL.js → 2RSXSRCN-dNqvVCu5.js} +6 -6
  3. package/dist/{4CMBR7SL-_MPrTek0.js → 4CMBR7SL-Cf8t3EeF.js} +24 -24
  4. package/dist/{5JTVDSTH-Ci6OX9MK.js → 5JTVDSTH-zDMMKAyC.js} +4 -4
  5. package/dist/{5VQZOHHZ-DpLj3Rqp.js → 5VQZOHHZ-BbettT93.js} +1 -1
  6. package/dist/{6VRAQV3D-Cnyfi8tq.js → 6VRAQV3D-pLV6BqmA.js} +6 -6
  7. package/dist/{A3WPL2ZJ-1yF0wSQn.js → A3WPL2ZJ-DEsxy0M-.js} +2 -2
  8. package/dist/{BM6PGYQY-B6HfecNi.js → BM6PGYQY-g6WySwtg.js} +2 -2
  9. package/dist/{DG5U6ZEL-ETCdoLWP.js → DG5U6ZEL-9kCi_mGg.js} +3 -3
  10. package/dist/{EM5CXX6A-CW08TdIG.js → EM5CXX6A-BAj-o9Ka.js} +2 -2
  11. package/dist/{F5MUBM3I-CSfmQDAz.js → F5MUBM3I-AbDoeFd8.js} +17 -17
  12. package/dist/{G7GW6PWC-DtkamyQv.js → G7GW6PWC-DeYlSr7f.js} +56 -56
  13. package/dist/{IWEFDH56-UEiMfbRm.js → IWEFDH56-DLJvQd6v.js} +3 -3
  14. package/dist/{J2LQO3EC-TlCRyAh7.js → J2LQO3EC-Cevd6Bvq.js} +2 -2
  15. package/dist/{KFH4SEIX-D9qCWzyY.js → KFH4SEIX-JLk95eQA.js} +3 -3
  16. package/dist/{LMDWO4NN-BxsnVArz.js → LMDWO4NN-BfJb6my4.js} +29 -29
  17. package/dist/MAXQOH4L-DB7jDisS.js +564 -0
  18. package/dist/{MR26YJYP-BSJHEQsl.js → MR26YJYP-CDaPeerB.js} +33 -33
  19. package/dist/{MTZPJQMC-CNw1MVtu.js → MTZPJQMC-CraWj4on.js} +4 -4
  20. package/dist/{O2PQ2652-BxRvOru-.js → O2PQ2652-BCwdW7qA.js} +11 -11
  21. package/dist/{P7GR5CS5-CZKSJ9w8.js → P7GR5CS5-DbUZzAnv.js} +1 -1
  22. package/dist/{PFRGBC2K-6AvuBT5M.js → PFRGBC2K-DmHoUTiZ.js} +60 -60
  23. package/dist/{RS7LB2H4-DJkydTnE.js → RS7LB2H4-D1_VRecC.js} +6 -6
  24. package/dist/{RZ4GPYOB-DPUx6A2B.js → RZ4GPYOB-rG3RP8Xi.js} +5 -5
  25. package/dist/{S43UC3DV-D5IqpYPC.js → S43UC3DV-bOoyE-xW.js} +6 -6
  26. package/dist/{T7VMP3TM-DX7RU0Yc.js → T7VMP3TM-DZitNAMz.js} +17 -17
  27. package/dist/TIW3GMFC-DPiX149D.js +81 -0
  28. package/dist/{TP7N7UIH-CFp7Hh_A.js → TP7N7UIH-D_nR5wDv.js} +2 -2
  29. package/dist/{UQQRIHDV-D5fevAL1.js → UQQRIHDV-ULrGYPSq.js} +8 -8
  30. package/dist/{UYGDZTLQ-CEz9ajCa.js → UYGDZTLQ-CTQQ8oFQ.js} +2 -2
  31. package/dist/{VIIRIBF3-Co_vwgwZ.js → VIIRIBF3-C4pOScX8.js} +5 -5
  32. package/dist/{WMYDSCNQ-BIYNTVEx.js → WMYDSCNQ-qLZnyPON.js} +13 -13
  33. package/dist/{WYCIER3C-C_60hKUt.js → WYCIER3C-BJwD0YDE.js} +2 -2
  34. package/dist/YORGHBM4-6CReFG7i.js +54 -0
  35. package/dist/{YV4JVR4I-BLQoWp1E.js → YV4JVR4I-D8_aZ62q.js} +48 -48
  36. package/dist/assets/index10.css +1 -1
  37. package/dist/assets/index11.css +1 -1
  38. package/dist/assets/index12.css +1 -1
  39. package/dist/assets/index13.css +1 -1
  40. package/dist/assets/index14.css +1 -1
  41. package/dist/assets/index15.css +1 -1
  42. package/dist/assets/index16.css +1 -1
  43. package/dist/assets/index17.css +1 -1
  44. package/dist/assets/index18.css +1 -1
  45. package/dist/assets/index19.css +1 -1
  46. package/dist/assets/index20.css +1 -1
  47. package/dist/assets/index21.css +1 -0
  48. package/dist/assets/index22.css +1 -0
  49. package/dist/assets/index6.css +1 -1
  50. package/dist/assets/index7.css +1 -1
  51. package/dist/assets/index8.css +1 -1
  52. package/dist/assets/index9.css +1 -1
  53. package/dist/assets/style10.css +1 -1
  54. package/dist/assets/style23.css +1 -1
  55. package/dist/assets/style25.css +1 -1
  56. package/dist/assets/style26.css +1 -1
  57. package/dist/assets/style27.css +1 -1
  58. package/dist/assets/style28.css +1 -0
  59. package/dist/assets/style6.css +1 -1
  60. package/dist/assets/style8.css +1 -1
  61. package/dist/assets/style9.css +1 -1
  62. package/dist/assets/styles5.css +1 -1
  63. package/dist/combobox-group-BCdU5rML.js +27 -0
  64. package/dist/combobox-popover-D5bLZY4d.js +95 -0
  65. package/dist/components/breadcrumbs/index.js +5 -5
  66. package/dist/components/button/icon.js +1 -1
  67. package/dist/components/button/row.js +4 -4
  68. package/dist/components/command-palette/index.d.ts +24 -0
  69. package/dist/components/command-palette/index.js +164 -0
  70. package/dist/components/command-palette/types.d.ts +10 -0
  71. package/dist/components/command-palette/types.js +1 -0
  72. package/dist/components/controls/base-popover-control/index.js +4 -4
  73. package/dist/components/controls/card-number-control/index.js +1 -1
  74. package/dist/components/controls/checkbox-control/index.js +1 -1
  75. package/dist/components/controls/choice-control/choice.js +1 -1
  76. package/dist/components/controls/choice-control/index.js +1 -1
  77. package/dist/components/controls/date-control/index.js +12 -13
  78. package/dist/components/controls/date-control/picker.js +5 -5
  79. package/dist/components/controls/list-control/item.js +1 -1
  80. package/dist/components/controls/recurrence-control/index.js +2 -2
  81. package/dist/components/controls/select-control/control.js +1 -1
  82. package/dist/components/controls/select-control/select.js +12 -11
  83. package/dist/components/controls/tag-control/ariakit-experimental.js +1081 -1162
  84. package/dist/components/controls/tag-control/index.js +9 -8
  85. package/dist/components/controls/tag-control/props.js +1 -1
  86. package/dist/components/controls/toggle-control/index.js +1 -1
  87. package/dist/components/controls/toggle-group-control/index.js +1 -1
  88. package/dist/components/data-form/status.js +1 -1
  89. package/dist/components/data-form/submit.js +1 -1
  90. package/dist/components/data-view/data/filter.js +4 -4
  91. package/dist/components/data-view/data/layout.js +7 -4
  92. package/dist/components/data-view/data/options.js +142 -102
  93. package/dist/components/data-view/index.d.ts +3 -2
  94. package/dist/components/data-view/index.js +1 -1
  95. package/dist/components/data-view/layouts/grid/group.js +11 -11
  96. package/dist/components/data-view/layouts/grid/item.js +4 -4
  97. package/dist/components/data-view/layouts/kanban/group.js +11 -11
  98. package/dist/components/data-view/layouts/kanban/item.js +4 -4
  99. package/dist/components/data-view/layouts/kanban/root.js +1 -1
  100. package/dist/components/data-view/layouts/list/group.js +11 -11
  101. package/dist/components/data-view/layouts/list/item.js +4 -4
  102. package/dist/components/data-view/layouts/table/empty.js +4 -4
  103. package/dist/components/data-view/layouts/table/group.js +28 -21
  104. package/dist/components/data-view/layouts/table/item.js +5 -5
  105. package/dist/components/data-view/layouts/table/root.js +4 -4
  106. package/dist/components/data-view/layouts/tile/empty.d.ts +2 -0
  107. package/dist/components/data-view/layouts/tile/empty.js +6 -0
  108. package/dist/components/data-view/layouts/tile/group.d.ts +2 -0
  109. package/dist/components/data-view/layouts/tile/group.js +58 -0
  110. package/dist/components/data-view/layouts/tile/index.d.ts +3 -0
  111. package/dist/components/data-view/layouts/tile/index.js +8 -0
  112. package/dist/components/data-view/layouts/tile/item.d.ts +2 -0
  113. package/dist/components/data-view/layouts/tile/item.js +81 -0
  114. package/dist/components/data-view/layouts/tile/root.d.ts +2 -0
  115. package/dist/components/data-view/layouts/tile/root.js +6 -0
  116. package/dist/components/data-view/parts/body/empty.js +1 -1
  117. package/dist/components/data-view/parts/body/index.js +6 -6
  118. package/dist/components/data-view/parts/controls/index.js +39 -39
  119. package/dist/components/data-view/parts/controls/search.js +4 -4
  120. package/dist/components/data-view/parts/filters/chip.js +1 -1
  121. package/dist/components/data-view/parts/filters/editor.js +3 -3
  122. package/dist/components/data-view/parts/filters/index.js +1 -1
  123. package/dist/components/data-view/parts/footer/actions.js +4 -4
  124. package/dist/components/data-view/parts/footer/index.js +4 -4
  125. package/dist/components/data-view/parts/footer/selection.js +4 -4
  126. package/dist/components/data-view/parts/view-control/index.js +4 -4
  127. package/dist/components/data-view/root.d.ts +5 -3
  128. package/dist/components/data-view/root.js +51 -47
  129. package/dist/components/data-view/slots/group/checkbox.js +5 -5
  130. package/dist/components/data-view/slots/group/context.js +1 -1
  131. package/dist/components/data-view/slots/group/header.d.ts +3 -0
  132. package/dist/components/data-view/slots/group/header.js +12 -0
  133. package/dist/components/data-view/slots/group/icon.js +1 -1
  134. package/dist/components/data-view/slots/group/index.js +3 -2
  135. package/dist/components/data-view/slots/group/label.js +1 -1
  136. package/dist/components/data-view/slots/index.js +3 -3
  137. package/dist/components/data-view/slots/item/actions.js +1 -1
  138. package/dist/components/data-view/slots/item/checkbox.js +4 -4
  139. package/dist/components/data-view/slots/item/depth.js +3 -3
  140. package/dist/components/data-view/slots/item/description.js +1 -1
  141. package/dist/components/data-view/slots/item/index.js +2 -2
  142. package/dist/components/data-view/slots/item/properties.js +2 -2
  143. package/dist/components/data-view/slots/item/relations.js +3 -3
  144. package/dist/components/data-view/slots/item/tags.js +1 -1
  145. package/dist/components/data-view/slots/item/thumbnail.js +1 -1
  146. package/dist/components/data-view/slots/item/title.js +1 -1
  147. package/dist/components/data-view/slots/item/util.js +2 -2
  148. package/dist/components/data-view/slots/property/field/editable.js +4 -4
  149. package/dist/components/data-view/slots/property/field/index.js +2 -2
  150. package/dist/components/data-view/slots/property/field/static.js +1 -1
  151. package/dist/components/data-view/slots/property/index.js +1 -1
  152. package/dist/components/data-view/slots/property/label.js +1 -1
  153. package/dist/components/data-view/slots/root/checkbox.js +4 -4
  154. package/dist/components/data-view/slots/root/context.d.ts +1 -0
  155. package/dist/components/data-view/slots/root/index.js +1 -1
  156. package/dist/components/data-view/types/view.d.ts +1 -1
  157. package/dist/components/dialog/index.d.ts +14 -0
  158. package/dist/components/dialog/index.js +72 -0
  159. package/dist/components/filesystem/file.js +1 -1
  160. package/dist/components/filesystem/folder.js +7 -6
  161. package/dist/components/filesystem/index.js +1 -1
  162. package/dist/components/filesystem/list.js +1 -1
  163. package/dist/components/filesystem/root.js +1 -1
  164. package/dist/components/index.d.ts +3 -1
  165. package/dist/components/index.js +67 -63
  166. package/dist/components/menu/index.js +2 -2
  167. package/dist/components/menu/item.js +1 -1
  168. package/dist/components/menu/items/action.js +1 -1
  169. package/dist/components/menu/items/spacer.js +1 -1
  170. package/dist/components/menu/items/submenu.js +3 -3
  171. package/dist/components/menu/items/toggle.js +1 -1
  172. package/dist/components/pagination/index.js +1 -1
  173. package/dist/components/progress/index.js +1 -1
  174. package/dist/components/shell/index.js +1 -1
  175. package/dist/components/shell/pane.js +1 -1
  176. package/dist/components/tabs/index.js +1 -1
  177. package/dist/components/tabs/list.js +1 -1
  178. package/dist/components/tabs/panel.js +1 -1
  179. package/dist/components/tabs/root.js +1 -1
  180. package/dist/components/tabs/tab.js +1 -1
  181. package/dist/components/tag/index.js +1 -1
  182. package/dist/components/tag/tag.js +1 -1
  183. package/dist/components/toolbar/divider.js +1 -1
  184. package/dist/components/toolbar/index.js +2 -2
  185. package/dist/components/toolbar/root.js +1 -1
  186. package/dist/components/window/index.js +2 -2
  187. package/dist/{composite-provider-K8zU8z0x.js → composite-provider-DFOFHro7.js} +2 -2
  188. package/dist/disclosure-provider-DIT2ijtk.js +10 -0
  189. package/dist/{filter-rHYsh8Gq.js → filter-DzrtcAfG.js} +3 -3
  190. package/dist/{index-Cn5kB2Fd.js → index-B5z_GwnD.js} +5 -5
  191. package/dist/{index-CXFb4Xny.js → index-Bp_FFk15.js} +16 -14
  192. package/dist/{index-DRiUXF8g.js → index-C8OctMj0.js} +3 -3
  193. package/dist/index.js +118 -112
  194. package/dist/{item-BZJ3JrHw.js → item-CGLYiEST.js} +2 -2
  195. package/dist/{menu-button-DBjUzoaw.js → menu-button-C-h3k7Gh.js} +26 -26
  196. package/dist/{menu-separator-H9l1SpSV.js → menu-separator-CuuhJPnR.js} +3 -3
  197. package/dist/{picker-aBRTIOUU.js → picker-BUCg1BqW.js} +4 -4
  198. package/dist/{popover-provider-xofWxUiu.js → popover-provider-BoZ9PI_r.js} +4 -4
  199. package/dist/primitives/index.d.ts +1 -1
  200. package/dist/primitives/index.js +14 -12
  201. package/dist/primitives/link/index.js +1 -1
  202. package/dist/primitives/popover/index.js +1 -1
  203. package/dist/primitives/popover/root.js +1 -1
  204. package/dist/primitives/popover/target.js +1 -1
  205. package/dist/primitives/popover/window.js +3 -3
  206. package/dist/primitives/scroll-area/index.js +1 -1
  207. package/dist/primitives/tooltip/index.js +1 -1
  208. package/dist/primitives/typography/index.d.ts +1 -0
  209. package/dist/primitives/typography/index.js +9 -7
  210. package/dist/primitives/typography/keyboard.d.ts +8 -0
  211. package/dist/primitives/typography/keyboard.js +33 -0
  212. package/dist/{select-popover-BuB2Ioa9.js → select-popover-DmN0T8PP.js} +46 -46
  213. package/dist/{select-value-C1gT40_5.js → select-value-DnWKxDD-.js} +2 -2
  214. package/dist/{style-C7eFpUVU.js → style-CWAa57kN.js} +1 -1
  215. package/dist/{style-DzV7-wks.js → style-D1AX7G7x.js} +1 -1
  216. package/dist/{tab-BbgJF9GJ.js → tab-BXGTM7Se.js} +4 -4
  217. package/dist/{tab-list-BvZvev5m.js → tab-list-BPSxHllS.js} +3 -3
  218. package/dist/{tab-panel-QxtN3GO3.js → tab-panel-fbUcLE4f.js} +7 -7
  219. package/dist/{tab-provider-T_g-bJwY.js → tab-provider-x586a8l7.js} +17 -17
  220. package/dist/{tag-remove-DVXj7CeY.js → tag-remove-BdHvB_5c.js} +37 -37
  221. package/dist/{toolbar-Bl6JBFO2.js → toolbar-hQ58P-Nk.js} +5 -5
  222. package/dist/{toolbar-separator-CN-A8iMa.js → toolbar-separator-CN00-jyc.js} +3 -3
  223. package/dist/{tooltip-arrow-DSk_atex.js → tooltip-arrow-BRJ4m2ZL.js} +36 -36
  224. package/package.json +1 -1
  225. package/dist/combobox-popover-DFcT6u90.js +0 -650
  226. package/dist/disclosure-provider-CX3wr_3W.js +0 -61
@@ -1,208 +1,213 @@
1
- import { u as qe, e as _t } from "../../../tag-remove-DVXj7CeY.js";
2
- import { f as Fu, C as Tu, b as Nu, d as Du, a as yu, T as Eu, c as _u, g as Iu, h as Mu, i as wu, j as $u } from "../../../tag-remove-DVXj7CeY.js";
3
- import { u as It } from "../../../combobox-popover-DFcT6u90.js";
4
- import { a as Lu, d as Vu, c as Ou, b as Hu, C as Au, i as Gu } from "../../../combobox-popover-DFcT6u90.js";
5
- import { c as b, _ as k, e as _, h as fe, $ as Mt, k as oe, A as wt, m as N, n as O, o as d, r as W, f as C, a as h, s as L, T as K, V as H, U as V, l as X, q as j, b as ke, R as se, S as $t, I as Fe, t as Ke, a8 as ze, i as I, a0 as Te, a5 as be, al as ie, am as Rt, an as Ne, W as Xe, j as Lt, ao as Vt, C as Ot, Z as Ht, M as Ce, ap as At, K as Gt } from "../../../LMDWO4NN-BxsnVArz.js";
6
- import { a as Y } from "../../../F5MUBM3I-CSfmQDAz.js";
7
- import { B as ju, D as Uu } from "../../../F5MUBM3I-CSfmQDAz.js";
8
- import { u as Bt } from "../../../2RSXSRCN-BBEFwUiL.js";
9
- import { C as qu } from "../../../2RSXSRCN-BBEFwUiL.js";
10
- import { a as ce, c as ne, b as le, d as re, t as Ze, s as Ae, i as jt, e as Je } from "../../../YV4JVR4I-BLQoWp1E.js";
11
- import { useRef as B, useEffect as $, useContext as Z, useMemo as de, useCallback as z, useState as me, Fragment as Ut } from "react";
12
- import { jsx as E, jsxs as De, Fragment as Wt } from "react/jsx-runtime";
13
- import { a as qt, e as Kt, C as zt, f as Qe, g as Ye, h as Xt } from "../../../P7GR5CS5-CZKSJ9w8.js";
14
- import { d as zu } from "../../../P7GR5CS5-CZKSJ9w8.js";
15
- import { u as ae } from "../../../RZ4GPYOB-DPUx6A2B.js";
16
- import { C as Zu } from "../../../RZ4GPYOB-DPUx6A2B.js";
17
- import { c as et, b as tt, a as Zt, e as Jt, f as Qt } from "../../../4CMBR7SL-_MPrTek0.js";
18
- import { u as Qu } from "../../../4CMBR7SL-_MPrTek0.js";
19
- import { a as ye, b as ve, c as Yt, u as eo } from "../../../S43UC3DV-D5IqpYPC.js";
20
- import { b as ot } from "../../../WMYDSCNQ-BIYNTVEx.js";
21
- import { D as ei, c as ti, P as oi } from "../../../WMYDSCNQ-BIYNTVEx.js";
22
- import { u as Ee, b as _e, c as to, d as oo } from "../../../disclosure-provider-CX3wr_3W.js";
23
- import { C as ni, a as si, D as ai, G as ui, e as ii } from "../../../disclosure-provider-CX3wr_3W.js";
24
- import { t as ro } from "../../../7PRQYBBV-91wrWGjk.js";
25
- import { u as rt } from "../../../J2LQO3EC-TlCRyAh7.js";
26
- import { C as li } from "../../../J2LQO3EC-TlCRyAh7.js";
27
- import { u as nt } from "../../../TP7N7UIH-CFp7Hh_A.js";
28
- import { C as mi, S as vi } from "../../../TP7N7UIH-CFp7Hh_A.js";
29
- import { u as st } from "../../../5JTVDSTH-Ci6OX9MK.js";
30
- import { C as fi } from "../../../5JTVDSTH-Ci6OX9MK.js";
31
- import { C as Ci } from "../../../UQQRIHDV-D5fevAL1.js";
32
- import { u as no } from "../../../6VRAQV3D-Cnyfi8tq.js";
33
- import { C as gi } from "../../../6VRAQV3D-Cnyfi8tq.js";
34
- import { C as Pi } from "../../../composite-provider-K8zU8z0x.js";
35
- import { C as ki } from "../../../T7VMP3TM-DX7RU0Yc.js";
36
- import { H as so, F as ao, b as uo } from "../../../G7GW6PWC-DtkamyQv.js";
37
- import { D as Ti, d as Ni, P as Di, a as yi, e as Ei, R as _i, V as Ii } from "../../../G7GW6PWC-DtkamyQv.js";
38
- import { e as io, f as co, d as lo, a as mo } from "../../../RS7LB2H4-DJkydTnE.js";
39
- import { g as wi, h as $i } from "../../../RS7LB2H4-DJkydTnE.js";
40
- import { a as vo } from "../../../BM6PGYQY-B6HfecNi.js";
41
- import { D as Li } from "../../../KFH4SEIX-D9qCWzyY.js";
42
- import { e as te, r as Pe, j as Ie, g as po, u as fo } from "../../../PFRGBC2K-6AvuBT5M.js";
43
- import { m as Oi } from "../../../PFRGBC2K-6AvuBT5M.js";
44
- import { d as bo } from "../../../MR26YJYP-BSJHEQsl.js";
45
- import { H as Ai, e as Gi } from "../../../MR26YJYP-BSJHEQsl.js";
46
- import { u as at } from "../../../tooltip-arrow-DSk_atex.js";
47
- import { P as ji, b as Ui, a as Wi, c as qi, T as Ki, d as zi, e as Xi } from "../../../tooltip-arrow-DSk_atex.js";
48
- import { a as Co, b as ho, u as go, c as xo } from "../../../EM5CXX6A-CW08TdIG.js";
49
- import { c as Po } from "../../../MTZPJQMC-CNw1MVtu.js";
50
- import { u as Ji } from "../../../MTZPJQMC-CNw1MVtu.js";
51
- import { b as Yi, a as ec, c as tc, M as oc, u as rc } from "../../../menu-button-DBjUzoaw.js";
52
- import { f as So, g as ko, h as Fo, b as ut, u as Me, i as it } from "../../../VIIRIBF3-Co_vwgwZ.js";
53
- import { j as sc, c as ac } from "../../../VIIRIBF3-Co_vwgwZ.js";
54
- import { u as To } from "../../../select-popover-BuB2Ioa9.js";
55
- import { P as ic, a as cc, e as lc, d as dc, c as mc, b as vc, S as pc, f as fc } from "../../../select-popover-BuB2Ioa9.js";
56
- import { u as ct } from "../../../2NBKRL7C-Ds7w7Ay7.js";
57
- import { M as Cc } from "../../../2NBKRL7C-Ds7w7Ay7.js";
58
- import { M as gc } from "../../../menu-separator-H9l1SpSV.js";
59
- import { P as Pc } from "../../../popover-provider-xofWxUiu.js";
60
- import { c as No, e as Do, d as yo, a as Eo, u as lt } from "../../../DG5U6ZEL-ETCdoLWP.js";
61
- import { S as kc } from "../../../select-value-C1gT40_5.js";
62
- import { T as Tc } from "../../../tab-BbgJF9GJ.js";
63
- import { T as Dc } from "../../../tab-list-BvZvev5m.js";
64
- import { T as Ec } from "../../../tab-panel-QxtN3GO3.js";
65
- import { T as Ic, u as Mc } from "../../../tab-provider-T_g-bJwY.js";
66
- import { u as _o } from "../../../toolbar-Bl6JBFO2.js";
67
- import { T as $c } from "../../../toolbar-Bl6JBFO2.js";
68
- import { u as dt } from "../../../IWEFDH56-UEiMfbRm.js";
69
- import { T as Lc } from "../../../IWEFDH56-UEiMfbRm.js";
70
- import { b as Io, u as mt } from "../../../A3WPL2ZJ-1yF0wSQn.js";
71
- import { b as Mo } from "../../../5VQZOHHZ-DpLj3Rqp.js";
72
- import { T as Oc } from "../../../toolbar-separator-CN-A8iMa.js";
73
- import { u as Ac } from "../../../WYCIER3C-C_60hKUt.js";
74
- import { u as Bc } from "../../../O2PQ2652-BxRvOru-.js";
75
- import { c as Uc } from "../../../UYGDZTLQ-CEz9ajCa.js";
76
- function oa(r = {}) {
77
- const e = _o(r);
78
- return /* @__PURE__ */ E(Io, { value: e, children: r.children });
1
+ import { u as He, e as Dt } from "../../../tag-remove-BdHvB_5c.js";
2
+ import { f as cu, C as lu, b as du, d as mu, a as vu, T as fu, c as pu, g as bu, h as Cu, i as hu, j as gu } from "../../../tag-remove-BdHvB_5c.js";
3
+ import { d as yt } from "../../../MAXQOH4L-DB7jDisS.js";
4
+ import { a as Su, c as Pu, b as ku, C as Fu, i as Tu } from "../../../MAXQOH4L-DB7jDisS.js";
5
+ import { c as C, _ as k, e as E, h as ve, a1 as Et, k as ee, A as It, m as D, n as A, o as d, r as U, f as h, a as g, s as V, U as K, T as O, V as L, l as X, q as W, b as Be, Y as _t, J as Se, X as ie, t as Ge, a8 as je, i as _, S as Ue, a5 as fe, al as ue, am as Mt, an as Pe, W as We, j as wt, ao as $t, D as Rt, a0 as Vt, L as pe, ap as Lt, O as Ot } from "../../../LMDWO4NN-BfJb6my4.js";
6
+ import { u as re } from "../../../F5MUBM3I-AbDoeFd8.js";
7
+ import { B as Du, D as yu } from "../../../F5MUBM3I-AbDoeFd8.js";
8
+ import { u as At } from "../../../2RSXSRCN-dNqvVCu5.js";
9
+ import { C as Iu } from "../../../2RSXSRCN-dNqvVCu5.js";
10
+ import { a as ce, c as oe, b as le, f as te, t as qe, s as $e, i as Ht, d as Ke } from "../../../YV4JVR4I-D8_aZ62q.js";
11
+ import { useRef as G, useEffect as $, useContext as ne, useCallback as z, useMemo as ze, useState as de, Fragment as Bt } from "react";
12
+ import { jsx as I, jsxs as Xe, Fragment as Gt } from "react/jsx-runtime";
13
+ import { a as jt, e as Ut, C as Wt, f as Je, g as Qe, h as qt } from "../../../P7GR5CS5-DbUZzAnv.js";
14
+ import { d as Mu } from "../../../P7GR5CS5-DbUZzAnv.js";
15
+ import { u as se } from "../../../RZ4GPYOB-rG3RP8Xi.js";
16
+ import { C as $u } from "../../../RZ4GPYOB-rG3RP8Xi.js";
17
+ import { c as Ye, b as Ze, a as Kt, e as zt, f as Xt } from "../../../4CMBR7SL-Cf8t3EeF.js";
18
+ import { u as Vu } from "../../../4CMBR7SL-Cf8t3EeF.js";
19
+ import { u as ke, a as Fe, c as Jt, b as Qt } from "../../../S43UC3DV-bOoyE-xW.js";
20
+ import { b as et } from "../../../WMYDSCNQ-qLZnyPON.js";
21
+ import { D as Ou, c as Au, P as Hu } from "../../../WMYDSCNQ-qLZnyPON.js";
22
+ import { C as Gu, a as ju } from "../../../combobox-group-BCdU5rML.js";
23
+ import { t as Yt } from "../../../7PRQYBBV-91wrWGjk.js";
24
+ import { C as Wu } from "../../../combobox-popover-D5bLZY4d.js";
25
+ import { u as tt } from "../../../J2LQO3EC-Cevd6Bvq.js";
26
+ import { C as Ku } from "../../../J2LQO3EC-Cevd6Bvq.js";
27
+ import { u as ot } from "../../../TP7N7UIH-D_nR5wDv.js";
28
+ import { C as Xu, S as Ju } from "../../../TP7N7UIH-D_nR5wDv.js";
29
+ import { u as rt } from "../../../5JTVDSTH-zDMMKAyC.js";
30
+ import { C as Yu } from "../../../5JTVDSTH-zDMMKAyC.js";
31
+ import { u as nt, a as st, c as Zt, d as eo } from "../../../YORGHBM4-6CReFG7i.js";
32
+ import { C as ei, b as ti, G as oi, e as ri } from "../../../YORGHBM4-6CReFG7i.js";
33
+ import { C as si } from "../../../UQQRIHDV-ULrGYPSq.js";
34
+ import { u as to } from "../../../6VRAQV3D-pLV6BqmA.js";
35
+ import { C as ui } from "../../../6VRAQV3D-pLV6BqmA.js";
36
+ import { C as ci } from "../../../composite-provider-DFOFHro7.js";
37
+ import { C as di } from "../../../T7VMP3TM-DZitNAMz.js";
38
+ import { F as oo, b as ro } from "../../../G7GW6PWC-DeYlSr7f.js";
39
+ import { D as vi, d as fi, P as pi, a as bi, e as Ci, R as hi, V as gi } from "../../../G7GW6PWC-DeYlSr7f.js";
40
+ import { f as no, b as so } from "../../../RS7LB2H4-D1_VRecC.js";
41
+ import { g as Si, h as Pi } from "../../../RS7LB2H4-D1_VRecC.js";
42
+ import { u as ao, b as uo } from "../../../TIW3GMFC-DPiX149D.js";
43
+ import { a as Fi, D as Ti, H as Ni } from "../../../TIW3GMFC-DPiX149D.js";
44
+ import { a as io } from "../../../BM6PGYQY-g6WySwtg.js";
45
+ import { D as yi } from "../../../KFH4SEIX-JLk95eQA.js";
46
+ import { D as Ii } from "../../../disclosure-provider-DIT2ijtk.js";
47
+ import { e as Z, r as ge, j as Te, g as co, u as lo } from "../../../PFRGBC2K-DmHoUTiZ.js";
48
+ import { m as Mi } from "../../../PFRGBC2K-DmHoUTiZ.js";
49
+ import { d as mo } from "../../../MR26YJYP-CDaPeerB.js";
50
+ import { H as $i, e as Ri } from "../../../MR26YJYP-CDaPeerB.js";
51
+ import { u as at } from "../../../tooltip-arrow-BRJ4m2ZL.js";
52
+ import { P as Li, b as Oi, a as Ai, c as Hi, T as Bi, d as Gi, e as ji } from "../../../tooltip-arrow-BRJ4m2ZL.js";
53
+ import { a as vo, b as fo, u as po, c as bo } from "../../../EM5CXX6A-BAj-o9Ka.js";
54
+ import { c as Co } from "../../../MTZPJQMC-CraWj4on.js";
55
+ import { u as Wi } from "../../../MTZPJQMC-CraWj4on.js";
56
+ import { b as Ki, a as zi, c as Xi, M as Ji, u as Qi } from "../../../menu-button-C-h3k7Gh.js";
57
+ import { f as ho, g as go, h as xo, b as ut, u as Ne, i as it } from "../../../VIIRIBF3-C4pOScX8.js";
58
+ import { j as Zi, c as ec } from "../../../VIIRIBF3-C4pOScX8.js";
59
+ import { u as So } from "../../../select-popover-DmN0T8PP.js";
60
+ import { P as oc, a as rc, e as nc, d as sc, c as ac, b as uc, S as ic, f as cc } from "../../../select-popover-DmN0T8PP.js";
61
+ import { u as ct } from "../../../2NBKRL7C-Cunv252F.js";
62
+ import { M as dc } from "../../../2NBKRL7C-Cunv252F.js";
63
+ import { M as vc } from "../../../menu-separator-CuuhJPnR.js";
64
+ import { P as pc } from "../../../popover-provider-BoZ9PI_r.js";
65
+ import { c as Po, e as ko, d as Fo, a as To, u as lt } from "../../../DG5U6ZEL-9kCi_mGg.js";
66
+ import { S as Cc } from "../../../select-value-DnWKxDD-.js";
67
+ import { T as gc } from "../../../tab-BXGTM7Se.js";
68
+ import { T as Sc } from "../../../tab-list-BPSxHllS.js";
69
+ import { T as kc } from "../../../tab-panel-fbUcLE4f.js";
70
+ import { T as Tc, u as Nc } from "../../../tab-provider-x586a8l7.js";
71
+ import { u as No } from "../../../toolbar-hQ58P-Nk.js";
72
+ import { T as yc } from "../../../toolbar-hQ58P-Nk.js";
73
+ import { u as dt } from "../../../IWEFDH56-DLJvQd6v.js";
74
+ import { T as Ic } from "../../../IWEFDH56-DLJvQd6v.js";
75
+ import { b as Do, u as mt } from "../../../A3WPL2ZJ-DEsxy0M-.js";
76
+ import { b as yo } from "../../../5VQZOHHZ-BbettT93.js";
77
+ import { T as Mc } from "../../../toolbar-separator-CN00-jyc.js";
78
+ import { u as $c } from "../../../WYCIER3C-BJwD0YDE.js";
79
+ import { u as Vc } from "../../../O2PQ2652-BCwdW7qA.js";
80
+ import { c as Oc } from "../../../UYGDZTLQ-CTQQ8oFQ.js";
81
+ function qs(r = {}) {
82
+ const e = No(r);
83
+ return /* @__PURE__ */ I(Do, { value: e, children: r.children });
79
84
  }
80
- var wo = "div";
81
- function Ge(r) {
82
- Pe(r);
83
- const e = Ie(r);
84
- return te(r), e;
85
+ var Eo = "div";
86
+ function Re(r) {
87
+ ge(r);
88
+ const e = Te(r);
89
+ return Z(r), e;
85
90
  }
86
- var vt = b(function(e) {
91
+ var vt = C(function(e) {
87
92
  var o = e, { store: t } = o, n = k(o, ["store"]);
88
- const s = qt();
93
+ const s = jt();
89
94
  t = t || s;
90
- const a = B(null), c = B(!1), u = (P = !1) => {
95
+ const a = G(null), c = G(!1), u = (S = !1) => {
91
96
  const M = a.current;
92
97
  if (!M) return;
93
- Pe(M);
94
- const F = Ie(M);
98
+ ge(M);
99
+ const F = Te(M);
95
100
  if (!F) {
96
- te(M);
101
+ Z(M);
97
102
  return;
98
103
  }
99
104
  c.current = !0, queueMicrotask(() => {
100
- F.focus(), (oe(F) || F.isContentEditable) && Mo(F, P);
105
+ F.focus(), (ee(F) || F.isContentEditable) && yo(F, S);
101
106
  });
102
107
  }, i = () => {
103
- const P = a.current;
104
- P && (c.current = !1, te(P));
108
+ const S = a.current;
109
+ S && (c.current = !1, Z(S));
105
110
  }, m = ce(t, "renderedItems");
106
111
  $(() => {
107
- const P = a.current;
108
- if (!P) return;
109
- !c.current && (m != null && m.length) && te(P);
112
+ const S = a.current;
113
+ if (!S) return;
114
+ !c.current && (m != null && m.length) && Z(S);
110
115
  }, [m]);
111
- const v = n.onFocus, p = _((P) => {
112
- if (v == null || v(P), P.defaultPrevented || !t) return;
116
+ const v = n.onFocus, f = E((S) => {
117
+ if (v == null || v(S), S.defaultPrevented || !t) return;
113
118
  const M = c.current;
114
- if (fe(P)) {
119
+ if (ve(S)) {
115
120
  c.current = !1;
116
121
  const { baseElement: F } = t.getState(), R = F, q = R == null ? void 0 : R.querySelectorAll("[data-composite-container]");
117
122
  if (q)
118
- for (const D of q)
119
- te(D);
120
- } else M || (c.current = !0, Pe(P.currentTarget), t == null || t.setState("moves", 0));
121
- }), f = n.onBlur, l = _((P) => {
122
- f == null || f(P), !P.defaultPrevented && Mt(P) && i();
123
- }), g = n.onKeyDown, x = _((P) => {
124
- if (g == null || g(P), P.defaultPrevented || P.altKey || P.ctrlKey || P.metaKey || P.shiftKey) return;
125
- const M = P.currentTarget;
126
- if (fe(P)) {
127
- if (P.key.length === 1 && P.key !== " ") {
128
- const F = Ge(M);
123
+ for (const N of q)
124
+ Z(N);
125
+ } else M || (c.current = !0, ge(S.currentTarget), t == null || t.setState("moves", 0));
126
+ }), p = n.onBlur, l = E((S) => {
127
+ p == null || p(S), !S.defaultPrevented && Et(S) && i();
128
+ }), b = n.onKeyDown, x = E((S) => {
129
+ if (b == null || b(S), S.defaultPrevented || S.altKey || S.ctrlKey || S.metaKey || S.shiftKey) return;
130
+ const M = S.currentTarget;
131
+ if (ve(S)) {
132
+ if (S.key.length === 1 && S.key !== " ") {
133
+ const F = Re(M);
129
134
  if (!F) return;
130
- (oe(F) || F.isContentEditable) && (P.stopPropagation(), u());
131
- } else if (P.key === "Delete" || P.key === "Backspace") {
132
- const F = Ge(M);
135
+ (ee(F) || F.isContentEditable) && (S.stopPropagation(), u());
136
+ } else if (S.key === "Delete" || S.key === "Backspace") {
137
+ const F = Re(M);
133
138
  if (!F) return;
134
- if (oe(F) || F.isContentEditable) {
139
+ if (ee(F) || F.isContentEditable) {
135
140
  u();
136
141
  const R = () => queueMicrotask(() => M.focus());
137
142
  M.addEventListener("input", R, { once: !0 });
138
143
  }
139
144
  }
140
- } else if (P.key === "Escape")
145
+ } else if (S.key === "Escape")
141
146
  queueMicrotask(() => M.focus());
142
- else if (P.key === "Enter") {
143
- const F = P.target;
144
- (F.tagName === "INPUT" && !wt(F) || F.tagName === "TEXTAREA" || F.isContentEditable) && (P.preventDefault(), queueMicrotask(() => M.focus()));
147
+ else if (S.key === "Enter") {
148
+ const F = S.target;
149
+ (F.tagName === "INPUT" && !It(F) || F.tagName === "TEXTAREA" || F.isContentEditable) && (S.preventDefault(), queueMicrotask(() => M.focus()));
145
150
  }
146
- }), S = n.onClick, T = _((P) => {
147
- S == null || S(P), !P.defaultPrevented && fe(P) && !P.detail && u(!0);
151
+ }), P = n.onClick, T = E((S) => {
152
+ P == null || P(S), !S.defaultPrevented && ve(S) && !S.detail && u(!0);
148
153
  });
149
- return n = N(d({
154
+ return n = D(d({
150
155
  "data-composite-container": ""
151
156
  }, n), {
152
- ref: O(a, n.ref),
153
- onFocus: p,
157
+ ref: A(a, n.ref),
158
+ onFocus: f,
154
159
  onBlur: l,
155
160
  onKeyDown: x,
156
161
  onClick: T
157
- }), W(n);
162
+ }), U(n);
158
163
  });
159
- C(function(e) {
164
+ h(function(e) {
160
165
  const o = vt(e);
161
- return h(wo, o);
166
+ return g(Eo, o);
162
167
  });
163
- var $o = "div", Ro = b(
168
+ var Io = "div", _o = C(
164
169
  function(e) {
165
170
  var o = e, { store: t } = o, n = k(o, ["store"]);
166
171
  const s = mt();
167
172
  return t = t || s, n = vt(d({ store: t }, n)), n = dt(d({ store: t }, n)), n;
168
173
  }
169
- ), ra = L(
170
- C(function(e) {
171
- const o = Ro(e);
172
- return h($o, o);
174
+ ), Ks = V(
175
+ h(function(e) {
176
+ const o = _o(e);
177
+ return g(Io, o);
173
178
  })
174
- ), Lo = "input", Vo = b(
179
+ ), Mo = "input", wo = C(
175
180
  function(e) {
176
181
  var o = e, { store: t } = o, n = k(o, ["store"]);
177
182
  const s = mt();
178
183
  return t = t || s, n = dt(d({ store: t }, n)), n;
179
184
  }
180
- ), na = L(
181
- C(function(e) {
182
- const o = Vo(e);
183
- return h(Lo, o);
185
+ ), zs = V(
186
+ h(function(e) {
187
+ const o = wo(e);
188
+ return g(Mo, o);
184
189
  })
185
190
  );
186
- function Oo(r = {}) {
191
+ function $o(r = {}) {
187
192
  var e;
188
- const o = (e = r.store) == null ? void 0 : e.getState(), t = et(K(V({}, r), {
189
- orientation: H(
193
+ const o = (e = r.store) == null ? void 0 : e.getState(), t = Ye(K(L({}, r), {
194
+ orientation: O(
190
195
  r.orientation,
191
196
  o == null ? void 0 : o.orientation,
192
197
  "horizontal"
193
198
  ),
194
- focusLoop: H(r.focusLoop, o == null ? void 0 : o.focusLoop, !0)
195
- })), n = V({}, t.getState()), s = ne(n, t, r.store);
196
- return V(V({}, t), s);
199
+ focusLoop: O(r.focusLoop, o == null ? void 0 : o.focusLoop, !0)
200
+ })), n = L({}, t.getState()), s = oe(n, t, r.store);
201
+ return L(L({}, t), s);
197
202
  }
198
- function Ho(r, e, o) {
199
- return tt(r, e, o);
203
+ function Ro(r, e, o) {
204
+ return Ze(r, e, o);
200
205
  }
201
- function we(r = {}) {
202
- const [e, o] = le(Oo, r);
203
- return Ho(e, o, r);
206
+ function De(r = {}) {
207
+ const [e, o] = le($o, r);
208
+ return Ro(e, o, r);
204
209
  }
205
- var Ao = "div", pt = b(
210
+ var Vo = "div", ft = C(
206
211
  function(e) {
207
212
  var o = e, {
208
213
  store: t,
@@ -219,167 +224,100 @@ var Ao = "div", pt = b(
219
224
  "focusLoop",
220
225
  "rtl"
221
226
  ]);
222
- const m = So();
227
+ const m = ho();
223
228
  t = t || m;
224
- const v = we({
229
+ const v = De({
225
230
  store: t,
226
231
  orientation: s,
227
232
  virtualFocus: a,
228
233
  focusLoop: c,
229
234
  rtl: u
230
- }), p = v.useState(
231
- (f) => !n || f.orientation === "both" ? void 0 : f.orientation
235
+ }), f = v.useState(
236
+ (p) => !n || p.orientation === "both" ? void 0 : p.orientation
232
237
  );
233
238
  return i = X(
234
239
  i,
235
- (f) => /* @__PURE__ */ E(ko, { value: v, children: f }),
240
+ (p) => /* @__PURE__ */ I(go, { value: v, children: p }),
236
241
  [v]
237
242
  ), n && (i = d({
238
243
  role: "menubar",
239
- "aria-orientation": p
240
- }, i)), i = st(d({ store: v, composite: n }, i)), i;
244
+ "aria-orientation": f
245
+ }, i)), i = rt(d({ store: v, composite: n }, i)), i;
241
246
  }
242
- ), sa = C(function(e) {
243
- const o = pt(e);
244
- return h(Ao, o);
247
+ ), Xs = h(function(e) {
248
+ const o = ft(e);
249
+ return g(Vo, o);
245
250
  });
246
- function Go(r = {}) {
247
- const e = we(r);
248
- return /* @__PURE__ */ E(Fo, { value: e, children: r.children });
251
+ function Lo(r = {}) {
252
+ const e = De(r);
253
+ return /* @__PURE__ */ I(xo, { value: e, children: r.children });
249
254
  }
250
- var Bo = "p", ft = b(function(e) {
255
+ var Oo = "p", pt = C(function(e) {
251
256
  var o = e, { store: t } = o, n = k(o, ["store"]);
252
- const s = Z(io), a = j(n.id);
253
- return ke(() => (s == null || s(a), () => s == null ? void 0 : s(void 0)), [s, a]), n = d({
257
+ const s = ne(no), a = W(n.id);
258
+ return Be(() => (s == null || s(a), () => s == null ? void 0 : s(void 0)), [s, a]), n = d({
254
259
  id: a
255
- }, n), W(n);
256
- }), aa = C(function(e) {
257
- const o = ft(e);
258
- return h(Bo, o);
259
- }), jo = "p", bt = b(function(e) {
260
- return e = ft(e), e;
261
- }), ua = C(function(e) {
260
+ }, n), U(n);
261
+ }), Js = h(function(e) {
262
+ const o = pt(e);
263
+ return g(Oo, o);
264
+ }), Ao = "p", bt = C(function(e) {
265
+ return e = pt(e), e;
266
+ }), Qs = h(function(e) {
262
267
  const o = bt(e);
263
- return h(jo, o);
264
- }), Uo = "button", Ct = b(
265
- function(e) {
266
- var o = e, { store: t } = o, n = k(o, ["store"]);
267
- const s = co();
268
- t = t || s;
269
- const a = n.onClick, c = _((i) => {
270
- a == null || a(i), !i.defaultPrevented && (t == null || t.hide());
271
- }), u = de(
272
- () => /* @__PURE__ */ De(
273
- "svg",
274
- {
275
- "aria-label": "Dismiss popup",
276
- display: "block",
277
- fill: "none",
278
- stroke: "currentColor",
279
- strokeLinecap: "round",
280
- strokeLinejoin: "round",
281
- strokeWidth: 1.5,
282
- viewBox: "0 0 16 16",
283
- height: "1em",
284
- width: "1em",
285
- children: [
286
- /* @__PURE__ */ E("line", { x1: "4", y1: "4", x2: "12", y2: "12" }),
287
- /* @__PURE__ */ E("line", { x1: "4", y1: "12", x2: "12", y2: "4" })
288
- ]
289
- }
290
- ),
291
- []
292
- );
293
- return n = N(d({
294
- "data-dialog-dismiss": "",
295
- children: u
296
- }, n), {
297
- onClick: c
298
- }), n = Y(n), n;
299
- }
300
- ), ia = C(function(e) {
301
- const o = Ct(e);
302
- return h(Uo, o);
303
- }), Wo = "button", $e = b(
268
+ return g(Ao, o);
269
+ }), Ho = "button", ye = C(
304
270
  function(e) {
305
271
  var o = e, { store: t } = o, n = k(o, ["store"]);
306
- const s = Po();
307
- return t = t || s, n = Ct(d({ store: t }, n)), n;
272
+ const s = Co();
273
+ return t = t || s, n = ao(d({ store: t }, n)), n;
308
274
  }
309
- ), ca = C(function(e) {
310
- const o = $e(e);
311
- return h(Wo, o);
312
- }), qo = "h1", ht = b(
275
+ ), Ys = h(function(e) {
276
+ const o = ye(e);
277
+ return g(Ho, o);
278
+ }), Bo = "h1", Ee = C(
313
279
  function(e) {
314
- const o = B(null), t = Z(so) || 1, n = `h${t}`, s = se(o, n), a = de(
315
- () => !!s && /^h\d$/.test(s),
316
- [s]
317
- );
318
- return e = N(d({
319
- render: /* @__PURE__ */ E(n, {}),
320
- role: a ? void 0 : "heading",
321
- "aria-level": a ? void 0 : t
322
- }, e), {
323
- ref: O(o, e.ref)
324
- }), e;
325
- }
326
- ), la = C(function(e) {
327
- const o = ht(e);
328
- return h(qo, o);
329
- }), Ko = "h1", gt = b(
330
- function(e) {
331
- var o = e, { store: t } = o, n = k(o, ["store"]);
332
- const s = Z(lo), a = j(n.id);
333
- return ke(() => (s == null || s(a), () => s == null ? void 0 : s(void 0)), [s, a]), n = d({
334
- id: a
335
- }, n), n = ht(n), n;
280
+ return e = uo(e), e;
336
281
  }
337
- ), da = C(function(e) {
338
- const o = gt(e);
339
- return h(Ko, o);
340
- }), zo = "h1", Re = b(
341
- function(e) {
342
- return e = gt(e), e;
343
- }
344
- ), ma = C(function(e) {
345
- const o = Re(e);
346
- return h(zo, o);
282
+ ), Zs = h(function(e) {
283
+ const o = Ee(e);
284
+ return g(Bo, o);
347
285
  });
348
- function Xo(r = {}) {
349
- var e = $t(r, []), o;
350
- const t = (o = e.store) == null ? void 0 : o.getState(), n = et(K(V({}, e), {
351
- focusLoop: H(e.focusLoop, t == null ? void 0 : t.focusLoop, !0)
352
- })), s = K(V({}, n.getState()), {
353
- value: H(
286
+ function Go(r = {}) {
287
+ var e = _t(r, []), o;
288
+ const t = (o = e.store) == null ? void 0 : o.getState(), n = Ye(K(L({}, e), {
289
+ focusLoop: O(e.focusLoop, t == null ? void 0 : t.focusLoop, !0)
290
+ })), s = K(L({}, n.getState()), {
291
+ value: O(
354
292
  e.value,
355
293
  t == null ? void 0 : t.value,
356
294
  e.defaultValue,
357
295
  null
358
296
  )
359
- }), a = ne(s, n, e.store);
360
- return K(V(V({}, n), a), {
297
+ }), a = oe(s, n, e.store);
298
+ return K(L(L({}, n), a), {
361
299
  setValue: (c) => a.setState("value", c)
362
300
  });
363
301
  }
364
- function Zo(r, e, o) {
365
- return r = tt(r, e, o), re(r, o, "value", "setValue"), r;
302
+ function jo(r, e, o) {
303
+ return r = Ze(r, e, o), te(r, o, "value", "setValue"), r;
366
304
  }
367
- function Jo(r = {}) {
368
- const [e, o] = le(Xo, r);
369
- return Zo(e, o, r);
305
+ function Uo(r = {}) {
306
+ const [e, o] = le(Go, r);
307
+ return jo(e, o, r);
370
308
  }
371
- var pe = Fe(
372
- [zt],
373
- [Kt]
374
- ), Qo = pe.useContext, Yo = pe.useProviderContext, er = pe.ContextProvider, tr = pe.ScopedContextProvider, xt = "input";
375
- function or(r, e) {
309
+ var me = Se(
310
+ [Wt],
311
+ [Ut]
312
+ ), Wo = me.useContext, qo = me.useProviderContext, Ko = me.ContextProvider, zo = me.ScopedContextProvider, Ct = "input";
313
+ function Xo(r, e) {
376
314
  if (e !== void 0)
377
315
  return r != null && e != null ? e === r : !!e;
378
316
  }
379
- function rr(r, e) {
317
+ function Jo(r, e) {
380
318
  return r === "input" && (!e || e === "radio");
381
319
  }
382
- var Le = b(function(e) {
320
+ var Ie = C(function(e) {
383
321
  var o = e, {
384
322
  store: t,
385
323
  name: n,
@@ -391,225 +329,225 @@ var Le = b(function(e) {
391
329
  "value",
392
330
  "checked"
393
331
  ]);
394
- const u = Qo();
332
+ const u = Wo();
395
333
  t = t || u;
396
- const i = j(c.id), m = B(null), v = ce(
334
+ const i = W(c.id), m = G(null), v = ce(
397
335
  t,
398
- (y) => a ?? or(s, y == null ? void 0 : y.value)
336
+ (y) => a ?? Xo(s, y == null ? void 0 : y.value)
399
337
  );
400
338
  $(() => {
401
339
  !i || !v || (t == null ? void 0 : t.getState().activeId) === i || t == null || t.setActiveId(i);
402
340
  }, [t, v, i]);
403
- const p = c.onChange, f = se(m, xt), l = rr(f, c.type), g = Ke(c), [x, S] = ze();
341
+ const f = c.onChange, p = ie(m, Ct), l = Jo(p, c.type), b = Ge(c), [x, P] = je();
404
342
  $(() => {
405
343
  const y = m.current;
406
344
  y && (l || (v !== void 0 && (y.checked = v), n !== void 0 && (y.name = n), s !== void 0 && (y.value = `${s}`)));
407
345
  }, [x, l, v, n, s]);
408
- const T = _((y) => {
409
- if (g) {
346
+ const T = E((y) => {
347
+ if (b) {
410
348
  y.preventDefault(), y.stopPropagation();
411
349
  return;
412
350
  }
413
- (t == null ? void 0 : t.getState().value) !== s && (l || (y.currentTarget.checked = !0, S()), p == null || p(y), !y.defaultPrevented && (t == null || t.setValue(s)));
414
- }), P = c.onClick, M = _((y) => {
415
- P == null || P(y), !y.defaultPrevented && (l || T(y));
416
- }), F = c.onFocus, R = _((y) => {
351
+ (t == null ? void 0 : t.getState().value) !== s && (l || (y.currentTarget.checked = !0, P()), f == null || f(y), !y.defaultPrevented && (t == null || t.setValue(s)));
352
+ }), S = c.onClick, M = E((y) => {
353
+ S == null || S(y), !y.defaultPrevented && (l || T(y));
354
+ }), F = c.onFocus, R = E((y) => {
417
355
  if (F == null || F(y), y.defaultPrevented || !l || !t) return;
418
- const { moves: q, activeId: D } = t.getState();
419
- q && (i && D !== i || T(y));
356
+ const { moves: q, activeId: N } = t.getState();
357
+ q && (i && N !== i || T(y));
420
358
  });
421
- return c = N(d({
359
+ return c = D(d({
422
360
  id: i,
423
361
  role: l ? void 0 : "radio",
424
362
  type: l ? "radio" : void 0,
425
363
  "aria-checked": v
426
364
  }, c), {
427
- ref: O(m, c.ref),
365
+ ref: A(m, c.ref),
428
366
  onChange: T,
429
367
  onClick: M,
430
368
  onFocus: R
431
- }), c = no(d({
369
+ }), c = to(d({
432
370
  store: t,
433
371
  clickOnEnter: !l
434
- }, c)), W(d({
372
+ }, c)), U(d({
435
373
  name: l ? n : void 0,
436
374
  value: l ? s : void 0,
437
375
  checked: v
438
376
  }, c));
439
- }), va = L(
440
- C(function(e) {
441
- const o = Le(e);
442
- return h(xt, o);
377
+ }), ea = V(
378
+ h(function(e) {
379
+ const o = Ie(e);
380
+ return g(Ct, o);
443
381
  })
444
382
  );
445
- function pa(r = {}) {
446
- const e = Jo(r);
447
- return /* @__PURE__ */ E(er, { value: e, children: r.children });
383
+ function ta(r = {}) {
384
+ const e = Uo(r);
385
+ return /* @__PURE__ */ I(Ko, { value: e, children: r.children });
448
386
  }
449
- var nr = "div", sr = b(
387
+ var Qo = "div", Yo = C(
450
388
  function(e) {
451
389
  var o = e, { store: t } = o, n = k(o, ["store"]);
452
- const s = Yo();
453
- return t = t || s, I(
390
+ const s = qo();
391
+ return t = t || s, _(
454
392
  t,
455
393
  process.env.NODE_ENV !== "production" && "RadioGroup must receive a `store` prop or be wrapped in a RadioProvider component."
456
394
  ), n = X(
457
395
  n,
458
- (a) => /* @__PURE__ */ E(tr, { value: t, children: a }),
396
+ (a) => /* @__PURE__ */ I(zo, { value: t, children: a }),
459
397
  [t]
460
398
  ), n = d({
461
399
  role: "radiogroup"
462
- }, n), n = st(d({ store: t }, n)), n;
400
+ }, n), n = rt(d({ store: t }, n)), n;
463
401
  }
464
- ), fa = C(function(e) {
465
- const o = sr(e);
466
- return h(nr, o);
467
- }), ar = "button", ur = b(
402
+ ), oa = h(function(e) {
403
+ const o = Yo(e);
404
+ return g(Qo, o);
405
+ }), Zo = "button", er = C(
468
406
  function(e) {
469
407
  var o = e, { store: t } = o, n = k(o, ["store"]);
470
- const s = No();
471
- return t = t || s, n = $e(d({ store: t }, n)), n;
408
+ const s = Po();
409
+ return t = t || s, n = ye(d({ store: t }, n)), n;
472
410
  }
473
- ), ba = C(function(e) {
474
- const o = ur(e);
475
- return h(ar, o);
476
- }), ir = "div", cr = b(
411
+ ), ra = h(function(e) {
412
+ const o = er(e);
413
+ return g(Zo, o);
414
+ }), tr = "div", or = C(
477
415
  function(e) {
478
- return e = Ee(e), e;
416
+ return e = nt(e), e;
479
417
  }
480
- ), Ca = C(function(e) {
481
- const o = cr(e);
482
- return h(ir, o);
483
- }), lr = "div", dr = b(
418
+ ), na = h(function(e) {
419
+ const o = or(e);
420
+ return g(tr, o);
421
+ }), rr = "div", nr = C(
484
422
  function(e) {
485
- return e = _e(e), e;
423
+ return e = st(e), e;
486
424
  }
487
- ), ha = C(function(e) {
488
- const o = dr(e);
489
- return h(lr, o);
490
- }), mr = "h1", vr = b(
425
+ ), sa = h(function(e) {
426
+ const o = nr(e);
427
+ return g(rr, o);
428
+ }), sr = "h1", ar = C(
491
429
  function(e) {
492
- const [, o] = Z(Do) || [], t = j(e.id);
493
- return ke(() => (o == null || o(t), () => o == null ? void 0 : o(void 0)), [o, t]), e = d({
430
+ const [, o] = ne(ko) || [], t = W(e.id);
431
+ return Be(() => (o == null || o(t), () => o == null ? void 0 : o(void 0)), [o, t]), e = d({
494
432
  id: t
495
- }, e), e = Re(e), e;
433
+ }, e), e = Ee(e), e;
496
434
  }
497
- ), ga = C(function(e) {
498
- const o = vr(e);
499
- return h(mr, o);
500
- }), pr = "span", fr = b(
435
+ ), aa = h(function(e) {
436
+ const o = ar(e);
437
+ return g(sr, o);
438
+ }), ur = "span", ir = C(
501
439
  function(e) {
502
440
  var o = e, { store: t, checked: n } = o, s = k(o, ["store", "checked"]);
503
- const a = Z(yo);
504
- return n = n ?? a, s = qe(N(d({}, s), { checked: n })), s;
441
+ const a = ne(Fo);
442
+ return n = n ?? a, s = He(D(d({}, s), { checked: n })), s;
505
443
  }
506
- ), xa = C(function(e) {
507
- const o = fr(e);
508
- return h(pr, o);
509
- }), br = "div", Cr = b(
444
+ ), ua = h(function(e) {
445
+ const o = ir(e);
446
+ return g(ur, o);
447
+ }), cr = "div", lr = C(
510
448
  function(e) {
511
449
  var o = e, { store: t } = o, n = k(o, ["store"]);
512
- const s = Eo();
513
- t = t || s, I(
450
+ const s = To();
451
+ t = t || s, _(
514
452
  t,
515
453
  process.env.NODE_ENV !== "production" && "SelectLabel must receive a `store` prop or be wrapped in a SelectProvider component."
516
454
  );
517
- const a = j(n.id), c = n.onClick, u = _((i) => {
455
+ const a = W(n.id), c = n.onClick, u = E((i) => {
518
456
  c == null || c(i), !i.defaultPrevented && queueMicrotask(() => {
519
457
  const m = t == null ? void 0 : t.getState().selectElement;
520
458
  m == null || m.focus();
521
459
  });
522
460
  });
523
- return n = N(d({
461
+ return n = D(d({
524
462
  id: a
525
463
  }, n), {
526
- ref: O(t.setLabelElement, n.ref),
464
+ ref: A(t.setLabelElement, n.ref),
527
465
  onClick: u,
528
466
  style: d({
529
467
  cursor: "default"
530
468
  }, n.style)
531
- }), W(n);
469
+ }), U(n);
532
470
  }
533
- ), Pa = L(
534
- C(function(e) {
535
- const o = Cr(e);
536
- return h(br, o);
471
+ ), ia = V(
472
+ h(function(e) {
473
+ const o = lr(e);
474
+ return g(cr, o);
537
475
  })
538
- ), hr = "div", gr = b(
476
+ ), dr = "div", mr = C(
539
477
  function(e) {
540
478
  var o = e, { store: t } = o, n = k(o, ["store"]);
541
479
  const s = lt();
542
- t = t || s, I(
480
+ t = t || s, _(
543
481
  t,
544
482
  process.env.NODE_ENV !== "production" && "SelectRow must be wrapped in a SelectList or SelectPopover component"
545
483
  );
546
- const a = t.useState("listElement"), u = Te(a) === "grid" ? "row" : "presentation";
547
- return n = d({ role: u }, n), n = rt(d({ store: t }, n)), n;
484
+ const a = t.useState("listElement"), u = Ue(a) === "grid" ? "row" : "presentation";
485
+ return n = d({ role: u }, n), n = tt(d({ store: t }, n)), n;
548
486
  }
549
- ), Sa = C(function(e) {
550
- const o = gr(e);
551
- return h(hr, o);
552
- }), xr = "hr", Pr = b(
487
+ ), ca = h(function(e) {
488
+ const o = mr(e);
489
+ return g(dr, o);
490
+ }), vr = "hr", fr = C(
553
491
  function(e) {
554
492
  var o = e, { store: t } = o, n = k(o, ["store"]);
555
493
  const s = lt();
556
- return t = t || s, n = nt(d({ store: t }, n)), n;
494
+ return t = t || s, n = ot(d({ store: t }, n)), n;
557
495
  }
558
- ), ka = C(function(e) {
559
- const o = Pr(e);
560
- return h(xr, o);
561
- }), Sr = "div", kr = b(
496
+ ), la = h(function(e) {
497
+ const o = fr(e);
498
+ return g(vr, o);
499
+ }), pr = "div", br = C(
562
500
  function(e) {
563
501
  var o = e, { enabled: t = !1 } = o, n = k(o, ["enabled"]);
564
- const s = B(null);
502
+ const s = G(null);
565
503
  return n = X(
566
504
  n,
567
505
  (a) => {
568
- const c = () => t ? /* @__PURE__ */ E(
569
- ao,
506
+ const c = () => t ? /* @__PURE__ */ I(
507
+ oo,
570
508
  {
571
509
  onFocus: (u) => {
572
510
  const i = s.current;
573
511
  if (!i) return;
574
- const m = po(i, !0), v = m[0], p = m[m.length - 1];
512
+ const m = co(i, !0), v = m[0], f = m[m.length - 1];
575
513
  if (!m.length) {
576
514
  i.focus();
577
515
  return;
578
516
  }
579
- u.relatedTarget === v ? p == null || p.focus() : v == null || v.focus();
517
+ u.relatedTarget === v ? f == null || f.focus() : v == null || v.focus();
580
518
  }
581
519
  }
582
520
  ) : null;
583
- return /* @__PURE__ */ De(Wt, { children: [
521
+ return /* @__PURE__ */ Xe(Gt, { children: [
584
522
  c(),
585
523
  a,
586
524
  c()
587
525
  ] });
588
526
  },
589
527
  [t]
590
- ), n = N(d({}, n), {
591
- ref: O(s, n.ref)
592
- }), W(n);
528
+ ), n = D(d({}, n), {
529
+ ref: A(s, n.ref)
530
+ }), U(n);
593
531
  }
594
- ), Fa = C(function(e) {
595
- const o = kr(e);
596
- return h(Sr, o);
532
+ ), da = h(function(e) {
533
+ const o = br(e);
534
+ return g(pr, o);
597
535
  });
598
- function Be() {
536
+ function Ve() {
599
537
  return new Promise((r) => requestAnimationFrame(() => r()));
600
538
  }
601
539
  function J(r) {
602
- return Object.keys(r).some((e) => ie(r[e]) ? J(r[e]) : !!r[e]);
540
+ return Object.keys(r).some((e) => ue(r[e]) ? J(r[e]) : !!r[e]);
603
541
  }
604
- function U(r, e, o) {
542
+ function j(r, e, o) {
605
543
  var t;
606
544
  const [n, ...s] = Array.isArray(e) ? e : `${e}`.split(".");
607
- return n == null || !r ? o : s.length ? U(r[n], s, o) : (t = r[n]) != null ? t : o;
545
+ return n == null || !r ? o : s.length ? j(r[n], s, o) : (t = r[n]) != null ? t : o;
608
546
  }
609
547
  function Q(r, e, o) {
610
548
  const [t, ...n] = Array.isArray(e) ? e : `${e}`.split(".");
611
549
  if (t == null) return r;
612
- const s = t, a = Rt(s), u = (a ? r || [] : r || {})[s], i = n.length && (Array.isArray(u) || ie(u)) ? Q(u, n, o) : o;
550
+ const s = t, a = Mt(s), u = (a ? r || [] : r || {})[s], i = n.length && (Array.isArray(u) || ue(u)) ? Q(u, n, o) : o;
613
551
  if (a) {
614
552
  const m = Number(s);
615
553
  if (r && Array.isArray(r))
@@ -621,17 +559,17 @@ function Q(r, e, o) {
621
559
  const v = [];
622
560
  return v[m] = i, v;
623
561
  }
624
- return K(V({}, r), { [s]: i });
562
+ return K(L({}, r), { [s]: i });
625
563
  }
626
- function Se(r, e) {
564
+ function xe(r, e) {
627
565
  const o = {}, t = Object.keys(r);
628
566
  for (const n of t) {
629
567
  const s = r[n];
630
- Array.isArray(s) ? o[n] = s.map((a) => ie(a) ? Se(a, e) : e) : ie(s) ? o[n] = Se(s, e) : o[n] = e;
568
+ Array.isArray(s) ? o[n] = s.map((a) => ue(a) ? xe(a, e) : e) : ue(s) ? o[n] = xe(s, e) : o[n] = e;
631
569
  }
632
570
  return o;
633
571
  }
634
- function Pt(r, e = []) {
572
+ function ht(r, e = []) {
635
573
  return {
636
574
  get(t, n) {
637
575
  if (["toString", "valueOf", Symbol.toPrimitive].includes(n))
@@ -639,124 +577,124 @@ function Pt(r, e = []) {
639
577
  const s = [...e, n], a = s.join(".");
640
578
  if (r[a])
641
579
  return r[a];
642
- const c = new Proxy(t, Pt(r, s));
580
+ const c = new Proxy(t, ht(r, s));
643
581
  return r[a] = c, c;
644
582
  }
645
583
  };
646
584
  }
647
- function Fr(r) {
585
+ function Cr(r) {
648
586
  return r == null ? void 0 : r.__unstableCallbacks;
649
587
  }
650
- function Tr() {
588
+ function hr() {
651
589
  const r = /* @__PURE__ */ Object.create(null);
652
- return new Proxy(/* @__PURE__ */ Object.create(null), Pt(r));
590
+ return new Proxy(/* @__PURE__ */ Object.create(null), ht(r));
653
591
  }
654
- function Nr(r = {}) {
592
+ function gr(r = {}) {
655
593
  var e;
656
- Ze(r, r.store);
657
- const o = (e = r.store) == null ? void 0 : e.getState(), t = Zt(r), n = H(
594
+ qe(r, r.store);
595
+ const o = (e = r.store) == null ? void 0 : e.getState(), t = Kt(r), n = O(
658
596
  r.values,
659
597
  o == null ? void 0 : o.values,
660
598
  r.defaultValues,
661
599
  {}
662
- ), s = H(
600
+ ), s = O(
663
601
  r.errors,
664
602
  o == null ? void 0 : o.errors,
665
603
  r.defaultErrors,
666
604
  {}
667
- ), a = H(
605
+ ), a = O(
668
606
  r.touched,
669
607
  o == null ? void 0 : o.touched,
670
608
  r.defaultTouched,
671
609
  {}
672
- ), c = K(V({}, t.getState()), {
610
+ ), c = K(L({}, t.getState()), {
673
611
  values: n,
674
612
  errors: s,
675
613
  touched: a,
676
- validating: H(o == null ? void 0 : o.validating, !1),
677
- submitting: H(o == null ? void 0 : o.submitting, !1),
678
- submitSucceed: H(o == null ? void 0 : o.submitSucceed, 0),
679
- submitFailed: H(o == null ? void 0 : o.submitFailed, 0),
614
+ validating: O(o == null ? void 0 : o.validating, !1),
615
+ submitting: O(o == null ? void 0 : o.submitting, !1),
616
+ submitSucceed: O(o == null ? void 0 : o.submitSucceed, 0),
617
+ submitFailed: O(o == null ? void 0 : o.submitFailed, 0),
680
618
  valid: !J(s)
681
- }), u = ne(c, t, r.store), i = Fr(r.store), m = i == null ? void 0 : i.getState(), v = {
619
+ }), u = oe(c, t, r.store), i = Cr(r.store), m = i == null ? void 0 : i.getState(), v = {
682
620
  validate: (m == null ? void 0 : m.validate) || [],
683
621
  submit: (m == null ? void 0 : m.submit) || []
684
- }, p = ne(v, i);
685
- Ae(u, () => jt(p)), Ae(
622
+ }, f = oe(v, i);
623
+ $e(u, () => Ht(f)), $e(
686
624
  u,
687
- () => Je(u, ["validating", "errors"], (l) => {
625
+ () => Ke(u, ["validating", "errors"], (l) => {
688
626
  l.validating || u.setState("valid", !J(l.errors));
689
627
  })
690
628
  );
691
- const f = async () => {
629
+ const p = async () => {
692
630
  u.setState("validating", !0), u.setState("errors", {});
693
- const l = p.getState().validate;
631
+ const l = f.getState().validate;
694
632
  try {
695
- for (const g of l)
696
- await g(u.getState());
697
- return await Be(), !J(u.getState().errors);
633
+ for (const b of l)
634
+ await b(u.getState());
635
+ return await Ve(), !J(u.getState().errors);
698
636
  } finally {
699
637
  u.setState("validating", !1);
700
638
  }
701
639
  };
702
- return K(V(V({}, t), u), {
703
- names: Tr(),
640
+ return K(L(L({}, t), u), {
641
+ names: hr(),
704
642
  setValues: (l) => u.setState("values", l),
705
- getValue: (l) => U(u.getState().values, l),
706
- setValue: (l, g) => u.setState("values", (x) => {
707
- const S = U(x, l), T = be(g, S);
708
- return T === S ? x : Q(x, l, T);
643
+ getValue: (l) => j(u.getState().values, l),
644
+ setValue: (l, b) => u.setState("values", (x) => {
645
+ const P = j(x, l), T = fe(b, P);
646
+ return T === P ? x : Q(x, l, T);
709
647
  }),
710
- pushValue: (l, g) => u.setState("values", (x) => {
711
- const S = U(x, l, []);
712
- return Q(x, l, [...S, g]);
648
+ pushValue: (l, b) => u.setState("values", (x) => {
649
+ const P = j(x, l, []);
650
+ return Q(x, l, [...P, b]);
713
651
  }),
714
- removeValue: (l, g) => u.setState("values", (x) => {
715
- const S = U(x, l, []);
652
+ removeValue: (l, b) => u.setState("values", (x) => {
653
+ const P = j(x, l, []);
716
654
  return Q(x, l, [
717
- ...S.slice(0, g),
655
+ ...P.slice(0, b),
718
656
  null,
719
- ...S.slice(g + 1)
657
+ ...P.slice(b + 1)
720
658
  ]);
721
659
  }),
722
660
  setErrors: (l) => u.setState("errors", l),
723
- getError: (l) => U(u.getState().errors, l),
724
- setError: (l, g) => u.setState("errors", (x) => {
725
- const S = U(x, l), T = be(g, S);
726
- return T === S ? x : Q(x, l, T);
661
+ getError: (l) => j(u.getState().errors, l),
662
+ setError: (l, b) => u.setState("errors", (x) => {
663
+ const P = j(x, l), T = fe(b, P);
664
+ return T === P ? x : Q(x, l, T);
727
665
  }),
728
666
  setTouched: (l) => u.setState("touched", l),
729
- getFieldTouched: (l) => !!U(u.getState().touched, l),
730
- setFieldTouched: (l, g) => u.setState("touched", (x) => {
731
- const S = U(x, l), T = be(g, S);
732
- return T === S ? x : Q(x, l, T);
667
+ getFieldTouched: (l) => !!j(u.getState().touched, l),
668
+ setFieldTouched: (l, b) => u.setState("touched", (x) => {
669
+ const P = j(x, l), T = fe(b, P);
670
+ return T === P ? x : Q(x, l, T);
733
671
  }),
734
- onValidate: (l) => (p.setState("validate", (g) => [...g, l]), () => {
735
- p.setState(
672
+ onValidate: (l) => (f.setState("validate", (b) => [...b, l]), () => {
673
+ f.setState(
736
674
  "validate",
737
- (g) => g.filter((x) => x !== l)
675
+ (b) => b.filter((x) => x !== l)
738
676
  );
739
677
  }),
740
- validate: f,
741
- onSubmit: (l) => (p.setState("submit", (g) => [...g, l]), () => {
742
- p.setState(
678
+ validate: p,
679
+ onSubmit: (l) => (f.setState("submit", (b) => [...b, l]), () => {
680
+ f.setState(
743
681
  "submit",
744
- (g) => g.filter((x) => x !== l)
682
+ (b) => b.filter((x) => x !== l)
745
683
  );
746
684
  }),
747
685
  submit: async () => {
748
- u.setState("submitting", !0), u.setState("touched", Se(u.getState().values, !0));
686
+ u.setState("submitting", !0), u.setState("touched", xe(u.getState().values, !0));
749
687
  try {
750
- if (await f()) {
751
- const l = p.getState().submit;
752
- for (const g of l)
753
- await g(u.getState());
754
- if (await Be(), !J(u.getState().errors))
755
- return u.setState("submitSucceed", (g) => g + 1), !0;
688
+ if (await p()) {
689
+ const l = f.getState().submit;
690
+ for (const b of l)
691
+ await b(u.getState());
692
+ if (await Ve(), !J(u.getState().errors))
693
+ return u.setState("submitSucceed", (b) => b + 1), !0;
756
694
  }
757
695
  return u.setState("submitFailed", (l) => l + 1), !1;
758
696
  } catch (l) {
759
- throw u.setState("submitFailed", (g) => g + 1), l;
697
+ throw u.setState("submitFailed", (b) => b + 1), l;
760
698
  } finally {
761
699
  u.setState("submitting", !1);
762
700
  }
@@ -765,31 +703,31 @@ function Nr(r = {}) {
765
703
  u.setState("values", n), u.setState("errors", s), u.setState("touched", a), u.setState("validating", !1), u.setState("submitting", !1), u.setState("submitSucceed", 0), u.setState("submitFailed", 0), u.setState("valid", !J(s));
766
704
  },
767
705
  // @ts-expect-error Internal
768
- __unstableCallbacks: p
706
+ __unstableCallbacks: f
769
707
  });
770
708
  }
771
- function Dr(r, e, o) {
772
- r = Jt(r, e, o), re(r, o, "values", "setValues"), re(r, o, "errors", "setErrors"), re(r, o, "touched", "setTouched");
709
+ function xr(r, e, o) {
710
+ r = zt(r, e, o), te(r, o, "values", "setValues"), te(r, o, "errors", "setErrors"), te(r, o, "touched", "setTouched");
773
711
  const t = z(
774
712
  (a) => r.useState(() => r.getValue(a)),
775
713
  [r]
776
714
  ), n = z(
777
715
  (a) => {
778
- a = _(a);
716
+ a = E(a);
779
717
  const c = r.useState("items");
780
718
  $(() => r.onValidate(a), [c, a]);
781
719
  },
782
720
  [r]
783
721
  ), s = z(
784
722
  (a) => {
785
- a = _(a);
723
+ a = E(a);
786
724
  const c = r.useState("items");
787
725
  $(() => r.onSubmit(a), [c, a]);
788
726
  },
789
727
  [r]
790
728
  );
791
- return de(
792
- () => N(d({}, r), {
729
+ return ze(
730
+ () => D(d({}, r), {
793
731
  useValue: t,
794
732
  useValidate: n,
795
733
  useSubmit: s
@@ -797,20 +735,20 @@ function Dr(r, e, o) {
797
735
  []
798
736
  );
799
737
  }
800
- function yr(r = {}) {
801
- const [e, o] = le(Nr, r);
802
- return Dr(e, o, r);
738
+ function Sr(r = {}) {
739
+ const [e, o] = le(gr, r);
740
+ return xr(e, o, r);
803
741
  }
804
- var Ve = Fe(
805
- [Ye],
806
- [Qe]
807
- ), A = Ve.useContext, Er = Ve.ContextProvider, _r = Ve.ScopedContextProvider, St = "form";
808
- function Ir(r, e) {
742
+ var _e = Se(
743
+ [Qe],
744
+ [Je]
745
+ ), H = _e.useContext, Pr = _e.ContextProvider, kr = _e.ScopedContextProvider, gt = "form";
746
+ function Fr(r, e) {
809
747
  return e.some(
810
748
  (o) => o.type === "field" && o.element === r
811
749
  );
812
750
  }
813
- function Mr(r) {
751
+ function Tr(r) {
814
752
  return r.find(
815
753
  (e) => {
816
754
  var o;
@@ -818,7 +756,7 @@ function Mr(r) {
818
756
  }
819
757
  );
820
758
  }
821
- var wr = b(function(e) {
759
+ var Nr = C(function(e) {
822
760
  var o = e, {
823
761
  store: t,
824
762
  validateOnChange: n = !0,
@@ -834,67 +772,67 @@ var wr = b(function(e) {
834
772
  "resetOnSubmit",
835
773
  "autoFocusOnSubmit"
836
774
  ]);
837
- const m = A();
838
- t = t || m, I(
775
+ const m = H();
776
+ t = t || m, _(
839
777
  t,
840
778
  process.env.NODE_ENV !== "production" && "Form must receive a `store` prop or be wrapped in a FormProvider component."
841
779
  );
842
- const v = B(null), p = t.useState("values"), f = t.useState("submitSucceed"), l = t.useState("submitFailed"), g = t.useState("items"), x = Ne(p);
780
+ const v = G(null), f = t.useState("values"), p = t.useState("submitSucceed"), l = t.useState("submitFailed"), b = t.useState("items"), x = Pe(f);
843
781
  $(
844
782
  () => a ? t == null ? void 0 : t.reset : void 0,
845
783
  [a, t]
846
- ), Xe(() => {
847
- n && p !== x && (t == null || t.validate());
848
- }, [n, p, x, t]), $(() => {
849
- c && f && (t == null || t.reset());
850
- }, [c, f, t]);
851
- const [S, T] = me(!1);
784
+ ), We(() => {
785
+ n && f !== x && (t == null || t.validate());
786
+ }, [n, f, x, t]), $(() => {
787
+ c && p && (t == null || t.reset());
788
+ }, [c, p, t]);
789
+ const [P, T] = de(!1);
852
790
  $(() => {
853
- if (!S || !l) return;
854
- const w = Mr(g), G = w == null ? void 0 : w.element;
855
- G && (T(!1), G.focus(), oe(G) && G.select());
856
- }, [u, l, g]);
857
- const P = i.onSubmit, M = _((w) => {
858
- P == null || P(w), !w.defaultPrevented && (w.preventDefault(), t == null || t.submit(), u && T(!0));
859
- }), F = i.onBlur, R = _((w) => {
860
- F == null || F(w), !w.defaultPrevented && s && t && Ir(w.target, t.getState().items) && t.validate();
861
- }), y = i.onReset, q = _((w) => {
791
+ if (!P || !l) return;
792
+ const w = Tr(b), B = w == null ? void 0 : w.element;
793
+ B && (T(!1), B.focus(), ee(B) && B.select());
794
+ }, [u, l, b]);
795
+ const S = i.onSubmit, M = E((w) => {
796
+ S == null || S(w), !w.defaultPrevented && (w.preventDefault(), t == null || t.submit(), u && T(!0));
797
+ }), F = i.onBlur, R = E((w) => {
798
+ F == null || F(w), !w.defaultPrevented && s && t && Fr(w.target, t.getState().items) && t.validate();
799
+ }), y = i.onReset, q = E((w) => {
862
800
  y == null || y(w), !w.defaultPrevented && (w.preventDefault(), t == null || t.reset());
863
801
  });
864
802
  i = X(
865
803
  i,
866
- (w) => /* @__PURE__ */ E(_r, { value: t, children: w }),
804
+ (w) => /* @__PURE__ */ I(kr, { value: t, children: w }),
867
805
  [t]
868
806
  );
869
- const D = se(v, St);
870
- return i = N(d({
871
- role: D !== "form" ? "form" : void 0,
807
+ const N = ie(v, gt);
808
+ return i = D(d({
809
+ role: N !== "form" ? "form" : void 0,
872
810
  noValidate: !0
873
811
  }, i), {
874
- ref: O(v, i.ref),
812
+ ref: A(v, i.ref),
875
813
  onSubmit: M,
876
814
  onBlur: R,
877
815
  onReset: q
878
816
  }), i;
879
- }), Ta = C(function(e) {
880
- const o = wr(e);
881
- return h(St, o);
817
+ }), ma = h(function(e) {
818
+ const o = Nr(e);
819
+ return g(gt, o);
882
820
  });
883
- function Na(r = {}) {
884
- const e = yr(r);
885
- return /* @__PURE__ */ E(Er, { value: e, children: r.children });
821
+ function va(r = {}) {
822
+ const e = Sr(r);
823
+ return /* @__PURE__ */ I(Pr, { value: e, children: r.children });
886
824
  }
887
- var $r = "input";
888
- function Rr(r, e) {
825
+ var Dr = "input";
826
+ function yr(r, e) {
889
827
  const o = r.current;
890
- return o ? o.name === e ? o : o.form ? o.form.elements.namedItem(e) : Ot(o).getElementsByName(e)[0] : null;
828
+ return o ? o.name === e ? o : o.form ? o.form.elements.namedItem(e) : Rt(o).getElementsByName(e)[0] : null;
891
829
  }
892
- function he(r, e, o) {
830
+ function be(r, e, o) {
893
831
  return r.useState(
894
832
  (t) => t.items.find((n) => n.type === o && n.name === e)
895
833
  );
896
834
  }
897
- var ue = b(
835
+ var ae = C(
898
836
  function(e) {
899
837
  var o = e, {
900
838
  store: t,
@@ -907,80 +845,80 @@ var ue = b(
907
845
  "getItem",
908
846
  "touchOnBlur"
909
847
  ]);
910
- const u = A();
911
- t = t || u, I(
848
+ const u = H();
849
+ t = t || u, _(
912
850
  t,
913
851
  process.env.NODE_ENV !== "production" && "FormControl must be wrapped in a Form component."
914
852
  );
915
- const i = `${n}`, m = j(c.id), v = B(null);
853
+ const i = `${n}`, m = W(c.id), v = G(null);
916
854
  t.useValidate(async () => {
917
- const F = Rr(v, i);
855
+ const F = yr(v, i);
918
856
  F && (await Promise.resolve(), "validity" in F && !F.validity.valid && (t == null || t.setError(i, F.validationMessage)));
919
857
  });
920
- const p = z(
858
+ const f = z(
921
859
  (F) => {
922
- const R = N(d({}, F), { id: m || F.id, name: i, type: "field" });
860
+ const R = D(d({}, F), { id: m || F.id, name: i, type: "field" });
923
861
  return s ? s(R) : R;
924
862
  },
925
863
  [m, i, s]
926
- ), f = c.onBlur, l = Lt(a), g = _((F) => {
927
- f == null || f(F), !F.defaultPrevented && l(F) && (t == null || t.setFieldTouched(i, !0));
928
- }), x = he(t, i, "label"), S = he(t, i, "error"), T = he(t, i, "description"), P = Vt(
929
- S == null ? void 0 : S.id,
864
+ ), p = c.onBlur, l = wt(a), b = E((F) => {
865
+ p == null || p(F), !F.defaultPrevented && l(F) && (t == null || t.setFieldTouched(i, !0));
866
+ }), x = be(t, i, "label"), P = be(t, i, "error"), T = be(t, i, "description"), S = $t(
867
+ P == null ? void 0 : P.id,
930
868
  T == null ? void 0 : T.id,
931
869
  c["aria-describedby"]
932
870
  ), M = t.useState(
933
871
  () => !!(t != null && t.getError(i)) && t.getFieldTouched(i)
934
872
  );
935
- return c = N(d({
873
+ return c = D(d({
936
874
  id: m,
937
875
  "aria-labelledby": x == null ? void 0 : x.id,
938
876
  "aria-invalid": M
939
877
  }, c), {
940
- "aria-describedby": P || void 0,
941
- ref: O(v, c.ref),
942
- onBlur: g
943
- }), c = ae(N(d({ store: t }, c), { name: i, getItem: p })), c;
878
+ "aria-describedby": S || void 0,
879
+ ref: A(v, c.ref),
880
+ onBlur: b
881
+ }), c = se(D(d({ store: t }, c), { name: i, getItem: f })), c;
944
882
  }
945
- ), Da = L(
946
- C(function(e) {
947
- const o = ue(e);
948
- return h($r, o);
883
+ ), fa = V(
884
+ h(function(e) {
885
+ const o = ae(e);
886
+ return g(Dr, o);
949
887
  })
950
888
  );
951
- function Lr(r = {}) {
889
+ function Er(r = {}) {
952
890
  var e;
953
- Ze(r, r.store);
891
+ qe(r, r.store);
954
892
  const o = (e = r.store) == null ? void 0 : e.getState(), t = {
955
- value: H(
893
+ value: O(
956
894
  r.value,
957
895
  o == null ? void 0 : o.value,
958
896
  r.defaultValue,
959
897
  !1
960
898
  )
961
- }, n = ne(t, r.store);
962
- return K(V({}, n), {
899
+ }, n = oe(t, r.store);
900
+ return K(L({}, n), {
963
901
  setValue: (s) => n.setState("value", s)
964
902
  });
965
903
  }
966
- function Vr(r, e, o) {
967
- return Xe(e, [o.store]), re(r, o, "value", "setValue"), r;
904
+ function Ir(r, e, o) {
905
+ return We(e, [o.store]), te(r, o, "value", "setValue"), r;
968
906
  }
969
- function Oe(r = {}) {
970
- const [e, o] = le(Lr, r);
971
- return Vr(e, o, r);
907
+ function Me(r = {}) {
908
+ const [e, o] = le(Er, r);
909
+ return Ir(e, o, r);
972
910
  }
973
- var kt = Fe(), Or = kt.useContext, Hr = kt.ContextProvider, Ft = "input";
974
- function je(r, e) {
911
+ var xt = Se(), _r = xt.useContext, Mr = xt.ContextProvider, St = "input";
912
+ function Le(r, e) {
975
913
  e ? r.indeterminate = !0 : r.indeterminate && (r.indeterminate = !1);
976
914
  }
977
- function Ar(r, e) {
915
+ function wr(r, e) {
978
916
  return r === "input" && (!e || e === "checkbox");
979
917
  }
980
- function Ue(r) {
918
+ function Oe(r) {
981
919
  return Array.isArray(r) ? r.toString() : r;
982
920
  }
983
- var He = b(
921
+ var we = C(
984
922
  function(e) {
985
923
  var o = e, {
986
924
  store: t,
@@ -995,61 +933,61 @@ var He = b(
995
933
  "checked",
996
934
  "defaultChecked"
997
935
  ]);
998
- const i = Or();
936
+ const i = _r();
999
937
  t = t || i;
1000
- const [m, v] = me(c ?? !1), p = ce(t, (D) => {
938
+ const [m, v] = de(c ?? !1), f = ce(t, (N) => {
1001
939
  if (a !== void 0) return a;
1002
- if ((D == null ? void 0 : D.value) === void 0) return m;
940
+ if ((N == null ? void 0 : N.value) === void 0) return m;
1003
941
  if (s != null) {
1004
- if (Array.isArray(D.value)) {
1005
- const w = Ue(s);
1006
- return D.value.includes(w);
942
+ if (Array.isArray(N.value)) {
943
+ const w = Oe(s);
944
+ return N.value.includes(w);
1007
945
  }
1008
- return D.value === s;
946
+ return N.value === s;
1009
947
  }
1010
- return Array.isArray(D.value) ? !1 : typeof D.value == "boolean" ? D.value : !1;
1011
- }), f = B(null), l = se(f, Ft), g = Ar(l, u.type), x = p ? p === "mixed" : void 0, S = p === "mixed" ? !1 : p, T = Ke(u), [P, M] = ze();
948
+ return Array.isArray(N.value) ? !1 : typeof N.value == "boolean" ? N.value : !1;
949
+ }), p = G(null), l = ie(p, St), b = wr(l, u.type), x = f ? f === "mixed" : void 0, P = f === "mixed" ? !1 : f, T = Ge(u), [S, M] = je();
1012
950
  $(() => {
1013
- const D = f.current;
1014
- D && (je(D, x), !g && (D.checked = S, n !== void 0 && (D.name = n), s !== void 0 && (D.value = `${s}`)));
1015
- }, [P, x, g, S, n, s]);
1016
- const F = u.onChange, R = _((D) => {
951
+ const N = p.current;
952
+ N && (Le(N, x), !b && (N.checked = P, n !== void 0 && (N.name = n), s !== void 0 && (N.value = `${s}`)));
953
+ }, [S, x, b, P, n, s]);
954
+ const F = u.onChange, R = E((N) => {
1017
955
  if (T) {
1018
- D.stopPropagation(), D.preventDefault();
956
+ N.stopPropagation(), N.preventDefault();
1019
957
  return;
1020
958
  }
1021
- if (je(D.currentTarget, x), g || (D.currentTarget.checked = !D.currentTarget.checked, M()), F == null || F(D), D.defaultPrevented) return;
1022
- const w = D.currentTarget.checked;
1023
- v(w), t == null || t.setValue((G) => {
959
+ if (Le(N.currentTarget, x), b || (N.currentTarget.checked = !N.currentTarget.checked, M()), F == null || F(N), N.defaultPrevented) return;
960
+ const w = N.currentTarget.checked;
961
+ v(w), t == null || t.setValue((B) => {
1024
962
  if (s == null) return w;
1025
- const ee = Ue(s);
1026
- return Array.isArray(G) ? w ? G.includes(ee) ? G : [...G, ee] : G.filter((Et) => Et !== ee) : G === ee ? !1 : ee;
963
+ const Y = Oe(s);
964
+ return Array.isArray(B) ? w ? B.includes(Y) ? B : [...B, Y] : B.filter((Nt) => Nt !== Y) : B === Y ? !1 : Y;
1027
965
  });
1028
- }), y = u.onClick, q = _((D) => {
1029
- y == null || y(D), !D.defaultPrevented && (g || R(D));
966
+ }), y = u.onClick, q = E((N) => {
967
+ y == null || y(N), !N.defaultPrevented && (b || R(N));
1030
968
  });
1031
969
  return u = X(
1032
970
  u,
1033
- (D) => /* @__PURE__ */ E(_t.Provider, { value: S, children: D }),
1034
- [S]
1035
- ), u = N(d({
1036
- role: g ? void 0 : "checkbox",
1037
- type: g ? "checkbox" : void 0,
1038
- "aria-checked": p
971
+ (N) => /* @__PURE__ */ I(Dt.Provider, { value: P, children: N }),
972
+ [P]
973
+ ), u = D(d({
974
+ role: b ? void 0 : "checkbox",
975
+ type: b ? "checkbox" : void 0,
976
+ "aria-checked": f
1039
977
  }, u), {
1040
- ref: O(f, u.ref),
978
+ ref: A(p, u.ref),
1041
979
  onChange: R,
1042
980
  onClick: q
1043
- }), u = Bt(d({ clickOnEnter: !g }, u)), W(d({
1044
- name: g ? n : void 0,
1045
- value: g ? s : void 0,
1046
- checked: S
981
+ }), u = At(d({ clickOnEnter: !b }, u)), U(d({
982
+ name: b ? n : void 0,
983
+ value: b ? s : void 0,
984
+ checked: P
1047
985
  }, u));
1048
986
  }
1049
- ), ya = C(function(e) {
1050
- const o = He(e);
1051
- return h(Ft, o);
1052
- }), Gr = "input", Br = b(
987
+ ), pa = h(function(e) {
988
+ const o = we(e);
989
+ return g(St, o);
990
+ }), $r = "input", Rr = C(
1053
991
  function(e) {
1054
992
  var o = e, {
1055
993
  store: t,
@@ -1064,27 +1002,27 @@ var He = b(
1064
1002
  "checked",
1065
1003
  "defaultChecked"
1066
1004
  ]);
1067
- const i = A();
1068
- t = t || i, I(
1005
+ const i = H();
1006
+ t = t || i, _(
1069
1007
  t,
1070
1008
  process.env.NODE_ENV !== "production" && "FormCheckbox must be wrapped in a Form component."
1071
1009
  );
1072
- const m = `${n}`, v = Oe({
1010
+ const m = `${n}`, v = Me({
1073
1011
  value: t.useValue(m),
1074
- setValue: (p) => t == null ? void 0 : t.setValue(m, p)
1012
+ setValue: (f) => t == null ? void 0 : t.setValue(m, f)
1075
1013
  });
1076
- return u = He(d({ store: v, value: s, checked: a }, u)), u = ue(d({
1014
+ return u = we(d({ store: v, value: s, checked: a }, u)), u = ae(d({
1077
1015
  store: t,
1078
1016
  name: m,
1079
1017
  "aria-labelledby": void 0
1080
1018
  }, u)), u;
1081
1019
  }
1082
- ), Ea = L(
1083
- C(function(e) {
1084
- const o = Br(e);
1085
- return h(Gr, o);
1020
+ ), ba = V(
1021
+ h(function(e) {
1022
+ const o = Rr(e);
1023
+ return g($r, o);
1086
1024
  })
1087
- ), jr = "div", Ur = b(
1025
+ ), Vr = "div", Lr = C(
1088
1026
  function(e) {
1089
1027
  var o = e, {
1090
1028
  store: t,
@@ -1095,34 +1033,34 @@ var He = b(
1095
1033
  "name",
1096
1034
  "getItem"
1097
1035
  ]);
1098
- const c = A();
1099
- t = t || c, I(
1036
+ const c = H();
1037
+ t = t || c, _(
1100
1038
  t,
1101
1039
  process.env.NODE_ENV !== "production" && "FormDescription must be wrapped in a Form component."
1102
1040
  );
1103
- const u = j(a.id), i = B(null), m = `${n}`, v = z(
1104
- (p) => {
1105
- const f = N(d({}, p), {
1106
- id: u || p.id,
1041
+ const u = W(a.id), i = G(null), m = `${n}`, v = z(
1042
+ (f) => {
1043
+ const p = D(d({}, f), {
1044
+ id: u || f.id,
1107
1045
  name: m,
1108
1046
  type: "description"
1109
1047
  });
1110
- return s ? s(f) : f;
1048
+ return s ? s(p) : p;
1111
1049
  },
1112
1050
  [u, m, s]
1113
1051
  );
1114
- return a = N(d({
1052
+ return a = D(d({
1115
1053
  id: u
1116
1054
  }, a), {
1117
- ref: O(i, a.ref)
1118
- }), a = ae(N(d({ store: t }, a), { getItem: v })), a;
1055
+ ref: A(i, a.ref)
1056
+ }), a = se(D(d({ store: t }, a), { getItem: v })), a;
1119
1057
  }
1120
- ), _a = L(
1121
- C(function(e) {
1122
- const o = Ur(e);
1123
- return h(jr, o);
1058
+ ), Ca = V(
1059
+ h(function(e) {
1060
+ const o = Lr(e);
1061
+ return g(Vr, o);
1124
1062
  })
1125
- ), Wr = "div", qr = b(
1063
+ ), Or = "div", Ar = C(
1126
1064
  function(e) {
1127
1065
  var o = e, {
1128
1066
  store: t,
@@ -1133,87 +1071,87 @@ var He = b(
1133
1071
  "name",
1134
1072
  "getItem"
1135
1073
  ]);
1136
- const c = A();
1137
- t = t || c, I(
1074
+ const c = H();
1075
+ t = t || c, _(
1138
1076
  t,
1139
1077
  process.env.NODE_ENV !== "production" && "FormError must be wrapped in a Form component."
1140
1078
  );
1141
- const u = j(a.id), i = B(null), m = `${n}`, v = z(
1142
- (f) => {
1143
- const l = N(d({}, f), { id: u || f.id, name: m, type: "error" });
1079
+ const u = W(a.id), i = G(null), m = `${n}`, v = z(
1080
+ (p) => {
1081
+ const l = D(d({}, p), { id: u || p.id, name: m, type: "error" });
1144
1082
  return s ? s(l) : l;
1145
1083
  },
1146
1084
  [u, m, s]
1147
- ), p = t.useState(() => {
1148
- const f = t == null ? void 0 : t.getError(m);
1149
- if (f != null && t != null && t.getFieldTouched(m))
1150
- return f;
1085
+ ), f = t.useState(() => {
1086
+ const p = t == null ? void 0 : t.getError(m);
1087
+ if (p != null && t != null && t.getFieldTouched(m))
1088
+ return p;
1151
1089
  });
1152
- return a = N(d({
1090
+ return a = D(d({
1153
1091
  id: u,
1154
1092
  role: "alert",
1155
- children: p
1093
+ children: f
1156
1094
  }, a), {
1157
- ref: O(i, a.ref)
1158
- }), a = ae(N(d({ store: t }, a), { getItem: v })), a;
1095
+ ref: A(i, a.ref)
1096
+ }), a = se(D(d({ store: t }, a), { getItem: v })), a;
1159
1097
  }
1160
- ), Ia = L(
1161
- C(function(e) {
1162
- const o = qr(e);
1163
- return h(Wr, o);
1098
+ ), ha = V(
1099
+ h(function(e) {
1100
+ const o = Ar(e);
1101
+ return g(Or, o);
1164
1102
  })
1165
- ), Kr = "input", zr = b(
1103
+ ), Hr = "input", Br = C(
1166
1104
  function(e) {
1167
- return ue(e);
1105
+ return ae(e);
1168
1106
  }
1169
- ), Ma = L(
1170
- C(function(e) {
1171
- const o = zr(e);
1172
- return h(Kr, o);
1107
+ ), ga = V(
1108
+ h(function(e) {
1109
+ const o = Br(e);
1110
+ return g(Hr, o);
1173
1111
  })
1174
- ), Xr = "div", Zr = b(
1112
+ ), Gr = "div", jr = C(
1175
1113
  function(e) {
1176
1114
  var o = e, { store: t } = o, n = k(o, ["store"]);
1177
- return n = to(n), n;
1115
+ return n = Zt(n), n;
1178
1116
  }
1179
- ), wa = C(function(e) {
1180
- const o = Zr(e);
1181
- return h(Xr, o);
1182
- }), Jr = "div", Tt = b(
1117
+ ), xa = h(function(e) {
1118
+ const o = jr(e);
1119
+ return g(Gr, o);
1120
+ }), Ur = "div", Pt = C(
1183
1121
  function(e) {
1184
1122
  var o = e, { store: t } = o, n = k(o, ["store"]);
1185
- return n = oo(n), n;
1123
+ return n = eo(n), n;
1186
1124
  }
1187
- ), $a = C(function(e) {
1188
- const o = Tt(e);
1189
- return h(Jr, o);
1190
- }), Qr = "input", Yr = b(
1125
+ ), Sa = h(function(e) {
1126
+ const o = Pt(e);
1127
+ return g(Ur, o);
1128
+ }), Wr = "input", qr = C(
1191
1129
  function(e) {
1192
1130
  var o = e, { store: t, name: n } = o, s = k(o, ["store", "name"]);
1193
- const a = A();
1194
- t = t || a, I(
1131
+ const a = H();
1132
+ t = t || a, _(
1195
1133
  t,
1196
1134
  process.env.NODE_ENV !== "production" && "FormInput must be wrapped in a Form component."
1197
1135
  );
1198
- const c = `${n}`, u = s.onChange, i = _((v) => {
1136
+ const c = `${n}`, u = s.onChange, i = E((v) => {
1199
1137
  u == null || u(v), !v.defaultPrevented && (t == null || t.setValue(c, v.target.value));
1200
1138
  }), m = t.useValue(c);
1201
- return s = N(d({
1139
+ return s = D(d({
1202
1140
  value: m
1203
1141
  }, s), {
1204
1142
  onChange: i
1205
- }), s = fo(s), s = ue(d({ store: t, name: c }, s)), s;
1143
+ }), s = lo(s), s = ae(d({ store: t, name: c }, s)), s;
1206
1144
  }
1207
- ), Ra = L(
1208
- C(function(e) {
1209
- const o = Yr(e);
1210
- return h(Qr, o);
1145
+ ), Pa = V(
1146
+ h(function(e) {
1147
+ const o = qr(e);
1148
+ return g(Wr, o);
1211
1149
  })
1212
- ), en = "label";
1213
- function tn(r) {
1150
+ ), Kr = "label";
1151
+ function zr(r) {
1214
1152
  return r === "input" || r === "textarea" || r === "select" || r === "meter" || r === "progress";
1215
1153
  }
1216
- var on = b(
1154
+ var Xr = C(
1217
1155
  function(e) {
1218
1156
  var o = e, {
1219
1157
  store: t,
@@ -1224,47 +1162,47 @@ var on = b(
1224
1162
  "name",
1225
1163
  "getItem"
1226
1164
  ]);
1227
- const c = A();
1228
- t = t || c, I(
1165
+ const c = H();
1166
+ t = t || c, _(
1229
1167
  t,
1230
1168
  process.env.NODE_ENV !== "production" && "FormLabel must be wrapped in a Form component."
1231
1169
  );
1232
- const u = j(a.id), i = B(null), m = `${n}`, v = z(
1233
- (S) => {
1234
- const T = N(d({}, S), { id: u || S.id, name: m, type: "label" });
1170
+ const u = W(a.id), i = G(null), m = `${n}`, v = z(
1171
+ (P) => {
1172
+ const T = D(d({}, P), { id: u || P.id, name: m, type: "label" });
1235
1173
  return s ? s(T) : T;
1236
1174
  },
1237
1175
  [u, m, s]
1238
- ), p = t.useState(
1239
- (S) => S.items.find((T) => T.type === "field" && T.name === m)
1240
- ), f = se(p == null ? void 0 : p.element, "input"), l = tn(f), g = a.onClick, x = _((S) => {
1241
- if (g == null || g(S), S.defaultPrevented || l) return;
1242
- const T = p == null ? void 0 : p.element;
1176
+ ), f = t.useState(
1177
+ (P) => P.items.find((T) => T.type === "field" && T.name === m)
1178
+ ), p = ie(f == null ? void 0 : f.element, "input"), l = zr(p), b = a.onClick, x = E((P) => {
1179
+ if (b == null || b(P), P.defaultPrevented || l) return;
1180
+ const T = f == null ? void 0 : f.element;
1243
1181
  T && queueMicrotask(() => {
1244
- const P = Ie(T, !0, !0);
1245
- P == null || P.focus(), (P == null ? void 0 : P.getAttribute("role")) !== "combobox" && (P == null || P.click());
1182
+ const S = Te(T, !0, !0);
1183
+ S == null || S.focus(), (S == null ? void 0 : S.getAttribute("role")) !== "combobox" && (S == null || S.click());
1246
1184
  });
1247
1185
  });
1248
- return a = N(d({
1186
+ return a = D(d({
1249
1187
  id: u,
1250
- render: l ? /* @__PURE__ */ E("label", {}) : /* @__PURE__ */ E("span", {}),
1251
- htmlFor: l ? p == null ? void 0 : p.id : void 0
1188
+ render: l ? /* @__PURE__ */ I("label", {}) : /* @__PURE__ */ I("span", {}),
1189
+ htmlFor: l ? f == null ? void 0 : f.id : void 0
1252
1190
  }, a), {
1253
- ref: O(i, a.ref),
1191
+ ref: A(i, a.ref),
1254
1192
  onClick: x
1255
- }), l || (a = N(d({}, a), {
1193
+ }), l || (a = D(d({}, a), {
1256
1194
  style: d({
1257
1195
  cursor: "default"
1258
1196
  }, a.style)
1259
- })), a = ae(N(d({ store: t }, a), { getItem: v })), a;
1197
+ })), a = se(D(d({ store: t }, a), { getItem: v })), a;
1260
1198
  }
1261
- ), La = L(
1262
- C(function(e) {
1263
- const o = on(e);
1264
- return h(en, o);
1199
+ ), ka = V(
1200
+ h(function(e) {
1201
+ const o = Xr(e);
1202
+ return g(Kr, o);
1265
1203
  })
1266
- ), rn = "button";
1267
- function nn(r, e) {
1204
+ ), Jr = "button";
1205
+ function Qr(r, e) {
1268
1206
  if (!r) return [];
1269
1207
  const o = [];
1270
1208
  for (const t of r) {
@@ -1274,7 +1212,7 @@ function nn(r, e) {
1274
1212
  }
1275
1213
  return o;
1276
1214
  }
1277
- var sn = b(
1215
+ var Yr = C(
1278
1216
  function(e) {
1279
1217
  var o = e, {
1280
1218
  store: t,
@@ -1289,71 +1227,71 @@ var sn = b(
1289
1227
  "getItem",
1290
1228
  "autoFocusOnClick"
1291
1229
  ]);
1292
- const i = A();
1293
- t = t || i, I(
1230
+ const i = H();
1231
+ t = t || i, _(
1294
1232
  t,
1295
1233
  process.env.NODE_ENV !== "production" && "FormPush must be wrapped in a Form component."
1296
1234
  );
1297
- const m = `${s}`, [v, p] = me(!1);
1235
+ const m = `${s}`, [v, f] = de(!1);
1298
1236
  $(() => {
1299
1237
  var x;
1300
1238
  if (!v) return;
1301
- const S = nn(t == null ? void 0 : t.getState().items, m), T = (x = S == null ? void 0 : S[S.length - 1]) == null ? void 0 : x.element;
1302
- T && (T.focus(), p(!1));
1239
+ const P = Qr(t == null ? void 0 : t.getState().items, m), T = (x = P == null ? void 0 : P[P.length - 1]) == null ? void 0 : x.element;
1240
+ T && (T.focus(), f(!1));
1303
1241
  }, [t, v, m]);
1304
- const f = z(
1242
+ const p = z(
1305
1243
  (x) => {
1306
- const S = N(d({}, x), { type: "button", name: m });
1307
- return a ? a(S) : S;
1244
+ const P = D(d({}, x), { type: "button", name: m });
1245
+ return a ? a(P) : P;
1308
1246
  },
1309
1247
  [m, a]
1310
- ), l = u.onClick, g = _((x) => {
1311
- l == null || l(x), !x.defaultPrevented && (t == null || t.pushValue(m, n), c && p(!0));
1248
+ ), l = u.onClick, b = E((x) => {
1249
+ l == null || l(x), !x.defaultPrevented && (t == null || t.pushValue(m, n), c && f(!0));
1312
1250
  });
1313
- return u = N(d({}, u), {
1314
- onClick: g
1315
- }), u = Y(u), u = ae(N(d({ store: t }, u), { getItem: f })), u;
1251
+ return u = D(d({}, u), {
1252
+ onClick: b
1253
+ }), u = re(u), u = se(D(d({ store: t }, u), { getItem: p })), u;
1316
1254
  }
1317
- ), Va = C(function(e) {
1318
- const o = sn(e);
1319
- return h(rn, o);
1320
- }), an = "div", un = b(
1255
+ ), Fa = h(function(e) {
1256
+ const o = Yr(e);
1257
+ return g(Jr, o);
1258
+ }), Zr = "div", en = C(
1321
1259
  function(e) {
1322
1260
  var o = e, { store: t } = o, n = k(o, ["store"]);
1323
- return n = d({ role: "radiogroup" }, n), n = Tt(n), n;
1261
+ return n = d({ role: "radiogroup" }, n), n = Pt(n), n;
1324
1262
  }
1325
- ), Oa = C(function(e) {
1326
- const o = un(e);
1327
- return h(an, o);
1328
- }), cn = "input", ln = b(
1263
+ ), Ta = h(function(e) {
1264
+ const o = en(e);
1265
+ return g(Zr, o);
1266
+ }), tn = "input", on = C(
1329
1267
  function(e) {
1330
1268
  var o = e, { store: t, name: n, value: s } = o, a = k(o, ["store", "name", "value"]);
1331
- const c = A();
1332
- t = t || c, I(
1269
+ const c = H();
1270
+ t = t || c, _(
1333
1271
  t,
1334
1272
  process.env.NODE_ENV !== "production" && "FormRadio must be wrapped in a Form component."
1335
1273
  );
1336
- const u = `${n}`, i = a.onChange, m = _((f) => {
1337
- i == null || i(f), !f.defaultPrevented && (t == null || t.setValue(u, s));
1338
- }), v = a.checked, p = t.useState(
1274
+ const u = `${n}`, i = a.onChange, m = E((p) => {
1275
+ i == null || i(p), !p.defaultPrevented && (t == null || t.setValue(u, s));
1276
+ }), v = a.checked, f = t.useState(
1339
1277
  () => v ?? (t == null ? void 0 : t.getValue(u)) === s
1340
1278
  );
1341
- return a = N(d({}, a), {
1342
- checked: p,
1279
+ return a = D(d({}, a), {
1280
+ checked: f,
1343
1281
  onChange: m
1344
- }), a = Le(d({ value: s }, a)), a = ue(d({
1282
+ }), a = Ie(d({ value: s }, a)), a = ae(d({
1345
1283
  store: t,
1346
1284
  name: u,
1347
1285
  "aria-labelledby": void 0
1348
1286
  }, a)), a;
1349
1287
  }
1350
- ), Ha = L(
1351
- C(function(e) {
1352
- const o = ln(e);
1353
- return h(cn, o);
1288
+ ), Na = V(
1289
+ h(function(e) {
1290
+ const o = on(e);
1291
+ return g(tn, o);
1354
1292
  })
1355
- ), dn = "button";
1356
- function mn(r, e, o) {
1293
+ ), rn = "button";
1294
+ function nn(r, e, o) {
1357
1295
  const t = r == null ? void 0 : r.filter(
1358
1296
  (a) => a.type === "field" && a.name.startsWith(e)
1359
1297
  ), n = new RegExp(`^${e}\\.(\\d+)`), s = t == null ? void 0 : t.find((a) => {
@@ -1365,10 +1303,10 @@ function mn(r, e, o) {
1365
1303
  return Number.parseInt(c) < o;
1366
1304
  }));
1367
1305
  }
1368
- function vn(r, e) {
1306
+ function sn(r, e) {
1369
1307
  return r == null ? void 0 : r.find((o) => o.type === "button" && o.name === e);
1370
1308
  }
1371
- var pn = b(
1309
+ var an = C(
1372
1310
  function(e) {
1373
1311
  var o = e, {
1374
1312
  store: t,
@@ -1381,115 +1319,115 @@ var pn = b(
1381
1319
  "index",
1382
1320
  "autoFocusOnClick"
1383
1321
  ]);
1384
- const u = A();
1385
- t = t || u, I(
1322
+ const u = H();
1323
+ t = t || u, _(
1386
1324
  t,
1387
1325
  process.env.NODE_ENV !== "production" && "FormRemove must be wrapped in a Form component."
1388
1326
  );
1389
- const i = `${n}`, m = c.onClick, v = _((p) => {
1390
- var f;
1391
- if (m == null || m(p), p.defaultPrevented || !t || (t.removeValue(i, s), !a)) return;
1392
- const { items: l } = t.getState(), g = mn(l, i, s), x = g == null ? void 0 : g.element;
1327
+ const i = `${n}`, m = c.onClick, v = E((f) => {
1328
+ var p;
1329
+ if (m == null || m(f), f.defaultPrevented || !t || (t.removeValue(i, s), !a)) return;
1330
+ const { items: l } = t.getState(), b = nn(l, i, s), x = b == null ? void 0 : b.element;
1393
1331
  if (x)
1394
- x.focus(), oe(x) && x.select();
1332
+ x.focus(), ee(x) && x.select();
1395
1333
  else {
1396
- const S = vn(l, i);
1397
- (f = S == null ? void 0 : S.element) == null || f.focus();
1334
+ const P = sn(l, i);
1335
+ (p = P == null ? void 0 : P.element) == null || p.focus();
1398
1336
  }
1399
1337
  });
1400
- return c = N(d({}, c), {
1338
+ return c = D(d({}, c), {
1401
1339
  onClick: v
1402
- }), c = Y(c), c;
1340
+ }), c = re(c), c;
1403
1341
  }
1404
- ), Aa = C(function(e) {
1405
- const o = pn(e);
1406
- return h(dn, o);
1407
- }), fn = "button", bn = b(
1342
+ ), Da = h(function(e) {
1343
+ const o = an(e);
1344
+ return g(rn, o);
1345
+ }), un = "button", cn = C(
1408
1346
  function(e) {
1409
1347
  var o = e, { store: t } = o, n = k(o, ["store"]);
1410
- const s = A();
1411
- return t = t || s, I(
1348
+ const s = H();
1349
+ return t = t || s, _(
1412
1350
  t,
1413
1351
  process.env.NODE_ENV !== "production" && "FormReset must be wrapped in a Form component."
1414
1352
  ), n = d({
1415
1353
  type: "reset",
1416
1354
  disabled: t.useState("submitting")
1417
- }, n), n = Y(n), n;
1355
+ }, n), n = re(n), n;
1418
1356
  }
1419
- ), Ga = C(function(e) {
1420
- const o = bn(e);
1421
- return h(fn, o);
1422
- }), Cn = "button", hn = b(
1357
+ ), ya = h(function(e) {
1358
+ const o = cn(e);
1359
+ return g(un, o);
1360
+ }), ln = "button", dn = C(
1423
1361
  function(e) {
1424
1362
  var o = e, { store: t, accessibleWhenDisabled: n = !0 } = o, s = k(o, ["store", "accessibleWhenDisabled"]);
1425
- const a = A();
1426
- return t = t || a, I(
1363
+ const a = H();
1364
+ return t = t || a, _(
1427
1365
  t,
1428
1366
  process.env.NODE_ENV !== "production" && "FormSubmit must be wrapped in a Form component."
1429
1367
  ), s = d({
1430
1368
  type: "submit",
1431
1369
  disabled: t.useState("submitting")
1432
- }, s), s = Y(N(d({}, s), { accessibleWhenDisabled: n })), s;
1370
+ }, s), s = re(D(d({}, s), { accessibleWhenDisabled: n })), s;
1433
1371
  }
1434
- ), Ba = C(function(e) {
1435
- const o = hn(e);
1436
- return h(Cn, o);
1372
+ ), Ea = h(function(e) {
1373
+ const o = dn(e);
1374
+ return g(ln, o);
1437
1375
  });
1438
- function ja(r = {}) {
1439
- const e = bo(r);
1440
- return /* @__PURE__ */ E(Co, { value: e, children: r.children });
1376
+ function Ia(r = {}) {
1377
+ const e = mo(r);
1378
+ return /* @__PURE__ */ I(vo, { value: e, children: r.children });
1441
1379
  }
1442
- var gn = "div", xn = b(
1380
+ var mn = "div", vn = C(
1443
1381
  function(e) {
1444
1382
  var o = e, { store: t } = o, n = k(o, ["store"]);
1445
- const s = ho();
1383
+ const s = fo();
1446
1384
  return t = t || s, n = at(d({ store: t }, n)), n;
1447
1385
  }
1448
- ), Ua = C(function(e) {
1449
- const o = xn(e);
1450
- return h(gn, o);
1451
- }), Pn = "p", Nt = b(function(e) {
1386
+ ), _a = h(function(e) {
1387
+ const o = vn(e);
1388
+ return g(mn, o);
1389
+ }), fn = "p", kt = C(function(e) {
1452
1390
  return e = bt(e), e;
1453
- }), Wa = C(function(e) {
1454
- const o = Nt(e);
1455
- return h(Pn, o);
1456
- }), Sn = "button", kn = b(function(e) {
1391
+ }), Ma = h(function(e) {
1392
+ const o = kt(e);
1393
+ return g(fn, o);
1394
+ }), pn = "button", bn = C(function(e) {
1457
1395
  var o = e, { store: t } = o, n = k(o, ["store"]);
1458
- const s = go();
1459
- t = t || s, I(
1396
+ const s = po();
1397
+ t = t || s, _(
1460
1398
  t,
1461
1399
  process.env.NODE_ENV !== "production" && "HovercardDisclosure must receive a `store` prop or be wrapped in a HovercardProvider component."
1462
1400
  );
1463
- const [a, c] = me(!1);
1464
- $(() => a ? Ht("focusout", (g) => {
1401
+ const [a, c] = de(!1);
1402
+ $(() => a ? Vt("focusout", (b) => {
1465
1403
  if (!t) return;
1466
- const x = g.relatedTarget;
1404
+ const x = b.relatedTarget;
1467
1405
  if (x) {
1468
1406
  const {
1469
- anchorElement: S,
1407
+ anchorElement: P,
1470
1408
  popoverElement: T,
1471
- disclosureElement: P
1409
+ disclosureElement: S
1472
1410
  } = t.getState();
1473
- if (S && Ce(S, x) || T && Ce(T, x) || P && Ce(P, x) || x.hasAttribute("data-focus-trap")) return;
1411
+ if (P && pe(P, x) || T && pe(T, x) || S && pe(S, x) || x.hasAttribute("data-focus-trap")) return;
1474
1412
  }
1475
1413
  c(!1);
1476
- }, !0) : void 0, [a, t]), $(() => Je(t, ["anchorElement"], (l) => {
1477
- const g = l.anchorElement;
1478
- if (!g) return;
1414
+ }, !0) : void 0, [a, t]), $(() => Ke(t, ["anchorElement"], (l) => {
1415
+ const b = l.anchorElement;
1416
+ if (!b) return;
1479
1417
  const x = new MutationObserver(() => {
1480
- g.hasAttribute("data-focus-visible") && c(!0);
1418
+ b.hasAttribute("data-focus-visible") && c(!0);
1481
1419
  });
1482
- return x.observe(g, { attributeFilter: ["data-focus-visible"] }), () => x.disconnect();
1420
+ return x.observe(b, { attributeFilter: ["data-focus-visible"] }), () => x.disconnect();
1483
1421
  }), [t]);
1484
- const u = n.onClick, i = _((l) => {
1422
+ const u = n.onClick, i = E((l) => {
1485
1423
  u == null || u(l), !l.defaultPrevented && (t == null || t.setAutoFocusOnShow(!0));
1486
- }), m = n.onFocus, v = _((l) => {
1424
+ }), m = n.onFocus, v = E((l) => {
1487
1425
  m == null || m(l), !l.defaultPrevented && c(!0);
1488
- }), { style: p } = uo();
1489
- return a || (n = N(d({}, n), {
1490
- style: d(d({}, p), n.style)
1491
- })), n = N(d({
1492
- children: /* @__PURE__ */ E(
1426
+ }), { style: f } = ro();
1427
+ return a || (n = D(d({}, n), {
1428
+ style: d(d({}, f), n.style)
1429
+ })), n = D(d({
1430
+ children: /* @__PURE__ */ I(
1493
1431
  "svg",
1494
1432
  {
1495
1433
  display: "block",
@@ -1501,138 +1439,138 @@ var gn = "div", xn = b(
1501
1439
  viewBox: "0 0 16 16",
1502
1440
  height: "1em",
1503
1441
  width: "1em",
1504
- children: /* @__PURE__ */ E("polyline", { points: "4,6 8,10 12,6" })
1442
+ children: /* @__PURE__ */ I("polyline", { points: "4,6 8,10 12,6" })
1505
1443
  }
1506
1444
  )
1507
1445
  }, n), {
1508
- ref: O(t.setDisclosureElement, n.ref),
1446
+ ref: A(t.setDisclosureElement, n.ref),
1509
1447
  onClick: i,
1510
1448
  onFocus: v
1511
- }), n = ot(d({ store: t }, n)), n;
1512
- }), qa = C(function(e) {
1513
- const o = kn(e);
1514
- return h(Sn, o);
1515
- }), Fn = "button", Dt = b(
1449
+ }), n = et(d({ store: t }, n)), n;
1450
+ }), wa = h(function(e) {
1451
+ const o = bn(e);
1452
+ return g(pn, o);
1453
+ }), Cn = "button", Ft = C(
1516
1454
  function(e) {
1517
1455
  var o = e, { store: t } = o, n = k(o, ["store"]);
1518
- const s = xo();
1519
- return t = t || s, n = $e(d({ store: t }, n)), n;
1456
+ const s = bo();
1457
+ return t = t || s, n = ye(d({ store: t }, n)), n;
1520
1458
  }
1521
- ), Ka = C(function(e) {
1522
- const o = Dt(e);
1523
- return h(Fn, o);
1524
- }), Tn = "h1", yt = b(
1459
+ ), $a = h(function(e) {
1460
+ const o = Ft(e);
1461
+ return g(Cn, o);
1462
+ }), hn = "h1", Tt = C(
1525
1463
  function(e) {
1526
- return e = Re(e), e;
1464
+ return e = Ee(e), e;
1527
1465
  }
1528
- ), za = C(function(e) {
1529
- const o = yt(e);
1530
- return h(Tn, o);
1466
+ ), Ra = h(function(e) {
1467
+ const o = Tt(e);
1468
+ return g(hn, o);
1531
1469
  });
1532
- function Xa(r = {}) {
1470
+ function Va(r = {}) {
1533
1471
  return $(() => {
1534
1472
  process.env.NODE_ENV !== "production" && console.warn(
1535
1473
  "useMenuBarStore is deprecated. Use useMenubarStore instead.",
1536
1474
  "See https://ariakit.org/reference/use-menubar-store"
1537
1475
  );
1538
- }, []), we(r);
1476
+ }, []), De(r);
1539
1477
  }
1540
- var Nn = "div", Dn = b(
1478
+ var gn = "div", xn = C(
1541
1479
  function(e) {
1542
1480
  return $(() => {
1543
1481
  process.env.NODE_ENV !== "production" && console.warn(
1544
1482
  "MenuBar is deprecated. Use Menubar instead.",
1545
1483
  "See https://ariakit.org/reference/menubar"
1546
1484
  );
1547
- }, []), pt(e);
1485
+ }, []), ft(e);
1548
1486
  }
1549
- ), Za = C(function(e) {
1550
- const o = Dn(e);
1551
- return h(Nn, o);
1487
+ ), La = h(function(e) {
1488
+ const o = xn(e);
1489
+ return g(gn, o);
1552
1490
  });
1553
- function Ja(r = {}) {
1491
+ function Oa(r = {}) {
1554
1492
  return $(() => {
1555
1493
  process.env.NODE_ENV !== "production" && console.warn(
1556
1494
  "MenuBarProvider is deprecated. Use MenubarProvider instead.",
1557
1495
  "See https://ariakit.org/reference/menubar-provider"
1558
1496
  );
1559
- }, []), /* @__PURE__ */ E(Go, d({}, r));
1497
+ }, []), /* @__PURE__ */ I(Lo, d({}, r));
1560
1498
  }
1561
- var yn = "div", En = b(
1499
+ var Sn = "div", Pn = C(
1562
1500
  function(e) {
1563
1501
  var o = e, { store: t } = o, n = k(o, ["store"]);
1564
1502
  const s = ut();
1565
1503
  return t = t || s, at(d({ store: t }, n));
1566
1504
  }
1567
- ), Qa = C(function(e) {
1568
- const o = En(e);
1569
- return h(yn, o);
1570
- }), _n = "span", In = b(
1505
+ ), Aa = h(function(e) {
1506
+ const o = Pn(e);
1507
+ return g(Sn, o);
1508
+ }), kn = "span", Fn = C(
1571
1509
  function(e) {
1572
1510
  var o = e, { store: t } = o, n = k(o, ["store"]);
1573
1511
  const s = ut();
1574
- return t = t || s, n = To(d({ store: t }, n)), n;
1512
+ return t = t || s, n = So(d({ store: t }, n)), n;
1575
1513
  }
1576
- ), Ya = C(function(e) {
1577
- const o = In(e);
1578
- return h(_n, o);
1579
- }), Mn = "p", wn = b(
1514
+ ), Ha = h(function(e) {
1515
+ const o = Fn(e);
1516
+ return g(kn, o);
1517
+ }), Tn = "p", Nn = C(
1580
1518
  function(e) {
1581
- return e = Nt(e), e;
1519
+ return e = kt(e), e;
1582
1520
  }
1583
- ), eu = C(function(e) {
1584
- const o = wn(e);
1585
- return h(Mn, o);
1586
- }), $n = "button", Rn = b(
1521
+ ), Ba = h(function(e) {
1522
+ const o = Nn(e);
1523
+ return g(Tn, o);
1524
+ }), Dn = "button", yn = C(
1587
1525
  function(e) {
1588
1526
  var o = e, { store: t } = o, n = k(o, ["store"]);
1589
- const s = Me();
1590
- return t = t || s, n = Dt(d({ store: t }, n)), n;
1527
+ const s = Ne();
1528
+ return t = t || s, n = Ft(d({ store: t }, n)), n;
1591
1529
  }
1592
- ), tu = C(function(e) {
1593
- const o = Rn(e);
1594
- return h($n, o);
1595
- }), Ln = "div", Vn = b(
1530
+ ), Ga = h(function(e) {
1531
+ const o = yn(e);
1532
+ return g(Dn, o);
1533
+ }), En = "div", In = C(
1596
1534
  function(e) {
1597
- return e = Ee(e), e;
1535
+ return e = nt(e), e;
1598
1536
  }
1599
- ), ou = C(function(e) {
1600
- const o = Vn(e);
1601
- return h(Ln, o);
1602
- }), On = "div", Hn = b(
1537
+ ), ja = h(function(e) {
1538
+ const o = In(e);
1539
+ return g(En, o);
1540
+ }), _n = "div", Mn = C(
1603
1541
  function(e) {
1604
- return e = _e(e), e;
1542
+ return e = st(e), e;
1605
1543
  }
1606
- ), ru = C(function(e) {
1607
- const o = Hn(e);
1608
- return h(On, o);
1609
- }), An = "h1", Gn = b(
1544
+ ), Ua = h(function(e) {
1545
+ const o = Mn(e);
1546
+ return g(_n, o);
1547
+ }), wn = "h1", $n = C(
1610
1548
  function(e) {
1611
- return e = yt(e), e;
1549
+ return e = Tt(e), e;
1612
1550
  }
1613
- ), nu = C(function(e) {
1614
- const o = Gn(e);
1615
- return h(An, o);
1616
- }), Bn = "span", jn = b(
1551
+ ), Wa = h(function(e) {
1552
+ const o = $n(e);
1553
+ return g(wn, o);
1554
+ }), Rn = "span", Vn = C(
1617
1555
  function(e) {
1618
1556
  var o = e, { store: t, checked: n } = o, s = k(o, ["store", "checked"]);
1619
- const a = Z(it);
1620
- return n = n ?? a, s = qe(N(d({}, s), { checked: n })), s;
1557
+ const a = ne(it);
1558
+ return n = n ?? a, s = He(D(d({}, s), { checked: n })), s;
1621
1559
  }
1622
- ), su = C(function(e) {
1623
- const o = jn(e);
1624
- return h(Bn, o);
1625
- }), Un = "div";
1626
- function Wn(r) {
1560
+ ), qa = h(function(e) {
1561
+ const o = Vn(e);
1562
+ return g(Rn, o);
1563
+ }), Ln = "div";
1564
+ function On(r) {
1627
1565
  return Array.isArray(r) ? r.toString() : r;
1628
1566
  }
1629
- function ge(r, e, o) {
1567
+ function Ce(r, e, o) {
1630
1568
  if (e === void 0)
1631
1569
  return Array.isArray(r) ? r : !!o;
1632
- const t = Wn(e);
1570
+ const t = On(e);
1633
1571
  return Array.isArray(r) ? o ? r.includes(t) ? r : [...r, t] : r.filter((n) => n !== t) : o ? t : r === t ? !1 : r;
1634
1572
  }
1635
- var qn = b(
1573
+ var An = C(
1636
1574
  function(e) {
1637
1575
  var o = e, {
1638
1576
  store: t,
@@ -1649,46 +1587,46 @@ var qn = b(
1649
1587
  "defaultChecked",
1650
1588
  "hideOnClick"
1651
1589
  ]);
1652
- const m = Me();
1653
- t = t || m, I(
1590
+ const m = Ne();
1591
+ t = t || m, _(
1654
1592
  t,
1655
1593
  process.env.NODE_ENV !== "production" && "MenuItemCheckbox must be wrapped in a MenuList or Menu component"
1656
1594
  );
1657
- const v = Ne(c);
1595
+ const v = Pe(c);
1658
1596
  $(() => {
1659
- t == null || t.setValue(n, (f = []) => v ? ge(f, s, !0) : f);
1597
+ t == null || t.setValue(n, (p = []) => v ? Ce(p, s, !0) : p);
1660
1598
  }, [t, n, s, v]), $(() => {
1661
- a !== void 0 && (t == null || t.setValue(n, (f) => ge(f, s, a)));
1599
+ a !== void 0 && (t == null || t.setValue(n, (p) => Ce(p, s, a)));
1662
1600
  }, [t, n, s, a]);
1663
- const p = Oe({
1664
- value: t.useState((f) => f.values[n]),
1665
- setValue(f) {
1601
+ const f = Me({
1602
+ value: t.useState((p) => p.values[n]),
1603
+ setValue(p) {
1666
1604
  t == null || t.setValue(n, () => {
1667
- if (a === void 0) return f;
1668
- const l = ge(f, s, a);
1669
- return !Array.isArray(l) || !Array.isArray(f) ? l : At(f, l) ? f : l;
1605
+ if (a === void 0) return p;
1606
+ const l = Ce(p, s, a);
1607
+ return !Array.isArray(l) || !Array.isArray(p) ? l : Lt(p, l) ? p : l;
1670
1608
  });
1671
1609
  }
1672
1610
  });
1673
1611
  return i = d({
1674
1612
  role: "menuitemcheckbox"
1675
- }, i), i = He(d({
1676
- store: p,
1613
+ }, i), i = we(d({
1614
+ store: f,
1677
1615
  name: n,
1678
1616
  value: s,
1679
1617
  checked: a
1680
1618
  }, i)), i = ct(d({ store: t, hideOnClick: u }, i)), i;
1681
1619
  }
1682
- ), au = L(
1683
- C(function(e) {
1684
- const o = qn(e);
1685
- return h(Un, o);
1620
+ ), Ka = V(
1621
+ h(function(e) {
1622
+ const o = An(e);
1623
+ return g(Ln, o);
1686
1624
  })
1687
- ), Kn = "div";
1688
- function xe(r, e, o) {
1625
+ ), Hn = "div";
1626
+ function he(r, e, o) {
1689
1627
  return o === void 0 ? r : o ? e : r;
1690
1628
  }
1691
- var zn = b(
1629
+ var Bn = C(
1692
1630
  function(e) {
1693
1631
  var o = e, {
1694
1632
  store: t,
@@ -1705,64 +1643,64 @@ var zn = b(
1705
1643
  "onChange",
1706
1644
  "hideOnClick"
1707
1645
  ]);
1708
- const m = Me();
1709
- t = t || m, I(
1646
+ const m = Ne();
1647
+ t = t || m, _(
1710
1648
  t,
1711
1649
  process.env.NODE_ENV !== "production" && "MenuItemRadio must be wrapped in a MenuList or Menu component"
1712
1650
  );
1713
- const v = Ne(i.defaultChecked);
1651
+ const v = Pe(i.defaultChecked);
1714
1652
  $(() => {
1715
- t == null || t.setValue(n, (f = !1) => xe(f, s, v));
1653
+ t == null || t.setValue(n, (p = !1) => he(p, s, v));
1716
1654
  }, [t, n, s, v]), $(() => {
1717
- a !== void 0 && (t == null || t.setValue(n, (f) => xe(f, s, a)));
1655
+ a !== void 0 && (t == null || t.setValue(n, (p) => he(p, s, a)));
1718
1656
  }, [t, n, s, a]);
1719
- const p = t.useState((f) => f.values[n] === s);
1657
+ const f = t.useState((p) => p.values[n] === s);
1720
1658
  return i = X(
1721
1659
  i,
1722
- (f) => /* @__PURE__ */ E(it.Provider, { value: !!p, children: f }),
1723
- [p]
1660
+ (p) => /* @__PURE__ */ I(it.Provider, { value: !!f, children: p }),
1661
+ [f]
1724
1662
  ), i = d({
1725
1663
  role: "menuitemradio"
1726
- }, i), i = Le(d({
1664
+ }, i), i = Ie(d({
1727
1665
  name: n,
1728
1666
  value: s,
1729
- checked: p,
1730
- onChange(f) {
1731
- if (c == null || c(f), f.defaultPrevented) return;
1732
- const l = f.currentTarget;
1733
- t == null || t.setValue(n, (g) => xe(g, s, a ?? l.checked));
1667
+ checked: f,
1668
+ onChange(p) {
1669
+ if (c == null || c(p), p.defaultPrevented) return;
1670
+ const l = p.currentTarget;
1671
+ t == null || t.setValue(n, (b) => he(b, s, a ?? l.checked));
1734
1672
  }
1735
1673
  }, i)), i = ct(d({ store: t, hideOnClick: u }, i)), i;
1736
1674
  }
1737
- ), uu = L(
1738
- C(function(e) {
1739
- const o = zn(e);
1740
- return h(Kn, o);
1675
+ ), za = V(
1676
+ h(function(e) {
1677
+ const o = Bn(e);
1678
+ return g(Hn, o);
1741
1679
  })
1742
1680
  );
1743
- function iu(r = {}) {
1744
- const e = Oe(r);
1745
- return /* @__PURE__ */ E(Hr, { value: e, children: r.children });
1681
+ function Xa(r = {}) {
1682
+ const e = Me(r);
1683
+ return /* @__PURE__ */ I(Mr, { value: e, children: r.children });
1746
1684
  }
1747
- var Xn = "div", Zn = b(
1685
+ var Gn = "div", jn = C(
1748
1686
  function(e) {
1749
1687
  var o = e, { store: t } = o, n = k(o, ["store"]);
1750
- const s = Xt();
1688
+ const s = qt();
1751
1689
  return t = t || s, n = X(
1752
1690
  n,
1753
- (a) => /* @__PURE__ */ E(Qe, { value: t, children: a }),
1691
+ (a) => /* @__PURE__ */ I(Je, { value: t, children: a }),
1754
1692
  [t]
1755
- ), W(n);
1693
+ ), U(n);
1756
1694
  }
1757
- ), cu = C(function(e) {
1758
- const o = Zn(e);
1759
- return h(Xn, o);
1695
+ ), Ja = h(function(e) {
1696
+ const o = jn(e);
1697
+ return g(Gn, o);
1760
1698
  });
1761
- function lu(r = {}) {
1762
- const e = Qt(r);
1763
- return /* @__PURE__ */ E(Ye, { value: e, children: r.children });
1699
+ function Qa(r = {}) {
1700
+ const e = Xt(r);
1701
+ return /* @__PURE__ */ I(Qe, { value: e, children: r.children });
1764
1702
  }
1765
- var Jn = "button", Qn = /* @__PURE__ */ De(
1703
+ var Un = "button", Wn = /* @__PURE__ */ Xe(
1766
1704
  "svg",
1767
1705
  {
1768
1706
  "aria-hidden": "true",
@@ -1777,30 +1715,30 @@ var Jn = "button", Qn = /* @__PURE__ */ De(
1777
1715
  height: "1em",
1778
1716
  pointerEvents: "none",
1779
1717
  children: [
1780
- /* @__PURE__ */ E("line", { x1: "5", y1: "5", x2: "11", y2: "11" }),
1781
- /* @__PURE__ */ E("line", { x1: "5", y1: "11", x2: "11", y2: "5" })
1718
+ /* @__PURE__ */ I("line", { x1: "5", y1: "5", x2: "11", y2: "11" }),
1719
+ /* @__PURE__ */ I("line", { x1: "5", y1: "11", x2: "11", y2: "5" })
1782
1720
  ]
1783
1721
  }
1784
- ), Yn = b(
1722
+ ), qn = C(
1785
1723
  function(e) {
1786
1724
  var o = e, { store: t, hideWhenEmpty: n } = o, s = k(o, ["store", "hideWhenEmpty"]);
1787
- const a = ye();
1788
- t = t || a, I(
1725
+ const a = ke();
1726
+ t = t || a, _(
1789
1727
  t,
1790
1728
  process.env.NODE_ENV !== "production" && "ComboboxCancel must receive a `store` prop or be wrapped in a ComboboxProvider component."
1791
1729
  );
1792
- const c = s.onClick, u = _((v) => {
1730
+ const c = s.onClick, u = E((v) => {
1793
1731
  c == null || c(v), !v.defaultPrevented && (t == null || t.setValue(""), t == null || t.move(null));
1794
1732
  }), i = t.useState((v) => {
1795
- var p;
1796
- return (p = v.baseElement) == null ? void 0 : p.id;
1733
+ var f;
1734
+ return (f = v.baseElement) == null ? void 0 : f.id;
1797
1735
  }), m = t.useState((v) => v.value === "");
1798
1736
  return s = X(
1799
1737
  s,
1800
- (v) => n && m ? /* @__PURE__ */ E(Ut, {}) : v,
1738
+ (v) => n && m ? /* @__PURE__ */ I(Bt, {}) : v,
1801
1739
  [n, m]
1802
- ), s = N(d({
1803
- children: Qn,
1740
+ ), s = D(d({
1741
+ children: Wn,
1804
1742
  "aria-label": "Clear input",
1805
1743
  // This aria-controls will ensure the combobox popup remains visible when
1806
1744
  // this element gets focused. This logic is done in the ComboboxPopover
@@ -1808,12 +1746,12 @@ var Jn = "button", Qn = /* @__PURE__ */ De(
1808
1746
  "aria-controls": i
1809
1747
  }, s), {
1810
1748
  onClick: u
1811
- }), s = Y(s), s;
1749
+ }), s = re(s), s;
1812
1750
  }
1813
- ), du = C(function(e) {
1814
- const o = Yn(e);
1815
- return h(Jn, o);
1816
- }), es = "button", ts = /* @__PURE__ */ E(
1751
+ ), Ya = h(function(e) {
1752
+ const o = qn(e);
1753
+ return g(Un, o);
1754
+ }), Kn = "button", zn = /* @__PURE__ */ I(
1817
1755
  "svg",
1818
1756
  {
1819
1757
  "aria-hidden": "true",
@@ -1827,58 +1765,39 @@ var Jn = "button", Qn = /* @__PURE__ */ De(
1827
1765
  height: "1em",
1828
1766
  width: "1em",
1829
1767
  pointerEvents: "none",
1830
- children: /* @__PURE__ */ E("polyline", { points: "4,6 8,10 12,6" })
1768
+ children: /* @__PURE__ */ I("polyline", { points: "4,6 8,10 12,6" })
1831
1769
  }
1832
- ), os = b(function(e) {
1770
+ ), Xn = C(function(e) {
1833
1771
  var o = e, { store: t } = o, n = k(o, ["store"]);
1834
- const s = ye();
1835
- t = t || s, I(
1772
+ const s = ke();
1773
+ t = t || s, _(
1836
1774
  t,
1837
1775
  process.env.NODE_ENV !== "production" && "ComboboxDisclosure must receive a `store` prop or be wrapped in a ComboboxProvider component."
1838
1776
  );
1839
- const a = n.onMouseDown, c = _((v) => {
1777
+ const a = n.onMouseDown, c = E((v) => {
1840
1778
  a == null || a(v), v.preventDefault(), t == null || t.move(null);
1841
- }), u = n.onClick, i = _((v) => {
1779
+ }), u = n.onClick, i = E((v) => {
1842
1780
  if (u == null || u(v), v.defaultPrevented || !t) return;
1843
- const { baseElement: p } = t.getState();
1844
- t.setDisclosureElement(p);
1781
+ const { baseElement: f } = t.getState();
1782
+ t.setDisclosureElement(f);
1845
1783
  }), m = t.useState("open");
1846
- return n = N(d({
1847
- children: ts,
1784
+ return n = D(d({
1785
+ children: zn,
1848
1786
  tabIndex: -1,
1849
1787
  "aria-label": m ? "Hide popup" : "Show popup",
1850
1788
  "aria-expanded": m
1851
1789
  }, n), {
1852
1790
  onMouseDown: c,
1853
1791
  onClick: i
1854
- }), n = ot(d({ store: t }, n)), n;
1855
- }), mu = C(function(e) {
1856
- const o = os(e);
1857
- return h(es, o);
1858
- }), rs = "div", ns = b(function(e) {
1859
- return e = Ee(e), e;
1860
- }), vu = C(function(e) {
1861
- const o = ns(e);
1862
- return h(rs, o);
1863
- }), ss = "div", as = b(
1864
- function(e) {
1865
- var o = e, { store: t } = o, n = k(o, ["store"]);
1866
- const s = ve();
1867
- t = t || s, I(
1868
- t,
1869
- process.env.NODE_ENV !== "production" && "ComboboxRow must be wrapped in a ComboboxList or ComboboxPopover component"
1870
- );
1871
- const a = t.useState("contentElement");
1872
- return Te(a) === "grid" && (n = d({ role: "rowgroup" }, n)), n = _e(d({ store: t }, n)), n;
1873
- }
1874
- ), pu = C(function(e) {
1875
- const o = as(e);
1876
- return h(ss, o);
1877
- }), us = "span";
1878
- function We(r) {
1879
- return Gt(r).toLowerCase();
1792
+ }), n = et(d({ store: t }, n)), n;
1793
+ }), Za = h(function(e) {
1794
+ const o = Xn(e);
1795
+ return g(Kn, o);
1796
+ }), Jn = "span";
1797
+ function Ae(r) {
1798
+ return Ot(r).toLowerCase();
1880
1799
  }
1881
- function is(r, e) {
1800
+ function Qn(r, e) {
1882
1801
  const o = [];
1883
1802
  for (const t of e) {
1884
1803
  let n = 0;
@@ -1890,17 +1809,17 @@ function is(r, e) {
1890
1809
  }
1891
1810
  return o;
1892
1811
  }
1893
- function cs(r) {
1812
+ function Yn(r) {
1894
1813
  return r.filter(([e, o], t, n) => !n.some(
1895
1814
  ([s, a], c) => c !== t && s <= e && s + a >= e + o
1896
1815
  ));
1897
1816
  }
1898
- function ls(r) {
1817
+ function Zn(r) {
1899
1818
  return r.sort(([e], [o]) => e - o);
1900
1819
  }
1901
- function ds(r, e) {
1820
+ function es(r, e) {
1902
1821
  if (!r || !e) return r;
1903
- const o = ro(e).filter(Boolean).map(We), t = [], n = (u, i = !1) => /* @__PURE__ */ E(
1822
+ const o = Yt(e).filter(Boolean).map(Ae), t = [], n = (u, i = !1) => /* @__PURE__ */ I(
1904
1823
  "span",
1905
1824
  {
1906
1825
  "data-autocomplete-value": i ? "" : void 0,
@@ -1908,10 +1827,10 @@ function ds(r, e) {
1908
1827
  children: u
1909
1828
  },
1910
1829
  t.length
1911
- ), s = ls(
1912
- cs(
1830
+ ), s = Zn(
1831
+ Yn(
1913
1832
  // Convert userValues into a set to avoid duplicates
1914
- is(We(r), new Set(o))
1833
+ Qn(Ae(r), new Set(o))
1915
1834
  )
1916
1835
  );
1917
1836
  if (!s.length)
@@ -1921,32 +1840,32 @@ function ds(r, e) {
1921
1840
  r.slice(0, a),
1922
1841
  ...s.flatMap(([u, i], m) => {
1923
1842
  var v;
1924
- const p = r.slice(u, u + i), f = (v = s[m + 1]) == null ? void 0 : v[0], l = r.slice(u + i, f);
1925
- return [p, l];
1843
+ const f = r.slice(u, u + i), p = (v = s[m + 1]) == null ? void 0 : v[0], l = r.slice(u + i, p);
1844
+ return [f, l];
1926
1845
  })
1927
1846
  ].forEach((u, i) => {
1928
1847
  u && t.push(n(u, i % 2 === 0));
1929
1848
  }), t;
1930
1849
  }
1931
- var ms = b(function(e) {
1850
+ var ts = C(function(e) {
1932
1851
  var o = e, { store: t, value: n, userValue: s } = o, a = k(o, ["store", "value", "userValue"]);
1933
- const c = ve();
1852
+ const c = Fe();
1934
1853
  t = t || c;
1935
- const u = Z(Yt), i = n ?? u, m = ce(t, (p) => s ?? (p == null ? void 0 : p.value)), v = de(() => {
1854
+ const u = ne(Jt), i = n ?? u, m = ce(t, (f) => s ?? (f == null ? void 0 : f.value)), v = ze(() => {
1936
1855
  if (i)
1937
- return m ? ds(i, m) : i;
1856
+ return m ? es(i, m) : i;
1938
1857
  }, [i, m]);
1939
1858
  return a = d({
1940
1859
  children: v
1941
- }, a), W(a);
1942
- }), fu = C(function(e) {
1943
- const o = ms(e);
1944
- return h(us, o);
1945
- }), vs = "label", ps = b(
1860
+ }, a), U(a);
1861
+ }), eu = h(function(e) {
1862
+ const o = ts(e);
1863
+ return g(Jn, o);
1864
+ }), os = "label", rs = C(
1946
1865
  function(e) {
1947
1866
  var o = e, { store: t } = o, n = k(o, ["store"]);
1948
- const s = ye();
1949
- t = t || s, I(
1867
+ const s = ke();
1868
+ t = t || s, _(
1950
1869
  t,
1951
1870
  process.env.NODE_ENV !== "production" && "ComboboxLabel must receive a `store` prop or be wrapped in a ComboboxProvider component."
1952
1871
  );
@@ -1956,258 +1875,258 @@ var ms = b(function(e) {
1956
1875
  });
1957
1876
  return n = d({
1958
1877
  htmlFor: a
1959
- }, n), W(n);
1878
+ }, n), U(n);
1960
1879
  }
1961
- ), bu = L(
1962
- C(function(e) {
1963
- const o = ps(e);
1964
- return h(vs, o);
1880
+ ), tu = V(
1881
+ h(function(e) {
1882
+ const o = rs(e);
1883
+ return g(os, o);
1965
1884
  })
1966
- ), fs = "div", bs = b(
1885
+ ), ns = "div", ss = C(
1967
1886
  function(e) {
1968
1887
  var o = e, { store: t } = o, n = k(o, ["store"]);
1969
- const s = ve();
1970
- t = t || s, I(
1888
+ const s = Fe();
1889
+ t = t || s, _(
1971
1890
  t,
1972
1891
  process.env.NODE_ENV !== "production" && "ComboboxRow must be wrapped in a ComboboxList or ComboboxPopover component"
1973
1892
  );
1974
- const a = t.useState("contentElement"), u = Te(a) === "grid" ? "row" : "presentation";
1975
- return n = d({ role: u }, n), n = rt(d({ store: t }, n)), n;
1893
+ const a = t.useState("contentElement"), u = Ue(a) === "grid" ? "row" : "presentation";
1894
+ return n = d({ role: u }, n), n = tt(d({ store: t }, n)), n;
1976
1895
  }
1977
- ), Cu = C(function(e) {
1978
- const o = bs(e);
1979
- return h(fs, o);
1980
- }), Cs = "hr", hs = b(function(e) {
1896
+ ), ou = h(function(e) {
1897
+ const o = ss(e);
1898
+ return g(ns, o);
1899
+ }), as = "hr", us = C(function(e) {
1981
1900
  var o = e, { store: t } = o, n = k(o, ["store"]);
1982
- const s = ve();
1983
- return t = t || s, I(
1901
+ const s = Fe();
1902
+ return t = t || s, _(
1984
1903
  t,
1985
1904
  process.env.NODE_ENV !== "production" && "ComboboxSeparator must be wrapped in a ComboboxList or ComboboxPopover component."
1986
- ), n = nt(d({ store: t }, n)), n;
1987
- }), hu = C(function(e) {
1988
- const o = hs(e);
1989
- return h(Cs, o);
1905
+ ), n = ot(d({ store: t }, n)), n;
1906
+ }), ru = h(function(e) {
1907
+ const o = us(e);
1908
+ return g(as, o);
1990
1909
  });
1991
- function gu({ store: r, children: e } = {}) {
1992
- const o = eo();
1993
- r = r || o, I(
1910
+ function nu({ store: r, children: e } = {}) {
1911
+ const o = Qt();
1912
+ r = r || o, _(
1994
1913
  r,
1995
1914
  process.env.NODE_ENV !== "production" && "ComboboxValue must receive a `store` prop or be wrapped in a ComboboxProvider component."
1996
1915
  );
1997
1916
  const t = r.useState("value");
1998
1917
  return e ? e(t) : t;
1999
1918
  }
2000
- function xu(r = {}) {
2001
- const e = vo(r);
2002
- return /* @__PURE__ */ E(mo, { value: e, children: r.children });
1919
+ function su(r = {}) {
1920
+ const e = io(r);
1921
+ return /* @__PURE__ */ I(so, { value: e, children: r.children });
2003
1922
  }
2004
- var gs = "label", xs = b(
1923
+ var is = "label", cs = C(
2005
1924
  function(e) {
2006
1925
  var o = e, { store: t } = o, n = k(o, ["store"]);
2007
- const s = It();
2008
- t = t || s, I(
1926
+ const s = yt();
1927
+ t = t || s, _(
2009
1928
  t,
2010
1929
  process.env.NODE_ENV !== "production" && "TagListLabel must receive a `store` prop or be wrapped in a TagProvider component."
2011
1930
  );
2012
- const a = j(n.id), c = t.useState((u) => {
1931
+ const a = W(n.id), c = t.useState((u) => {
2013
1932
  var i;
2014
1933
  return (i = u.inputElement) == null ? void 0 : i.id;
2015
1934
  });
2016
- return n = N(d({
1935
+ return n = D(d({
2017
1936
  id: a,
2018
1937
  htmlFor: c
2019
1938
  }, n), {
2020
- ref: O(t.setLabelElement, n.ref)
1939
+ ref: A(t.setLabelElement, n.ref)
2021
1940
  }), n;
2022
1941
  }
2023
- ), Pu = C(function(e) {
2024
- const o = xs(e);
2025
- return h(gs, o);
1942
+ ), au = h(function(e) {
1943
+ const o = cs(e);
1944
+ return g(is, o);
2026
1945
  });
2027
1946
  export {
2028
- ju as Button,
2029
- ya as Checkbox,
2030
- Fu as CheckboxCheck,
2031
- iu as CheckboxProvider,
2032
- cu as Collection,
2033
- Zu as CollectionItem,
2034
- lu as CollectionProvider,
2035
- Lu as Combobox,
2036
- du as ComboboxCancel,
2037
- mu as ComboboxDisclosure,
2038
- pu as ComboboxGroup,
2039
- vu as ComboboxGroupLabel,
2040
- Vu as ComboboxItem,
2041
- Tu as ComboboxItemCheck,
2042
- fu as ComboboxItemValue,
2043
- bu as ComboboxLabel,
2044
- Ou as ComboboxList,
2045
- Hu as ComboboxPopover,
2046
- Au as ComboboxProvider,
2047
- Cu as ComboboxRow,
2048
- hu as ComboboxSeparator,
2049
- gu as ComboboxValue,
2050
- qu as Command,
2051
- fi as Composite,
2052
- ni as CompositeGroup,
2053
- si as CompositeGroupLabel,
2054
- Ci as CompositeHover,
2055
- gi as CompositeItem,
2056
- Pi as CompositeProvider,
2057
- li as CompositeRow,
2058
- mi as CompositeSeparator,
2059
- ki as CompositeTypeahead,
2060
- Ti as Dialog,
2061
- aa as DialogDescription,
2062
- ei as DialogDisclosure,
2063
- ia as DialogDismiss,
2064
- da as DialogHeading,
2065
- xu as DialogProvider,
2066
- Uu as Disclosure,
2067
- Li as DisclosureContent,
2068
- ai as DisclosureProvider,
2069
- ao as FocusTrap,
2070
- Fa as FocusTrapRegion,
2071
- Oi as Focusable,
2072
- Ta as Form,
2073
- Ea as FormCheckbox,
2074
- Da as FormControl,
2075
- _a as FormDescription,
2076
- Ia as FormError,
2077
- Ma as FormField,
2078
- $a as FormGroup,
2079
- wa as FormGroupLabel,
2080
- Ra as FormInput,
2081
- La as FormLabel,
2082
- Na as FormProvider,
2083
- Va as FormPush,
2084
- Ha as FormRadio,
2085
- Oa as FormRadioGroup,
2086
- Aa as FormRemove,
2087
- Ga as FormReset,
2088
- Ba as FormSubmit,
2089
- ui as Group,
2090
- ii as GroupLabel,
2091
- la as Heading,
2092
- Ni as HeadingLevel,
2093
- Ai as Hovercard,
2094
- Gi as HovercardAnchor,
2095
- Ua as HovercardArrow,
2096
- Wa as HovercardDescription,
2097
- qa as HovercardDisclosure,
2098
- Ka as HovercardDismiss,
2099
- za as HovercardHeading,
2100
- ja as HovercardProvider,
2101
- Yi as Menu,
2102
- Qa as MenuArrow,
2103
- Za as MenuBar,
2104
- Ja as MenuBarProvider,
2105
- ec as MenuButton,
2106
- Ya as MenuButtonArrow,
2107
- eu as MenuDescription,
2108
- tu as MenuDismiss,
2109
- ru as MenuGroup,
2110
- ou as MenuGroupLabel,
2111
- nu as MenuHeading,
2112
- Cc as MenuItem,
2113
- su as MenuItemCheck,
2114
- au as MenuItemCheckbox,
2115
- uu as MenuItemRadio,
2116
- tc as MenuList,
2117
- oc as MenuProvider,
2118
- gc as MenuSeparator,
2119
- sa as Menubar,
2120
- Go as MenubarProvider,
2121
- Di as Popover,
2122
- ti as PopoverAnchor,
2123
- ji as PopoverArrow,
2124
- ua as PopoverDescription,
2125
- oi as PopoverDisclosure,
2126
- ic as PopoverDisclosureArrow,
2127
- ca as PopoverDismiss,
2128
- ma as PopoverHeading,
2129
- Pc as PopoverProvider,
2130
- yi as Portal,
2131
- Ei as PortalContext,
2132
- va as Radio,
2133
- fa as RadioGroup,
2134
- pa as RadioProvider,
2135
- _i as Role,
2136
- cc as Select,
2137
- lc as SelectArrow,
2138
- ba as SelectDismiss,
2139
- ha as SelectGroup,
2140
- Ca as SelectGroupLabel,
2141
- ga as SelectHeading,
2142
- dc as SelectItem,
2143
- xa as SelectItemCheck,
2144
- Pa as SelectLabel,
2145
- mc as SelectList,
2146
- vc as SelectPopover,
2147
- pc as SelectProvider,
2148
- Sa as SelectRow,
2149
- ka as SelectSeparator,
2150
- kc as SelectValue,
2151
- vi as Separator,
2152
- Tc as Tab,
2153
- Dc as TabList,
2154
- Ec as TabPanel,
2155
- Ic as TabProvider,
2156
- Nu as Tag,
2157
- Du as TagInput,
2158
- yu as TagList,
2159
- Pu as TagListLabel,
2160
- Eu as TagProvider,
2161
- _u as TagRemove,
2162
- $c as Toolbar,
2163
- ra as ToolbarContainer,
2164
- na as ToolbarInput,
2165
- Lc as ToolbarItem,
2166
- oa as ToolbarProvider,
2167
- Oc as ToolbarSeparator,
2168
- Ui as Tooltip,
2169
- Wi as TooltipAnchor,
2170
- qi as TooltipArrow,
2171
- Ki as TooltipProvider,
2172
- Ii as VisuallyHidden,
2173
- Or as useCheckboxContext,
2174
- Oe as useCheckboxStore,
2175
- zu as useCollectionContext,
2176
- Qt as useCollectionStore,
2177
- eo as useComboboxContext,
2178
- Gu as useComboboxStore,
2179
- qt as useCompositeContext,
2180
- Qu as useCompositeStore,
2181
- wi as useDialogContext,
2182
- vo as useDialogStore,
2183
- $i as useDisclosureContext,
2184
- Ac as useDisclosureStore,
2185
- A as useFormContext,
2186
- yr as useFormStore,
2187
- ho as useHovercardContext,
2188
- bo as useHovercardStore,
2189
- sc as useMenuBarContext,
2190
- Xa as useMenuBarStore,
1947
+ Du as Button,
1948
+ pa as Checkbox,
1949
+ cu as CheckboxCheck,
1950
+ Xa as CheckboxProvider,
1951
+ Ja as Collection,
1952
+ $u as CollectionItem,
1953
+ Qa as CollectionProvider,
1954
+ Su as Combobox,
1955
+ Ya as ComboboxCancel,
1956
+ Za as ComboboxDisclosure,
1957
+ Gu as ComboboxGroup,
1958
+ ju as ComboboxGroupLabel,
1959
+ Pu as ComboboxItem,
1960
+ lu as ComboboxItemCheck,
1961
+ eu as ComboboxItemValue,
1962
+ tu as ComboboxLabel,
1963
+ ku as ComboboxList,
1964
+ Wu as ComboboxPopover,
1965
+ Fu as ComboboxProvider,
1966
+ ou as ComboboxRow,
1967
+ ru as ComboboxSeparator,
1968
+ nu as ComboboxValue,
1969
+ Iu as Command,
1970
+ Yu as Composite,
1971
+ ei as CompositeGroup,
1972
+ ti as CompositeGroupLabel,
1973
+ si as CompositeHover,
1974
+ ui as CompositeItem,
1975
+ ci as CompositeProvider,
1976
+ Ku as CompositeRow,
1977
+ Xu as CompositeSeparator,
1978
+ di as CompositeTypeahead,
1979
+ vi as Dialog,
1980
+ Js as DialogDescription,
1981
+ Ou as DialogDisclosure,
1982
+ Fi as DialogDismiss,
1983
+ Ti as DialogHeading,
1984
+ su as DialogProvider,
1985
+ yu as Disclosure,
1986
+ yi as DisclosureContent,
1987
+ Ii as DisclosureProvider,
1988
+ oo as FocusTrap,
1989
+ da as FocusTrapRegion,
1990
+ Mi as Focusable,
1991
+ ma as Form,
1992
+ ba as FormCheckbox,
1993
+ fa as FormControl,
1994
+ Ca as FormDescription,
1995
+ ha as FormError,
1996
+ ga as FormField,
1997
+ Sa as FormGroup,
1998
+ xa as FormGroupLabel,
1999
+ Pa as FormInput,
2000
+ ka as FormLabel,
2001
+ va as FormProvider,
2002
+ Fa as FormPush,
2003
+ Na as FormRadio,
2004
+ Ta as FormRadioGroup,
2005
+ Da as FormRemove,
2006
+ ya as FormReset,
2007
+ Ea as FormSubmit,
2008
+ oi as Group,
2009
+ ri as GroupLabel,
2010
+ Ni as Heading,
2011
+ fi as HeadingLevel,
2012
+ $i as Hovercard,
2013
+ Ri as HovercardAnchor,
2014
+ _a as HovercardArrow,
2015
+ Ma as HovercardDescription,
2016
+ wa as HovercardDisclosure,
2017
+ $a as HovercardDismiss,
2018
+ Ra as HovercardHeading,
2019
+ Ia as HovercardProvider,
2020
+ Ki as Menu,
2021
+ Aa as MenuArrow,
2022
+ La as MenuBar,
2023
+ Oa as MenuBarProvider,
2024
+ zi as MenuButton,
2025
+ Ha as MenuButtonArrow,
2026
+ Ba as MenuDescription,
2027
+ Ga as MenuDismiss,
2028
+ Ua as MenuGroup,
2029
+ ja as MenuGroupLabel,
2030
+ Wa as MenuHeading,
2031
+ dc as MenuItem,
2032
+ qa as MenuItemCheck,
2033
+ Ka as MenuItemCheckbox,
2034
+ za as MenuItemRadio,
2035
+ Xi as MenuList,
2036
+ Ji as MenuProvider,
2037
+ vc as MenuSeparator,
2038
+ Xs as Menubar,
2039
+ Lo as MenubarProvider,
2040
+ pi as Popover,
2041
+ Au as PopoverAnchor,
2042
+ Li as PopoverArrow,
2043
+ Qs as PopoverDescription,
2044
+ Hu as PopoverDisclosure,
2045
+ oc as PopoverDisclosureArrow,
2046
+ Ys as PopoverDismiss,
2047
+ Zs as PopoverHeading,
2048
+ pc as PopoverProvider,
2049
+ bi as Portal,
2050
+ Ci as PortalContext,
2051
+ ea as Radio,
2052
+ oa as RadioGroup,
2053
+ ta as RadioProvider,
2054
+ hi as Role,
2055
+ rc as Select,
2056
+ nc as SelectArrow,
2057
+ ra as SelectDismiss,
2058
+ sa as SelectGroup,
2059
+ na as SelectGroupLabel,
2060
+ aa as SelectHeading,
2061
+ sc as SelectItem,
2062
+ ua as SelectItemCheck,
2063
+ ia as SelectLabel,
2064
+ ac as SelectList,
2065
+ uc as SelectPopover,
2066
+ ic as SelectProvider,
2067
+ ca as SelectRow,
2068
+ la as SelectSeparator,
2069
+ Cc as SelectValue,
2070
+ Ju as Separator,
2071
+ gc as Tab,
2072
+ Sc as TabList,
2073
+ kc as TabPanel,
2074
+ Tc as TabProvider,
2075
+ du as Tag,
2076
+ mu as TagInput,
2077
+ vu as TagList,
2078
+ au as TagListLabel,
2079
+ fu as TagProvider,
2080
+ pu as TagRemove,
2081
+ yc as Toolbar,
2082
+ Ks as ToolbarContainer,
2083
+ zs as ToolbarInput,
2084
+ Ic as ToolbarItem,
2085
+ qs as ToolbarProvider,
2086
+ Mc as ToolbarSeparator,
2087
+ Oi as Tooltip,
2088
+ Ai as TooltipAnchor,
2089
+ Hi as TooltipArrow,
2090
+ Bi as TooltipProvider,
2091
+ gi as VisuallyHidden,
2092
+ _r as useCheckboxContext,
2093
+ Me as useCheckboxStore,
2094
+ Mu as useCollectionContext,
2095
+ Xt as useCollectionStore,
2096
+ Qt as useComboboxContext,
2097
+ Tu as useComboboxStore,
2098
+ jt as useCompositeContext,
2099
+ Vu as useCompositeStore,
2100
+ Si as useDialogContext,
2101
+ io as useDialogStore,
2102
+ Pi as useDisclosureContext,
2103
+ $c as useDisclosureStore,
2104
+ H as useFormContext,
2105
+ Sr as useFormStore,
2106
+ fo as useHovercardContext,
2107
+ mo as useHovercardStore,
2108
+ Zi as useMenuBarContext,
2109
+ Va as useMenuBarStore,
2191
2110
  ut as useMenuContext,
2192
- rc as useMenuStore,
2193
- ac as useMenubarContext,
2194
- we as useMenubarStore,
2195
- Ji as usePopoverContext,
2196
- Bc as usePopoverStore,
2197
- Qo as useRadioContext,
2198
- Jo as useRadioStore,
2111
+ Qi as useMenuStore,
2112
+ ec as useMenubarContext,
2113
+ De as useMenubarStore,
2114
+ Wi as usePopoverContext,
2115
+ Vc as usePopoverStore,
2116
+ Wo as useRadioContext,
2117
+ Uo as useRadioStore,
2199
2118
  lt as useSelectContext,
2200
- fc as useSelectStore,
2119
+ cc as useSelectStore,
2201
2120
  ce as useStoreState,
2202
- Uc as useTabContext,
2203
- Mc as useTabStore,
2204
- Iu as useTag,
2205
- Mu as useTagInput,
2206
- wu as useTagList,
2207
- xs as useTagListLabel,
2208
- $u as useTagRemove,
2121
+ Oc as useTabContext,
2122
+ Nc as useTabStore,
2123
+ bu as useTag,
2124
+ Cu as useTagInput,
2125
+ hu as useTagList,
2126
+ cs as useTagListLabel,
2127
+ gu as useTagRemove,
2209
2128
  mt as useToolbarContext,
2210
- _o as useToolbarStore,
2211
- zi as useTooltipContext,
2212
- Xi as useTooltipStore
2129
+ No as useToolbarStore,
2130
+ Gi as useTooltipContext,
2131
+ ji as useTooltipStore
2213
2132
  };