@gv-tech/ui-web 2.28.0 → 2.29.1

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 (603) hide show
  1. package/dist/__contracts.d.ts +44 -2
  2. package/dist/__contracts.d.ts.map +1 -1
  3. package/dist/accordion-D5QXSsCK.mjs +248 -0
  4. package/dist/accordion-DjyDOX-h.js +1 -0
  5. package/dist/accordion.cjs +1 -1
  6. package/dist/accordion.d.ts +5 -5
  7. package/dist/accordion.d.ts.map +1 -1
  8. package/dist/accordion.mjs +1 -1
  9. package/dist/alert-dialog-B-a0Wa1M.mjs +182 -0
  10. package/dist/alert-dialog-DYQAhGBC.js +1 -0
  11. package/dist/alert-dialog.cjs +1 -1
  12. package/dist/alert-dialog.d.ts +13 -13
  13. package/dist/alert-dialog.d.ts.map +1 -1
  14. package/dist/alert-dialog.mjs +1 -1
  15. package/dist/alert.cjs +1 -1
  16. package/dist/alert.d.ts +5 -5
  17. package/dist/alert.d.ts.map +1 -1
  18. package/dist/alert.mjs +4 -4
  19. package/dist/aspect-ratio-C-KOOyGP.js +1 -0
  20. package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-s7Ji1MSr.mjs} +10 -9
  21. package/dist/aspect-ratio.cjs +1 -1
  22. package/dist/aspect-ratio.d.ts +2 -2
  23. package/dist/aspect-ratio.d.ts.map +1 -1
  24. package/dist/aspect-ratio.mjs +1 -1
  25. package/dist/attachment.cjs +1 -0
  26. package/dist/attachment.d.ts +23 -0
  27. package/dist/attachment.d.ts.map +1 -0
  28. package/dist/attachment.mjs +101 -0
  29. package/dist/attachment.test.d.ts +2 -0
  30. package/dist/attachment.test.d.ts.map +1 -0
  31. package/dist/avatar-4K3XjhP8.js +1 -0
  32. package/dist/avatar-d8Di248f.mjs +138 -0
  33. package/dist/avatar.cjs +1 -1
  34. package/dist/avatar.d.ts +7 -7
  35. package/dist/avatar.d.ts.map +1 -1
  36. package/dist/avatar.mjs +1 -1
  37. package/dist/badge.cjs +1 -1
  38. package/dist/badge.d.ts +2 -2
  39. package/dist/badge.d.ts.map +1 -1
  40. package/dist/badge.mjs +2 -2
  41. package/dist/breadcrumb.cjs +1 -1
  42. package/dist/breadcrumb.d.ts +7 -7
  43. package/dist/breadcrumb.d.ts.map +1 -1
  44. package/dist/breadcrumb.mjs +25 -27
  45. package/dist/bubble.cjs +1 -0
  46. package/dist/bubble.d.ts +13 -0
  47. package/dist/bubble.d.ts.map +1 -0
  48. package/dist/bubble.mjs +72 -0
  49. package/dist/bubble.test.d.ts +2 -0
  50. package/dist/bubble.test.d.ts.map +1 -0
  51. package/dist/button-group.cjs +1 -1
  52. package/dist/button-group.d.ts +4 -4
  53. package/dist/button-group.d.ts.map +1 -1
  54. package/dist/button-group.mjs +7 -8
  55. package/dist/button.cjs +1 -1
  56. package/dist/button.d.ts +2 -2
  57. package/dist/button.d.ts.map +1 -1
  58. package/dist/button.mjs +7 -7
  59. package/dist/calendar-DFj14O6r.js +1 -0
  60. package/dist/{calendar-Dg6VGycy.mjs → calendar-UW8h9dfh.mjs} +870 -842
  61. package/dist/calendar.cjs +1 -1
  62. package/dist/calendar.d.ts +3 -3
  63. package/dist/calendar.d.ts.map +1 -1
  64. package/dist/calendar.mjs +1 -1
  65. package/dist/card.cjs +1 -1
  66. package/dist/card.d.ts +7 -7
  67. package/dist/card.d.ts.map +1 -1
  68. package/dist/card.mjs +5 -5
  69. package/dist/carousel-CNGpg5df.js +1 -0
  70. package/dist/{carousel-DbDoNdqJ.mjs → carousel-DG9xGJns.mjs} +53 -55
  71. package/dist/carousel.cjs +1 -1
  72. package/dist/carousel.d.ts +6 -6
  73. package/dist/carousel.d.ts.map +1 -1
  74. package/dist/carousel.mjs +1 -1
  75. package/dist/chart.cjs +1 -1
  76. package/dist/chart.d.ts +4 -4
  77. package/dist/chart.d.ts.map +1 -1
  78. package/dist/chart.mjs +1 -1
  79. package/dist/checkbox-BCgbTAdU.js +1 -0
  80. package/dist/checkbox-Dq8VHKDH.mjs +186 -0
  81. package/dist/checkbox.cjs +1 -1
  82. package/dist/checkbox.d.ts +2 -2
  83. package/dist/checkbox.d.ts.map +1 -1
  84. package/dist/checkbox.mjs +1 -1
  85. package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
  86. package/dist/chunk-HBS6WEDP-aK8IuEX9.mjs +63 -0
  87. package/dist/collapsible.cjs +1 -1
  88. package/dist/collapsible.d.ts +4 -4
  89. package/dist/collapsible.d.ts.map +1 -1
  90. package/dist/collapsible.mjs +7 -7
  91. package/dist/combobox-CpPIGtPJ.js +4 -0
  92. package/dist/combobox-b4OmCNw1.mjs +5887 -0
  93. package/dist/combobox.cjs +1 -1
  94. package/dist/combobox.d.ts +14 -14
  95. package/dist/combobox.d.ts.map +1 -1
  96. package/dist/combobox.mjs +1 -1
  97. package/dist/command-5hobOyGG.mjs +545 -0
  98. package/dist/command-Dbqnm9kI.js +1 -0
  99. package/dist/command.cjs +1 -1
  100. package/dist/command.d.ts +10 -10
  101. package/dist/command.d.ts.map +1 -1
  102. package/dist/command.mjs +1 -1
  103. package/dist/context-menu-DyTUismw.js +1 -0
  104. package/dist/context-menu-DzzU-_v8.mjs +317 -0
  105. package/dist/context-menu.cjs +1 -1
  106. package/dist/context-menu.d.ts +16 -16
  107. package/dist/context-menu.d.ts.map +1 -1
  108. package/dist/context-menu.mjs +1 -1
  109. package/dist/dialog.cjs +1 -1
  110. package/dist/dialog.d.ts +11 -11
  111. package/dist/dialog.d.ts.map +1 -1
  112. package/dist/dialog.mjs +25 -25
  113. package/dist/direction.cjs +1 -1
  114. package/dist/direction.d.ts +2 -2
  115. package/dist/direction.d.ts.map +1 -1
  116. package/dist/direction.mjs +1 -1
  117. package/dist/dist-1zUKVGvf.js +1 -0
  118. package/dist/dist-B057I8ju.mjs +30 -0
  119. package/dist/dist-BB78QQyQ.mjs +41 -0
  120. package/dist/dist-BBvidwzC.js +1 -0
  121. package/dist/{dist-Cacc4QIh.mjs → dist-BEbV0Hal.mjs} +9 -5
  122. package/dist/dist-BPL7gUpg.mjs +18 -0
  123. package/dist/dist-BTUvBzOm.js +1 -0
  124. package/dist/dist-BU-TFzJf.js +1 -0
  125. package/dist/dist-Bb5W_J2F.mjs +39 -0
  126. package/dist/dist-BbI6NHqR.mjs +23 -0
  127. package/dist/dist-BexAB6yo.mjs +192 -0
  128. package/dist/dist-BgXIqHHq.js +1 -0
  129. package/dist/dist-Bvfb4y_L.mjs +100 -0
  130. package/dist/dist-C8Pm6LRc.js +1 -0
  131. package/dist/dist-CPAF050o.mjs +90 -0
  132. package/dist/dist-CS572Be42.mjs +11 -0
  133. package/dist/dist-CUvxOuXM.mjs +551 -0
  134. package/dist/dist-C_iFkwIX.js +1 -0
  135. package/dist/dist-ClYM7l1t.js +1 -0
  136. package/dist/dist-CpKLY_uZ.mjs +96 -0
  137. package/dist/dist-D1qkELLT.js +1 -0
  138. package/dist/dist-D7-Fky36.js +1 -0
  139. package/dist/dist-DEpkkABT.js +1 -0
  140. package/dist/dist-DI1vapnL.mjs +20 -0
  141. package/dist/dist-DJqkhIXb2.js +1 -0
  142. package/dist/dist-DKXojpVG.js +1 -0
  143. package/dist/dist-DYUvPCPC.js +1 -0
  144. package/dist/dist-DZiOPWLp.js +1 -0
  145. package/dist/dist-DatgTWLz.mjs +202 -0
  146. package/dist/dist-Dm3IQk5b.mjs +685 -0
  147. package/dist/dist-DoivLw3t.js +1 -0
  148. package/dist/dist-Dq-h6VAy.mjs +118 -0
  149. package/dist/dist-Dt6m-kwU.mjs +221 -0
  150. package/dist/dist-E8ieJTBC.mjs +190 -0
  151. package/dist/{dist-C9PlF532.mjs → dist-GazS1kfR.mjs} +1 -1
  152. package/dist/dist-N97cIp0_.js +1 -0
  153. package/dist/dist-OqDzLHTa.mjs +460 -0
  154. package/dist/dist-Qm9hFvM1.js +1 -0
  155. package/dist/dist-UkWa-Arh.mjs +16 -0
  156. package/dist/dist-UnTrOmPV.js +1 -0
  157. package/dist/dist-YAADIsyo.js +1 -0
  158. package/dist/dist-Zs2sjYhL.js +1 -0
  159. package/dist/dist-hFLuJoMi.js +1 -0
  160. package/dist/dist-s7ibhASj.mjs +181 -0
  161. package/dist/dist-vu20fMUK.mjs +93 -0
  162. package/dist/drawer.cjs +1 -1
  163. package/dist/drawer.d.ts +11 -11
  164. package/dist/drawer.d.ts.map +1 -1
  165. package/dist/drawer.mjs +2 -2
  166. package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BqAhn64y.mjs} +109 -143
  167. package/dist/dropdown-menu-BtKOr--r.js +1 -0
  168. package/dist/dropdown-menu.cjs +1 -1
  169. package/dist/dropdown-menu.d.ts +16 -16
  170. package/dist/dropdown-menu.d.ts.map +1 -1
  171. package/dist/dropdown-menu.mjs +1 -1
  172. package/dist/empty.cjs +1 -1
  173. package/dist/empty.d.ts +7 -7
  174. package/dist/empty.d.ts.map +1 -1
  175. package/dist/empty.mjs +2 -2
  176. package/dist/es2015-DbAsWDbs.js +41 -0
  177. package/dist/es2015-DbsmTzuc.mjs +571 -0
  178. package/dist/field.cjs +1 -1
  179. package/dist/field.d.ts +12 -12
  180. package/dist/field.d.ts.map +1 -1
  181. package/dist/field.mjs +6 -7
  182. package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
  183. package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
  184. package/dist/form.cjs +1 -1
  185. package/dist/form.d.ts +8 -6
  186. package/dist/form.d.ts.map +1 -1
  187. package/dist/form.mjs +8 -8
  188. package/dist/hover-card-DMsxpR9G.mjs +178 -0
  189. package/dist/hover-card-DWXusgiI.js +1 -0
  190. package/dist/hover-card.cjs +1 -1
  191. package/dist/hover-card.d.ts +4 -4
  192. package/dist/hover-card.d.ts.map +1 -1
  193. package/dist/hover-card.mjs +1 -1
  194. package/dist/index.cjs +1 -1
  195. package/dist/index.d.ts +6 -0
  196. package/dist/index.d.ts.map +1 -1
  197. package/dist/index.mjs +40 -34
  198. package/dist/input-group.cjs +1 -1
  199. package/dist/input-group.d.ts +7 -7
  200. package/dist/input-group.d.ts.map +1 -1
  201. package/dist/input-group.mjs +6 -11
  202. package/dist/input-otp-D49Y9VcH.mjs +409 -0
  203. package/dist/input-otp-u3obpt-Q.js +20 -0
  204. package/dist/input-otp.cjs +1 -1
  205. package/dist/input-otp.d.ts +5 -5
  206. package/dist/input-otp.d.ts.map +1 -1
  207. package/dist/input-otp.mjs +1 -1
  208. package/dist/input.cjs +1 -1
  209. package/dist/input.d.ts +1 -1
  210. package/dist/input.d.ts.map +1 -1
  211. package/dist/input.mjs +1 -1
  212. package/dist/item.cjs +1 -1
  213. package/dist/item.d.ts +11 -11
  214. package/dist/item.d.ts.map +1 -1
  215. package/dist/item.mjs +7 -8
  216. package/dist/kbd.cjs +1 -1
  217. package/dist/kbd.d.ts +2 -2
  218. package/dist/kbd.d.ts.map +1 -1
  219. package/dist/kbd.mjs +2 -2
  220. package/dist/label-Dacwh21G.js +1 -0
  221. package/dist/label-DsSICLPc.mjs +28 -0
  222. package/dist/label.cjs +1 -1
  223. package/dist/label.d.ts +2 -2
  224. package/dist/label.d.ts.map +1 -1
  225. package/dist/label.mjs +1 -1
  226. package/dist/marker.cjs +1 -0
  227. package/dist/marker.d.ts +12 -0
  228. package/dist/marker.d.ts.map +1 -0
  229. package/dist/marker.mjs +40 -0
  230. package/dist/marker.test.d.ts +2 -0
  231. package/dist/marker.test.d.ts.map +1 -0
  232. package/dist/menubar-BYNeRuzx.js +1 -0
  233. package/dist/{menubar-BcyqIJgy.mjs → menubar-DZqEj6S1.mjs} +138 -172
  234. package/dist/menubar.cjs +1 -1
  235. package/dist/menubar.d.ts +17 -17
  236. package/dist/menubar.d.ts.map +1 -1
  237. package/dist/menubar.mjs +1 -1
  238. package/dist/message-scroller-CS4t7Ypn.mjs +824 -0
  239. package/dist/message-scroller-DqLu0YI6.js +1 -0
  240. package/dist/message-scroller.cjs +1 -0
  241. package/dist/message-scroller.d.ts +13 -0
  242. package/dist/message-scroller.d.ts.map +1 -0
  243. package/dist/message-scroller.mjs +3 -0
  244. package/dist/message-scroller.test.d.ts +2 -0
  245. package/dist/message-scroller.test.d.ts.map +1 -0
  246. package/dist/message.cjs +1 -0
  247. package/dist/message.d.ts +11 -0
  248. package/dist/message.d.ts.map +1 -0
  249. package/dist/message.mjs +50 -0
  250. package/dist/message.test.d.ts +2 -0
  251. package/dist/message.test.d.ts.map +1 -0
  252. package/dist/native-select.cjs +1 -1
  253. package/dist/native-select.d.ts +3 -3
  254. package/dist/native-select.d.ts.map +1 -1
  255. package/dist/native-select.mjs +12 -12
  256. package/dist/navigation-menu-B36G3O83.js +1 -0
  257. package/dist/navigation-menu-RO6thDOF.mjs +636 -0
  258. package/dist/navigation-menu.cjs +1 -1
  259. package/dist/navigation-menu.d.ts +9 -9
  260. package/dist/navigation-menu.d.ts.map +1 -1
  261. package/dist/navigation-menu.mjs +1 -1
  262. package/dist/pagination.cjs +1 -1
  263. package/dist/pagination.d.ts +8 -8
  264. package/dist/pagination.d.ts.map +1 -1
  265. package/dist/pagination.mjs +42 -35
  266. package/dist/popover-DSBkc70V.mjs +243 -0
  267. package/dist/popover-DUHbvKB8.js +1 -0
  268. package/dist/popover.cjs +1 -1
  269. package/dist/popover.d.ts +8 -8
  270. package/dist/popover.d.ts.map +1 -1
  271. package/dist/popover.mjs +1 -1
  272. package/dist/progress-B9z08UXf.js +6 -0
  273. package/dist/progress-CQ4nQ85t.mjs +92 -0
  274. package/dist/progress.cjs +1 -1
  275. package/dist/progress.d.ts +2 -2
  276. package/dist/progress.d.ts.map +1 -1
  277. package/dist/progress.mjs +1 -1
  278. package/dist/questionnaire-CVED7G7R.mjs +1159 -0
  279. package/dist/questionnaire-PWClWvST.js +1 -0
  280. package/dist/questionnaire.cjs +1 -0
  281. package/dist/questionnaire.d.ts +22 -0
  282. package/dist/questionnaire.d.ts.map +1 -0
  283. package/dist/questionnaire.mjs +4 -0
  284. package/dist/questionnaire.test.d.ts +2 -0
  285. package/dist/questionnaire.test.d.ts.map +1 -0
  286. package/dist/radio-group-Bd3WbH5I.js +1 -0
  287. package/dist/radio-group-TRiAhMZB.mjs +266 -0
  288. package/dist/radio-group.cjs +1 -1
  289. package/dist/radio-group.d.ts +2 -2
  290. package/dist/radio-group.d.ts.map +1 -1
  291. package/dist/radio-group.mjs +1 -1
  292. package/dist/resizable-Cq60hEWB.js +1 -0
  293. package/dist/resizable-Qc8cVUKd.mjs +2857 -0
  294. package/dist/resizable.cjs +1 -1
  295. package/dist/resizable.d.ts +3 -3
  296. package/dist/resizable.d.ts.map +1 -1
  297. package/dist/resizable.mjs +1 -1
  298. package/dist/scroll-area-D6MiNHnJ.mjs +564 -0
  299. package/dist/scroll-area-DFUdJeSZ.js +1 -0
  300. package/dist/scroll-area.cjs +1 -1
  301. package/dist/scroll-area.d.ts +3 -3
  302. package/dist/scroll-area.d.ts.map +1 -1
  303. package/dist/scroll-area.mjs +1 -1
  304. package/dist/scroll-to-top.cjs +1 -1
  305. package/dist/scroll-to-top.d.ts +1 -1
  306. package/dist/scroll-to-top.d.ts.map +1 -1
  307. package/dist/scroll-to-top.mjs +18 -16
  308. package/dist/search.cjs +1 -1
  309. package/dist/search.d.ts +1 -1
  310. package/dist/search.d.ts.map +1 -1
  311. package/dist/search.mjs +17 -17
  312. package/dist/select-BFJUmjvX.mjs +830 -0
  313. package/dist/select-iQFoKU1s.js +1 -0
  314. package/dist/select.cjs +1 -1
  315. package/dist/select.d.ts +11 -11
  316. package/dist/select.d.ts.map +1 -1
  317. package/dist/select.mjs +1 -1
  318. package/dist/separator-2kr96SyF.mjs +40 -0
  319. package/dist/separator-Bo49G2aj.js +1 -0
  320. package/dist/separator.cjs +1 -1
  321. package/dist/separator.d.ts +2 -2
  322. package/dist/separator.d.ts.map +1 -1
  323. package/dist/separator.mjs +1 -1
  324. package/dist/sheet.cjs +1 -1
  325. package/dist/sheet.d.ts +9 -9
  326. package/dist/sheet.d.ts.map +1 -1
  327. package/dist/sheet.mjs +23 -23
  328. package/dist/sidebar-C6O8hLkz.js +1 -0
  329. package/dist/{sidebar-B-sWccYh.mjs → sidebar-DM9ee9wf.mjs} +66 -66
  330. package/dist/sidebar.cjs +1 -1
  331. package/dist/sidebar.d.ts +24 -24
  332. package/dist/sidebar.d.ts.map +1 -1
  333. package/dist/sidebar.mjs +1 -1
  334. package/dist/skeleton.cjs +1 -1
  335. package/dist/skeleton.d.ts +1 -1
  336. package/dist/skeleton.d.ts.map +1 -1
  337. package/dist/skeleton.mjs +1 -1
  338. package/dist/slider-CagVxozY.js +1 -0
  339. package/dist/slider-CdTCoQu1.mjs +485 -0
  340. package/dist/slider.cjs +1 -1
  341. package/dist/slider.d.ts +2 -2
  342. package/dist/slider.d.ts.map +1 -1
  343. package/dist/slider.mjs +1 -1
  344. package/dist/sonner.cjs +1 -1
  345. package/dist/sonner.d.ts +2 -4
  346. package/dist/sonner.d.ts.map +1 -1
  347. package/dist/sonner.mjs +8 -8
  348. package/dist/spinner.cjs +1 -1
  349. package/dist/spinner.d.ts +2 -1
  350. package/dist/spinner.d.ts.map +1 -1
  351. package/dist/spinner.mjs +12 -7
  352. package/dist/support-fab.cjs +1 -1
  353. package/dist/support-fab.d.ts +1 -1
  354. package/dist/support-fab.d.ts.map +1 -1
  355. package/dist/support-fab.mjs +22 -22
  356. package/dist/switch-CoeAC1Wk.js +1 -0
  357. package/dist/switch-zUBdj7jK.mjs +174 -0
  358. package/dist/switch.cjs +1 -1
  359. package/dist/switch.d.ts +2 -2
  360. package/dist/switch.d.ts.map +1 -1
  361. package/dist/switch.mjs +1 -1
  362. package/dist/table-of-contents.cjs +1 -1
  363. package/dist/table-of-contents.d.ts +9 -13
  364. package/dist/table-of-contents.d.ts.map +1 -1
  365. package/dist/table-of-contents.mjs +3 -2
  366. package/dist/table.cjs +1 -1
  367. package/dist/table.d.ts +8 -8
  368. package/dist/table.d.ts.map +1 -1
  369. package/dist/table.mjs +1 -1
  370. package/dist/tabs-DaE9pEbo.mjs +160 -0
  371. package/dist/tabs-TMhXe20x.js +1 -0
  372. package/dist/tabs.cjs +1 -1
  373. package/dist/tabs.d.ts +5 -5
  374. package/dist/tabs.d.ts.map +1 -1
  375. package/dist/tabs.mjs +1 -1
  376. package/dist/text.cjs +1 -1
  377. package/dist/text.d.ts +1 -1
  378. package/dist/text.d.ts.map +1 -1
  379. package/dist/text.mjs +3 -3
  380. package/dist/textarea.cjs +1 -1
  381. package/dist/textarea.d.ts +1 -1
  382. package/dist/textarea.d.ts.map +1 -1
  383. package/dist/textarea.mjs +1 -1
  384. package/dist/theme-provider.d.ts +1 -1
  385. package/dist/theme-provider.d.ts.map +1 -1
  386. package/dist/theme-toggle-3RStptYf.mjs +73 -0
  387. package/dist/theme-toggle-DKh8WFLT.js +1 -0
  388. package/dist/theme-toggle.cjs +1 -1
  389. package/dist/theme-toggle.d.ts +1 -1
  390. package/dist/theme-toggle.d.ts.map +1 -1
  391. package/dist/theme-toggle.mjs +1 -1
  392. package/dist/toast-B0S3F09s.js +1 -0
  393. package/dist/toast-D0Yb-K84.mjs +445 -0
  394. package/dist/toast.cjs +1 -1
  395. package/dist/toast.d.ts +1 -1
  396. package/dist/toast.d.ts.map +1 -1
  397. package/dist/toast.mjs +1 -1
  398. package/dist/{toaster-DfDb2-aI.js → toaster-CX9im8R_.js} +1 -1
  399. package/dist/{toaster-Czhz-ktg.mjs → toaster-gT2b7mfE.mjs} +1 -1
  400. package/dist/toaster.cjs +1 -1
  401. package/dist/toaster.d.ts +1 -1
  402. package/dist/toaster.d.ts.map +1 -1
  403. package/dist/toaster.mjs +1 -1
  404. package/dist/toggle-B0hXPsi7.js +1 -0
  405. package/dist/toggle-BAeKd2N0.mjs +59 -0
  406. package/dist/toggle-group-CEKhUozD.mjs +167 -0
  407. package/dist/toggle-group-htyug3G7.js +1 -0
  408. package/dist/toggle-group.cjs +1 -1
  409. package/dist/toggle-group.d.ts +3 -3
  410. package/dist/toggle-group.d.ts.map +1 -1
  411. package/dist/toggle-group.mjs +1 -1
  412. package/dist/toggle.cjs +1 -1
  413. package/dist/toggle.d.ts +2 -2
  414. package/dist/toggle.d.ts.map +1 -1
  415. package/dist/toggle.mjs +1 -1
  416. package/dist/tooltip-BZazhXDZ.js +1 -0
  417. package/dist/tooltip-R_nK_Qh5.mjs +390 -0
  418. package/dist/tooltip.cjs +1 -1
  419. package/dist/tooltip.d.ts +5 -5
  420. package/dist/tooltip.d.ts.map +1 -1
  421. package/dist/tooltip.mjs +1 -1
  422. package/package.json +18 -16
  423. package/src/__contracts.ts +438 -278
  424. package/src/accordion.tsx +4 -6
  425. package/src/alert-dialog.tsx +6 -7
  426. package/src/alert.tsx +5 -7
  427. package/src/aspect-ratio.tsx +1 -2
  428. package/src/attachment.tsx +202 -0
  429. package/src/avatar.tsx +1 -2
  430. package/src/badge.tsx +2 -3
  431. package/src/breadcrumb.tsx +4 -8
  432. package/src/bubble.tsx +115 -0
  433. package/src/button-group.tsx +7 -8
  434. package/src/button.tsx +7 -9
  435. package/src/calendar.tsx +14 -14
  436. package/src/card.tsx +6 -7
  437. package/src/carousel.tsx +16 -17
  438. package/src/chart.tsx +1 -4
  439. package/src/checkbox.tsx +4 -6
  440. package/src/collapsible.tsx +1 -2
  441. package/src/combobox.tsx +8 -8
  442. package/src/command.tsx +8 -9
  443. package/src/context-menu.tsx +10 -12
  444. package/src/dialog.tsx +6 -7
  445. package/src/direction.tsx +1 -2
  446. package/src/drawer.tsx +3 -5
  447. package/src/dropdown-menu.tsx +10 -12
  448. package/src/empty.tsx +3 -5
  449. package/src/field.tsx +10 -11
  450. package/src/form.tsx +8 -8
  451. package/src/hooks/use-mobile.ts +1 -1
  452. package/src/hover-card.tsx +3 -5
  453. package/src/index.ts +54 -0
  454. package/src/input-group.tsx +14 -22
  455. package/src/input-otp.tsx +5 -6
  456. package/src/input.tsx +2 -4
  457. package/src/item.tsx +11 -12
  458. package/src/kbd.tsx +2 -2
  459. package/src/label.tsx +2 -4
  460. package/src/marker.tsx +61 -0
  461. package/src/menubar.tsx +11 -13
  462. package/src/message-scroller.tsx +133 -0
  463. package/src/message.tsx +85 -0
  464. package/src/native-select.tsx +2 -3
  465. package/src/navigation-menu.tsx +8 -10
  466. package/src/pagination.tsx +11 -10
  467. package/src/popover.tsx +3 -5
  468. package/src/progress.tsx +2 -4
  469. package/src/questionnaire.tsx +333 -0
  470. package/src/radio-group.tsx +2 -3
  471. package/src/resizable.tsx +1 -4
  472. package/src/scroll-area.tsx +3 -5
  473. package/src/scroll-to-top.tsx +7 -2
  474. package/src/search.tsx +2 -1
  475. package/src/select.tsx +8 -10
  476. package/src/separator.tsx +4 -6
  477. package/src/setupTests.ts +9 -9
  478. package/src/sheet.tsx +6 -7
  479. package/src/sidebar.tsx +17 -17
  480. package/src/skeleton.tsx +1 -2
  481. package/src/slider.tsx +5 -7
  482. package/src/sonner.tsx +0 -5
  483. package/src/spinner.tsx +14 -5
  484. package/src/support-fab.tsx +5 -1
  485. package/src/switch.tsx +4 -6
  486. package/src/table-of-contents.tsx +15 -13
  487. package/src/table.tsx +2 -4
  488. package/src/tabs.tsx +9 -11
  489. package/src/text.tsx +4 -4
  490. package/src/textarea.tsx +2 -4
  491. package/src/theme-provider.tsx +1 -1
  492. package/src/theme-toggle.tsx +26 -23
  493. package/src/toast.tsx +3 -4
  494. package/src/toaster.tsx +2 -1
  495. package/src/toggle-group.tsx +5 -6
  496. package/src/toggle.tsx +5 -7
  497. package/src/tooltip.tsx +3 -5
  498. package/dist/accordion-Dd8Hrexd.mjs +0 -244
  499. package/dist/accordion-DdSOiVyo.js +0 -1
  500. package/dist/alert-dialog-B7zX3gJX.js +0 -7
  501. package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
  502. package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
  503. package/dist/avatar-C4onD8-4.mjs +0 -127
  504. package/dist/avatar-ki_M47qG.js +0 -1
  505. package/dist/calendar-D9sapvfY.js +0 -1
  506. package/dist/carousel-6oFHLN7R.js +0 -1
  507. package/dist/checkbox-BLgY82mB.js +0 -1
  508. package/dist/checkbox-Bts_zfqd.mjs +0 -173
  509. package/dist/combobox-6qNx9Wbb.js +0 -4
  510. package/dist/combobox-yDMqxM_J.mjs +0 -5522
  511. package/dist/command-C6wJ5giF.mjs +0 -576
  512. package/dist/command-DCrPL1iW.js +0 -1
  513. package/dist/context-menu-CydUpD4W.mjs +0 -349
  514. package/dist/context-menu-DQ7XuuG5.js +0 -1
  515. package/dist/dist-1C8JOpVg.js +0 -1
  516. package/dist/dist-B1OcuinL.mjs +0 -558
  517. package/dist/dist-BGZDG175.mjs +0 -199
  518. package/dist/dist-BPBwSSyk.mjs +0 -8
  519. package/dist/dist-BPX1UGAz2.js +0 -1
  520. package/dist/dist-BRsDdVlJ.js +0 -1
  521. package/dist/dist-BWwCr-xN.mjs +0 -118
  522. package/dist/dist-BYdcKuDi.mjs +0 -16
  523. package/dist/dist-BlB11V_z.mjs +0 -27
  524. package/dist/dist-Bm8Cuttq.mjs +0 -76
  525. package/dist/dist-Byhx2fDJ.js +0 -1
  526. package/dist/dist-CCXBcfM3.js +0 -1
  527. package/dist/dist-CCokLFyA.mjs +0 -10
  528. package/dist/dist-CDU9vno-.mjs +0 -18
  529. package/dist/dist-CEJNUZGZ.js +0 -1
  530. package/dist/dist-CJolxugc.js +0 -1
  531. package/dist/dist-CQhWBhaI.mjs +0 -91
  532. package/dist/dist-CRLbUj9C.js +0 -1
  533. package/dist/dist-CSkpam6a.js +0 -1
  534. package/dist/dist-CWElW7UD.js +0 -1
  535. package/dist/dist-CXbzwSnE.js +0 -1
  536. package/dist/dist-CYj6O95k.mjs +0 -220
  537. package/dist/dist-C_45sBzc2.js +0 -1
  538. package/dist/dist-Cb7OVHcJ.js +0 -1
  539. package/dist/dist-Ccv5O-Vw.js +0 -1
  540. package/dist/dist-ChuP-5Gb.js +0 -1
  541. package/dist/dist-CiM892Rg.js +0 -1
  542. package/dist/dist-CuMQq0hV.js +0 -1
  543. package/dist/dist-DGzGsPqo2.mjs +0 -6
  544. package/dist/dist-DMnXk8Uo.js +0 -1
  545. package/dist/dist-DPBTfUqI.mjs +0 -96
  546. package/dist/dist-DR0lXVFG.js +0 -1
  547. package/dist/dist-Da7BU5sd.js +0 -5
  548. package/dist/dist-Df2ez-DA.mjs +0 -12
  549. package/dist/dist-DuTFGM_g.mjs +0 -45
  550. package/dist/dist-DynSBUGq.js +0 -1
  551. package/dist/dist-Dz3LbuDd.mjs +0 -60
  552. package/dist/dist-GhACpuJb2.mjs +0 -73
  553. package/dist/dist-N3JLy7yk.mjs +0 -29
  554. package/dist/dist-o4zlRoDG.js +0 -1
  555. package/dist/dist-rGeQfsgN.mjs +0 -66
  556. package/dist/dist-tvb2Wafb.mjs +0 -153
  557. package/dist/dist-xgVOvcNx.mjs +0 -11
  558. package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
  559. package/dist/es2015-BhmbVcui.mjs +0 -701
  560. package/dist/es2015-D22cM8Q_.js +0 -41
  561. package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
  562. package/dist/hover-card-CJ-ibpbC.mjs +0 -187
  563. package/dist/hover-card-CK5SjVLL.js +0 -1
  564. package/dist/input-otp-BH_9dVhh.mjs +0 -391
  565. package/dist/input-otp-BibboKMt.js +0 -20
  566. package/dist/label-BXMSoyyu.js +0 -1
  567. package/dist/label-C8GNfPU0.mjs +0 -25
  568. package/dist/menubar-DPxokWFI.js +0 -1
  569. package/dist/navigation-menu-2yE2MUu-.js +0 -1
  570. package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
  571. package/dist/popover-D1AO-E8p.js +0 -1
  572. package/dist/popover-wQACF3ut.mjs +0 -245
  573. package/dist/progress-DPWSEWa5.mjs +0 -86
  574. package/dist/progress-ShXZwOfj.js +0 -6
  575. package/dist/radio-group-CQbZCQmj.mjs +0 -199
  576. package/dist/radio-group-DAEi5vW_.js +0 -1
  577. package/dist/resizable-Cv-mKMKP.js +0 -1
  578. package/dist/resizable-DJSE3e5L.mjs +0 -1561
  579. package/dist/scroll-area-8QcqkHnC.mjs +0 -530
  580. package/dist/scroll-area-Cqqinhxf.js +0 -1
  581. package/dist/select-DdUveoSA.js +0 -1
  582. package/dist/select-yoeH35x2.mjs +0 -778
  583. package/dist/separator-BU1ea5gl.mjs +0 -35
  584. package/dist/separator-DBjErwHf.js +0 -1
  585. package/dist/shim-B5sEfNEJ.js +0 -1
  586. package/dist/shim-DX33EwUw.mjs +0 -91
  587. package/dist/sidebar-DIW-1cin.js +0 -1
  588. package/dist/slider-CCPXejUF.mjs +0 -388
  589. package/dist/slider-w05gD_Ix.js +0 -1
  590. package/dist/switch-CDBqsWQa.mjs +0 -112
  591. package/dist/switch-X2WBJsUu.js +0 -1
  592. package/dist/tabs-DzvgrVzk.js +0 -1
  593. package/dist/tabs-KDeHjVQU.mjs +0 -160
  594. package/dist/theme-toggle-C2Y4bIM3.js +0 -1
  595. package/dist/theme-toggle-clE-HpSS.mjs +0 -64
  596. package/dist/toast-1keyrzem.js +0 -1
  597. package/dist/toast-DVI6jPq5.mjs +0 -428
  598. package/dist/toggle-BGkq5XDM.js +0 -1
  599. package/dist/toggle-BfIIdlA6.mjs +0 -58
  600. package/dist/toggle-group-CbqgoPFU.mjs +0 -167
  601. package/dist/toggle-group-D7hR4BT2.js +0 -1
  602. package/dist/tooltip-CAIbshMk.js +0 -1
  603. package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
package/dist/dialog.mjs CHANGED
@@ -1,56 +1,56 @@
1
1
  "use client";
2
2
  "use client";
3
- import { t as e } from "./utils-A_oVsYw5.mjs";
4
- import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-CYj6O95k.mjs";
3
+ import { t as e } from "./dist-Dm3IQk5b.mjs";
4
+ import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./dist-DatgTWLz.mjs";
5
5
  import { Button as l } from "./button.mjs";
6
+ import { XIcon as u } from "lucide-react";
6
7
  import "react";
7
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
8
- import { XIcon as f } from "lucide-react";
8
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
9
9
  //#region src/dialog.tsx
10
10
  function p({ ...e }) {
11
- return /* @__PURE__ */ u(a, {
11
+ return /* @__PURE__ */ d(c, {
12
12
  "data-slot": "dialog",
13
13
  ...e
14
14
  });
15
15
  }
16
16
  function m({ ...e }) {
17
- return /* @__PURE__ */ u(n, {
17
+ return /* @__PURE__ */ d(n, {
18
18
  "data-slot": "dialog-trigger",
19
19
  ...e
20
20
  });
21
21
  }
22
22
  function h({ ...e }) {
23
- return /* @__PURE__ */ u(t, {
23
+ return /* @__PURE__ */ d(a, {
24
24
  "data-slot": "dialog-portal",
25
25
  ...e
26
26
  });
27
27
  }
28
28
  function g({ ...e }) {
29
- return /* @__PURE__ */ u(c, {
29
+ return /* @__PURE__ */ d(i, {
30
30
  "data-slot": "dialog-close",
31
31
  ...e
32
32
  });
33
33
  }
34
- function _({ className: t, ...n }) {
35
- return /* @__PURE__ */ u(r, {
34
+ function _({ className: n, ...r }) {
35
+ return /* @__PURE__ */ d(t, {
36
36
  "data-slot": "dialog-overlay",
37
- className: e("data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs", t),
38
- ...n
37
+ className: e("data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs", n),
38
+ ...r
39
39
  });
40
40
  }
41
41
  function v({ className: t, children: n, showCloseButton: r = !0, ...a }) {
42
- return /* @__PURE__ */ d(h, { children: [/* @__PURE__ */ u(_, {}), /* @__PURE__ */ d(i, {
42
+ return /* @__PURE__ */ f(h, { children: [/* @__PURE__ */ d(_, {}), /* @__PURE__ */ f(o, {
43
43
  "data-slot": "dialog-content",
44
- className: e("bg-popover text-popover-foreground ring-foreground/10 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 fixed start-1/2 top-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 text-sm ring-1 duration-100 outline-none sm:max-w-sm rtl:translate-x-1/2", t),
44
+ className: e("bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 fixed start-1/2 top-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 text-sm ring-1 duration-100 outline-none sm:max-w-sm rtl:translate-x-1/2", t),
45
45
  ...a,
46
- children: [n, r && /* @__PURE__ */ u(c, {
46
+ children: [n, r && /* @__PURE__ */ d(i, {
47
47
  "data-slot": "dialog-close",
48
48
  asChild: !0,
49
- children: /* @__PURE__ */ d(l, {
49
+ children: /* @__PURE__ */ f(l, {
50
50
  variant: "ghost",
51
51
  className: "absolute end-2 top-2",
52
52
  size: "icon-sm",
53
- children: [/* @__PURE__ */ u(f, {}), /* @__PURE__ */ u("span", {
53
+ children: [/* @__PURE__ */ d(u, {}), /* @__PURE__ */ d("span", {
54
54
  className: "sr-only",
55
55
  children: "Close"
56
56
  })]
@@ -59,20 +59,20 @@ function v({ className: t, children: n, showCloseButton: r = !0, ...a }) {
59
59
  })] });
60
60
  }
61
61
  function y({ className: t, ...n }) {
62
- return /* @__PURE__ */ u("div", {
62
+ return /* @__PURE__ */ d("div", {
63
63
  "data-slot": "dialog-header",
64
64
  className: e("flex flex-col gap-2", t),
65
65
  ...n
66
66
  });
67
67
  }
68
- function b({ className: t, showCloseButton: n = !1, children: r, ...i }) {
69
- return /* @__PURE__ */ d("div", {
68
+ function b({ className: t, showCloseButton: n = !1, children: r, ...a }) {
69
+ return /* @__PURE__ */ f("div", {
70
70
  "data-slot": "dialog-footer",
71
71
  className: e("bg-muted/50 -mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t p-4 sm:flex-row sm:justify-end", t),
72
- ...i,
73
- children: [r, n && /* @__PURE__ */ u(c, {
72
+ ...a,
73
+ children: [r, n && /* @__PURE__ */ d(i, {
74
74
  asChild: !0,
75
- children: /* @__PURE__ */ u(l, {
75
+ children: /* @__PURE__ */ d(l, {
76
76
  variant: "outline",
77
77
  children: "Close"
78
78
  })
@@ -80,14 +80,14 @@ function b({ className: t, showCloseButton: n = !1, children: r, ...i }) {
80
80
  });
81
81
  }
82
82
  function x({ className: t, ...n }) {
83
- return /* @__PURE__ */ u(s, {
83
+ return /* @__PURE__ */ d(s, {
84
84
  "data-slot": "dialog-title",
85
85
  className: e("text-base leading-none font-medium", t),
86
86
  ...n
87
87
  });
88
88
  }
89
89
  function S({ className: t, ...n }) {
90
- return /* @__PURE__ */ u(o, {
90
+ return /* @__PURE__ */ d(r, {
91
91
  "data-slot": "dialog-description",
92
92
  className: e("text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3", t),
93
93
  ...n
@@ -1 +1 @@
1
- "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-1C8JOpVg.js");let n=require("react");n=e.r(n);let r=require("react/jsx-runtime");function i({dir:e,direction:n,children:i}){return(0,r.jsx)(t.t,{dir:n??e,children:i})}var a=t.n;exports.DirectionProvider=i,exports.useDirection=a;
1
+ "use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-UnTrOmPV.js");let n=require("react");n=e.r(n);let r=require("react/jsx-runtime");function i({dir:e,direction:n,children:i}){return(0,r.jsx)(t.t,{dir:n??e,children:i})}var a=t.n;exports.DirectionProvider=i,exports.useDirection=a;
@@ -1,7 +1,7 @@
1
- import { Direction } from 'radix-ui';
2
1
  import { DirectionProviderBaseProps } from '@gv-tech/ui-core';
2
+ import { Direction } from 'radix-ui';
3
3
  import * as React from 'react';
4
- declare function DirectionProvider({ dir, direction, children, }: React.ComponentProps<typeof Direction.DirectionProvider> & DirectionProviderBaseProps): import("react/jsx-runtime").JSX.Element;
4
+ declare function DirectionProvider({ dir, direction, children, }: React.ComponentProps<typeof Direction.DirectionProvider> & DirectionProviderBaseProps): React.JSX.Element;
5
5
  declare const useDirection: typeof Direction.useDirection;
6
6
  export { DirectionProvider, useDirection };
7
7
  //# sourceMappingURL=direction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"direction.d.ts","sourceRoot":"","sources":["../src/direction.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAEnE,iBAAS,iBAAiB,CAAC,EACzB,GAAG,EACH,SAAS,EACT,QAAQ,GACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,iBAAiB,CAAC,GAAG,0BAA0B,2CAEvF;AAED,QAAA,MAAM,YAAY,+BAAyB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"direction.d.ts","sourceRoot":"","sources":["../src/direction.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,iBAAS,iBAAiB,CAAC,EACzB,GAAG,EACH,SAAS,EACT,QAAQ,GACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,iBAAiB,CAAC,GAAG,0BAA0B,qBAEvF;AAED,QAAA,MAAM,YAAY,+BAAyB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use client";
3
- import { n as e, t } from "./dist-BYdcKuDi.mjs";
3
+ import { n as e, t } from "./dist-BbI6NHqR.mjs";
4
4
  import "react";
5
5
  import { jsx as n } from "react/jsx-runtime";
6
6
  //#region src/direction.tsx
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-hFLuJoMi.js"),n=require("./dist-CGgemr2V.js");let r=require("react");r=e.r(r,1);let i=require("react-dom");i=e.r(i,1);let a=require("react/jsx-runtime");var o=Object.defineProperty,s=r.forwardRef(((e,t)=>o(e,`name`,{value:t,configurable:!0}))(function(e,o){let{container:s,...c}=e,[l,u]=r.useState(!1);n.t(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?i.createPortal((0,a.jsx)(t.t.div,{...c,ref:o}),d):null},`Portal`));Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
@@ -0,0 +1,30 @@
1
+ import { t as e } from "./dist-BEbV0Hal.mjs";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region ../../node_modules/.bun/@radix-ui+react-visually-hidden@1.2.13+b146eb580f4286be/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
5
+ var r = Object.defineProperty, i = (e, t) => r(e, "name", {
6
+ value: t,
7
+ configurable: !0
8
+ }), a = Object.freeze({
9
+ position: "absolute",
10
+ border: 0,
11
+ width: 1,
12
+ height: 1,
13
+ padding: 0,
14
+ margin: -1,
15
+ overflow: "hidden",
16
+ clip: "rect(0, 0, 0, 0)",
17
+ whiteSpace: "nowrap",
18
+ wordWrap: "normal"
19
+ }), o = /* @__PURE__ */ t.forwardRef(/* @__PURE__ */ i(function(t, r) {
20
+ return /* @__PURE__ */ n(e.span, {
21
+ ...t,
22
+ ref: r,
23
+ style: {
24
+ ...a,
25
+ ...t.style
26
+ }
27
+ });
28
+ }, "VisuallyHidden"));
29
+ //#endregion
30
+ export { o as n, a as t };
@@ -0,0 +1,41 @@
1
+ //#region ../../node_modules/.bun/@radix-ui+primitive@1.2.0/node_modules/@radix-ui/primitive/dist/index.mjs
2
+ var e = Object.defineProperty, t = (t, n) => e(t, "name", {
3
+ value: n,
4
+ configurable: !0
5
+ }), n = !!(typeof window < "u" && window.document && window.document.createElement);
6
+ function r(e, n, { checkForDefaultPrevented: r = !0 } = {}) {
7
+ return /* @__PURE__ */ t(function(t) {
8
+ if (e?.(t), r === !1 || !t || !t.defaultPrevented) return n?.(t);
9
+ }, "handleEvent");
10
+ }
11
+ t(r, "composeEventHandlers");
12
+ function i(e) {
13
+ if (!n) throw Error("Cannot access window outside of the DOM");
14
+ return e?.ownerDocument?.defaultView ?? window;
15
+ }
16
+ t(i, "getOwnerWindow");
17
+ function a(e) {
18
+ if (!n) throw Error("Cannot access document outside of the DOM");
19
+ return e?.ownerDocument ?? document;
20
+ }
21
+ t(a, "getOwnerDocument");
22
+ function o(e, t = !1) {
23
+ let { activeElement: n } = a(e);
24
+ if (!n?.nodeName) return null;
25
+ if (s(n) && n.contentDocument) return o(n.contentDocument.body, t);
26
+ if (t) {
27
+ let e = n.getAttribute("aria-activedescendant");
28
+ if (e) {
29
+ let t = a(n).getElementById(e);
30
+ if (t) return t;
31
+ }
32
+ }
33
+ return n;
34
+ }
35
+ t(o, "getActiveElement");
36
+ function s(e) {
37
+ return e.tagName === "IFRAME";
38
+ }
39
+ t(s, "isFrame");
40
+ //#endregion
41
+ export { r as t };
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);var n=Object.defineProperty,r=(e,t)=>n(e,`name`,{value:t,configurable:!0});function i(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}r(i,`setRef`);function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():i(e[t],null)}}}}r(a,`composeRefs`);function o(...e){return t.useCallback(a(...e),e)}r(o,`useComposedRefs`);var s=Object.defineProperty,c=(e,t)=>s(e,`name`,{value:t,configurable:!0});function l(e){let n=t.forwardRef((n,r)=>{let{children:i,...a}=n,s=null,c=!1,l=[];i=b(i),t.Children.forEach(i,e=>{if(g(e)){c=!0;let t=e,n=`child`in t.props?t.props.child:t.props.children;for(;v(n)&&typeof w==`function`;)n=w(n._payload);s=p(t,n),l.push(s?.props?.children)}else l.push(e)}),s?s=t.cloneElement(s,void 0,l):!c&&t.Children.count(i)===1&&t.isValidElement(i)&&(s=i);let u=s?h(s):void 0,d=o(r,u);if(!s){if(i||i===0)throw Error(c?C(e):S(e));return i}let f=m(a,s.props??{});return s.type!==t.Fragment&&(f.ref=r?d:u),t.cloneElement(s,f)});return n.displayName=`${e}.Slot`,n}c(l,`createSlot`);var u=l(`Slot`),d=Symbol.for(`radix.slottable`);function f(e){let t=c(e=>`child`in e?e.children(e.child):e.children,`Slottable`);return t.displayName=`${e}.Slottable`,t.__radixId=d,t}c(f,`createSlottable`);var p=c((e,n)=>`child`in e.props?t.isValidElement(n)?t.cloneElement(n,void 0,e.props.children(n.props.children)):null:t.isValidElement(n)?n:null,`getSlottableElementFromSlottable`);function m(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`?n[r]=[i,a].filter(Boolean).join(` `):r===`aria-describedby`&&(n[r]=x(a,i))}return{...e,...n}}c(m,`mergeProps`);function h(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}c(h,`getElementRef`);function g(e){return t.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===d}c(g,`isSlottable`);var _=Symbol.for(`react.lazy`);function v(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===_&&`_payload`in e&&y(e._payload)}c(v,`isLazyComponent`);function y(e){return typeof e==`object`&&!!e&&`then`in e}c(y,`isPromiseLike`);function b(e){let t=e;for(;v(t)&&typeof w==`function`;)t=w(t._payload);return t}c(b,`useUnwrappedLazy`);function x(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}c(x,`concatAriaDescribedby`);var S=c(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,`createSlotError`),C=c(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,`createSlottableError`),w=t.use;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
@@ -1,9 +1,12 @@
1
- import { n as e } from "./dist-CQhWBhaI.mjs";
1
+ import { n as e } from "./dist-Dq-h6VAy.mjs";
2
2
  import * as t from "react";
3
3
  import * as n from "react-dom";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
- //#region ../../node_modules/.bun/@radix-ui+react-primitive@2.1.3+2d3f272c3a65784a/node_modules/@radix-ui/react-primitive/dist/index.mjs
6
- var i = [
5
+ //#region ../../node_modules/.bun/@radix-ui+react-primitive@2.2.0+b146eb580f4286be/node_modules/@radix-ui/react-primitive/dist/index.mjs
6
+ var i = Object.defineProperty, a = (e, t) => i(e, "name", {
7
+ value: t,
8
+ configurable: !0
9
+ }), o = [
7
10
  "a",
8
11
  "button",
9
12
  "div",
@@ -34,8 +37,9 @@ var i = [
34
37
  [i]: o
35
38
  };
36
39
  }, {});
37
- function a(e, t) {
40
+ function s(e, t) {
38
41
  e && n.flushSync(() => e.dispatchEvent(t));
39
42
  }
43
+ a(s, "dispatchDiscreteCustomEvent");
40
44
  //#endregion
41
- export { a as n, i as t };
45
+ export { s as n, o as t };
@@ -0,0 +1,18 @@
1
+ import { t as e } from "./dist-GazS1kfR.mjs";
2
+ import * as t from "react";
3
+ //#region ../../node_modules/.bun/@radix-ui+react-use-callback-ref@1.1.5+c841d34b494ec30a/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
4
+ var n = Object.defineProperty, r = (e, t) => n(e, "name", {
5
+ value: t,
6
+ configurable: !0
7
+ }), i = t.useInsertionEffect;
8
+ function a(n) {
9
+ let r = t.useRef(n);
10
+ return typeof i == "function" ? i(() => {
11
+ r.current = n;
12
+ }) : e(() => {
13
+ r.current = n;
14
+ }), t.useMemo(() => ((...e) => r.current?.(...e)), []);
15
+ }
16
+ r(a, "useCallbackRef");
17
+ //#endregion
18
+ export { a as t };
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-BBvidwzC.js"),n=require("./dist-hFLuJoMi.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-CGgemr2V.js"),a=require("./dist-DZiOPWLp.js"),o=require("./dist-YAADIsyo.js"),s=require("./dist-D7-Fky36.js"),c=require("./dist-C8Pm6LRc.js");let l=require("react");l=e.r(l,1);let u=require("react/jsx-runtime");var d=Object.defineProperty,f=(e,t)=>d(e,`name`,{value:t,configurable:!0}),p=`Collapsible`,[m,h]=r.t(p),[g,_]=m(p),v=l.forwardRef(f(function(e,t){let{__scopeCollapsible:r,open:i,defaultOpen:a,disabled:s,onOpenChange:d,...f}=e,[m,h]=o.t({prop:i,defaultProp:a??!1,onChange:d,caller:p});return(0,u.jsx)(g,{scope:r,disabled:s,contentId:c.t(),open:m,onOpenToggle:l.useCallback(()=>h(e=>!e),[h]),children:(0,u.jsx)(n.t.div,{"data-state":w(m),"data-disabled":s?``:void 0,...f,ref:t})})},`Collapsible`)),y=`CollapsibleTrigger`,b=l.forwardRef(f(function(e,t){let{__scopeCollapsible:r,...i}=e,o=_(y,r);return(0,u.jsx)(n.t.button,{type:`button`,"aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":w(o.open),"data-disabled":o.disabled?``:void 0,disabled:o.disabled,...i,ref:t,onClick:a.t(e.onClick,o.onOpenToggle)})},`CollapsibleTrigger`)),x=`CollapsibleContent`,S=l.forwardRef(f(function(e,t){let{forceMount:n,...r}=e,i=_(x,e.__scopeCollapsible);return(0,u.jsx)(s.t,{present:n||i.open,children:({present:e})=>(0,u.jsx)(C,{...r,ref:t,present:e})})},`CollapsibleContent`)),C=l.forwardRef(f(function(e,r){let{__scopeCollapsible:a,present:o,children:s,...c}=e,d=_(x,a),[f,p]=l.useState(o),m=l.useRef(null),h=t.a(r,m),g=l.useRef(0),v=g.current,y=l.useRef(0),b=y.current,S=d.open||f,C=l.useRef(S),T=l.useRef(void 0);return l.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),i.t(()=>{let e=m.current;if(e){T.current=T.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();g.current=t.height,y.current=t.width,C.current||(e.style.transitionDuration=T.current.transitionDuration,e.style.animationName=T.current.animationName),p(o)}},[d.open,o]),(0,u.jsx)(n.t.div,{"data-state":w(d.open),"data-disabled":d.disabled?``:void 0,id:d.contentId,hidden:!S,...c,ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:S&&s})},`CollapsibleContentImpl`));function w(e){return e?`open`:`closed`}f(w,`getState`),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return v}});
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-BBvidwzC.js"),n=require("./dist-hFLuJoMi.js"),r=require("./dist-DZiOPWLp.js"),i=require("./dist-D1qkELLT.js");let a=require("react");a=e.r(a,1);let o=require("react/jsx-runtime");var s=Object.defineProperty,c=(e,t)=>s(e,`name`,{value:t,configurable:!0}),l=`dismissableLayer.update`,u=`dismissableLayer.pointerDownOutside`,d=`dismissableLayer.focusOutside`,f,p=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),m=a.forwardRef(c(function(e,s){let{disableOutsidePointerEvents:u=!1,deferPointerDownOutside:d=!1,onEscapeKeyDown:m,onPointerDownOutside:h,onFocusOutside:g,onInteractOutside:_,onDismiss:x,...S}=e,C=a.useContext(p),[w,T]=a.useState(null),E=w?.ownerDocument??globalThis?.document,[,D]=a.useState({}),O=t.a(s,T),k=Array.from(C.layers),[A]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),j=A?k.indexOf(A):-1,M=w?k.indexOf(w):-1,N=C.layersWithOutsidePointerEventsDisabled.size>0,P=M>=j,F=a.useRef(!1),I=v(e=>{h?.(e),_?.(e),e.defaultPrevented||x?.()},{ownerDocument:E,deferPointerDownOutside:d,isDeferredPointerDownOutsideRef:F,dismissableSurfaces:C.dismissableSurfaces,shouldHandlePointerDownOutside:a.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...C.branches].some(t=>t.contains(e));return P&&!t},[C.branches,P])}),L=y(e=>{if(d&&F.current)return;let t=e.target;[...C.branches].some(e=>e.contains(t))||(g?.(e),_?.(e),e.defaultPrevented||x?.())},E),R=w?M===k.length-1:!1,z=i.t(e=>{e.key===`Escape`&&(m?.(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))});return a.useEffect(()=>{if(R)return E.addEventListener(`keydown`,z,{capture:!0}),()=>E.removeEventListener(`keydown`,z,{capture:!0})},[E,R,z]),a.useEffect(()=>{if(w)return u&&(C.layersWithOutsidePointerEventsDisabled.size===0&&(f=E.body.style.pointerEvents,E.body.style.pointerEvents=`none`),C.layersWithOutsidePointerEventsDisabled.add(w)),C.layers.add(w),b(),()=>{u&&(C.layersWithOutsidePointerEventsDisabled.delete(w),C.layersWithOutsidePointerEventsDisabled.size===0&&(E.body.style.pointerEvents=f))}},[w,E,u,C]),a.useEffect(()=>()=>{w&&(C.layers.delete(w),C.layersWithOutsidePointerEventsDisabled.delete(w),b())},[w,C]),a.useEffect(()=>{let e=c(()=>D({}),`handleUpdate`);return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,o.jsx)(n.t.div,{...S,ref:O,style:{pointerEvents:N?P?`auto`:`none`:void 0,...e.style},onFocusCapture:r.t(e.onFocusCapture,L.onFocusCapture),onBlurCapture:r.t(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:r.t(e.onPointerDownCapture,I.onPointerDownCapture)})},`DismissableLayer`)),h=a.forwardRef(c(function(e,r){let i=a.useContext(p),s=a.useRef(null),c=t.a(r,s);return a.useEffect(()=>{let e=s.current;if(e)return i.branches.add(e),()=>{i.branches.delete(e)}},[i.branches]),(0,o.jsx)(n.t.div,{...e,ref:c})},`DismissableLayerBranch`));function g(){let e=a.useContext(p),[t,n]=a.useState(null);return a.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}c(g,`useDismissableLayerSurface`);var _=c(()=>!0,`IS_TRUE`);function v(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=_}=t,d=i.t(e),f=a.useRef(!1),p=a.useRef(!1),m=a.useRef(new Map),h=a.useRef(()=>{});return a.useEffect(()=>{function e(){p.current=!1,o.current=!1,m.current.clear()}c(e,`resetOutsideInteraction`);function t(){return Array.from(m.current.values()).some(Boolean)}c(t,`isOutsideInteractionIntercepted`);function i(e){if(!p.current)return;let t=e.target;t instanceof Node&&[...s].some(e=>e.contains(t))||m.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{p.current&&h.current()},0)}c(i,`handleInteractionCapture`);function a(e){p.current&&m.current.set(e.type,!1)}c(a,`handleInteractionBubble`);let g=c(i=>{if(i.target&&!f.current){let a=function(){n.removeEventListener(`click`,h.current);let r=t();e(),r||x(u,d,s,{discrete:!0})};if(c(a,`handleAndDispatchPointerDownOutsideEvent`),!l(i.target)){n.removeEventListener(`click`,h.current),e(),f.current=!1;return}let s={originalEvent:i};p.current=!0,o.current=r&&i.button===0,m.current.clear(),!r||i.button!==0?a():(n.removeEventListener(`click`,h.current),h.current=a,n.addEventListener(`click`,h.current,{once:!0}))}else n.removeEventListener(`click`,h.current),e();f.current=!1},`handlePointerDown`),_=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of _)n.addEventListener(e,i,!0),n.addEventListener(e,a);let v=window.setTimeout(()=>{n.addEventListener(`pointerdown`,g)},0);return()=>{window.clearTimeout(v),n.removeEventListener(`pointerdown`,g),n.removeEventListener(`click`,h.current);for(let e of _)n.removeEventListener(e,i,!0),n.removeEventListener(e,a)}},[n,d,r,o,s,l]),{onPointerDownCapture:c(()=>f.current=!0,`onPointerDownCapture`)}}c(v,`usePointerDownOutside`);function y(e,t=globalThis?.document){let n=i.t(e),r=a.useRef(!1);return a.useEffect(()=>{let e=c(e=>{e.target&&!r.current&&x(d,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:c(()=>r.current=!0,`onFocusCapture`),onBlurCapture:c(()=>r.current=!1,`onBlurCapture`)}}c(y,`useFocusOutside`);function b(){let e=new CustomEvent(l);document.dispatchEvent(e)}c(b,`dispatchUpdate`);function x(e,t,r,{discrete:i}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),i?n.n(a,o):a.dispatchEvent(o)}c(x,`handleAndDispatchCustomEvent`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return m}});
@@ -0,0 +1,39 @@
1
+ import { t as e } from "./dist-GazS1kfR.mjs";
2
+ import * as t from "react";
3
+ //#region ../../node_modules/.bun/@radix-ui+react-use-size@1.1.5+c841d34b494ec30a/node_modules/@radix-ui/react-use-size/dist/index.mjs
4
+ var n = Object.defineProperty, r = (e, t) => n(e, "name", {
5
+ value: t,
6
+ configurable: !0
7
+ });
8
+ function i(n) {
9
+ let [r, i] = t.useState(void 0);
10
+ return e(() => {
11
+ if (n) {
12
+ i({
13
+ width: n.offsetWidth,
14
+ height: n.offsetHeight
15
+ });
16
+ let e = 0, t = new ResizeObserver((t) => {
17
+ if (!Array.isArray(t) || !t.length) return;
18
+ let r = t[0];
19
+ window.cancelAnimationFrame(e), e = window.requestAnimationFrame(() => {
20
+ let e, t;
21
+ if ("borderBoxSize" in r) {
22
+ let n = r.borderBoxSize, i = Array.isArray(n) ? n[0] : n;
23
+ e = i.inlineSize, t = i.blockSize;
24
+ } else e = n.offsetWidth, t = n.offsetHeight;
25
+ i({
26
+ width: e,
27
+ height: t
28
+ });
29
+ });
30
+ });
31
+ return t.observe(n, { box: "border-box" }), () => {
32
+ window.cancelAnimationFrame(e), t.unobserve(n);
33
+ };
34
+ } else i(void 0);
35
+ }, [n]), r;
36
+ }
37
+ r(i, "useSize");
38
+ //#endregion
39
+ export { i as t };
@@ -0,0 +1,23 @@
1
+ import * as e from "react";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region ../../node_modules/.bun/@radix-ui+react-direction@1.2.0+c841d34b494ec30a/node_modules/@radix-ui/react-direction/dist/index.mjs
4
+ var n = Object.defineProperty, r = (e, t) => n(e, "name", {
5
+ value: t,
6
+ configurable: !0
7
+ }), i = {
8
+ LTR: "ltr",
9
+ RTL: "rtl"
10
+ }, a = e.createContext(void 0), o = /* @__PURE__ */ r((e) => {
11
+ let { dir: n, children: r } = e;
12
+ return /* @__PURE__ */ t(a.Provider, {
13
+ value: n,
14
+ children: r
15
+ });
16
+ }, "DirectionProvider");
17
+ function s(t) {
18
+ let n = e.useContext(a);
19
+ return t || n || i.LTR;
20
+ }
21
+ r(s, "useDirection");
22
+ //#endregion
23
+ export { s as n, o as t };
@@ -0,0 +1,192 @@
1
+ import { a as e } from "./dist-Dq-h6VAy.mjs";
2
+ import { t } from "./dist-BEbV0Hal.mjs";
3
+ import { t as n } from "./dist-CPAF050o.mjs";
4
+ import { t as r } from "./dist-GazS1kfR.mjs";
5
+ import { t as i } from "./dist-OqDzLHTa.mjs";
6
+ import { t as a } from "./dist-BB78QQyQ.mjs";
7
+ import { t as o } from "./dist-Bvfb4y_L.mjs";
8
+ import { t as s } from "./dist-UkWa-Arh.mjs";
9
+ import { n as c } from "./dist-BbI6NHqR.mjs";
10
+ import { t as l } from "./dist-BPL7gUpg.mjs";
11
+ import * as u from "react";
12
+ import { jsx as d } from "react/jsx-runtime";
13
+ //#region ../../node_modules/.bun/@radix-ui+react-use-is-hydrated@0.1.3+c841d34b494ec30a/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
14
+ var f = Object.defineProperty, p = (e, t) => f(e, "name", {
15
+ value: t,
16
+ configurable: !0
17
+ }), m = !1;
18
+ function h() {
19
+ let [e, t] = u.useState(m);
20
+ return u.useEffect(() => {
21
+ m || (m = !0, t(!0));
22
+ }, []), e;
23
+ }
24
+ p(h, "useIsHydrated");
25
+ var g = u.useSyncExternalStore;
26
+ function _() {
27
+ return () => {};
28
+ }
29
+ p(_, "subscribe");
30
+ function v() {
31
+ return g(_, () => !0, () => !1);
32
+ }
33
+ p(v, "useIsHydratedModern");
34
+ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) => b(e, "name", {
35
+ value: t,
36
+ configurable: !0
37
+ }), S = "rovingFocusGroup.onEntryFocus", C = {
38
+ bubbles: !1,
39
+ cancelable: !0
40
+ }, w = "RovingFocusGroup", [T, E, D] = i(w), [O, k] = n(w, [D]), A = {
41
+ Vertical: "vertical",
42
+ Horizontal: "horizontal"
43
+ }, j = {
44
+ LTR: "ltr",
45
+ RTL: "rtl"
46
+ }, [M, N] = O(w), P = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(e, t) {
47
+ return /* @__PURE__ */ d(T.Provider, {
48
+ scope: e.__scopeRovingFocusGroup,
49
+ children: /* @__PURE__ */ d(T.Slot, {
50
+ scope: e.__scopeRovingFocusGroup,
51
+ children: /* @__PURE__ */ d(F, {
52
+ ...e,
53
+ ref: t
54
+ })
55
+ })
56
+ });
57
+ }, "RovingFocusGroup")), F = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(n, r) {
58
+ let { __scopeRovingFocusGroup: i, orientation: s, loop: f = !1, dir: p, currentTabStopId: m, defaultCurrentTabStopId: h, onCurrentTabStopIdChange: g, onEntryFocus: _, preventScrollOnEntryFocus: v = !1, ...y } = n, b = u.useRef(null), x = e(r, b), T = c(p), [D, O] = o({
59
+ prop: m,
60
+ defaultProp: h ?? null,
61
+ onChange: g,
62
+ caller: w
63
+ }), [k, A] = u.useState(!1), j = l(_), N = E(i), P = u.useRef(!1), [F, I] = u.useState(0);
64
+ return u.useEffect(() => {
65
+ let e = b.current;
66
+ if (e) return e.addEventListener(S, j), () => e.removeEventListener(S, j);
67
+ }, [j]), /* @__PURE__ */ d(M, {
68
+ scope: i,
69
+ orientation: s,
70
+ dir: T,
71
+ loop: f,
72
+ currentTabStopId: D,
73
+ onItemFocus: u.useCallback((e) => O(e), [O]),
74
+ onItemShiftTab: u.useCallback(() => A(!0), []),
75
+ onFocusableItemAdd: u.useCallback(() => I((e) => e + 1), []),
76
+ onFocusableItemRemove: u.useCallback(() => I((e) => e - 1), []),
77
+ children: /* @__PURE__ */ d(t.div, {
78
+ tabIndex: k || F === 0 ? -1 : 0,
79
+ "data-orientation": s,
80
+ ...y,
81
+ ref: x,
82
+ style: {
83
+ outline: "none",
84
+ ...n.style
85
+ },
86
+ onMouseDown: a(n.onMouseDown, () => {
87
+ P.current = !0;
88
+ }),
89
+ onFocus: a(n.onFocus, (e) => {
90
+ let t = !P.current;
91
+ if (e.target === e.currentTarget && t && !k) {
92
+ let t = new CustomEvent(S, C);
93
+ if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
94
+ let e = N().filter((e) => e.focusable);
95
+ V([
96
+ e.find((e) => e.active),
97
+ e.find((e) => e.id === D),
98
+ ...e
99
+ ].filter(Boolean).map((e) => e.ref.current), v);
100
+ }
101
+ }
102
+ P.current = !1;
103
+ }),
104
+ onBlur: a(n.onBlur, () => A(!1))
105
+ })
106
+ });
107
+ }, "RovingFocusGroupImpl")), I = "RovingFocusGroupItem", L = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(e, n) {
108
+ let { __scopeRovingFocusGroup: i, focusable: o = !0, active: c = !1, tabStopId: l, children: f, ...p } = e, m = s(), h = l || m, g = N(I, i), _ = g.currentTabStopId === h, v = E(i), { onFocusableItemAdd: b, onFocusableItemRemove: x, currentTabStopId: S } = g, C = y();
109
+ return r(() => {
110
+ if (!(!C || !o)) return b(), () => x();
111
+ }, [
112
+ C,
113
+ o,
114
+ b,
115
+ x
116
+ ]), u.useEffect(() => {
117
+ if (!(C || !o)) return b(), () => x();
118
+ }, [
119
+ C,
120
+ o,
121
+ b,
122
+ x
123
+ ]), /* @__PURE__ */ d(T.ItemSlot, {
124
+ scope: i,
125
+ id: h,
126
+ focusable: o,
127
+ active: c,
128
+ children: /* @__PURE__ */ d(t.span, {
129
+ tabIndex: _ ? 0 : -1,
130
+ "data-orientation": g.orientation,
131
+ ...p,
132
+ ref: n,
133
+ onMouseDown: a(e.onMouseDown, (e) => {
134
+ o ? g.onItemFocus(h) : e.preventDefault();
135
+ }),
136
+ onFocus: a(e.onFocus, () => g.onItemFocus(h)),
137
+ onKeyDown: a(e.onKeyDown, (e) => {
138
+ if (e.key === "Tab" && e.shiftKey) {
139
+ g.onItemShiftTab();
140
+ return;
141
+ }
142
+ if (e.target !== e.currentTarget) return;
143
+ let t = B(e, g.orientation, g.dir);
144
+ if (t !== void 0) {
145
+ if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
146
+ e.preventDefault();
147
+ let n = v().filter((e) => e.focusable).map((e) => e.ref.current);
148
+ if (t === "last") n.reverse();
149
+ else if (t === "prev" || t === "next") {
150
+ t === "prev" && n.reverse();
151
+ let r = n.indexOf(e.currentTarget);
152
+ n = g.loop ? H(n, r + 1) : n.slice(r + 1);
153
+ }
154
+ setTimeout(() => V(n));
155
+ }
156
+ }),
157
+ children: typeof f == "function" ? f({
158
+ isCurrentTabStop: _,
159
+ hasTabStop: S != null
160
+ }) : f
161
+ })
162
+ });
163
+ }, "RovingFocusGroupItem")), R = {
164
+ ArrowLeft: "prev",
165
+ ArrowUp: "prev",
166
+ ArrowRight: "next",
167
+ ArrowDown: "next",
168
+ PageUp: "first",
169
+ Home: "first",
170
+ PageDown: "last",
171
+ End: "last"
172
+ };
173
+ function z(e, t) {
174
+ return t === j.RTL ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
175
+ }
176
+ x(z, "getDirectionAwareKey");
177
+ function B(e, t, n) {
178
+ let r = z(e.key, n);
179
+ if (!(t === A.Vertical && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === A.Horizontal && ["ArrowUp", "ArrowDown"].includes(r))) return R[r];
180
+ }
181
+ x(B, "getFocusIntent");
182
+ function V(e, t = !1) {
183
+ let n = document.activeElement;
184
+ for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
185
+ }
186
+ x(V, "focusFirst");
187
+ function H(e, t) {
188
+ return e.map((n, r) => e[(t + r) % e.length]);
189
+ }
190
+ x(H, "wrapArray");
191
+ //#endregion
192
+ export { L as n, k as r, P as t };
@@ -0,0 +1 @@
1
+ const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-BBvidwzC.js"),n=require("./dist-hFLuJoMi.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-Zs2sjYhL.js"),a=require("./dist-DZiOPWLp.js"),o=require("./dist-D7-Fky36.js"),s=require("./dist-C8Pm6LRc.js"),c=require("./dist-UnTrOmPV.js"),l=require("./dist-D1qkELLT.js"),u=require("./dist-BU-TFzJf.js"),d=require("./dist-Qm9hFvM1.js"),f=require("./dist-1zUKVGvf.js"),p=require("./es2015-DbAsWDbs.js"),m=require("./dist-N97cIp0_.js"),h=require("./dist-DEpkkABT.js");let g=require("react");g=e.r(g,1);let _=require("react/jsx-runtime");var v=Object.defineProperty,y=(e,t)=>v(e,`name`,{value:t,configurable:!0}),ee={LTR:`ltr`,RTL:`rtl`},b=[`Enter`,` `],x=[`ArrowDown`,`PageUp`,`Home`],te=[`ArrowUp`,`PageDown`,`End`],ne=[...x,...te],re={ltr:[...b,`ArrowRight`],rtl:[...b,`ArrowLeft`]},S={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},C=`Menu`,[w,ie,T]=i.t(C),[E,ae]=r.t(C,[T,m.a,h.r]),D=m.a(),oe=h.r(),[O,k]=E(C),[se,A]=E(C),j=y(e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=D(t),[u,d]=g.useState(null),f=g.useRef(!1),p=l.t(a),h=c.n(i);return g.useEffect(()=>{let e=y(()=>{f.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},`handleKeyDown`),t=y(()=>f.current=!1,`handlePointer`);return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),g.useEffect(()=>{if(!n)return;let e=y(()=>p(!1),`handleBlur`);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[n,p]),(0,_.jsx)(m.t,{...s,children:(0,_.jsx)(O,{scope:t,open:n,onOpenChange:p,content:u,onContentChange:d,children:(0,_.jsx)(se,{scope:t,onClose:g.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:h,modal:o,children:r})})})},`Menu`),M=g.forwardRef(y(function(e,t){let{__scopeMenu:n,...r}=e,i=D(n);return(0,_.jsx)(m.n,{...i,...r,ref:t})},`MenuAnchor`)),N=`MenuPortal`,[ce,P]=E(N,{forceMount:void 0}),le=y(e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=k(N,t);return(0,_.jsx)(ce,{scope:t,forceMount:n,children:(0,_.jsx)(o.t,{present:n||a.open,children:(0,_.jsx)(f.t,{asChild:!0,container:i,children:r})})})},`MenuPortal`),F=`MenuContent`,[ue,I]=E(F),L=g.forwardRef(y(function(e,t){let n=P(F,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=k(F,e.__scopeMenu),s=A(F,e.__scopeMenu);return(0,_.jsx)(w.Provider,{scope:e.__scopeMenu,children:(0,_.jsx)(o.t,{present:r||a.open,children:(0,_.jsx)(w.Slot,{scope:e.__scopeMenu,children:s.modal?(0,_.jsx)(R,{...i,ref:t}):(0,_.jsx)(z,{...i,ref:t})})})})},`MenuContent`)),R=g.forwardRef(y(function(e,n){let r=k(F,e.__scopeMenu),i=g.useRef(null),o=t.a(n,i);return g.useEffect(()=>{let e=i.current;if(e)return p.t(e)},[]),(0,_.jsx)(B,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:a.t(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})},`MenuRootContentModal`)),z=g.forwardRef(y(function(e,t){let n=k(F,e.__scopeMenu);return(0,_.jsx)(B,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentNonModal`)),de=t.n(`MenuContent.ScrollLock`),B=g.forwardRef(y(function(e,n){let{__scopeMenu:r,loop:i=!1,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:l,onEntryFocus:f,onEscapeKeyDown:v,onPointerDownOutside:ee,onFocusOutside:b,onInteractOutside:x,onDismiss:re,disableOutsideScroll:S,...C}=e,w=k(F,r),T=A(F,r),E=D(r),ae=oe(r),O=ie(r),[se,j]=g.useState(null),M=g.useRef(null),[N,ce]=g.useState(null);d.r(N);let{nodes:P,registry:le}=d.i(),I=!!(o||S),L=t.a(n,M,w.onContentChange,ce),R=g.useRef(0),z=g.useRef(``),B=g.useRef(0),V=g.useRef(null),H=g.useRef(`right`),U=g.useRef(0),W=g.useMemo(()=>S?[M,...P.map(e=>({current:e}))]:[],[M,P,S]),G=S?p.n:g.Fragment,K=S?{as:de,allowPinchZoom:!0,shards:W}:void 0,fe=y(e=>{let t=z.current+e,n=O().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Ae(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;function s(e){z.current=e,window.clearTimeout(R.current),e!==``&&(R.current=window.setTimeout(()=>s(``),1e3))}y(s,`updateSearch`),s(t),o&&setTimeout(()=>o.focus())},`handleTypeaheadSearch`);g.useEffect(()=>()=>window.clearTimeout(R.current),[]),p.r();let q=g.useCallback(e=>H.current===V.current?.side&&Me(e,V.current?.area),[]);return(0,_.jsx)(ue,{scope:r,searchRef:z,onItemEnter:g.useCallback(e=>{q(e)&&e.preventDefault()},[q]),onItemLeave:g.useCallback(e=>{q(e)||(M.current?.focus(),j(null))},[q]),onTriggerLeave:g.useCallback(e=>{q(e)&&e.preventDefault()},[q]),pointerGraceTimerRef:B,onPointerGraceIntentChange:g.useCallback(e=>{V.current=e},[]),children:(0,_.jsx)(d.n,{registry:I?le:null,children:(0,_.jsx)(G,{...K,children:(0,_.jsx)(d.t,{asChild:!0,trapped:o,branches:P,onMountAutoFocus:a.t(s,e=>{e.preventDefault(),M.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,_.jsx)(u.t,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:v,onPointerDownOutside:ee,onFocusOutside:b,onInteractOutside:x,onDismiss:re,children:(0,_.jsx)(h.t,{asChild:!0,...ae,dir:T.dir,orientation:`vertical`,loop:i,currentTabStopId:se,onCurrentTabStopIdChange:j,onEntryFocus:a.t(f,e=>{T.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,_.jsx)(m.i,{role:`menu`,"aria-orientation":`vertical`,"data-state":X(w.open),"data-radix-menu-content":``,dir:T.dir,...E,...C,ref:L,style:{outline:`none`,...C.style},onKeyDown:a.t(C.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&fe(e.key));let i=M.current;if(e.target!==i||!ne.includes(e.key))return;e.preventDefault();let a=O().filter(e=>!e.disabled).map(e=>e.ref.current);te.includes(e.key)&&a.reverse(),Oe(a)}),onBlur:a.t(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(R.current),z.current=``)}),onPointerMove:a.t(e.onPointerMove,$(e=>{let t=e.target,n=U.current!==e.clientX;e.currentTarget.contains(t)&&n&&(H.current=e.clientX>U.current?`right`:`left`,U.current=e.clientX)}))})})})})})})})},`MenuContentImpl`)),V=g.forwardRef(y(function(e,t){let{__scopeMenu:r,...i}=e;return(0,_.jsx)(n.t.div,{role:`group`,...i,ref:t})},`MenuGroup`)),H=g.forwardRef(y(function(e,t){let{__scopeMenu:r,...i}=e;return(0,_.jsx)(n.t.div,{...i,ref:t})},`MenuLabel`)),U=`MenuItem`,W=`menu.itemSelect`,G=g.forwardRef(y(function(e,r){let{disabled:i=!1,onSelect:o,...s}=e,c=g.useRef(null),l=A(U,e.__scopeMenu),u=I(U,e.__scopeMenu),d=t.a(r,c),f=g.useRef(!1),p=y(()=>{let e=c.current;if(!i&&e){let t=new CustomEvent(W,{bubbles:!0,cancelable:!0});e.addEventListener(W,e=>o?.(e),{once:!0}),n.n(e,t),t.defaultPrevented?f.current=!1:l.onClose()}},`handleSelect`);return(0,_.jsx)(K,{...s,ref:d,disabled:i,onClick:a.t(e.onClick,p),onPointerDown:t=>{e.onPointerDown?.(t),f.current=!0},onPointerUp:a.t(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:a.t(e.onKeyDown,e=>{i||e.target!==e.currentTarget||u.searchRef.current!==``&&e.key===` `||b.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},`MenuItem`)),K=g.forwardRef(y(function(e,r){let{__scopeMenu:i,disabled:o=!1,textValue:s,...c}=e,l=I(U,i),u=oe(i),d=g.useRef(null),f=t.a(r,d),[p,m]=g.useState(!1),[v,y]=g.useState(``);return g.useEffect(()=>{let e=d.current;e&&y((e.textContent??``).trim())},[c.children]),(0,_.jsx)(w.ItemSlot,{scope:i,disabled:o,textValue:s??v,children:(0,_.jsx)(h.n,{asChild:!0,...u,focusable:!o,children:(0,_.jsx)(n.t.div,{role:`menuitem`,"data-highlighted":p?``:void 0,"aria-disabled":o||void 0,"data-disabled":o?``:void 0,...c,ref:f,onPointerMove:a.t(e.onPointerMove,$(e=>{o?l.onItemLeave(e):(l.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:a.t(e.onPointerLeave,$(e=>l.onItemLeave(e))),onFocus:a.t(e.onFocus,()=>m(!0)),onBlur:a.t(e.onBlur,()=>m(!1))})})})},`MenuItemImpl`)),fe=g.forwardRef(y(function(e,t){let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,_.jsx)(_e,{scope:e.__scopeMenu,checked:n,children:(0,_.jsx)(G,{role:`menuitemcheckbox`,"aria-checked":Z(n)?`mixed`:n,...i,ref:t,"data-state":Q(n),onSelect:a.t(i.onSelect,()=>r?.(Z(n)?!0:!n),{checkForDefaultPrevented:!1})})})},`MenuCheckboxItem`)),[q,pe]=E(`MenuRadioGroup`,{value:void 0,onValueChange:y(()=>{},`onValueChange`)}),me=g.forwardRef(y(function(e,t){let{value:n,onValueChange:r,...i}=e,a=l.t(r);return(0,_.jsx)(q,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,_.jsx)(V,{...i,ref:t})})},`MenuRadioGroup`)),he=`MenuRadioItem`,ge=g.forwardRef(y(function(e,t){let{value:n,...r}=e,i=pe(he,e.__scopeMenu),o=n===i.value;return(0,_.jsx)(_e,{scope:e.__scopeMenu,checked:o,children:(0,_.jsx)(G,{role:`menuitemradio`,"aria-checked":o,...r,ref:t,"data-state":Q(o),onSelect:a.t(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})},`MenuRadioItem`)),J=`MenuItemIndicator`,[_e,ve]=E(J,{checked:!1}),ye=g.forwardRef(y(function(e,t){let{__scopeMenu:r,forceMount:i,...a}=e,s=ve(J,r);return(0,_.jsx)(o.t,{present:i||Z(s.checked)||s.checked===!0,children:(0,_.jsx)(n.t.span,{...a,ref:t,"data-state":Q(s.checked)})})},`MenuItemIndicator`)),be=g.forwardRef(y(function(e,t){let{__scopeMenu:r,...i}=e;return(0,_.jsx)(n.t.div,{role:`separator`,"aria-orientation":`horizontal`,...i,ref:t})},`MenuSeparator`)),xe=`MenuSub`,[Se,Ce]=E(xe),we=y(e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,a=k(xe,t),o=D(t),[c,u]=g.useState(null),[d,f]=g.useState(null),p=l.t(i);return g.useEffect(()=>(a.open===!1&&p(!1),()=>p(!1)),[a.open,p]),(0,_.jsx)(m.t,{...o,children:(0,_.jsx)(O,{scope:t,open:r,onOpenChange:p,content:d,onContentChange:f,children:(0,_.jsx)(Se,{scope:t,contentId:s.t(),triggerId:s.t(),trigger:c,onTriggerChange:u,children:n})})})},`MenuSub`),Y=`MenuSubTrigger`,Te=g.forwardRef(y(function(e,n){let r=k(Y,e.__scopeMenu),i=A(Y,e.__scopeMenu),o=Ce(Y,e.__scopeMenu),s=I(Y,e.__scopeMenu),c=g.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:u}=s,d={__scopeMenu:e.__scopeMenu},f=g.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);g.useEffect(()=>f,[f]),g.useEffect(()=>{let e=l.current;return()=>{window.clearTimeout(e),u(null)}},[l,u]);let p=t.a(n,o.onTriggerChange);return(0,_.jsx)(M,{asChild:!0,...d,children:(0,_.jsx)(K,{id:o.triggerId,"aria-haspopup":`menu`,"aria-expanded":r.open,"aria-controls":r.open?o.contentId:void 0,"data-state":X(r.open),...e,ref:p,onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:a.t(e.onPointerMove,$(t=>{s.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!r.open&&!c.current&&(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{r.onOpenChange(!0),f()},100))})),onPointerLeave:a.t(e.onPointerLeave,$(e=>{f();let t=r.content?.getBoundingClientRect();if(t){let n=r.content?.dataset.side,i=n===`right`,a=i?-5:5,o=t[i?`left`:`right`],c=t[i?`right`:`left`];s.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:o,y:t.top},{x:c,y:t.top},{x:c,y:t.bottom},{x:o,y:t.bottom}],side:n}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:a.t(e.onKeyDown,t=>{e.disabled||t.target!==t.currentTarget||s.searchRef.current!==``&&t.key===` `||re[i.dir].includes(t.key)&&(r.onOpenChange(!0),r.content?.focus(),t.preventDefault())})})})},`MenuSubTrigger`)),Ee=`MenuSubContent`,De=g.forwardRef(y(function(e,n){let r=P(F,e.__scopeMenu),{forceMount:i=r.forceMount,align:s=`start`,...c}=e,l=k(F,e.__scopeMenu),u=A(F,e.__scopeMenu),d=Ce(Ee,e.__scopeMenu),f=g.useRef(null),p=t.a(n,f);return(0,_.jsx)(w.Provider,{scope:e.__scopeMenu,children:(0,_.jsx)(o.t,{present:i||l.open,children:(0,_.jsx)(w.Slot,{scope:e.__scopeMenu,children:(0,_.jsx)(B,{id:d.contentId,"aria-labelledby":d.triggerId,...c,ref:p,align:s,side:u.dir===ee.RTL?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{u.isUsingKeyboardRef.current&&f.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:a.t(e.onFocusOutside,e=>{e.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:a.t(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:a.t(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=S[u.dir].includes(e.key);t&&n&&(l.onOpenChange(!1),d.trigger?.focus(),e.preventDefault())})})})})})},`MenuSubContent`));function X(e){return e?`open`:`closed`}y(X,`getOpenState`);function Z(e){return e===`indeterminate`}y(Z,`isIndeterminate`);function Q(e){return Z(e)?`indeterminate`:e?`checked`:`unchecked`}y(Q,`getCheckedState`);function Oe(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}y(Oe,`focusFirst`);function ke(e,t){return e.map((n,r)=>e[(t+r)%e.length])}y(ke,`wrapArray`);function Ae(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=ke(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}y(Ae,`getNextMatch`);function je(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}y(je,`isPointInPolygon`);function Me(e,t){return t?je({x:e.clientX,y:e.clientY},t):!1}y(Me,`isPointerInGraceArea`);function $(e){return t=>t.pointerType===`mouse`?e(t):void 0}y($,`whenMouse`),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return ge}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return be}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return ae}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return Te}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return le}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return De}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return we}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return fe}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return ye}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return me}});