@gv-tech/ui-web 2.29.1 → 2.29.2

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 (330) hide show
  1. package/dist/accordion-Bd0-CZQn.js +1 -0
  2. package/dist/{accordion-D5QXSsCK.mjs → accordion-Cf6DNbLH.mjs} +47 -51
  3. package/dist/accordion.cjs +1 -1
  4. package/dist/accordion.mjs +1 -2
  5. package/dist/{alert-dialog-B-a0Wa1M.mjs → alert-dialog-BxFH0Lwn.mjs} +43 -45
  6. package/dist/alert-dialog-C6vNmGBL.js +1 -0
  7. package/dist/alert-dialog.cjs +1 -1
  8. package/dist/alert-dialog.mjs +1 -2
  9. package/dist/alert.cjs +1 -1
  10. package/dist/alert.mjs +2 -3
  11. package/dist/{aspect-ratio-s7Ji1MSr.mjs → aspect-ratio-CdQevcDV.mjs} +4 -6
  12. package/dist/aspect-ratio-Z4Nkc56X.js +1 -0
  13. package/dist/aspect-ratio.cjs +1 -1
  14. package/dist/aspect-ratio.mjs +1 -2
  15. package/dist/attachment.cjs +1 -1
  16. package/dist/attachment.mjs +3 -4
  17. package/dist/{avatar-d8Di248f.mjs → avatar-B5PWwGhY.mjs} +50 -52
  18. package/dist/avatar-CFhYRM52.js +1 -0
  19. package/dist/avatar.cjs +1 -1
  20. package/dist/avatar.mjs +1 -2
  21. package/dist/badge.cjs +1 -1
  22. package/dist/badge.mjs +5 -6
  23. package/dist/breadcrumb.cjs +1 -1
  24. package/dist/breadcrumb.mjs +3 -4
  25. package/dist/bubble.cjs +1 -1
  26. package/dist/bubble.mjs +3 -4
  27. package/dist/button-group.cjs +1 -1
  28. package/dist/button-group.mjs +4 -5
  29. package/dist/button.cjs +1 -1
  30. package/dist/button.mjs +3 -4
  31. package/dist/calendar-D5qgt2o2.js +1 -0
  32. package/dist/{calendar-UW8h9dfh.mjs → calendar-DIqXNjOR.mjs} +687 -840
  33. package/dist/calendar.cjs +1 -1
  34. package/dist/calendar.mjs +1 -2
  35. package/dist/card.cjs +1 -1
  36. package/dist/card.mjs +2 -3
  37. package/dist/carousel-D-xEqRCX.js +1 -0
  38. package/dist/{carousel-DG9xGJns.mjs → carousel-DPjWmM_A.mjs} +13 -15
  39. package/dist/carousel.cjs +1 -1
  40. package/dist/carousel.mjs +1 -2
  41. package/dist/chart.cjs +2 -2
  42. package/dist/chart.mjs +14 -15
  43. package/dist/{checkbox-Dq8VHKDH.mjs → checkbox-DEPm1BBc.mjs} +36 -38
  44. package/dist/checkbox-DI9Hn_e_.js +1 -0
  45. package/dist/checkbox.cjs +1 -1
  46. package/dist/checkbox.mjs +1 -2
  47. package/dist/chunk-HBS6WEDP-D2-yWzIN.js +1 -0
  48. package/dist/{chunk-HBS6WEDP-aK8IuEX9.mjs → chunk-HBS6WEDP-DD8ZmxRM.mjs} +3 -4
  49. package/dist/collapsible.cjs +1 -1
  50. package/dist/collapsible.mjs +2 -3
  51. package/dist/{combobox-b4OmCNw1.mjs → combobox-C4y8AbZX.mjs} +348 -591
  52. package/dist/combobox-boXp-mix.js +3 -0
  53. package/dist/combobox.cjs +1 -1
  54. package/dist/combobox.mjs +1 -2
  55. package/dist/command-BnW6UIVk.js +1 -0
  56. package/dist/{command-5hobOyGG.mjs → command-Cbsp7PBx.mjs} +121 -124
  57. package/dist/command.cjs +1 -1
  58. package/dist/command.mjs +1 -2
  59. package/dist/context-menu-CwsdFpx1.js +1 -0
  60. package/dist/{context-menu-DzzU-_v8.mjs → context-menu-FNgV55ZV.mjs} +117 -119
  61. package/dist/context-menu.cjs +1 -1
  62. package/dist/context-menu.mjs +1 -2
  63. package/dist/dialog.cjs +1 -1
  64. package/dist/dialog.mjs +3 -4
  65. package/dist/direction.cjs +1 -1
  66. package/dist/direction.mjs +2 -3
  67. package/dist/{dist-Bb5W_J2F.mjs → dist-7YyzJonC.mjs} +4 -4
  68. package/dist/{dist-BPL7gUpg.mjs → dist-AlmToDtO.mjs} +2 -3
  69. package/dist/{dist-BB78QQyQ.mjs → dist-B76UOZbx.mjs} +1 -2
  70. package/dist/{dist-BEbV0Hal.mjs → dist-B7Ph9-T6.mjs} +2 -3
  71. package/dist/dist-B7jnFMko.js +1 -0
  72. package/dist/{dist-CS572Be42.mjs → dist-BOiFyvyS.mjs} +1 -2
  73. package/dist/dist-BQkDLAY7.js +1 -0
  74. package/dist/dist-Bal96K8t.js +1 -0
  75. package/dist/dist-Blgp9lfa.js +1 -0
  76. package/dist/{dist-CpKLY_uZ.mjs → dist-BnlI08Je.mjs} +4 -4
  77. package/dist/{dist-BexAB6yo.mjs → dist-Bu-uFV1C.mjs} +33 -34
  78. package/dist/{dist-OqDzLHTa.mjs → dist-C2BHd5i1.mjs} +31 -31
  79. package/dist/{dist-Dq-h6VAy.mjs → dist-C516Vwxy.mjs} +4 -6
  80. package/dist/dist-CBlqVBTk.js +1 -0
  81. package/dist/dist-CDcZ8WMF.js +1 -0
  82. package/dist/{dist-E8ieJTBC.mjs → dist-CDksSmTD.mjs} +5 -6
  83. package/dist/dist-CF-qVmmV.js +1 -0
  84. package/dist/dist-CIgGRTmJ.js +1 -0
  85. package/dist/dist-CJqVmdrU.js +1 -0
  86. package/dist/{dist-CPAF050o.mjs → dist-COqM3IM6.mjs} +3 -4
  87. package/dist/{dist-s7ibhASj.mjs → dist-CbWpCWog.mjs} +12 -13
  88. package/dist/{dist-DI1vapnL.mjs → dist-CcGLWbPa.mjs} +3 -4
  89. package/dist/{dist-Dt6m-kwU.mjs → dist-Cn4F8XlY.mjs} +50 -51
  90. package/dist/dist-CoTs6T03.js +1 -0
  91. package/dist/dist-Co_xSt6d.js +1 -0
  92. package/dist/{dist-UkWa-Arh.mjs → dist-Cu0GG-3j.mjs} +2 -3
  93. package/dist/{dist-Bvfb4y_L.mjs → dist-DKI-XYwI.mjs} +3 -5
  94. package/dist/{dist-DatgTWLz.mjs → dist-DQeXXRYL.mjs} +81 -82
  95. package/dist/dist-DW2ltK5-.js +1 -0
  96. package/dist/dist-DWcKY_sJ.js +1 -0
  97. package/dist/dist-DdAeWIwf.js +1 -0
  98. package/dist/dist-DhubV_gU.mjs +4 -0
  99. package/dist/dist-DmY7elIQ.js +1 -0
  100. package/dist/{dist-Dm3IQk5b.mjs → dist-DoWtzxYc.mjs} +234 -235
  101. package/dist/dist-DuQlxGyN.js +1 -0
  102. package/dist/dist-KFF7QKuL.js +1 -0
  103. package/dist/dist-RXrZgzkO.js +1 -0
  104. package/dist/dist-R_G5UQRm.js +1 -0
  105. package/dist/{dist-BbI6NHqR.mjs → dist-dwRwxUPt.mjs} +1 -2
  106. package/dist/dist-fzmUl3YX.mjs +553 -0
  107. package/dist/{dist-vu20fMUK.mjs → dist-hBsne-A2.mjs} +22 -23
  108. package/dist/{dist-B057I8ju.mjs → dist-ljiGYyay.mjs} +2 -3
  109. package/dist/dist-pqMcQ1Nk.js +1 -0
  110. package/dist/dist-zmnQp5Xf.js +1 -0
  111. package/dist/drawer.cjs +1 -1
  112. package/dist/drawer.mjs +2 -3
  113. package/dist/dropdown-menu-ChuqZeix.js +1 -0
  114. package/dist/{dropdown-menu-BqAhn64y.mjs → dropdown-menu-DU7KNoXP.mjs} +75 -77
  115. package/dist/dropdown-menu.cjs +1 -1
  116. package/dist/dropdown-menu.mjs +1 -2
  117. package/dist/empty.cjs +1 -1
  118. package/dist/empty.mjs +2 -3
  119. package/dist/{es2015-DbsmTzuc.mjs → es2015-BooeZGhO.mjs} +94 -111
  120. package/dist/es2015-Dggv0vx3.js +41 -0
  121. package/dist/field.cjs +1 -1
  122. package/dist/field.mjs +4 -5
  123. package/dist/{floating-ui.react-dom-CyupHsR6.mjs → floating-ui.react-dom-2hihjuTL.mjs} +12 -17
  124. package/dist/floating-ui.react-dom-BtFIezY4.js +1 -0
  125. package/dist/form.cjs +1 -1
  126. package/dist/form.mjs +19 -20
  127. package/dist/hooks/use-theme.d.ts +52 -52
  128. package/dist/hover-card-BeqCs_2R.js +1 -0
  129. package/dist/{hover-card-DMsxpR9G.mjs → hover-card-w8PmCyw2.mjs} +62 -64
  130. package/dist/hover-card.cjs +1 -1
  131. package/dist/hover-card.mjs +1 -2
  132. package/dist/index.cjs +1 -1
  133. package/dist/index.mjs +66 -66
  134. package/dist/input-group.cjs +1 -1
  135. package/dist/input-group.mjs +2 -3
  136. package/dist/{input-otp-D49Y9VcH.mjs → input-otp-Bn_Uy1mR.mjs} +6 -17
  137. package/dist/input-otp-CTRB_0Xp.js +20 -0
  138. package/dist/input-otp.cjs +1 -1
  139. package/dist/input-otp.mjs +1 -2
  140. package/dist/input.cjs +1 -1
  141. package/dist/input.mjs +2 -3
  142. package/dist/item.cjs +1 -1
  143. package/dist/item.mjs +4 -5
  144. package/dist/kbd.cjs +1 -1
  145. package/dist/kbd.mjs +2 -3
  146. package/dist/{label-DsSICLPc.mjs → label-Da0kELfR.mjs} +4 -6
  147. package/dist/label-JMa1tFfC.js +1 -0
  148. package/dist/label.cjs +1 -1
  149. package/dist/label.mjs +1 -2
  150. package/dist/marker.cjs +1 -1
  151. package/dist/marker.mjs +3 -4
  152. package/dist/{menubar-DZqEj6S1.mjs → menubar-B7sRxpE4.mjs} +179 -181
  153. package/dist/menubar-Bd-QKMcw.js +1 -0
  154. package/dist/menubar.cjs +1 -1
  155. package/dist/menubar.mjs +1 -2
  156. package/dist/{message-scroller-CS4t7Ypn.mjs → message-scroller-B8AU0v3Y.mjs} +83 -102
  157. package/dist/message-scroller-BJb4Mh_I.js +1 -0
  158. package/dist/message-scroller.cjs +1 -1
  159. package/dist/message-scroller.mjs +1 -2
  160. package/dist/message.cjs +1 -1
  161. package/dist/message.mjs +2 -3
  162. package/dist/native-select.cjs +1 -1
  163. package/dist/native-select.mjs +2 -3
  164. package/dist/{navigation-menu-RO6thDOF.mjs → navigation-menu-B-RwfscB.mjs} +161 -159
  165. package/dist/navigation-menu-kPwxYZCR.js +1 -0
  166. package/dist/navigation-menu.cjs +1 -1
  167. package/dist/navigation-menu.mjs +1 -2
  168. package/dist/pagination.cjs +1 -1
  169. package/dist/pagination.mjs +2 -3
  170. package/dist/popover-Cq5cTNtC.js +1 -0
  171. package/dist/{popover-DSBkc70V.mjs → popover-T6Ra737i.mjs} +79 -81
  172. package/dist/popover.cjs +1 -1
  173. package/dist/popover.mjs +1 -2
  174. package/dist/{progress-CQ4nQ85t.mjs → progress-e9YzxvRo.mjs} +11 -13
  175. package/dist/progress-iUSEI7J9.js +6 -0
  176. package/dist/progress.cjs +1 -1
  177. package/dist/progress.mjs +1 -2
  178. package/dist/{questionnaire-CVED7G7R.mjs → questionnaire-BLCvUX1C.mjs} +153 -175
  179. package/dist/questionnaire-CcymIPae.js +1 -0
  180. package/dist/questionnaire.cjs +1 -1
  181. package/dist/questionnaire.mjs +1 -2
  182. package/dist/{radio-group-TRiAhMZB.mjs → radio-group-BKpiDcIb.mjs} +58 -60
  183. package/dist/radio-group-DPEzCmxe.js +1 -0
  184. package/dist/radio-group.cjs +1 -1
  185. package/dist/radio-group.mjs +1 -2
  186. package/dist/resizable-ByF0NmN9.mjs +2153 -0
  187. package/dist/resizable-oL3v42zT.js +1 -0
  188. package/dist/resizable.cjs +1 -1
  189. package/dist/resizable.mjs +1 -2
  190. package/dist/{chunk-BmowowmI.mjs → rolldown-runtime-D7yIeQp2.mjs} +2 -3
  191. package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
  192. package/dist/{scroll-area-D6MiNHnJ.mjs → scroll-area-BzNeOQ6C.mjs} +109 -105
  193. package/dist/scroll-area-s4_ZJK59.js +1 -0
  194. package/dist/scroll-area.cjs +1 -1
  195. package/dist/scroll-area.mjs +1 -2
  196. package/dist/scroll-to-top.cjs +1 -1
  197. package/dist/scroll-to-top.mjs +6 -11
  198. package/dist/search.cjs +1 -1
  199. package/dist/search.mjs +12 -13
  200. package/dist/{select-BFJUmjvX.mjs → select-B_nRxX2Y.mjs} +280 -279
  201. package/dist/select-j5_dph9S.js +1 -0
  202. package/dist/select.cjs +1 -1
  203. package/dist/select.mjs +1 -2
  204. package/dist/separator-Bn-3XUSJ.js +1 -0
  205. package/dist/{separator-2kr96SyF.mjs → separator-CCcMNS78.mjs} +4 -6
  206. package/dist/separator.cjs +1 -1
  207. package/dist/separator.mjs +1 -2
  208. package/dist/sheet.cjs +1 -1
  209. package/dist/sheet.mjs +3 -4
  210. package/dist/{sidebar-DM9ee9wf.mjs → sidebar-C2ax_A0G.mjs} +47 -49
  211. package/dist/sidebar-Cnem2n5A.js +1 -0
  212. package/dist/sidebar.cjs +1 -1
  213. package/dist/sidebar.mjs +1 -2
  214. package/dist/skeleton.cjs +1 -1
  215. package/dist/skeleton.mjs +2 -3
  216. package/dist/{slider-CdTCoQu1.mjs → slider-B2PUTc7W.mjs} +103 -104
  217. package/dist/slider-wZuXwuib.js +1 -0
  218. package/dist/slider.cjs +1 -1
  219. package/dist/slider.mjs +1 -2
  220. package/dist/sonner.mjs +1 -2
  221. package/dist/spinner.cjs +1 -1
  222. package/dist/spinner.mjs +2 -3
  223. package/dist/support-fab.cjs +1 -1
  224. package/dist/support-fab.mjs +21 -22
  225. package/dist/switch-CD675xU7.js +1 -0
  226. package/dist/{switch-zUBdj7jK.mjs → switch-ikzIzrme.mjs} +29 -31
  227. package/dist/switch.cjs +1 -1
  228. package/dist/switch.mjs +1 -2
  229. package/dist/table-of-contents.cjs +1 -1
  230. package/dist/table-of-contents.mjs +5 -6
  231. package/dist/table.cjs +1 -1
  232. package/dist/table.mjs +2 -3
  233. package/dist/{tabs-DaE9pEbo.mjs → tabs-DCm5zOYB.mjs} +45 -47
  234. package/dist/tabs-fcahDQDp.js +1 -0
  235. package/dist/tabs.cjs +1 -1
  236. package/dist/tabs.mjs +1 -2
  237. package/dist/text.cjs +1 -1
  238. package/dist/text.mjs +14 -12
  239. package/dist/textarea.cjs +1 -1
  240. package/dist/textarea.mjs +2 -3
  241. package/dist/theme-provider.mjs +1 -2
  242. package/dist/{theme-toggle-DKh8WFLT.js → theme-toggle-BGTJsIA-.js} +1 -1
  243. package/dist/{theme-toggle-3RStptYf.mjs → theme-toggle-BSMwXb8o.mjs} +13 -15
  244. package/dist/theme-toggle.cjs +1 -1
  245. package/dist/theme-toggle.mjs +1 -2
  246. package/dist/toast-C31v9P1K.js +1 -0
  247. package/dist/{toast-D0Yb-K84.mjs → toast-vU5ISM03.mjs} +181 -181
  248. package/dist/toast.cjs +1 -1
  249. package/dist/toast.mjs +1 -2
  250. package/dist/toaster-CaJyOCyC.js +1 -0
  251. package/dist/{toaster-gT2b7mfE.mjs → toaster-D2BV6jez.mjs} +3 -5
  252. package/dist/toaster.cjs +1 -1
  253. package/dist/toaster.mjs +1 -2
  254. package/dist/toggle-CSZdCCwX.js +1 -0
  255. package/dist/{toggle-BAeKd2N0.mjs → toggle-Cv9YYwLI.mjs} +8 -9
  256. package/dist/toggle-group-RT8wyBwK.js +1 -0
  257. package/dist/{toggle-group-CEKhUozD.mjs → toggle-group-qvjasXS-.mjs} +44 -45
  258. package/dist/toggle-group.cjs +1 -1
  259. package/dist/toggle-group.mjs +1 -2
  260. package/dist/toggle.cjs +1 -1
  261. package/dist/toggle.mjs +1 -2
  262. package/dist/{tooltip-R_nK_Qh5.mjs → tooltip-7ERoN5mV.mjs} +97 -101
  263. package/dist/tooltip-CC9_spXT.js +1 -0
  264. package/dist/tooltip.cjs +1 -1
  265. package/dist/tooltip.mjs +1 -2
  266. package/dist/{utils-A_oVsYw5.mjs → utils-DQKc9joa.mjs} +1 -2
  267. package/package.json +3 -3
  268. package/dist/accordion-DjyDOX-h.js +0 -1
  269. package/dist/alert-dialog-DYQAhGBC.js +0 -1
  270. package/dist/aspect-ratio-C-KOOyGP.js +0 -1
  271. package/dist/avatar-4K3XjhP8.js +0 -1
  272. package/dist/calendar-DFj14O6r.js +0 -1
  273. package/dist/carousel-CNGpg5df.js +0 -1
  274. package/dist/checkbox-BCgbTAdU.js +0 -1
  275. package/dist/chunk-HBS6WEDP-CQNaACTf.js +0 -1
  276. package/dist/chunk-mLOUI7ql.js +0 -1
  277. package/dist/combobox-CpPIGtPJ.js +0 -4
  278. package/dist/command-Dbqnm9kI.js +0 -1
  279. package/dist/context-menu-DyTUismw.js +0 -1
  280. package/dist/dist-1zUKVGvf.js +0 -1
  281. package/dist/dist-BBvidwzC.js +0 -1
  282. package/dist/dist-BTUvBzOm.js +0 -1
  283. package/dist/dist-BU-TFzJf.js +0 -1
  284. package/dist/dist-BgXIqHHq.js +0 -1
  285. package/dist/dist-C8Pm6LRc.js +0 -1
  286. package/dist/dist-CGgemr2V.js +0 -1
  287. package/dist/dist-CUvxOuXM.mjs +0 -551
  288. package/dist/dist-C_iFkwIX.js +0 -1
  289. package/dist/dist-ClYM7l1t.js +0 -1
  290. package/dist/dist-D1qkELLT.js +0 -1
  291. package/dist/dist-D7-Fky36.js +0 -1
  292. package/dist/dist-DEpkkABT.js +0 -1
  293. package/dist/dist-DKXojpVG.js +0 -1
  294. package/dist/dist-DYUvPCPC.js +0 -1
  295. package/dist/dist-DoivLw3t.js +0 -1
  296. package/dist/dist-GazS1kfR.mjs +0 -5
  297. package/dist/dist-N97cIp0_.js +0 -1
  298. package/dist/dist-Qm9hFvM1.js +0 -1
  299. package/dist/dist-UnTrOmPV.js +0 -1
  300. package/dist/dist-YAADIsyo.js +0 -1
  301. package/dist/dist-Zs2sjYhL.js +0 -1
  302. package/dist/dist-hFLuJoMi.js +0 -1
  303. package/dist/dropdown-menu-BtKOr--r.js +0 -1
  304. package/dist/es2015-DbAsWDbs.js +0 -41
  305. package/dist/floating-ui.react-dom-BwFRxNGc.js +0 -1
  306. package/dist/hover-card-DWXusgiI.js +0 -1
  307. package/dist/input-otp-u3obpt-Q.js +0 -20
  308. package/dist/label-Dacwh21G.js +0 -1
  309. package/dist/menubar-BYNeRuzx.js +0 -1
  310. package/dist/message-scroller-DqLu0YI6.js +0 -1
  311. package/dist/navigation-menu-B36G3O83.js +0 -1
  312. package/dist/popover-DUHbvKB8.js +0 -1
  313. package/dist/progress-B9z08UXf.js +0 -6
  314. package/dist/questionnaire-PWClWvST.js +0 -1
  315. package/dist/radio-group-Bd3WbH5I.js +0 -1
  316. package/dist/resizable-Cq60hEWB.js +0 -1
  317. package/dist/resizable-Qc8cVUKd.mjs +0 -2857
  318. package/dist/scroll-area-DFUdJeSZ.js +0 -1
  319. package/dist/select-iQFoKU1s.js +0 -1
  320. package/dist/separator-Bo49G2aj.js +0 -1
  321. package/dist/sidebar-C6O8hLkz.js +0 -1
  322. package/dist/slider-CagVxozY.js +0 -1
  323. package/dist/switch-CoeAC1Wk.js +0 -1
  324. package/dist/tabs-TMhXe20x.js +0 -1
  325. package/dist/toast-B0S3F09s.js +0 -1
  326. package/dist/toaster-CX9im8R_.js +0 -1
  327. package/dist/toggle-B0hXPsi7.js +0 -1
  328. package/dist/toggle-group-htyug3G7.js +0 -1
  329. package/dist/tooltip-BZazhXDZ.js +0 -1
  330. /package/dist/{dist-DJqkhIXb2.js → dist-DJqkhIXb.js} +0 -0
@@ -1,23 +1,23 @@
1
- import { t as e } from "./dist-Dm3IQk5b.mjs";
2
- import { a as t, r as n } from "./dist-Dq-h6VAy.mjs";
3
- import { n as r, t as i } from "./dist-BEbV0Hal.mjs";
4
- import { n as a } from "./dist-B057I8ju.mjs";
5
- import { t as o } from "./dist-CPAF050o.mjs";
6
- import { t as s } from "./dist-GazS1kfR.mjs";
7
- import { t as c } from "./dist-OqDzLHTa.mjs";
8
- import { t as l } from "./dist-BB78QQyQ.mjs";
9
- import { t as u } from "./dist-Bvfb4y_L.mjs";
10
- import { t as d } from "./dist-CpKLY_uZ.mjs";
11
- import { t as f } from "./dist-UkWa-Arh.mjs";
12
- import { n as p } from "./dist-BbI6NHqR.mjs";
13
- import { t as m } from "./dist-BPL7gUpg.mjs";
14
- import { t as h } from "./dist-s7ibhASj.mjs";
1
+ import { t as e } from "./dist-DoWtzxYc.mjs";
2
+ import { t } from "./dist-COqM3IM6.mjs";
3
+ import { t as n } from "./dist-B76UOZbx.mjs";
4
+ import { n as r, t as i } from "./dist-B7Ph9-T6.mjs";
5
+ import { t as a } from "./dist-DKI-XYwI.mjs";
6
+ import { a as o, r as s } from "./dist-C516Vwxy.mjs";
7
+ import { n as c } from "./dist-dwRwxUPt.mjs";
8
+ import { t as l } from "./dist-BnlI08Je.mjs";
9
+ import { t as u } from "./dist-Cu0GG-3j.mjs";
10
+ import { t as d } from "./dist-C2BHd5i1.mjs";
11
+ import { t as f } from "./dist-CbWpCWog.mjs";
12
+ import { t as p } from "./dist-DhubV_gU.mjs";
13
+ import { t as m } from "./dist-AlmToDtO.mjs";
14
+ import { n as h } from "./dist-ljiGYyay.mjs";
15
15
  import { ChevronDownIcon as g } from "lucide-react";
16
16
  import * as _ from "react";
17
17
  import * as v from "react-dom";
18
18
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
19
19
  import { cva as S } from "class-variance-authority";
20
- //#region ../../node_modules/.bun/@radix-ui+react-use-previous@1.1.4+c841d34b494ec30a/node_modules/@radix-ui/react-use-previous/dist/index.mjs
20
+ // ../../node_modules/.bun/@radix-ui+react-use-previous@1.1.4+0ac650c021fb1b59/node_modules/@radix-ui/react-use-previous/dist/index.mjs
21
21
  var C = Object.defineProperty, w = (e, t) => C(e, "name", {
22
22
  value: t,
23
23
  configurable: !0
@@ -30,8 +30,7 @@ function T(e) {
30
30
  return _.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
31
31
  }
32
32
  w(T, "usePrevious");
33
- //#endregion
34
- //#region ../../node_modules/.bun/@radix-ui+react-navigation-menu@1.4.1+b146eb580f4286be/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs
33
+ // ../../node_modules/.bun/@radix-ui+react-navigation-menu@1.4.1+2b23df507bdda662/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs
35
34
  var E = Object.defineProperty, D = (e, t) => E(e, "name", {
36
35
  value: t,
37
36
  configurable: !0
@@ -44,14 +43,14 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
44
43
  }, k = {
45
44
  LTR: "ltr",
46
45
  RTL: "rtl"
47
- }, A = "NavigationMenu", [j, M, N] = c(A), [P, te, ne] = c(A), [F, re] = o(A, [N, ne]), [ie, I] = F(A), [ae, oe] = F(A), se = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
48
- let { __scopeNavigationMenu: r, value: a, onValueChange: o, defaultValue: s, delayDuration: c = 200, skipDelayDuration: l = 300, orientation: d = ee.Horizontal, dir: f, activationMode: m = O.Automatic, ...h } = e, [g, v] = _.useState(null), y = t(n, v), x = p(f), S = _.useRef(0), C = _.useRef(0), w = _.useRef(0), [T, E] = _.useState(!0), [k, j] = u({
49
- prop: a,
46
+ }, A = "NavigationMenu", [j, M, N] = d(A), [P, te, ne] = d(A), [F, re] = t(A, [N, ne]), [ie, I] = F(A), [ae, oe] = F(A), se = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
47
+ let { __scopeNavigationMenu: n, value: r, onValueChange: s, defaultValue: l, delayDuration: u = 200, skipDelayDuration: d = 300, orientation: f = ee.Horizontal, dir: p, activationMode: m = O.Automatic, ...h } = e, [g, v] = _.useState(null), y = o(t, v), x = c(p), S = _.useRef(0), C = _.useRef(0), w = _.useRef(0), [T, E] = _.useState(!0), [k, j] = a({
48
+ prop: r,
50
49
  onChange: /* @__PURE__ */ D((e) => {
51
- let t = e !== "", n = l > 0;
52
- t ? (window.clearTimeout(w.current), n && E(!1)) : (window.clearTimeout(w.current), w.current = window.setTimeout(() => E(!0), l)), o?.(e);
50
+ let t = e !== "", n = d > 0;
51
+ t ? (window.clearTimeout(w.current), n && E(!1)) : (window.clearTimeout(w.current), w.current = window.setTimeout(() => E(!0), d)), s?.(e);
53
52
  }, "onChange"),
54
- defaultProp: s ?? "",
53
+ defaultProp: l ?? "",
55
54
  caller: A
56
55
  }), M = _.useCallback(() => {
57
56
  window.clearTimeout(C.current), C.current = window.setTimeout(() => j(""), 150);
@@ -60,20 +59,20 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
60
59
  }, [j]), P = _.useCallback((e) => {
61
60
  k === e ? window.clearTimeout(C.current) : S.current = window.setTimeout(() => {
62
61
  window.clearTimeout(C.current), j(e);
63
- }, c);
62
+ }, u);
64
63
  }, [
65
64
  k,
66
65
  j,
67
- c
66
+ u
68
67
  ]);
69
68
  return _.useEffect(() => () => {
70
69
  window.clearTimeout(S.current), window.clearTimeout(C.current), window.clearTimeout(w.current);
71
70
  }, []), /* @__PURE__ */ b(ce, {
72
- scope: r,
71
+ scope: n,
73
72
  isRootMenu: !0,
74
73
  value: k,
75
74
  dir: x,
76
- orientation: d,
75
+ orientation: f,
77
76
  activationMode: m,
78
77
  rootNavigationMenu: g,
79
78
  onTriggerEnter: (e) => {
@@ -94,21 +93,21 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
94
93
  onItemDismiss: () => j(""),
95
94
  children: /* @__PURE__ */ b(i.nav, {
96
95
  "aria-label": "Main",
97
- "data-orientation": d,
96
+ "data-orientation": f,
98
97
  dir: x,
99
98
  ...h,
100
99
  ref: y
101
100
  })
102
101
  });
103
102
  }, "NavigationMenu")), ce = /* @__PURE__ */ D((e) => {
104
- let { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: i, orientation: a, activationMode: o, children: s, value: c, onItemSelect: l, onItemDismiss: u, onTriggerEnter: d, onTriggerLeave: p, onContentEnter: h, onContentLeave: g } = e, [v, y] = _.useState(null), [x, S] = _.useState(/* @__PURE__ */ new Map()), [C, w] = _.useState(null);
103
+ let { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: i, orientation: a, activationMode: o, children: s, value: c, onItemSelect: l, onItemDismiss: d, onTriggerEnter: f, onTriggerLeave: p, onContentEnter: h, onContentLeave: g } = e, [v, y] = _.useState(null), [x, S] = _.useState(/* @__PURE__ */ new Map()), [C, w] = _.useState(null);
105
104
  return /* @__PURE__ */ b(ie, {
106
105
  scope: t,
107
106
  isRootMenu: n,
108
107
  rootNavigationMenu: r,
109
108
  value: c,
110
109
  previousValue: T(c),
111
- baseId: f(),
110
+ baseId: u(),
112
111
  dir: i,
113
112
  orientation: a,
114
113
  activationMode: o,
@@ -116,12 +115,12 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
116
115
  onViewportChange: y,
117
116
  indicatorTrack: C,
118
117
  onIndicatorTrackChange: w,
119
- onTriggerEnter: m(d),
118
+ onTriggerEnter: m(f),
120
119
  onTriggerLeave: m(p),
121
120
  onContentEnter: m(h),
122
121
  onContentLeave: m(g),
123
122
  onItemSelect: m(l),
124
- onItemDismiss: m(u),
123
+ onItemDismiss: m(d),
125
124
  onViewportContentChange: _.useCallback((e, t) => {
126
125
  S((n) => (n.set(e, t), new Map(n)));
127
126
  }, []),
@@ -155,16 +154,16 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
155
154
  })
156
155
  });
157
156
  }, "NavigationMenuList")), [de, L] = F("NavigationMenuItem"), fe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
158
- let { __scopeNavigationMenu: n, value: r, ...a } = e, o = f(), s = r || o || "LEGACY_REACT_AUTO_VALUE", c = _.useRef(null), l = _.useRef(null), u = _.useRef(null), d = _.useRef(() => {}), p = _.useRef(!1), m = _.useCallback((e = "start") => {
157
+ let { __scopeNavigationMenu: n, value: r, ...a } = e, o = u(), s = r || o || "LEGACY_REACT_AUTO_VALUE", c = _.useRef(null), l = _.useRef(null), d = _.useRef(null), f = _.useRef(() => {}), p = _.useRef(!1), m = _.useCallback((e = "start") => {
159
158
  if (c.current) {
160
- d.current();
159
+ f.current();
161
160
  let t = G(c.current);
162
161
  t.length && K(e === "start" ? t : t.reverse());
163
162
  }
164
163
  }, []), h = _.useCallback(() => {
165
164
  if (c.current) {
166
165
  let e = G(c.current);
167
- e.length && (d.current = Oe(e));
166
+ e.length && (f.current = Oe(e));
168
167
  }
169
168
  }, []);
170
169
  return /* @__PURE__ */ b(de, {
@@ -172,7 +171,7 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
172
171
  value: s,
173
172
  triggerRef: l,
174
173
  contentRef: c,
175
- focusProxyRef: u,
174
+ focusProxyRef: d,
176
175
  wasEscapeCloseRef: p,
177
176
  onEntryKeyDown: m,
178
177
  onFocusProxyEnter: m,
@@ -183,76 +182,79 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
183
182
  ref: t
184
183
  })
185
184
  });
186
- }, "NavigationMenuItem")), R = "NavigationMenuTrigger", pe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
187
- let { __scopeNavigationMenu: r, disabled: o, ...s } = e, c = I(R, e.__scopeNavigationMenu), u = L(R, e.__scopeNavigationMenu), d = _.useRef(null), f = t(d, u.triggerRef, n), p = Y(c.baseId, u.value), m = X(c.baseId, u.value), h = _.useRef(!1), g = _.useRef(!1), v = u.value === c.value;
185
+ }, "NavigationMenuItem")), R = "NavigationMenuTrigger", pe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
186
+ let { __scopeNavigationMenu: r, disabled: a, ...s } = e, c = I(R, e.__scopeNavigationMenu), l = L(R, e.__scopeNavigationMenu), u = _.useRef(null), d = o(u, l.triggerRef, t), f = Y(c.baseId, l.value), p = X(c.baseId, l.value), m = _.useRef(!1), g = _.useRef(!1), v = l.value === c.value;
188
187
  return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(j.ItemSlot, {
189
188
  scope: r,
190
- value: u.value,
189
+ value: l.value,
191
190
  children: /* @__PURE__ */ b(De, {
192
191
  asChild: !0,
193
192
  children: /* @__PURE__ */ b(i.button, {
194
- id: p,
195
- disabled: o,
196
- "data-disabled": o ? "" : void 0,
193
+ id: f,
194
+ disabled: a,
195
+ "data-disabled": a ? "" : void 0,
197
196
  "data-state": J(v),
198
197
  "aria-expanded": v,
199
- "aria-controls": v ? m : void 0,
198
+ "aria-controls": v ? p : void 0,
200
199
  ...s,
201
- ref: f,
202
- onPointerEnter: l(e.onPointerEnter, () => {
203
- g.current = !1, u.wasEscapeCloseRef.current = !1;
200
+ ref: d,
201
+ onPointerEnter: n(e.onPointerEnter, () => {
202
+ g.current = !1, l.wasEscapeCloseRef.current = !1;
204
203
  }),
205
- onPointerMove: l(e.onPointerMove, Z(() => {
206
- o || g.current || u.wasEscapeCloseRef.current || h.current || (c.onTriggerEnter(u.value), h.current = !0);
204
+ onPointerMove: n(e.onPointerMove, Z(() => {
205
+ a || g.current || l.wasEscapeCloseRef.current || m.current || (c.onTriggerEnter(l.value), m.current = !0);
207
206
  })),
208
- onPointerLeave: l(e.onPointerLeave, Z(() => {
209
- o || (c.onTriggerLeave(), h.current = !1);
207
+ onPointerLeave: n(e.onPointerLeave, Z(() => {
208
+ a || (c.onTriggerLeave(), m.current = !1);
210
209
  })),
211
- onClick: l(e.onClick, () => {
212
- c.onItemSelect(u.value), g.current = v;
210
+ onClick: n(e.onClick, () => {
211
+ c.onItemSelect(l.value), g.current = v;
213
212
  }),
214
- onKeyDown: l(e.onKeyDown, (e) => {
213
+ onKeyDown: n(e.onKeyDown, (e) => {
215
214
  let t = {
216
215
  horizontal: "ArrowDown",
217
216
  vertical: c.dir === k.RTL ? "ArrowLeft" : "ArrowRight"
218
217
  }[c.orientation];
219
- v && e.key === t && (u.onEntryKeyDown(), e.preventDefault());
218
+ v && e.key === t && (l.onEntryKeyDown(), e.preventDefault());
220
219
  })
221
220
  })
222
221
  })
223
- }), v && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(a, {
222
+ }), v && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(h, {
224
223
  "aria-hidden": !0,
225
224
  tabIndex: 0,
226
- ref: u.focusProxyRef,
225
+ ref: l.focusProxyRef,
227
226
  onFocus: (e) => {
228
- let t = u.contentRef.current, n = e.relatedTarget, r = n === d.current, i = t?.contains(n);
229
- (r || !i) && u.onFocusProxyEnter(r ? "start" : "end");
227
+ let t = l.contentRef.current, n = e.relatedTarget, r = n === u.current, i = t?.contains(n);
228
+ (r || !i) && l.onFocusProxyEnter(r ? "start" : "end");
230
229
  }
231
- }), c.viewport && /* @__PURE__ */ b("span", { "aria-owns": m })] })] });
230
+ }), c.viewport && /* @__PURE__ */ b("span", { "aria-owns": p })] })] });
232
231
  }, "NavigationMenuTrigger")), z = "navigationMenu.linkSelect", me = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
233
- let { __scopeNavigationMenu: n, active: a, onSelect: o, ...s } = e;
232
+ let { __scopeNavigationMenu: a, active: o, onSelect: s, ...c } = e;
234
233
  return /* @__PURE__ */ b(De, {
235
234
  asChild: !0,
236
235
  children: /* @__PURE__ */ b(i.a, {
237
- "data-active": a ? "" : void 0,
238
- "aria-current": a ? "page" : void 0,
239
- ...s,
236
+ "data-active": o ? "" : void 0,
237
+ "aria-current": o ? "page" : void 0,
238
+ ...c,
240
239
  ref: t,
241
- onClick: l(e.onClick, (e) => {
240
+ onClick: n(e.onClick, (e) => {
242
241
  let t = e.target, n = new CustomEvent(z, {
243
242
  bubbles: !0,
244
243
  cancelable: !0
245
244
  });
246
- t.addEventListener(z, (e) => o?.(e), { once: !0 }), r(t, n), !n.defaultPrevented && !e.metaKey && r(t, new CustomEvent(H, {
247
- bubbles: !0,
248
- cancelable: !0
249
- }));
245
+ if (t.addEventListener(z, (e) => s?.(e), { once: !0 }), r(t, n), !n.defaultPrevented && !e.metaKey) {
246
+ let e = new CustomEvent(H, {
247
+ bubbles: !0,
248
+ cancelable: !0
249
+ });
250
+ r(t, e);
251
+ }
250
252
  }, { checkForDefaultPrevented: !1 })
251
253
  })
252
254
  });
253
255
  }, "NavigationMenuLink")), B = "NavigationMenuIndicator", he = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
254
256
  let { forceMount: n, ...r } = e, i = I(B, e.__scopeNavigationMenu), a = !!i.value;
255
- return i.indicatorTrack ? v.createPortal(/* @__PURE__ */ b(d, {
257
+ return i.indicatorTrack ? v.createPortal(/* @__PURE__ */ b(l, {
256
258
  present: n || a,
257
259
  children: /* @__PURE__ */ b(ge, {
258
260
  ...r,
@@ -293,38 +295,38 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
293
295
  ...r.style
294
296
  }
295
297
  }) : null;
296
- }, "NavigationMenuIndicatorImpl")), V = "NavigationMenuContent", _e = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
297
- let { forceMount: r, ...i } = e, a = I(V, e.__scopeNavigationMenu), o = L(V, e.__scopeNavigationMenu), s = t(o.contentRef, n), c = o.value === a.value, u = J(c), f = {
298
- value: o.value,
299
- triggerRef: o.triggerRef,
300
- focusProxyRef: o.focusProxyRef,
301
- wasEscapeCloseRef: o.wasEscapeCloseRef,
302
- onContentFocusOutside: o.onContentFocusOutside,
303
- onRootContentClose: o.onRootContentClose,
298
+ }, "NavigationMenuIndicatorImpl")), V = "NavigationMenuContent", _e = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
299
+ let { forceMount: r, ...i } = e, a = I(V, e.__scopeNavigationMenu), s = L(V, e.__scopeNavigationMenu), c = o(s.contentRef, t), u = s.value === a.value, d = J(u), f = {
300
+ value: s.value,
301
+ triggerRef: s.triggerRef,
302
+ focusProxyRef: s.focusProxyRef,
303
+ wasEscapeCloseRef: s.wasEscapeCloseRef,
304
+ onContentFocusOutside: s.onContentFocusOutside,
305
+ onRootContentClose: s.onRootContentClose,
304
306
  ...i
305
307
  };
306
308
  return a.viewport ? /* @__PURE__ */ b(ve, {
307
- "data-state": u,
309
+ "data-state": d,
308
310
  forceMount: r,
309
311
  ...f,
310
- ref: s
311
- }) : /* @__PURE__ */ b(d, {
312
- present: r || c,
312
+ ref: c
313
+ }) : /* @__PURE__ */ b(l, {
314
+ present: r || u,
313
315
  children: /* @__PURE__ */ b(U, {
314
- "data-state": u,
316
+ "data-state": d,
315
317
  ...f,
316
- ref: s,
317
- onPointerEnter: l(e.onPointerEnter, a.onContentEnter),
318
- onPointerLeave: l(e.onPointerLeave, Z(a.onContentLeave)),
318
+ ref: c,
319
+ onPointerEnter: n(e.onPointerEnter, a.onContentEnter),
320
+ onPointerLeave: n(e.onPointerLeave, Z(a.onContentLeave)),
319
321
  style: {
320
- pointerEvents: !c && a.isRootMenu ? "none" : void 0,
322
+ pointerEvents: !u && a.isRootMenu ? "none" : void 0,
321
323
  ...f.style
322
324
  }
323
325
  })
324
326
  });
325
327
  }, "NavigationMenuContent")), ve = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
326
328
  let { onViewportContentChange: n, onViewportContentRemove: r } = I(V, e.__scopeNavigationMenu);
327
- return s(() => {
329
+ return p(() => {
328
330
  n(e.value, {
329
331
  ref: t,
330
332
  ...e
@@ -333,91 +335,93 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
333
335
  e,
334
336
  t,
335
337
  n
336
- ]), s(() => () => r(e.value), [e.value, r]), null;
337
- }, "ViewportContentMounter")), H = "navigationMenu.rootContentDismiss", U = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
338
- let { __scopeNavigationMenu: r, value: i, triggerRef: a, focusProxyRef: o, wasEscapeCloseRef: s, onRootContentClose: c, onContentFocusOutside: u, ...d } = e, f = I(V, r), p = _.useRef(null), m = t(p, n), g = Y(f.baseId, i), v = X(f.baseId, i), y = M(r), x = _.useRef(null), { onItemDismiss: S } = f;
339
- return _.useEffect(() => {
340
- let e = p.current;
341
- if (f.isRootMenu && e) {
338
+ ]), p(() => () => r(e.value), [e.value, r]), null;
339
+ }, "ViewportContentMounter")), H = "navigationMenu.rootContentDismiss", U = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
340
+ let { __scopeNavigationMenu: r, value: i, triggerRef: a, focusProxyRef: s, wasEscapeCloseRef: c, onRootContentClose: l, onContentFocusOutside: u, ...d } = e, p = I(V, r), m = _.useRef(null), h = o(m, t), g = Y(p.baseId, i), v = X(p.baseId, i), y = M(r), x = _.useRef(null), { onItemDismiss: S } = p;
341
+ _.useEffect(() => {
342
+ let e = m.current;
343
+ if (p.isRootMenu && e) {
342
344
  let t = /* @__PURE__ */ D(() => {
343
- S(), c(), e.contains(document.activeElement) && a.current?.focus();
345
+ S(), l(), e.contains(document.activeElement) && a.current?.focus();
344
346
  }, "handleClose");
345
347
  return e.addEventListener(H, t), () => e.removeEventListener(H, t);
346
348
  }
347
349
  }, [
348
- f.isRootMenu,
350
+ p.isRootMenu,
349
351
  e.value,
350
352
  a,
351
353
  S,
352
- c
353
- ]), /* @__PURE__ */ b(we, {
354
+ l
355
+ ]);
356
+ let C = _.useMemo(() => {
357
+ let e = y().map((e) => e.value);
358
+ p.dir === k.RTL && e.reverse();
359
+ let t = e.indexOf(p.value), n = e.indexOf(p.previousValue), r = i === p.value, a = n === e.indexOf(i);
360
+ if (!r && !a) return x.current;
361
+ let o = (() => {
362
+ if (t !== n) {
363
+ if (r && n !== -1) return t > n ? "from-end" : "from-start";
364
+ if (a && t !== -1) return t > n ? "to-start" : "to-end";
365
+ }
366
+ return null;
367
+ })();
368
+ return x.current = o, o;
369
+ }, [
370
+ p.previousValue,
371
+ p.value,
372
+ p.dir,
373
+ y,
374
+ i
375
+ ]);
376
+ return /* @__PURE__ */ b(we, {
354
377
  asChild: !0,
355
- children: /* @__PURE__ */ b(h, {
378
+ children: /* @__PURE__ */ b(f, {
356
379
  id: v,
357
380
  "aria-labelledby": g,
358
- "data-motion": _.useMemo(() => {
359
- let e = y().map((e) => e.value);
360
- f.dir === k.RTL && e.reverse();
361
- let t = e.indexOf(f.value), n = e.indexOf(f.previousValue), r = i === f.value, a = n === e.indexOf(i);
362
- if (!r && !a) return x.current;
363
- let o = (() => {
364
- if (t !== n) {
365
- if (r && n !== -1) return t > n ? "from-end" : "from-start";
366
- if (a && t !== -1) return t > n ? "to-start" : "to-end";
367
- }
368
- return null;
369
- })();
370
- return x.current = o, o;
371
- }, [
372
- f.previousValue,
373
- f.value,
374
- f.dir,
375
- y,
376
- i
377
- ]),
378
- "data-orientation": f.orientation,
381
+ "data-motion": C,
382
+ "data-orientation": p.orientation,
379
383
  ...d,
380
- ref: m,
384
+ ref: h,
381
385
  disableOutsidePointerEvents: !1,
382
386
  onDismiss: () => {
383
387
  let e = new Event(H, {
384
388
  bubbles: !0,
385
389
  cancelable: !0
386
390
  });
387
- p.current?.dispatchEvent(e);
391
+ m.current?.dispatchEvent(e);
388
392
  },
389
- onFocusOutside: l(e.onFocusOutside, (e) => {
393
+ onFocusOutside: n(e.onFocusOutside, (e) => {
390
394
  u();
391
- let t = e.target, n = e.detail.originalEvent.relatedTarget, r = f.rootNavigationMenu?.contains(t), i = f.rootNavigationMenu?.contains(n);
395
+ let t = e.target, n = e.detail.originalEvent.relatedTarget, r = p.rootNavigationMenu?.contains(t), i = p.rootNavigationMenu?.contains(n);
392
396
  (r || !i) && e.preventDefault();
393
397
  }),
394
- onPointerDownOutside: l(e.onPointerDownOutside, (e) => {
395
- let t = e.target, n = y().some((e) => e.ref.current?.contains(t)), r = f.isRootMenu && f.viewport?.contains(t);
396
- (n || r || !f.isRootMenu) && e.preventDefault();
398
+ onPointerDownOutside: n(e.onPointerDownOutside, (e) => {
399
+ let t = e.target, n = y().some((e) => e.ref.current?.contains(t)), r = p.isRootMenu && p.viewport?.contains(t);
400
+ (n || r || !p.isRootMenu) && e.preventDefault();
397
401
  }),
398
- onKeyDown: l(e.onKeyDown, (e) => {
402
+ onKeyDown: n(e.onKeyDown, (e) => {
399
403
  let t = e.altKey || e.ctrlKey || e.metaKey;
400
404
  if (e.key === "Tab" && !t) {
401
405
  let t = G(e.currentTarget), n = document.activeElement, r = t.findIndex((e) => e === n);
402
- K(e.shiftKey ? t.slice(0, r).reverse() : t.slice(r + 1, t.length)) ? e.preventDefault() : o.current?.focus();
406
+ K(e.shiftKey ? t.slice(0, r).reverse() : t.slice(r + 1, t.length)) ? e.preventDefault() : s.current?.focus();
403
407
  }
404
408
  }),
405
- onEscapeKeyDown: l(e.onEscapeKeyDown, (e) => {
406
- s.current = !0;
409
+ onEscapeKeyDown: n(e.onEscapeKeyDown, (e) => {
410
+ c.current = !0;
407
411
  })
408
412
  })
409
413
  });
410
- }, "NavigationMenuContentImpl")), W = "NavigationMenuViewport", ye = n(W), be = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
414
+ }, "NavigationMenuContentImpl")), W = "NavigationMenuViewport", ye = s(W), be = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
411
415
  let { forceMount: n, ...r } = e, i = !!I(W, e.__scopeNavigationMenu).value;
412
- return /* @__PURE__ */ b(d, {
416
+ return /* @__PURE__ */ b(l, {
413
417
  present: n || i,
414
418
  children: /* @__PURE__ */ b(xe, {
415
419
  ...r,
416
420
  ref: t
417
421
  })
418
422
  });
419
- }, "NavigationMenuViewport")), xe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, n) {
420
- let { __scopeNavigationMenu: r, children: a, ...o } = e, s = I(W, r), c = t(n, s.onViewportChange), u = oe(V, e.__scopeNavigationMenu), [f, p] = _.useState(null), [m, h] = _.useState(null), g = f ? f?.width + "px" : void 0, v = f ? f?.height + "px" : void 0, y = !!s.value, S = y ? s.value : s.previousValue;
423
+ }, "NavigationMenuViewport")), xe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
424
+ let { __scopeNavigationMenu: r, children: a, ...s } = e, c = I(W, r), u = o(t, c.onViewportChange), d = oe(V, e.__scopeNavigationMenu), [f, p] = _.useState(null), [m, h] = _.useState(null), g = f ? f?.width + "px" : void 0, v = f ? f?.height + "px" : void 0, y = !!c.value, S = y ? c.value : c.previousValue;
421
425
  return q(m, /* @__PURE__ */ D(() => {
422
426
  m && p({
423
427
  width: m.offsetWidth,
@@ -425,20 +429,20 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
425
429
  });
426
430
  }, "handleSizeChange")), /* @__PURE__ */ x(i.div, {
427
431
  "data-state": J(y),
428
- "data-orientation": s.orientation,
429
- ...o,
430
- ref: c,
432
+ "data-orientation": c.orientation,
433
+ ...s,
434
+ ref: u,
431
435
  style: {
432
- pointerEvents: !y && s.isRootMenu ? "none" : void 0,
436
+ pointerEvents: !y && c.isRootMenu ? "none" : void 0,
433
437
  "--radix-navigation-menu-viewport-width": g,
434
438
  "--radix-navigation-menu-viewport-height": v,
435
- ...o.style
439
+ ...s.style
436
440
  },
437
- onPointerEnter: l(e.onPointerEnter, s.onContentEnter),
438
- onPointerLeave: l(e.onPointerLeave, Z(s.onContentLeave)),
439
- children: [/* @__PURE__ */ b(ye, { children: a }), Array.from(u.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
441
+ onPointerEnter: n(e.onPointerEnter, c.onContentEnter),
442
+ onPointerLeave: n(e.onPointerLeave, Z(c.onContentLeave)),
443
+ children: [/* @__PURE__ */ b(ye, { children: a }), Array.from(d.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
440
444
  let i = S === e;
441
- return /* @__PURE__ */ b(d, {
445
+ return /* @__PURE__ */ b(l, {
442
446
  present: n || i,
443
447
  children: /* @__PURE__ */ b(Se, {
444
448
  ...r,
@@ -449,12 +453,12 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
449
453
  }, e);
450
454
  })]
451
455
  });
452
- }, "NavigationMenuViewportImpl")), Se = /* @__PURE__ */ D(({ contentRef: e, isActive: n, onActiveContentChange: r, ...i }) => {
453
- let a = t(e, _.useCallback((e) => {
454
- n && e && r(e);
455
- }, [n, r]));
456
+ }, "NavigationMenuViewportImpl")), Se = /* @__PURE__ */ D(({ contentRef: e, isActive: t, onActiveContentChange: n, ...r }) => {
457
+ let i = _.useCallback((e) => {
458
+ t && e && n(e);
459
+ }, [t, n]), a = o(e, i);
456
460
  return /* @__PURE__ */ b(U, {
457
- ...i,
461
+ ...r,
458
462
  ref: a
459
463
  });
460
464
  }, "NavigationMenuViewportItem"), Ce = "FocusGroup", we = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
@@ -476,21 +480,21 @@ var E = Object.defineProperty, D = (e, t) => E(e, "name", {
476
480
  "ArrowUp",
477
481
  "ArrowDown"
478
482
  ], Ee = "FocusGroupItem", De = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ D(function(e, t) {
479
- let { __scopeNavigationMenu: n, ...r } = e, a = te(n), o = I(Ee, n);
483
+ let { __scopeNavigationMenu: r, ...a } = e, o = te(r), s = I(Ee, r);
480
484
  return /* @__PURE__ */ b(P.ItemSlot, {
481
- scope: n,
485
+ scope: r,
482
486
  children: /* @__PURE__ */ b(i.button, {
483
- ...r,
487
+ ...a,
484
488
  ref: t,
485
- onKeyDown: l(e.onKeyDown, (e) => {
489
+ onKeyDown: n(e.onKeyDown, (e) => {
486
490
  if ([
487
491
  "Home",
488
492
  "End",
489
493
  ...Te
490
494
  ].includes(e.key)) {
491
- let t = a().map((e) => e.ref.current);
495
+ let t = o().map((e) => e.ref.current);
492
496
  if ([
493
- o.dir === k.RTL ? "ArrowRight" : "ArrowLeft",
497
+ s.dir === k.RTL ? "ArrowRight" : "ArrowLeft",
494
498
  "ArrowUp",
495
499
  "End"
496
500
  ].includes(e.key) && t.reverse(), Te.includes(e.key)) {
@@ -514,7 +518,7 @@ function G(e) {
514
518
  D(G, "getTabbableCandidates");
515
519
  function K(e) {
516
520
  let t = document.activeElement;
517
- return e.some((e) => e === t ? !0 : (e.focus(), document.activeElement !== t));
521
+ return e.some((e) => e === t || (e.focus(), document.activeElement !== t));
518
522
  }
519
523
  D(K, "focusFirst");
520
524
  function Oe(e) {
@@ -530,7 +534,7 @@ function Oe(e) {
530
534
  D(Oe, "removeFromTabOrder");
531
535
  function q(e, t) {
532
536
  let n = m(t);
533
- s(() => {
537
+ p(() => {
534
538
  let t = 0;
535
539
  if (e) {
536
540
  let r = new ResizeObserver(() => {
@@ -559,8 +563,7 @@ function Z(e) {
559
563
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
560
564
  }
561
565
  D(Z, "whenMouse");
562
- //#endregion
563
- //#region src/navigation-menu.tsx
566
+ // src/navigation-menu.tsx
564
567
  function ke({ className: t, children: n, viewport: r = !0, ...i }) {
565
568
  return /* @__PURE__ */ x(se, {
566
569
  "data-slot": "navigation-menu",
@@ -632,5 +635,4 @@ function Fe({ className: t, ...n }) {
632
635
  children: /* @__PURE__ */ b("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-ss-sm shadow-md" })
633
636
  });
634
637
  }
635
- //#endregion
636
638
  export { Pe as a, $ as c, je as i, Q as l, Ne as n, Ae as o, Fe as r, Me as s, ke as t };
@@ -0,0 +1 @@
1
+ const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CoTs6T03.js"),n=require("./dist-DW2ltK5-.js"),r=require("./dist-DZiOPWLp.js"),i=require("./dist-CBlqVBTk.js"),a=require("./dist-zmnQp5Xf.js"),o=require("./dist-CJqVmdrU.js"),s=require("./dist-DdAeWIwf.js"),c=require("./dist-Blgp9lfa.js"),l=require("./dist-RXrZgzkO.js"),u=require("./dist-Co_xSt6d.js"),d=require("./dist-R_G5UQRm.js"),f=require("./dist-B7jnFMko.js"),p=require("./dist-pqMcQ1Nk.js"),m=require("./dist-KFF7QKuL.js");let h=require("lucide-react"),g=require("react"),_=e.r(g,1);g=e.r(g);let v=require("react-dom");v=e.r(v,1);let y=require("react/jsx-runtime"),b=require("class-variance-authority");var x=Object.defineProperty,S=(e,t)=>x(e,`name`,{value:t,configurable:!0});function C(e){let t=_.useRef({value:e,previous:e});return _.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}S(C,`usePrevious`);var w=Object.defineProperty,T=(e,t)=>w(e,`name`,{value:t,configurable:!0}),E={Automatic:`automatic`,Manual:`manual`},D={Vertical:`vertical`,Horizontal:`horizontal`},O={LTR:`ltr`,RTL:`rtl`},k=`NavigationMenu`,[A,j,M]=u.t(k),[N,P,F]=u.t(k),[I,ee]=n.t(k,[M,F]),[te,L]=I(k),[ne,re]=I(k),ie=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,value:r,onValueChange:c,defaultValue:l,delayDuration:u=200,skipDelayDuration:d=300,orientation:f=D.Horizontal,dir:p,activationMode:m=E.Automatic,...h}=e,[g,v]=_.useState(null),b=o.a(t,v),x=s.n(p),S=_.useRef(0),C=_.useRef(0),w=_.useRef(0),[O,A]=_.useState(!0),[j,M]=a.t({prop:r,onChange:T(e=>{let t=e!==``,n=d>0;t?(window.clearTimeout(w.current),n&&A(!1)):(window.clearTimeout(w.current),w.current=window.setTimeout(()=>A(!0),d)),c?.(e)},`onChange`),defaultProp:l??``,caller:k}),N=_.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>M(``),150)},[M]),P=_.useCallback(e=>{window.clearTimeout(C.current),M(e)},[M]),F=_.useCallback(e=>{j===e?window.clearTimeout(C.current):S.current=window.setTimeout(()=>{window.clearTimeout(C.current),M(e)},u)},[j,M,u]);return _.useEffect(()=>()=>{window.clearTimeout(S.current),window.clearTimeout(C.current),window.clearTimeout(w.current)},[]),(0,y.jsx)(ae,{scope:n,isRootMenu:!0,value:j,dir:x,orientation:f,activationMode:m,rootNavigationMenu:g,onTriggerEnter:e=>{m===E.Automatic&&(window.clearTimeout(S.current),O?F(e):P(e))},onTriggerLeave:()=>{m===E.Automatic&&(window.clearTimeout(S.current),N())},onContentEnter:()=>{m===E.Automatic&&window.clearTimeout(C.current)},onContentLeave:()=>{m===E.Automatic&&N()},onItemSelect:e=>{M(t=>t===e?``:e)},onItemDismiss:()=>M(``),children:(0,y.jsx)(i.t.nav,{"aria-label":`Main`,"data-orientation":f,dir:x,...h,ref:b})})},`NavigationMenu`)),ae=T(e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:i,orientation:a,activationMode:o,children:s,value:c,onItemSelect:u,onItemDismiss:d,onTriggerEnter:f,onTriggerLeave:m,onContentEnter:h,onContentLeave:g}=e,[v,b]=_.useState(null),[x,S]=_.useState(new Map),[w,T]=_.useState(null);return(0,y.jsx)(te,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:c,previousValue:C(c),baseId:l.t(),dir:i,orientation:a,activationMode:o,viewport:v,onViewportChange:b,indicatorTrack:w,onIndicatorTrackChange:T,onTriggerEnter:p.t(f),onTriggerLeave:p.t(m),onContentEnter:p.t(h),onContentLeave:p.t(g),onItemSelect:p.t(u),onItemDismiss:p.t(d),onViewportContentChange:_.useCallback((e,t)=>{S(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:_.useCallback(e=>{S(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,y.jsx)(A.Provider,{scope:t,children:(0,y.jsx)(ne,{scope:t,items:x,children:s})})})},`NavigationMenuProvider`),oe=`NavigationMenuList`,se=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,...r}=e,a=L(oe,n),o=(0,y.jsx)(i.t.ul,{"data-orientation":a.orientation,...r,ref:t});return(0,y.jsx)(i.t.div,{style:{position:`relative`},ref:a.onIndicatorTrackChange,children:(0,y.jsx)(A.Slot,{scope:n,children:a.isRootMenu?(0,y.jsx)(K,{asChild:!0,children:o}):o})})},`NavigationMenuList`)),[ce,R]=I(`NavigationMenuItem`),le=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,value:r,...a}=e,o=l.t(),s=r||o||`LEGACY_REACT_AUTO_VALUE`,c=_.useRef(null),u=_.useRef(null),d=_.useRef(null),f=_.useRef(()=>{}),p=_.useRef(!1),m=_.useCallback((e=`start`)=>{if(c.current){f.current();let t=q(c.current);t.length&&J(e===`start`?t:t.reverse())}},[]),h=_.useCallback(()=>{if(c.current){let e=q(c.current);e.length&&(f.current=we(e))}},[]);return(0,y.jsx)(ce,{scope:n,value:s,triggerRef:u,contentRef:c,focusProxyRef:d,wasEscapeCloseRef:p,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:h,onContentFocusOutside:h,children:(0,y.jsx)(i.t.li,{...a,ref:t})})},`NavigationMenuItem`)),z=`NavigationMenuTrigger`,ue=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,disabled:a,...s}=e,c=L(z,e.__scopeNavigationMenu),l=R(z,e.__scopeNavigationMenu),u=_.useRef(null),d=o.a(u,l.triggerRef,t),f=Z(c.baseId,l.value),p=Q(c.baseId,l.value),h=_.useRef(!1),g=_.useRef(!1),v=l.value===c.value;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(A.ItemSlot,{scope:n,value:l.value,children:(0,y.jsx)(Ce,{asChild:!0,children:(0,y.jsx)(i.t.button,{id:f,disabled:a,"data-disabled":a?``:void 0,"data-state":X(v),"aria-expanded":v,"aria-controls":v?p:void 0,...s,ref:d,onPointerEnter:r.t(e.onPointerEnter,()=>{g.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:r.t(e.onPointerMove,$(()=>{a||g.current||l.wasEscapeCloseRef.current||h.current||(c.onTriggerEnter(l.value),h.current=!0)})),onPointerLeave:r.t(e.onPointerLeave,$(()=>{a||(c.onTriggerLeave(),h.current=!1)})),onClick:r.t(e.onClick,()=>{c.onItemSelect(l.value),g.current=v}),onKeyDown:r.t(e.onKeyDown,e=>{let t={horizontal:`ArrowDown`,vertical:c.dir===O.RTL?`ArrowLeft`:`ArrowRight`}[c.orientation];v&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),v&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(m.n,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===u.current,i=t?.contains(n);(r||!i)&&l.onFocusProxyEnter(r?`start`:`end`)}}),c.viewport&&(0,y.jsx)(`span`,{"aria-owns":p})]})]})},`NavigationMenuTrigger`)),B=`navigationMenu.linkSelect`,de=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,active:a,onSelect:o,...s}=e;return(0,y.jsx)(Ce,{asChild:!0,children:(0,y.jsx)(i.t.a,{"data-active":a?``:void 0,"aria-current":a?`page`:void 0,...s,ref:t,onClick:r.t(e.onClick,e=>{let t=e.target,n=new CustomEvent(B,{bubbles:!0,cancelable:!0});if(t.addEventListener(B,e=>o?.(e),{once:!0}),i.n(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(U,{bubbles:!0,cancelable:!0});i.n(t,e)}},{checkForDefaultPrevented:!1})})})},`NavigationMenuLink`)),V=`NavigationMenuIndicator`,fe=_.forwardRef(T(function(e,t){let{forceMount:n,...r}=e,i=L(V,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?v.createPortal((0,y.jsx)(c.t,{present:n||a,children:(0,y.jsx)(pe,{...r,ref:t})}),i.indicatorTrack):null},`NavigationMenuIndicator`)),pe=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,...r}=e,a=L(V,n),o=j(n),[s,c]=_.useState(null),[l,u]=_.useState(null),d=a.orientation===D.Horizontal,f=!!a.value;_.useEffect(()=>{let e=o().find(e=>e.value===a.value)?.ref.current;e&&c(e)},[o,a.value]);let p=T(()=>{s&&u({size:d?s.offsetWidth:s.offsetHeight,offset:d?s.offsetLeft:s.offsetTop})},`handlePositionChange`);return Y(s,p),Y(a.indicatorTrack,p),l?(0,y.jsx)(i.t.div,{"aria-hidden":!0,"data-state":f?`visible`:`hidden`,"data-orientation":a.orientation,...r,ref:t,style:{position:`absolute`,...d?{left:0,width:l.size+`px`,transform:`translateX(${l.offset}px)`,"--radix-navigation-menu-indicator-translate-x":`${l.offset}px`}:{top:0,height:l.size+`px`,transform:`translateY(${l.offset}px)`,"--radix-navigation-menu-indicator-translate-y":`${l.offset}px`},...r.style}}):null},`NavigationMenuIndicatorImpl`)),H=`NavigationMenuContent`,me=_.forwardRef(T(function(e,t){let{forceMount:n,...i}=e,a=L(H,e.__scopeNavigationMenu),s=R(H,e.__scopeNavigationMenu),l=o.a(s.contentRef,t),u=s.value===a.value,d=X(u),f={value:s.value,triggerRef:s.triggerRef,focusProxyRef:s.focusProxyRef,wasEscapeCloseRef:s.wasEscapeCloseRef,onContentFocusOutside:s.onContentFocusOutside,onRootContentClose:s.onRootContentClose,...i};return a.viewport?(0,y.jsx)(he,{"data-state":d,forceMount:n,...f,ref:l}):(0,y.jsx)(c.t,{present:n||u,children:(0,y.jsx)(W,{"data-state":d,...f,ref:l,onPointerEnter:r.t(e.onPointerEnter,a.onContentEnter),onPointerLeave:r.t(e.onPointerLeave,$(a.onContentLeave)),style:{pointerEvents:!u&&a.isRootMenu?`none`:void 0,...f.style}})})},`NavigationMenuContent`)),he=_.forwardRef(T(function(e,t){let{onViewportContentChange:n,onViewportContentRemove:r}=L(H,e.__scopeNavigationMenu);return f.t(()=>{n(e.value,{ref:t,...e})},[e,t,n]),f.t(()=>()=>r(e.value),[e.value,r]),null},`ViewportContentMounter`)),U=`navigationMenu.rootContentDismiss`,W=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,value:i,triggerRef:a,focusProxyRef:s,wasEscapeCloseRef:c,onRootContentClose:l,onContentFocusOutside:u,...f}=e,p=L(H,n),m=_.useRef(null),h=o.a(m,t),g=Z(p.baseId,i),v=Q(p.baseId,i),b=j(n),x=_.useRef(null),{onItemDismiss:S}=p;_.useEffect(()=>{let e=m.current;if(p.isRootMenu&&e){let t=T(()=>{S(),l(),e.contains(document.activeElement)&&a.current?.focus()},`handleClose`);return e.addEventListener(U,t),()=>e.removeEventListener(U,t)}},[p.isRootMenu,e.value,a,S,l]);let C=_.useMemo(()=>{let e=b().map(e=>e.value);p.dir===O.RTL&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),r=i===p.value,a=n===e.indexOf(i);if(!r&&!a)return x.current;let o=(()=>{if(t!==n){if(r&&n!==-1)return t>n?`from-end`:`from-start`;if(a&&t!==-1)return t>n?`to-start`:`to-end`}return null})();return x.current=o,o},[p.previousValue,p.value,p.dir,b,i]);return(0,y.jsx)(K,{asChild:!0,children:(0,y.jsx)(d.t,{id:v,"aria-labelledby":g,"data-motion":C,"data-orientation":p.orientation,...f,ref:h,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(U,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:r.t(e.onFocusOutside,e=>{u();let t=e.target,n=e.detail.originalEvent.relatedTarget,r=p.rootNavigationMenu?.contains(t),i=p.rootNavigationMenu?.contains(n);(r||!i)&&e.preventDefault()}),onPointerDownOutside:r.t(e.onPointerDownOutside,e=>{let t=e.target,n=b().some(e=>e.ref.current?.contains(t)),r=p.isRootMenu&&p.viewport?.contains(t);(n||r||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:r.t(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!t){let t=q(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);J(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():s.current?.focus()}}),onEscapeKeyDown:r.t(e.onEscapeKeyDown,e=>{c.current=!0})})})},`NavigationMenuContentImpl`)),G=`NavigationMenuViewport`,ge=o.r(G),_e=_.forwardRef(T(function(e,t){let{forceMount:n,...r}=e,i=!!L(G,e.__scopeNavigationMenu).value;return(0,y.jsx)(c.t,{present:n||i,children:(0,y.jsx)(ve,{...r,ref:t})})},`NavigationMenuViewport`)),ve=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,children:a,...s}=e,l=L(G,n),u=o.a(t,l.onViewportChange),d=re(H,e.__scopeNavigationMenu),[f,p]=_.useState(null),[m,h]=_.useState(null),g=f?f?.width+`px`:void 0,v=f?f?.height+`px`:void 0,b=!!l.value,x=b?l.value:l.previousValue;return Y(m,T(()=>{m&&p({width:m.offsetWidth,height:m.offsetHeight})},`handleSizeChange`)),(0,y.jsxs)(i.t.div,{"data-state":X(b),"data-orientation":l.orientation,...s,ref:u,style:{pointerEvents:!b&&l.isRootMenu?`none`:void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":v,...s.style},onPointerEnter:r.t(e.onPointerEnter,l.onContentEnter),onPointerLeave:r.t(e.onPointerLeave,$(l.onContentLeave)),children:[(0,y.jsx)(ge,{children:a}),Array.from(d.items).map(([e,{ref:t,forceMount:n,...r}])=>{let i=x===e;return(0,y.jsx)(c.t,{present:n||i,children:(0,y.jsx)(ye,{...r,contentRef:t,isActive:i,onActiveContentChange:h})},e)})]})},`NavigationMenuViewportImpl`)),ye=T(({contentRef:e,isActive:t,onActiveContentChange:n,...r})=>{let i=_.useCallback(e=>{t&&e&&n(e)},[t,n]),a=o.a(e,i);return(0,y.jsx)(W,{...r,ref:a})},`NavigationMenuViewportItem`),be=`FocusGroup`,K=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,...r}=e,a=L(be,n);return(0,y.jsx)(N.Provider,{scope:n,children:(0,y.jsx)(N.Slot,{scope:n,children:(0,y.jsx)(i.t.div,{dir:a.dir,...r,ref:t})})})},`FocusGroup`)),xe=[`ArrowRight`,`ArrowLeft`,`ArrowUp`,`ArrowDown`],Se=`FocusGroupItem`,Ce=_.forwardRef(T(function(e,t){let{__scopeNavigationMenu:n,...a}=e,o=P(n),s=L(Se,n);return(0,y.jsx)(N.ItemSlot,{scope:n,children:(0,y.jsx)(i.t.button,{...a,ref:t,onKeyDown:r.t(e.onKeyDown,e=>{if([`Home`,`End`,...xe].includes(e.key)){let t=o().map(e=>e.ref.current);if([s.dir===O.RTL?`ArrowRight`:`ArrowLeft`,`ArrowUp`,`End`].includes(e.key)&&t.reverse(),xe.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>J(t)),e.preventDefault()}})})})},`FocusGroupItem`));function q(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:T(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}T(q,`getTabbableCandidates`);function J(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}T(J,`focusFirst`);function we(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute(`tabindex`,t)})}}T(we,`removeFromTabOrder`);function Y(e,t){let n=p.t(t);f.t(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}T(Y,`useResizeObserver`);function X(e){return e?`open`:`closed`}T(X,`getOpenState`);function Z(e,t){return`${e}-trigger-${t}`}T(Z,`makeTriggerId`);function Q(e,t){return`${e}-content-${t}`}T(Q,`makeContentId`);function $(e){return t=>t.pointerType===`mouse`?e(t):void 0}T($,`whenMouse`);function Te({className:e,children:n,viewport:r=!0,...i}){return(0,y.jsxs)(ie,{"data-slot":`navigation-menu`,"data-viewport":r,className:t.t(`group/navigation-menu relative flex max-w-max flex-1 items-center justify-center`,e),...i,children:[n,r&&(0,y.jsx)(je,{})]})}function Ee({className:e,...n}){return(0,y.jsx)(se,{"data-slot":`navigation-menu-list`,className:t.t(`group flex flex-1 list-none items-center justify-center gap-0`,e),...n})}function De({className:e,...n}){return(0,y.jsx)(le,{"data-slot":`navigation-menu-item`,className:t.t(`relative`,e),...n})}var Oe=(0,b.cva)(`group/navigation-menu-trigger hover:bg-muted focus:bg-muted focus-visible:ring-ring/50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50`);function ke({className:e,children:n,...r}){return(0,y.jsxs)(ue,{"data-slot":`navigation-menu-trigger`,className:t.t(Oe(),`group`,e),...r,children:[n,` `,(0,y.jsx)(h.ChevronDownIcon,{className:`relative top-px ms-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180`,"aria-hidden":`true`})]})}function Ae({className:e,...n}){return(0,y.jsx)(me,{"data-slot":`navigation-menu-content`,className:t.t(`group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:ring-foreground/10 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 start-0 top-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto`,e),...n})}function je({className:e,...n}){return(0,y.jsx)(`div`,{className:t.t(`absolute start-0 top-full isolate z-50 flex justify-center`),children:(0,y.jsx)(_e,{"data-slot":`navigation-menu-viewport`,className:t.t(`origin-top-center bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-lg shadow ring-1 duration-100 md:w-(--radix-navigation-menu-viewport-width)`,e),...n})})}function Me({className:e,...n}){return(0,y.jsx)(de,{"data-slot":`navigation-menu-link`,className:t.t(`hover:bg-muted focus:bg-muted focus-visible:ring-ring/50 data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted flex items-center gap-2 rounded-lg p-2 text-sm transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md [&_svg:not([class*='size-'])]:size-4`,e),...n})}function Ne({className:e,...n}){return(0,y.jsx)(fe,{"data-slot":`navigation-menu-indicator`,className:t.t(`data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in top-full z-1 flex h-1.5 items-end justify-center overflow-hidden`,e),...n,children:(0,y.jsx)(`div`,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-ss-sm shadow-md`})})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Me}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return je}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return De}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Ee}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Ne}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return ke}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return Te}});
@@ -1 +1 @@
1
- "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./navigation-menu-B36G3O83.js");exports.NavigationMenu=e.t,exports.NavigationMenuContent=e.n,exports.NavigationMenuIndicator=e.r,exports.NavigationMenuItem=e.i,exports.NavigationMenuLink=e.a,exports.NavigationMenuList=e.o,exports.NavigationMenuTrigger=e.s,exports.NavigationMenuViewport=e.c,exports.navigationMenuTriggerStyle=e.l;
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./navigation-menu-kPwxYZCR.js");exports.NavigationMenu=e.t,exports.NavigationMenuContent=e.n,exports.NavigationMenuIndicator=e.r,exports.NavigationMenuItem=e.i,exports.NavigationMenuLink=e.a,exports.NavigationMenuList=e.o,exports.NavigationMenuTrigger=e.s,exports.NavigationMenuViewport=e.c,exports.navigationMenuTriggerStyle=e.l;
@@ -1,3 +1,2 @@
1
1
  "use client";
2
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./navigation-menu-RO6thDOF.mjs";
3
- export { c as NavigationMenu, i as NavigationMenuContent, o as NavigationMenuIndicator, n as NavigationMenuItem, e as NavigationMenuLink, a as NavigationMenuList, s as NavigationMenuTrigger, t as NavigationMenuViewport, r as navigationMenuTriggerStyle };
2
+ export { t as NavigationMenu, n as NavigationMenuContent, r as NavigationMenuIndicator, i as NavigationMenuItem, a as NavigationMenuLink, o as NavigationMenuList, s as NavigationMenuTrigger, c as NavigationMenuViewport, l as navigationMenuTriggerStyle } from "./navigation-menu-B-RwfscB.mjs";