@wrdagency/blockout 1.0.34 → 1.0.36

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 (340) hide show
  1. package/dist/{2NBKRL7C-DBbnghCe.js → 2NBKRL7C-CHy8TNQM.js} +20 -20
  2. package/dist/{2RSXSRCN-BxQ_v-Je.js → 2RSXSRCN-DO41jkxy.js} +17 -17
  3. package/dist/{4CMBR7SL-DezfZPUS.js → 4CMBR7SL-eq3_MGhO.js} +30 -30
  4. package/dist/{5JTVDSTH-CZ7mfyUK.js → 5JTVDSTH-Cb-3mCyv.js} +4 -4
  5. package/dist/{5VQZOHHZ-DLX-ulBK.js → 5VQZOHHZ-D1gSZFY3.js} +1 -1
  6. package/dist/{6VRAQV3D-BYmT0QTl.js → 6VRAQV3D-Dzur8C7A.js} +19 -19
  7. package/dist/{A3WPL2ZJ-24tGIJIQ.js → A3WPL2ZJ-BZG8SEll.js} +2 -2
  8. package/dist/{BM6PGYQY-DCbkDr5N.js → BM6PGYQY-CCtFEKyb.js} +4 -4
  9. package/dist/{EM5CXX6A-B4ZS4Hs_.js → EM5CXX6A-DJQcGr5c.js} +2 -2
  10. package/dist/F5MUBM3I-6mXn4Fpb.js +54 -0
  11. package/dist/{G7GW6PWC-Dk4hVbAk.js → G7GW6PWC-BbXlQk2u.js} +106 -106
  12. package/dist/{J2LQO3EC-BXJIaM2U.js → J2LQO3EC-CvdDteYO.js} +7 -7
  13. package/dist/JMHAJKUZ-B_CxAFEI.js +136 -0
  14. package/dist/{KFH4SEIX-DaQeP5D_.js → KFH4SEIX-CEb2cs5b.js} +16 -16
  15. package/dist/{LMDWO4NN-CpSMaD5G.js → LMDWO4NN-5r0-Qq-x.js} +59 -59
  16. package/dist/{MR26YJYP-CTh6rCwA.js → MR26YJYP-ev1_As0E.js} +82 -82
  17. package/dist/{MTZPJQMC-D2i4-LA_.js → MTZPJQMC-CeWFa7M2.js} +2 -2
  18. package/dist/{O2PQ2652-DIoegIkE.js → O2PQ2652-Cf1Ld8NU.js} +11 -11
  19. package/dist/{P7GR5CS5-3RsPGPTy.js → P7GR5CS5-DFBp00bC.js} +3 -5
  20. package/dist/{PFRGBC2K-BdRJd-gU.js → PFRGBC2K-a0iGk9xp.js} +78 -78
  21. package/dist/{RS7LB2H4-COOfOq9w.js → RS7LB2H4-C2VEpoD3.js} +1 -1
  22. package/dist/RZ4GPYOB-2HMGtCSt.js +37 -0
  23. package/dist/{S43UC3DV-HCi6u_G4.js → S43UC3DV-0FmlYtUL.js} +8 -8
  24. package/dist/SquaresFour.es-iDUIyl5P.js +38 -0
  25. package/dist/{TIW3GMFC-BF0w2_9R.js → TIW3GMFC-DwYhiC0Y.js} +18 -18
  26. package/dist/{TP7N7UIH-C4jXJDlO.js → TP7N7UIH-BtuT6Y_M.js} +2 -2
  27. package/dist/{UQQRIHDV-DEGlgATx.js → UQQRIHDV-DtNzoFEE.js} +23 -23
  28. package/dist/{UYGDZTLQ-HiDKLOW5.js → UYGDZTLQ-BBLp-g5T.js} +2 -2
  29. package/dist/{VIIRIBF3-B-djNAU9.js → VIIRIBF3-Ds5aiXIU.js} +5 -5
  30. package/dist/{WMYDSCNQ-pGjWB-Pk.js → WMYDSCNQ-BdMfJmVD.js} +8 -8
  31. package/dist/{WYCIER3C-CxfgpZG_.js → WYCIER3C-eiMqR6-L.js} +4 -4
  32. package/dist/{YORGHBM4-D_fOXG5Y.js → YORGHBM4-DycYf9gS.js} +11 -11
  33. package/dist/{YV4JVR4I-CQnJhUSg.js → YV4JVR4I-BqDRuYuU.js} +60 -60
  34. package/dist/assets/index10.css +1 -1
  35. package/dist/assets/index11.css +1 -1
  36. package/dist/assets/index12.css +1 -1
  37. package/dist/assets/index13.css +1 -1
  38. package/dist/assets/index14.css +1 -1
  39. package/dist/assets/index2.css +1 -1
  40. package/dist/assets/index3.css +1 -1
  41. package/dist/assets/index4.css +1 -1
  42. package/dist/assets/index5.css +1 -1
  43. package/dist/assets/index6.css +1 -1
  44. package/dist/assets/index7.css +1 -1
  45. package/dist/assets/index8.css +1 -1
  46. package/dist/assets/index9.css +1 -1
  47. package/dist/assets/style.css +1 -1
  48. package/dist/assets/style10.css +1 -1
  49. package/dist/assets/style11.css +1 -1
  50. package/dist/assets/style2.css +1 -1
  51. package/dist/assets/style3.css +1 -1
  52. package/dist/assets/style4.css +1 -1
  53. package/dist/assets/style5.css +1 -1
  54. package/dist/assets/style6.css +1 -1
  55. package/dist/assets/style7.css +1 -1
  56. package/dist/assets/style8.css +1 -1
  57. package/dist/assets/style9.css +1 -1
  58. package/dist/assets/styles.css +1 -1
  59. package/dist/{base-jB1DIMnz.js → base-CPhsnNBF.js} +6 -6
  60. package/dist/combobox-popover-C6rwSpgq.js +1116 -0
  61. package/dist/components/avatar/index.js +13 -12
  62. package/dist/components/badge/index.js +9 -8
  63. package/dist/components/breadcrumbs/index.js +20 -19
  64. package/dist/components/button/button.js +12 -28
  65. package/dist/components/button/icon.js +12 -28
  66. package/dist/components/button/index.js +3 -8
  67. package/dist/components/button/row.js +4 -4
  68. package/dist/components/command-palette/dialog.js +8 -31
  69. package/dist/components/command-palette/index.js +3 -8
  70. package/dist/components/command-palette/presets.js +4 -5
  71. package/dist/components/command-palette/static.js +17 -70
  72. package/dist/components/controls/base-control/index.js +2 -3
  73. package/dist/components/controls/base-popover-control/index.js +20 -21
  74. package/dist/components/controls/card-number-control/index.js +1 -1
  75. package/dist/components/controls/checkbox-control/index.js +3 -4
  76. package/dist/components/controls/choice-control/choice.js +22 -22
  77. package/dist/components/controls/choice-control/index.js +1 -1
  78. package/dist/components/controls/date-control/index.js +16 -17
  79. package/dist/components/controls/date-control/picker.js +8 -9
  80. package/dist/components/controls/index.js +21 -22
  81. package/dist/components/controls/list-control/index.js +1 -1
  82. package/dist/components/controls/list-control/item.js +19 -18
  83. package/dist/components/controls/list-control/list.js +2 -2
  84. package/dist/components/controls/markdown-control/editor.js +3 -3
  85. package/dist/components/controls/markdown-control/index.js +1 -1
  86. package/dist/components/controls/markdown-control/slash/base.js +1 -1
  87. package/dist/components/controls/markdown-control/slash/mentions.js +1 -1
  88. package/dist/components/controls/markdown-control/toolbar.js +2 -2
  89. package/dist/components/controls/number-control/index.js +1 -1
  90. package/dist/components/controls/password-control/index.js +1 -1
  91. package/dist/components/controls/recurrence-control/index.d.ts +5 -2
  92. package/dist/components/controls/recurrence-control/index.js +69 -72
  93. package/dist/components/controls/select-control/control.js +8 -49
  94. package/dist/components/controls/select-control/index.js +3 -4
  95. package/dist/components/controls/select-control/props.d.ts +1 -0
  96. package/dist/components/controls/select-control/select.js +23 -166
  97. package/dist/components/controls/tag-control/ariakit-experimental.js +550 -558
  98. package/dist/components/controls/tag-control/index.js +32 -36
  99. package/dist/components/controls/tag-control/props.js +14 -13
  100. package/dist/components/controls/text-control/index.js +1 -1
  101. package/dist/components/controls/textarea-control/index.js +1 -1
  102. package/dist/components/controls/toggle-control/index.js +8 -8
  103. package/dist/components/controls/toggle-group-control/index.js +8 -8
  104. package/dist/components/dashboard/context.d.ts +15 -0
  105. package/dist/components/dashboard/context.js +6 -0
  106. package/dist/components/dashboard/grid.d.ts +9 -0
  107. package/dist/components/dashboard/grid.js +123 -0
  108. package/dist/components/dashboard/index.d.ts +2 -0
  109. package/dist/components/dashboard/index.js +6 -0
  110. package/dist/components/dashboard/item.d.ts +9 -0
  111. package/dist/components/dashboard/item.js +5268 -0
  112. package/dist/components/dashboard/types.d.ts +8 -0
  113. package/dist/components/dashboard/types.js +1 -0
  114. package/dist/components/data-form/autosave.js +3 -3
  115. package/dist/components/data-form/index.js +5 -12
  116. package/dist/components/data-form/status.js +14 -32
  117. package/dist/components/data-form/submit.js +13 -31
  118. package/dist/components/data-view/api.js +1 -1
  119. package/dist/components/data-view/data/apply.js +139 -296
  120. package/dist/components/data-view/data/filter.js +21 -35
  121. package/dist/components/data-view/data/layout.js +9 -13
  122. package/dist/components/data-view/data/options.js +82 -114
  123. package/dist/components/data-view/index.js +1 -1
  124. package/dist/components/data-view/layouts/grid/empty.js +1 -1
  125. package/dist/components/data-view/layouts/grid/group.js +15 -42
  126. package/dist/components/data-view/layouts/grid/index.js +4 -6
  127. package/dist/components/data-view/layouts/grid/item.js +17 -87
  128. package/dist/components/data-view/layouts/grid/root.js +1 -1
  129. package/dist/components/data-view/layouts/kanban/empty.js +2 -3
  130. package/dist/components/data-view/layouts/kanban/group.js +16 -43
  131. package/dist/components/data-view/layouts/kanban/index.js +3 -6
  132. package/dist/components/data-view/layouts/kanban/item.js +17 -87
  133. package/dist/components/data-view/layouts/kanban/root.js +13 -13
  134. package/dist/components/data-view/layouts/list/empty.js +1 -1
  135. package/dist/components/data-view/layouts/list/group.js +15 -42
  136. package/dist/components/data-view/layouts/list/index.js +4 -6
  137. package/dist/components/data-view/layouts/list/item.js +17 -66
  138. package/dist/components/data-view/layouts/list/root.js +1 -1
  139. package/dist/components/data-view/layouts/table/empty.js +15 -41
  140. package/dist/components/data-view/layouts/table/group.js +15 -61
  141. package/dist/components/data-view/layouts/table/index.js +2 -6
  142. package/dist/components/data-view/layouts/table/item.js +17 -67
  143. package/dist/components/data-view/layouts/table/root.js +17 -122
  144. package/dist/components/data-view/layouts/tile/empty.js +1 -1
  145. package/dist/components/data-view/layouts/tile/group.js +15 -42
  146. package/dist/components/data-view/layouts/tile/index.js +4 -6
  147. package/dist/components/data-view/layouts/tile/item.js +17 -69
  148. package/dist/components/data-view/layouts/tile/root.js +1 -1
  149. package/dist/components/data-view/parts/body/empty.js +13 -12
  150. package/dist/components/data-view/parts/body/index.js +20 -37
  151. package/dist/components/data-view/parts/controls/index.js +54 -73
  152. package/dist/components/data-view/parts/controls/search.js +24 -44
  153. package/dist/components/data-view/parts/filters/chip.js +14 -49
  154. package/dist/components/data-view/parts/filters/editor.js +17 -79
  155. package/dist/components/data-view/parts/filters/index.js +2 -7
  156. package/dist/components/data-view/parts/filters/list.js +6 -72
  157. package/dist/components/data-view/parts/footer/actions.js +33 -52
  158. package/dist/components/data-view/parts/footer/index.js +15 -33
  159. package/dist/components/data-view/parts/footer/selection.js +14 -32
  160. package/dist/components/data-view/parts/index.js +3 -3
  161. package/dist/components/data-view/parts/view-control/index.js +44 -60
  162. package/dist/components/data-view/root.js +18 -38
  163. package/dist/components/data-view/slots/group/checkbox.js +13 -28
  164. package/dist/components/data-view/slots/group/context.js +5 -21
  165. package/dist/components/data-view/slots/group/header.js +3 -10
  166. package/dist/components/data-view/slots/group/icon.js +2 -2
  167. package/dist/components/data-view/slots/group/index.js +2 -4
  168. package/dist/components/data-view/slots/group/label.js +1 -1
  169. package/dist/components/data-view/slots/index.js +4 -6
  170. package/dist/components/data-view/slots/item/actions.js +6 -28
  171. package/dist/components/data-view/slots/item/checkbox.js +17 -77
  172. package/dist/components/data-view/slots/item/depth.js +2 -4
  173. package/dist/components/data-view/slots/item/description.js +1 -1
  174. package/dist/components/data-view/slots/item/index.js +2 -5
  175. package/dist/components/data-view/slots/item/properties.js +2 -3
  176. package/dist/components/data-view/slots/item/relations.js +7 -9
  177. package/dist/components/data-view/slots/item/tags.js +2 -3
  178. package/dist/components/data-view/slots/item/thumbnail.js +2 -2
  179. package/dist/components/data-view/slots/item/title.js +8 -8
  180. package/dist/components/data-view/slots/item/util.js +2 -3
  181. package/dist/components/data-view/slots/property/field/editable.js +14 -29
  182. package/dist/components/data-view/slots/property/field/index.js +2 -3
  183. package/dist/components/data-view/slots/property/field/static.js +1 -1
  184. package/dist/components/data-view/slots/property/index.js +2 -2
  185. package/dist/components/data-view/slots/property/label.js +1 -1
  186. package/dist/components/data-view/slots/root/checkbox.js +13 -27
  187. package/dist/components/data-view/slots/root/index.js +1 -1
  188. package/dist/components/dialog/index.js +32 -33
  189. package/dist/components/filesystem/file.js +5 -5
  190. package/dist/components/filesystem/folder.js +5 -5
  191. package/dist/components/filesystem/icon.js +3 -863
  192. package/dist/components/filesystem/index.js +2 -2
  193. package/dist/components/filesystem/list.js +1 -1
  194. package/dist/components/filesystem/root.js +1 -1
  195. package/dist/components/form/components/index.js +7 -16
  196. package/dist/components/form/components/pagination.js +5 -106
  197. package/dist/components/form/components/progress.js +4 -19
  198. package/dist/components/form/index.js +1 -1
  199. package/dist/components/index.d.ts +1 -0
  200. package/dist/components/index.js +65 -73
  201. package/dist/components/menu/index.d.ts +10 -1
  202. package/dist/components/menu/index.js +9 -45
  203. package/dist/components/menu/item.js +1 -1
  204. package/dist/components/menu/items/action.js +1 -1
  205. package/dist/components/menu/items/spacer.js +1 -1
  206. package/dist/components/menu/items/submenu.js +4 -5
  207. package/dist/components/menu/items/toggle.js +1 -1
  208. package/dist/components/pagination/index.js +8 -8
  209. package/dist/components/progress/index.js +12 -50
  210. package/dist/components/shell/context.js +1 -1
  211. package/dist/components/shell/index.js +6 -16
  212. package/dist/components/shell/navigation.js +5 -49
  213. package/dist/components/shell/pane.js +13 -26
  214. package/dist/components/shell/sidebar-item.js +13 -45
  215. package/dist/components/tabs/index.js +1 -1
  216. package/dist/components/tabs/list.js +1 -1
  217. package/dist/components/tabs/panel.js +1 -1
  218. package/dist/components/tabs/root.js +1 -1
  219. package/dist/components/tabs/tab.js +1 -1
  220. package/dist/components/tag/index.js +2 -6
  221. package/dist/components/tag/list.js +4 -8
  222. package/dist/components/tag/tag.js +12 -20
  223. package/dist/components/toolbar/divider.js +1 -1
  224. package/dist/components/toolbar/index.js +6 -15
  225. package/dist/components/toolbar/root.js +1 -1
  226. package/dist/components/window/index.js +20 -20
  227. package/dist/{composite-provider-BPIeS4Cg.js → composite-provider-DlANhpbV.js} +2 -2
  228. package/dist/{disclosure-provider-cEVysvZT.js → disclosure-provider-Whga0UAw.js} +2 -2
  229. package/dist/filter-ClQxRPQl.js +120 -0
  230. package/dist/hooks/state.js +1 -1
  231. package/dist/hooks/theme.js +1 -1
  232. package/dist/icon-D6VWNg1e.js +909 -0
  233. package/dist/index-CcV1laBm.js +10 -0
  234. package/dist/{sortable.esm-BuV7eW2H.js → index-CrDFDRMM.js} +1247 -1089
  235. package/dist/{index-D7vLJIGX.js → index-D0xboB4V.js} +2 -2
  236. package/dist/index.js +140 -141
  237. package/dist/item-BHwNOBly.js +91 -0
  238. package/dist/menu-button-C7Wtq_Ny.js +488 -0
  239. package/dist/{menu-separator-Z6pSHpX5.js → menu-separator-1CpNYvfe.js} +3 -3
  240. package/dist/{picker-DyJogHYh.js → picker-BHIm3Cmb.js} +31 -32
  241. package/dist/{popover-provider-BJEfhgr1.js → popover-provider-DsS2XUBC.js} +2 -2
  242. package/dist/{presets-BDIhXP0C.js → presets-DevAa76r.js} +9 -10
  243. package/dist/primitives/colourway/index.js +8 -9
  244. package/dist/primitives/context-menu/index.d.ts +7 -0
  245. package/dist/primitives/context-menu/index.js +37 -0
  246. package/dist/primitives/icon-label/index.js +18 -19
  247. package/dist/primitives/index.d.ts +1 -0
  248. package/dist/primitives/index.js +34 -32
  249. package/dist/primitives/link/index.js +5 -6
  250. package/dist/primitives/nav-link/index.js +6 -7
  251. package/dist/primitives/popover/index.js +1 -1
  252. package/dist/primitives/popover/root.js +1 -1
  253. package/dist/primitives/popover/target.js +1 -1
  254. package/dist/primitives/popover/window.js +9 -9
  255. package/dist/primitives/resizable/index.d.ts +9 -2
  256. package/dist/primitives/resizable/index.js +120 -62
  257. package/dist/primitives/scroll-area/index.js +1 -1
  258. package/dist/primitives/tooltip/index.js +9 -10
  259. package/dist/primitives/truncate/index.d.ts +3 -2
  260. package/dist/primitives/truncate/index.js +30 -24
  261. package/dist/primitives/typography/heading.js +1 -1
  262. package/dist/primitives/typography/paragraph.js +1 -1
  263. package/dist/primitives/visually-hidden/index.js +6 -7
  264. package/dist/{style-CWAa57kN.js → style-DH642ww9.js} +1 -1
  265. package/dist/style-nHUEFY3u.js +4229 -0
  266. package/dist/{tab-DejwS4C8.js → tab-Cz1Iy2-6.js} +7 -7
  267. package/dist/{tab-list-CndMWcVv.js → tab-list-C-qZAxsl.js} +9 -9
  268. package/dist/{tab-panel-DedzuWUA.js → tab-panel-BaWZ3QU6.js} +11 -11
  269. package/dist/tab-provider-BqxRaJtd.js +170 -0
  270. package/dist/{tag-remove-Dz-sGbyZ.js → tag-remove-BgRiBB8K.js} +59 -59
  271. package/dist/{toolbar-PSaF1mdF.js → toolbar-BlMTPulL.js} +23 -23
  272. package/dist/{toolbar-CCiZ_PIy.js → toolbar-jAQLS8tL.js} +1 -1
  273. package/dist/toolbar-separator-ehmZmA72.js +16 -0
  274. package/dist/{tooltip-arrow-BVwULA6B.js → tooltip-arrow-gMwnY9fV.js} +47 -47
  275. package/dist/utils/index.d.ts +1 -0
  276. package/dist/utils/index.js +20 -14
  277. package/dist/utils/math.d.ts +5 -0
  278. package/dist/utils/math.js +11 -0
  279. package/package.json +2 -1
  280. package/dist/CaretRight.es-vnr78BGI.js +0 -32
  281. package/dist/Circle.es-B6Ug9Tpf.js +0 -30
  282. package/dist/DG5U6ZEL-DB0iwihy.js +0 -17
  283. package/dist/DotsThreeVertical.es-uadrGk3y.js +0 -36
  284. package/dist/F5MUBM3I-75qY3y0N.js +0 -54
  285. package/dist/IWEFDH56-BACkQ6dc.js +0 -19
  286. package/dist/IconBase.es-rM5tt24D.js +0 -48
  287. package/dist/JMHAJKUZ-D5KCN1Aj.js +0 -114
  288. package/dist/MAXQOH4L-BYWBWXpb.js +0 -459
  289. package/dist/MagnifyingGlass.es-CLstwG_v.js +0 -32
  290. package/dist/Plus.es-DJ5SuqNv.js +0 -38
  291. package/dist/RZ4GPYOB-CovncfhJ.js +0 -37
  292. package/dist/RadioButton.es-D3QVjfF9.js +0 -36
  293. package/dist/T7VMP3TM-C8D6mVva.js +0 -77
  294. package/dist/X.es-TbGOnXOO.js +0 -38
  295. package/dist/assets/button.css +0 -1
  296. package/dist/assets/index15.css +0 -1
  297. package/dist/assets/index16.css +0 -1
  298. package/dist/assets/index17.css +0 -1
  299. package/dist/assets/index18.css +0 -1
  300. package/dist/assets/index19.css +0 -1
  301. package/dist/assets/index20.css +0 -1
  302. package/dist/assets/index21.css +0 -1
  303. package/dist/assets/prosemirror.css +0 -1
  304. package/dist/assets/root.css +0 -1
  305. package/dist/assets/static.css +0 -1
  306. package/dist/assets/style12.css +0 -1
  307. package/dist/assets/style13.css +0 -1
  308. package/dist/assets/style14.css +0 -1
  309. package/dist/assets/style15.css +0 -1
  310. package/dist/assets/style16.css +0 -1
  311. package/dist/assets/style17.css +0 -1
  312. package/dist/assets/style18.css +0 -1
  313. package/dist/assets/style19.css +0 -1
  314. package/dist/assets/style20.css +0 -1
  315. package/dist/assets/style21.css +0 -1
  316. package/dist/assets/style23.css +0 -1
  317. package/dist/assets/style24.css +0 -1
  318. package/dist/assets/style25.css +0 -1
  319. package/dist/assets/style26.css +0 -1
  320. package/dist/assets/style27.css +0 -1
  321. package/dist/assets/style28.css +0 -1
  322. package/dist/assets/styles2.css +0 -1
  323. package/dist/assets/styles3.css +0 -1
  324. package/dist/assets/styles4.css +0 -1
  325. package/dist/assets/styles5.css +0 -1
  326. package/dist/combobox-group-hNvv1WJm.js +0 -27
  327. package/dist/combobox-popover-BZ_1wNrj.js +0 -95
  328. package/dist/filter-DHK0UoZG.js +0 -134
  329. package/dist/index-BLCPauyN.js +0 -76
  330. package/dist/index-BnbjJBS4.js +0 -252
  331. package/dist/index-CLl-PPjx.js +0 -56
  332. package/dist/item-CCOXuQUx.js +0 -62
  333. package/dist/match-sorter.esm-MNVE8H_6.js +0 -670
  334. package/dist/menu-button-GQO5dB3U.js +0 -416
  335. package/dist/select-popover-CGgkyRb4.js +0 -559
  336. package/dist/select-value-B3DYk9eV.js +0 -15
  337. package/dist/style-D1AX7G7x.js +0 -1735
  338. package/dist/tab-provider-B0BoLfST.js +0 -158
  339. package/dist/toolbar-separator-DJHiHbGj.js +0 -16
  340. /package/dist/assets/{style22.css → empty.css} +0 -0
@@ -1,15 +1,15 @@
1
1
  import { createContext as ze, useRef as q, useContext as Ye, useState as Q, useEffect as C, useCallback as $e, useMemo as Ot, isValidElement as Ft } from "react";
2
- import { c as ue, m as x, o as y, f as K, a as ne, _ as Me, n as ct, b as N, aj as Qe, D as F, l as ee, a1 as be, a0 as Xe, a2 as re, P as j, Z as Dt, e as Ce, a6 as At, ad as lt, ah as Tt, ak as Rt, a9 as Ne, a3 as ft, q as $t, g as dt, A as Ct, j as Ve, J as Mt, x as _t, i as pt } from "./LMDWO4NN-CpSMaD5G.js";
3
- import { c as He, d as et, r as Nt, e as Vt, F as Ht, i as Lt, g as It, j as kt, k as ye, u as Bt, l as qt } from "./PFRGBC2K-BdRJd-gU.js";
2
+ import { c as ue, k as x, m as y, f as K, a as ne, _ as Me, l as ct, b as N, aj as Qe, C as F, j as ee, Z as be, Y as Xe, $ as re, K as W, W as Dt, e as Ce, ah as At, a7 as lt, ad as Tt, ak as Rt, ab as Ne, a1 as ft, q as $t, g as dt, B as Ct, h as Ve, G as Mt, z as _t, i as pt } from "./LMDWO4NN-5r0-Qq-x.js";
3
+ import { c as He, d as et, r as Nt, e as Vt, F as Ht, i as Lt, g as It, j as kt, k as ye, u as Bt, l as qt } from "./PFRGBC2K-a0iGk9xp.js";
4
4
  import { r as Be } from "./index-Cgx3BqdJ.js";
5
5
  import { jsx as E, jsxs as Te, Fragment as Re } from "react/jsx-runtime";
6
- import { a as te, d as jt } from "./YV4JVR4I-CQnJhUSg.js";
7
- import { u as vt, i as Wt } from "./KFH4SEIX-DaQeP5D_.js";
8
- import { u as zt } from "./WYCIER3C-CxfgpZG_.js";
9
- import { u as Yt } from "./BM6PGYQY-DCbkDr5N.js";
10
- import { e as Ke, D as Xt, d as Kt, f as Ut } from "./RS7LB2H4-COOfOq9w.js";
11
- import { b as mt, a as Gt } from "./MTZPJQMC-D2i4-LA_.js";
12
- import { a as Jt, c as Zt, o as Qt, f as er, s as tr, b as rr, d as nr, l as or } from "./floating-ui.dom-2MezWvgs.js";
6
+ import { a as te, d as Wt } from "./YV4JVR4I-BqDRuYuU.js";
7
+ import { u as vt, i as jt } from "./KFH4SEIX-CEb2cs5b.js";
8
+ import { u as zt } from "./WYCIER3C-eiMqR6-L.js";
9
+ import { a as Yt } from "./BM6PGYQY-CCtFEKyb.js";
10
+ import { e as Ke, D as Xt, d as Kt, f as Ut } from "./RS7LB2H4-C2VEpoD3.js";
11
+ import { b as mt, a as Gt } from "./MTZPJQMC-CeWFa7M2.js";
12
+ import { a as Zt, c as Jt, o as Qt, f as er, s as tr, b as rr, d as nr, l as or } from "./floating-ui.dom-2MezWvgs.js";
13
13
  var tt = ze(null), sr = "span", gt = ue(
14
14
  function(t) {
15
15
  return t = x(y({}, t), {
@@ -57,7 +57,7 @@ function lr(e, t) {
57
57
  function fr(e = "id") {
58
58
  return `${e ? `${e}-` : ""}${Math.random().toString(36).slice(2, 8)}`;
59
59
  }
60
- function Z(e) {
60
+ function J(e) {
61
61
  queueMicrotask(() => {
62
62
  e == null || e.focus();
63
63
  });
@@ -141,7 +141,7 @@ var ht = ue(function(t) {
141
141
  "data-focus-trap": a.id,
142
142
  className: "__focus-trap-inner-before",
143
143
  onFocus: (g) => {
144
- be(g, f) ? Z(He()) : Z(I.current);
144
+ be(g, f) ? J(He()) : J(I.current);
145
145
  }
146
146
  }
147
147
  ),
@@ -153,7 +153,7 @@ var ht = ue(function(t) {
153
153
  "data-focus-trap": a.id,
154
154
  className: "__focus-trap-inner-after",
155
155
  onFocus: (g) => {
156
- be(g, f) ? Z(et()) : Z(A.current);
156
+ be(g, f) ? J(et()) : J(A.current);
157
157
  }
158
158
  }
159
159
  )
@@ -166,7 +166,7 @@ var ht = ue(function(t) {
166
166
  "data-focus-trap": a.id,
167
167
  className: "__focus-trap-outer-before",
168
168
  onFocus: (g) => {
169
- !(g.relatedTarget === A.current) && be(g, f) ? Z(M.current) : Z(et());
169
+ !(g.relatedTarget === A.current) && be(g, f) ? J(M.current) : J(et());
170
170
  }
171
171
  }
172
172
  ),
@@ -181,7 +181,7 @@ var ht = ue(function(t) {
181
181
  className: "__focus-trap-outer-after",
182
182
  onFocus: (g) => {
183
183
  if (be(g, f))
184
- Z(_.current);
184
+ J(_.current);
185
185
  else {
186
186
  const p = He();
187
187
  if (p === M.current) {
@@ -191,7 +191,7 @@ var ht = ue(function(t) {
191
191
  });
192
192
  return;
193
193
  }
194
- Z(p);
194
+ J(p);
195
195
  }
196
196
  }
197
197
  }
@@ -311,11 +311,11 @@ function gr(e, t, n) {
311
311
  };
312
312
  }
313
313
  var hr = ["SCRIPT", "STYLE"];
314
- function je(e) {
314
+ function We(e) {
315
315
  return `__ariakit-dialog-snapshot-${e}`;
316
316
  }
317
317
  function br(e, t) {
318
- const n = F(t), r = je(e);
318
+ const n = F(t), r = We(e);
319
319
  if (!n.body[r]) return !0;
320
320
  do {
321
321
  if (t === n.body) return !1;
@@ -326,7 +326,7 @@ function br(e, t) {
326
326
  }
327
327
  function yr(e, t, n) {
328
328
  return hr.includes(t.tagName) || !br(e, t) ? !1 : !n.some(
329
- (r) => r && j(t, r)
329
+ (r) => r && W(t, r)
330
330
  );
331
331
  }
332
332
  function Ge(e, t, n, r) {
@@ -344,8 +344,8 @@ function Ge(e, t, n, r) {
344
344
  function Er(e, t) {
345
345
  const { body: n } = F(t[0]), r = [];
346
346
  return Ge(e, t, (s) => {
347
- r.push(ie(s, je(e), !0));
348
- }), re(ie(n, je(e), !0), () => {
347
+ r.push(ie(s, We(e), !0));
348
+ }), re(ie(n, We(e), !0), () => {
349
349
  for (const s of r)
350
350
  s();
351
351
  });
@@ -358,7 +358,7 @@ function yt(e, ...t) {
358
358
  function pe(e = "", t = !1) {
359
359
  return `__ariakit-dialog-${t ? "ancestor" : "outside"}${e ? `-${e}` : ""}`;
360
360
  }
361
- function Pr(e, t = "") {
361
+ function wr(e, t = "") {
362
362
  return re(
363
363
  ie(e, pe(), !0),
364
364
  ie(e, pe(t), !0)
@@ -370,7 +370,7 @@ function Et(e, t = "") {
370
370
  ie(e, pe(t, !0), !0)
371
371
  );
372
372
  }
373
- function Je(e, t) {
373
+ function Ze(e, t) {
374
374
  const n = pe(t, !0);
375
375
  if (e[n]) return !0;
376
376
  const r = pe(t);
@@ -386,7 +386,7 @@ function nt(e, t) {
386
386
  e,
387
387
  t,
388
388
  (s) => {
389
- yt(s, ...r) || n.unshift(Pr(s, e));
389
+ yt(s, ...r) || n.unshift(wr(s, e));
390
390
  },
391
391
  (s, u) => {
392
392
  u.hasAttribute("data-dialog") && u.id !== e || n.unshift(Et(s, e));
@@ -396,17 +396,17 @@ function nt(e, t) {
396
396
  s();
397
397
  };
398
398
  }
399
- function wr(e) {
400
- return e.tagName === "HTML" ? !0 : j(F(e).body, e);
399
+ function Pr(e) {
400
+ return e.tagName === "HTML" ? !0 : W(F(e).body, e);
401
401
  }
402
402
  function xr(e, t) {
403
403
  if (!e) return !1;
404
- if (j(e, t)) return !0;
404
+ if (W(e, t)) return !0;
405
405
  const n = t.getAttribute("aria-activedescendant");
406
406
  if (n) {
407
407
  const r = F(e).getElementById(n);
408
408
  if (r)
409
- return j(e, r);
409
+ return W(e, r);
410
410
  }
411
411
  return !1;
412
412
  }
@@ -433,7 +433,7 @@ function Ie({
433
433
  return a.addEventListener("focusin", m, !0), () => a.removeEventListener("focusin", m, !0);
434
434
  }, [e, u, o]), C(() => u ? Xe(t, (m) => {
435
435
  const { contentElement: b, disclosureElement: D } = e.getState(), f = m.target;
436
- !b || !f || !wr(f) || j(b, f) || xr(D, f) || f.hasAttribute("data-focus-trap") || Sr(m, b) || i.current && !Je(f, b.id) || Lt(f) || s(m);
436
+ !b || !f || !Pr(f) || W(b, f) || xr(D, f) || f.hasAttribute("data-focus-trap") || Sr(m, b) || i.current && !Ze(f, b.id) || Lt(f) || s(m);
437
437
  }, r) : void 0, [u, r]);
438
438
  }
439
439
  function ke(e, t) {
@@ -445,7 +445,7 @@ function Or(e, t, n) {
445
445
  type: "click",
446
446
  listener: (u) => {
447
447
  const { contentElement: i } = e.getState(), a = o.current;
448
- a && Dt(a) && Je(a, i == null ? void 0 : i.id) && ke(t, u) && e.hide();
448
+ a && Dt(a) && Ze(a, i == null ? void 0 : i.id) && ke(t, u) && e.hide();
449
449
  }
450
450
  })), Ie(x(y({}, s), {
451
451
  type: "focusin",
@@ -471,7 +471,7 @@ function Fr(e) {
471
471
  },
472
472
  [t]
473
473
  );
474
- N(() => jt(e, ["open", "contentElement"], (i) => {
474
+ N(() => Wt(e, ["open", "contentElement"], (i) => {
475
475
  var a;
476
476
  if (i.open && i.contentElement)
477
477
  return (a = t.add) == null ? void 0 : a.call(t, e);
@@ -547,18 +547,18 @@ function Rr(e, ...t) {
547
547
  const n = e.getAttribute("data-focus-trap");
548
548
  return n == null ? !1 : t.length ? n === "" ? !1 : t.some((r) => n === r) : !0;
549
549
  }
550
- function Pt() {
550
+ function wt() {
551
551
  return "inert" in HTMLElement.prototype;
552
552
  }
553
553
  function $r(e) {
554
554
  return Ue(e, "aria-hidden", "true");
555
555
  }
556
- function wt(e, t) {
556
+ function Pt(e, t) {
557
557
  if (!("style" in e)) return Ne;
558
- if (Pt())
558
+ if (wt())
559
559
  return ie(e, "inert", !0);
560
560
  const r = It(e, !0).map((o) => {
561
- if (t != null && t.some((u) => u && j(u, o))) return Ne;
561
+ if (t != null && t.some((u) => u && W(u, o))) return Ne;
562
562
  const s = Ee(o, "focus", () => (o.focus = Ne, () => {
563
563
  delete o.focus;
564
564
  }));
@@ -580,10 +580,10 @@ function Cr(e, t) {
580
580
  e,
581
581
  t,
582
582
  (s) => {
583
- yt(s, ...r) || Rr(s, ...r) || n.unshift(wt(s, t));
583
+ yt(s, ...r) || Rr(s, ...r) || n.unshift(Pt(s, t));
584
584
  },
585
585
  (s) => {
586
- s.hasAttribute("role") && (t.some((u) => u && j(u, s)) || n.unshift(Ue(s, "role", "none")));
586
+ s.hasAttribute("role") && (t.some((u) => u && W(u, s)) || n.unshift(Ue(s, "role", "none")));
587
587
  }
588
588
  ), () => {
589
589
  for (const s of n)
@@ -624,14 +624,14 @@ ue(
624
624
  return t;
625
625
  }
626
626
  );
627
- var We = K(
627
+ var je = K(
628
628
  // @ts-expect-error
629
629
  function(t) {
630
630
  return ne(Mr, t);
631
631
  }
632
632
  );
633
633
  Object.assign(
634
- We,
634
+ je,
635
635
  _r.reduce((e, t) => (e[t] = K(function(r) {
636
636
  return ne(t, r);
637
637
  }), e), {})
@@ -670,14 +670,14 @@ function Nr({
670
670
  });
671
671
  if (!t) return null;
672
672
  if (Ft(t))
673
- return /* @__PURE__ */ E(We, x(y({}, i), { render: t }));
673
+ return /* @__PURE__ */ E(je, x(y({}, i), { render: t }));
674
674
  const a = typeof t != "boolean" ? t : "div";
675
- return /* @__PURE__ */ E(We, x(y({}, i), { render: /* @__PURE__ */ E(a, {}) }));
675
+ return /* @__PURE__ */ E(je, x(y({}, i), { render: /* @__PURE__ */ E(a, {}) }));
676
676
  }
677
677
  var Vr = "div", st = _t();
678
678
  function Hr(e) {
679
679
  const t = dt();
680
- return !t || e && j(e, t) ? !1 : !!ye(t);
680
+ return !t || e && W(e, t) ? !1 : !!ye(t);
681
681
  }
682
682
  function it(e, t = !1) {
683
683
  if (!e) return null;
@@ -729,30 +729,30 @@ var xt = ue(function(t) {
729
729
  if (c) return;
730
730
  const v = g.current;
731
731
  if (!v) return;
732
- const w = new Event("close", { bubbles: !1, cancelable: !0 });
733
- s && v.addEventListener("close", s, { once: !0 }), v.dispatchEvent(w), w.defaultPrevented && p.setOpen(!0);
732
+ const P = new Event("close", { bubbles: !1, cancelable: !0 });
733
+ s && v.addEventListener("close", s, { once: !0 }), v.dispatchEvent(P), P.defaultPrevented && p.setOpen(!0);
734
734
  }
735
735
  }), { portalRef: U, domReady: S } = ft(a, l.portalRef), O = l.preserveTabOrder, G = te(
736
736
  p,
737
737
  (c) => O && !i && c.mounted
738
- ), T = $t(l.id), P = te(p, "open"), R = te(p, "mounted"), k = te(p, "contentElement"), Pe = Wt(R, l.hidden, l.alwaysVisible);
739
- Tr(k, T, V && !Pe), Or(p, D, S);
740
- const { wrapElement: ae, nestedDialogs: we } = Fr(p);
738
+ ), T = $t(l.id), w = te(p, "open"), R = te(p, "mounted"), k = te(p, "contentElement"), we = jt(R, l.hidden, l.alwaysVisible);
739
+ Tr(k, T, V && !we), Or(p, D, S);
740
+ const { wrapElement: ae, nestedDialogs: Pe } = Fr(p);
741
741
  l = ee(l, ae, [ae]), N(() => {
742
- if (!P) return;
742
+ if (!w) return;
743
743
  const c = g.current, v = dt(c, !0);
744
- v && v.tagName !== "BODY" && (c && j(c, v) || p.setDisclosureElement(v));
745
- }, [p, P]), st && C(() => {
744
+ v && v.tagName !== "BODY" && (c && W(c, v) || p.setDisclosureElement(v));
745
+ }, [p, w]), st && C(() => {
746
746
  if (!R) return;
747
747
  const { disclosureElement: c } = p.getState();
748
748
  if (!c || !Ct(c)) return;
749
749
  const v = () => {
750
- let w = !1;
750
+ let P = !1;
751
751
  const h = () => {
752
- w = !0;
752
+ P = !0;
753
753
  }, $ = { capture: !0, once: !0 };
754
754
  c.addEventListener("focusin", h, $), Mt(c, "mouseup", () => {
755
- c.removeEventListener("focusin", h, !0), !w && qt(c);
755
+ c.removeEventListener("focusin", h, !0), !P && qt(c);
756
756
  });
757
757
  };
758
758
  return c.addEventListener("mousedown", v), () => {
@@ -762,13 +762,13 @@ var xt = ue(function(t) {
762
762
  if (!R || !S) return;
763
763
  const c = g.current;
764
764
  if (!c) return;
765
- const v = lt(c), w = v.visualViewport || v, h = () => {
765
+ const v = lt(c), P = v.visualViewport || v, h = () => {
766
766
  var $, Y;
767
767
  const he = (Y = ($ = v.visualViewport) == null ? void 0 : $.height) != null ? Y : v.innerHeight;
768
768
  c.style.setProperty("--dialog-viewport-height", `${he}px`);
769
769
  };
770
- return h(), w.addEventListener("resize", h), () => {
771
- w.removeEventListener("resize", h);
770
+ return h(), P.addEventListener("resize", h), () => {
771
+ P.removeEventListener("resize", h);
772
772
  };
773
773
  }, [R, S]), C(() => {
774
774
  if (!i || !R || !S) return;
@@ -776,24 +776,24 @@ var xt = ue(function(t) {
776
776
  if (!(!c || c.querySelector("[data-dialog-dismiss]")))
777
777
  return vr(c, p.hide);
778
778
  }, [p, i, R, S]), N(() => {
779
- if (!Pt() || P || !R || !S) return;
779
+ if (!wt() || w || !R || !S) return;
780
780
  const c = g.current;
781
781
  if (c)
782
- return wt(c);
783
- }, [P, R, S]);
784
- const J = P && S;
782
+ return Pt(c);
783
+ }, [w, R, S]);
784
+ const Z = w && S;
785
785
  N(() => {
786
- if (!T || !J) return;
786
+ if (!T || !Z) return;
787
787
  const c = g.current;
788
788
  return Er(T, [c]);
789
- }, [T, J, A]);
789
+ }, [T, Z, A]);
790
790
  const ve = Ce(f);
791
791
  N(() => {
792
- if (!T || !J) return;
793
- const { disclosureElement: c } = p.getState(), v = g.current, w = ve() || [], h = [
792
+ if (!T || !Z) return;
793
+ const { disclosureElement: c } = p.getState(), v = g.current, P = ve() || [], h = [
794
794
  v,
795
- ...w,
796
- ...we.map(($) => $.getState().contentElement)
795
+ ...P,
796
+ ...Pe.map(($) => $.getState().contentElement)
797
797
  ];
798
798
  return i ? re(
799
799
  nt(T, h),
@@ -802,15 +802,15 @@ var xt = ue(function(t) {
802
802
  }, [
803
803
  T,
804
804
  p,
805
- J,
805
+ Z,
806
806
  ve,
807
- we,
807
+ Pe,
808
808
  i,
809
809
  A
810
810
  ]);
811
811
  const me = !!H, ge = Ve(H), [xe, B] = Q(!1);
812
812
  C(() => {
813
- if (!P || !me || !S || !(k != null && k.isConnected)) return;
813
+ if (!w || !me || !S || !(k != null && k.isConnected)) return;
814
814
  const c = it(I, !0) || // If no initial focus is specified, we try to focus the first element
815
815
  // with the autofocus attribute. If it's an Ariakit component, the
816
816
  // Focusable component will consume the autoFocus prop and add the
@@ -827,7 +827,7 @@ var xt = ue(function(t) {
827
827
  c.focus(), st && v && c.scrollIntoView({ block: "nearest", inline: "nearest" });
828
828
  }));
829
829
  }, [
830
- P,
830
+ w,
831
831
  me,
832
832
  S,
833
833
  k,
@@ -836,16 +836,16 @@ var xt = ue(function(t) {
836
836
  G,
837
837
  ge
838
838
  ]);
839
- const W = !!L, _e = Ve(L), [ce, X] = Q(!1);
839
+ const j = !!L, _e = Ve(L), [ce, X] = Q(!1);
840
840
  C(() => {
841
- if (P)
841
+ if (w)
842
842
  return X(!0), () => X(!1);
843
- }, [P]);
843
+ }, [w]);
844
844
  const oe = $e(
845
845
  (c, v = !0) => {
846
- const { disclosureElement: w } = p.getState();
846
+ const { disclosureElement: P } = p.getState();
847
847
  if (Hr(c)) return;
848
- let h = it(M) || w;
848
+ let h = it(M) || P;
849
849
  if (h != null && h.id) {
850
850
  const Y = F(h), he = `[aria-activedescendant="${h.id}"]`, De = Y.querySelector(he);
851
851
  De && (h = De);
@@ -853,8 +853,8 @@ var xt = ue(function(t) {
853
853
  if (h && !ye(h)) {
854
854
  const Y = h.closest("[data-dialog]");
855
855
  if (Y != null && Y.id) {
856
- const he = F(Y), De = `[aria-controls~="${Y.id}"]`, Ze = he.querySelector(De);
857
- Ze && (h = Ze);
856
+ const he = F(Y), De = `[aria-controls~="${Y.id}"]`, Je = he.querySelector(De);
857
+ Je && (h = Je);
858
858
  }
859
859
  }
860
860
  const $ = h && ye(h);
@@ -867,11 +867,11 @@ var xt = ue(function(t) {
867
867
  [p, M, _e]
868
868
  ), z = q(!1);
869
869
  N(() => {
870
- if (P || !ce || !W) return;
870
+ if (w || !ce || !j) return;
871
871
  const c = g.current;
872
872
  z.current = !0, oe(c);
873
- }, [P, ce, S, W, oe]), C(() => {
874
- if (!ce || !W) return;
873
+ }, [w, ce, S, j, oe]), C(() => {
874
+ if (!ce || !j) return;
875
875
  const c = g.current;
876
876
  return () => {
877
877
  if (z.current) {
@@ -880,16 +880,16 @@ var xt = ue(function(t) {
880
880
  }
881
881
  oe(c);
882
882
  };
883
- }, [ce, W, oe]);
883
+ }, [ce, j, oe]);
884
884
  const Se = Ve(b);
885
885
  C(() => !S || !R ? void 0 : Xe("keydown", (v) => {
886
886
  if (v.key !== "Escape" || v.defaultPrevented) return;
887
- const w = g.current;
888
- if (!w || Je(w)) return;
887
+ const P = g.current;
888
+ if (!P || Ze(P)) return;
889
889
  const h = v.target;
890
890
  if (!h) return;
891
891
  const { disclosureElement: $ } = p.getState();
892
- !!(h.tagName === "BODY" || j(w, h) || !$ || j($, h)) && Se(v) && p.hide();
892
+ !!(h.tagName === "BODY" || W(P, h) || !$ || W($, h)) && Se(v) && p.hide();
893
893
  }, !0), [p, S, R, Se]), l = ee(
894
894
  l,
895
895
  (c) => /* @__PURE__ */ E(dr, { level: i ? 1 : void 0, children: c }),
@@ -993,7 +993,7 @@ function qr(e, t) {
993
993
  };
994
994
  });
995
995
  }
996
- function jr(e) {
996
+ function Wr(e) {
997
997
  if (e.flip === !1) return;
998
998
  const t = typeof e.flip == "string" ? e.flip.split(" ") : void 0;
999
999
  return pt(
@@ -1004,7 +1004,7 @@ function jr(e) {
1004
1004
  fallbackPlacements: t
1005
1005
  });
1006
1006
  }
1007
- function Wr(e) {
1007
+ function jr(e) {
1008
1008
  if (!(!e.slide && !e.overlap))
1009
1009
  return tr({
1010
1010
  mainAxis: e.slide,
@@ -1084,27 +1084,27 @@ var Xr = ue(
1084
1084
  r,
1085
1085
  process.env.NODE_ENV !== "production" && "Popover must receive a `store` prop or be wrapped in a PopoverProvider component."
1086
1086
  );
1087
- const p = r.useState("arrowElement"), U = r.useState("anchorElement"), S = r.useState("disclosureElement"), O = r.useState("popoverElement"), G = r.useState("contentElement"), T = r.useState("placement"), P = r.useState("mounted"), R = r.useState("rendered"), k = q(null), [Pe, ae] = Q(!1), { portalRef: we, domReady: J } = ft(s, d.portalRef), ve = Ce(A), me = Ce(l), ge = !!l;
1087
+ const p = r.useState("arrowElement"), U = r.useState("anchorElement"), S = r.useState("disclosureElement"), O = r.useState("popoverElement"), G = r.useState("contentElement"), T = r.useState("placement"), w = r.useState("mounted"), R = r.useState("rendered"), k = q(null), [we, ae] = Q(!1), { portalRef: Pe, domReady: Z } = ft(s, d.portalRef), ve = Ce(A), me = Ce(l), ge = !!l;
1088
1088
  N(() => {
1089
1089
  if (!(O != null && O.isConnected)) return;
1090
1090
  O.style.setProperty(
1091
1091
  "--popover-overflow-padding",
1092
1092
  `${_}px`
1093
1093
  );
1094
- const B = kr(U, ve), W = async () => {
1095
- if (!P) return;
1094
+ const B = kr(U, ve), j = async () => {
1095
+ if (!w) return;
1096
1096
  p || (k.current = k.current || document.createElement("div"));
1097
1097
  const X = p || k.current, oe = [
1098
1098
  qr(X, { gutter: I, shift: D }),
1099
- jr({ flip: b, overflowPadding: _ }),
1100
- Wr({ slide: f, overlap: V, overflowPadding: _ }),
1099
+ Wr({ flip: b, overflowPadding: _ }),
1100
+ jr({ slide: f, overlap: V, overflowPadding: _ }),
1101
1101
  Yr(X, { arrowPadding: M }),
1102
1102
  zr({
1103
1103
  sameWidth: H,
1104
1104
  fitViewport: L,
1105
1105
  overflowPadding: _
1106
1106
  })
1107
- ], z = await Zt(B, O, {
1107
+ ], z = await Jt(B, O, {
1108
1108
  placement: T,
1109
1109
  strategy: m ? "fixed" : "absolute",
1110
1110
  middleware: oe
@@ -1131,8 +1131,8 @@ var Xr = ue(
1131
1131
  [Fe]: "100%"
1132
1132
  });
1133
1133
  }
1134
- }, ce = Jt(B, O, async () => {
1135
- ge ? (await me({ updatePosition: W }), ae(!0)) : await W();
1134
+ }, ce = Zt(B, O, async () => {
1135
+ ge ? (await me({ updatePosition: j }), ae(!0)) : await j();
1136
1136
  }, {
1137
1137
  // JSDOM doesn't support ResizeObserver
1138
1138
  elementResize: typeof ResizeObserver == "function"
@@ -1148,8 +1148,8 @@ var Xr = ue(
1148
1148
  U,
1149
1149
  O,
1150
1150
  T,
1151
- P,
1152
- J,
1151
+ w,
1152
+ Z,
1153
1153
  m,
1154
1154
  b,
1155
1155
  D,
@@ -1164,16 +1164,16 @@ var Xr = ue(
1164
1164
  ge,
1165
1165
  me
1166
1166
  ]), N(() => {
1167
- if (!P || !J || !(O != null && O.isConnected) || !(G != null && G.isConnected)) return;
1167
+ if (!w || !Z || !(O != null && O.isConnected) || !(G != null && G.isConnected)) return;
1168
1168
  const B = () => {
1169
1169
  O.style.zIndex = getComputedStyle(G).zIndex;
1170
1170
  };
1171
1171
  B();
1172
- let W = requestAnimationFrame(() => {
1173
- W = requestAnimationFrame(B);
1172
+ let j = requestAnimationFrame(() => {
1173
+ j = requestAnimationFrame(B);
1174
1174
  });
1175
- return () => cancelAnimationFrame(W);
1176
- }, [P, J, O, G]);
1175
+ return () => cancelAnimationFrame(j);
1176
+ }, [w, Z, O, G]);
1177
1177
  const xe = m ? "fixed" : "absolute";
1178
1178
  return d = ee(
1179
1179
  d,
@@ -1201,7 +1201,7 @@ var Xr = ue(
1201
1201
  // we can wait for the popover to be positioned before other components
1202
1202
  // move focus into it. For example, this attribute is observed by the
1203
1203
  // Combobox component with the autoSelect behavior.
1204
- "data-placing": !Pe || void 0
1204
+ "data-placing": !we || void 0
1205
1205
  }, d), {
1206
1206
  style: y({
1207
1207
  position: "relative"
@@ -1212,9 +1212,9 @@ var Xr = ue(
1212
1212
  portal: s,
1213
1213
  preserveTabOrder: u,
1214
1214
  preserveTabOrderAnchor: S || U,
1215
- autoFocusOnShow: Pe && i
1215
+ autoFocusOnShow: we && i
1216
1216
  }, d), {
1217
- portalRef: we
1217
+ portalRef: Pe
1218
1218
  })), d;
1219
1219
  }
1220
1220
  ), ln = St(
@@ -1228,10 +1228,10 @@ export {
1228
1228
  cn as D,
1229
1229
  Ae as F,
1230
1230
  rt as H,
1231
- ln as P,
1232
- We as R,
1231
+ an as P,
1232
+ je as R,
1233
1233
  un as V,
1234
- an as a,
1234
+ ln as a,
1235
1235
  gt as b,
1236
1236
  St as c,
1237
1237
  dr as d,
@@ -1,8 +1,8 @@
1
- import { a as d, b as v } from "./P7GR5CS5-3RsPGPTy.js";
2
- import { f as l, c as C, a as f, _ as w, i as R, q as _, l as b, o as E, r as x } from "./LMDWO4NN-CpSMaD5G.js";
1
+ import { a as d, b as v } from "./P7GR5CS5-DFBp00bC.js";
2
+ import { f as C, c as f, a as l, _ as w, i as R, q as _, j as b, m as E, r as x } from "./LMDWO4NN-5r0-Qq-x.js";
3
3
  import { useMemo as S } from "react";
4
4
  import { jsx as V } from "react/jsx-runtime";
5
- var z = "div", N = C(
5
+ var j = "div", z = f(
6
6
  function(t) {
7
7
  var o = t, {
8
8
  store: s,
@@ -30,11 +30,11 @@ var z = "div", N = C(
30
30
  [p]
31
31
  ), e = E({ id: a }, e), x(e);
32
32
  }
33
- ), g = l(function(t) {
34
- const o = N(t);
35
- return f(z, o);
33
+ ), g = C(function(t) {
34
+ const o = z(t);
35
+ return l(j, o);
36
36
  });
37
37
  export {
38
38
  g as C,
39
- N as u
39
+ z as u
40
40
  };