@marimo-team/islands 0.24.1-dev99 → 0.24.2-dev129

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 (245) hide show
  1. package/dist/{ConnectedDataExplorerComponent-D9EG584s.js → ConnectedDataExplorerComponent-qIKbwYin.js} +12 -12
  2. package/dist/{ErrorBoundary-D-EKz8oE.js → ErrorBoundary-CR-ZQN_c.js} +3 -3
  3. package/dist/any-language-editor-CpTnK43-.js +76 -0
  4. package/dist/{apl-DbeWBitN.js → apl-BYaaig9_.js} +1 -1
  5. package/dist/{asciiarmor-DVGcwGvr.js → asciiarmor-GKQFJXQG.js} +1 -1
  6. package/dist/{asn1-C7ZkyMi3.js → asn1-BsSb7HP5.js} +1 -1
  7. package/dist/assets/__vite-browser-external-BdKGjRZ4.js +1 -0
  8. package/dist/assets/{worker-C3TCEtlU.js → worker-DlIBfp9S.js} +2 -2
  9. package/dist/{asterisk-4f1CDJJt.js → asterisk-B3I8SNb5.js} +1 -1
  10. package/dist/{brainfuck-Cr9wPNgk.js → brainfuck-DXjk3bQe.js} +1 -1
  11. package/dist/{button-DlqUC8W-.js → button-CKBkqR9J.js} +6 -1
  12. package/dist/{capabilities-CGBDXz_E.js → capabilities-CMBBJTcc.js} +1 -1
  13. package/dist/{chat-ui-CHoI65Rg.js → chat-ui-DttQ-5Ut.js} +27 -27
  14. package/dist/{check-BcJDmQdF.js → check-CHig47QV.js} +1 -1
  15. package/dist/{clike-BqAajeY2.js → clike-E2lFbGVj.js} +1 -1
  16. package/dist/{clojure-Bug5Gc5H.js → clojure-Dn_K4RlK.js} +1 -1
  17. package/dist/{cmake-R8uEfQdt.js → cmake-DpN2Top5.js} +1 -1
  18. package/dist/{cobol-DCX3p7Cj.js → cobol-Chf22-GM.js} +1 -1
  19. package/dist/{coffeescript-CA08GUrM.js → coffeescript-BVe1OiD9.js} +1 -1
  20. package/dist/{common-BTbFryuV.js → common-CzHCdFfr.js} +6846 -6695
  21. package/dist/{commonlisp-CUlYkvkK.js → commonlisp-DxoBG7fU.js} +1 -1
  22. package/dist/{copy-D9h0DuU7.js → copy-CD7S58CY.js} +2 -2
  23. package/dist/{crystal-CHw9Y8bp.js → crystal-DCM3yc4r.js} +1 -1
  24. package/dist/{css-BR752P21.js → css-DkZ9mMyI.js} +1 -1
  25. package/dist/{cypher-CGXYVdtR.js → cypher-Drw_8U5I.js} +1 -1
  26. package/dist/{d-B3Jeg95D.js → d-CsVGcKMF.js} +1 -1
  27. package/dist/{diff-BskCEFEO.js → diff-CBikYCUF.js} +1 -1
  28. package/dist/{dist-wdOJ5T7-.js → dist-3_o3T78I.js} +15 -15
  29. package/dist/{dist-C2unEUWZ.js → dist-BEmkrGoQ.js} +1492 -1484
  30. package/dist/{dist-3YfamrHv.js → dist-BVRM2y1P.js} +2 -2
  31. package/dist/{dist-cnCt-QhO.js → dist-BbSMhhD2.js} +2 -2
  32. package/dist/{dist-C9fJPKPl.js → dist-BrQGcfQ9.js} +4 -4
  33. package/dist/{dist-Bsa-FD4p.js → dist-Byj2bV8o.js} +1 -1
  34. package/dist/{dist-t3GZQZfR.js → dist-BzN60Z2s.js} +1 -1
  35. package/dist/{dist-CDiyTpo-.js → dist-C5Bn52W4.js} +3 -3
  36. package/dist/{dist-C1_Y0fKn.js → dist-C7v-9nUK.js} +3 -3
  37. package/dist/{dist-B59W3SQC.js → dist-CGAxEiaM.js} +2 -2
  38. package/dist/{dist-wGdFe2i2.js → dist-CO5R6VMi.js} +2 -2
  39. package/dist/{dist-CkF6zgs_.js → dist-CRjAdnqF.js} +14 -12
  40. package/dist/{dist-BDP-ZzBX.js → dist-D4Z_qdP4.js} +1 -1
  41. package/dist/{dist-CdoyP1Fz.js → dist-DEeLqRlU.js} +1 -1
  42. package/dist/{dist-TouP85Vh.js → dist-DJFiGP2k.js} +2 -2
  43. package/dist/{dist-Ceegh7bg.js → dist-DVFbIwc5.js} +1 -1
  44. package/dist/{dist-xIlsWj6K.js → dist-DcgzXCfy.js} +2 -2
  45. package/dist/{dist-BywyHJ0k.js → dist-Re9sOPOx.js} +2 -2
  46. package/dist/{dist-CN2pQuxD.js → dist-VdvbxG72.js} +1 -1
  47. package/dist/{dist-Bwzl7sp6.js → dist-_XvgytiS.js} +1 -1
  48. package/dist/{dist-BdxSRiPP.js → dist-dAqZAPcF.js} +3 -3
  49. package/dist/{dist-Cri9-7UA.js → dist-hXd65f0_.js} +1 -1
  50. package/dist/{dist-BmR-cjzI.js → dist-jWUab2d1.js} +1 -1
  51. package/dist/{dist-CeTE0w_x.js → dist-qhLI-SHd.js} +2 -2
  52. package/dist/{dockerfile-HPpWCSsC.js → dockerfile-DJnSntVB.js} +2 -2
  53. package/dist/{dropdown-menu-Baf29jmS.js → dropdown-menu-DhCfcscX.js} +726 -716
  54. package/dist/{dtd-9Bm4j20r.js → dtd-BHa4v0Bn.js} +1 -1
  55. package/dist/{dylan-BOpu3dto.js → dylan-BypL2Zz8.js} +1 -1
  56. package/dist/{ebnf-BogGWV2V.js → ebnf-5guncNu-.js} +1 -1
  57. package/dist/{ecl-DAcPDOW1.js → ecl-iRcVIKYZ.js} +1 -1
  58. package/dist/{eiffel-C4NgXX-Y.js → eiffel-BEqF9aU4.js} +1 -1
  59. package/dist/{elm-BiY4zCKH.js → elm-DYcfNE9c.js} +1 -1
  60. package/dist/{erlang-Dg5zi-Qk.js → erlang-BtAuIoF0.js} +1 -1
  61. package/dist/{error-banner-xVkWHg51.js → error-banner-WDhUzJyg.js} +203 -203
  62. package/dist/{esm-ElfO9dV2.js → esm-CR1nhb1c.js} +108 -107
  63. package/dist/{esm-DkklGms7.js → esm-CesmlDrs.js} +5 -5
  64. package/dist/{extends-KH0CV__g.js → extends-BPB6_lTK.js} +8 -7
  65. package/dist/{factor-B0-OaK4k.js → factor-3nzOwLuN.js} +2 -2
  66. package/dist/{fcl-DwSn1rXM.js → fcl-C90TGnJJ.js} +1 -1
  67. package/dist/{formats-nPPeLOk2.js → formats-CJMVUfb3.js} +3 -3
  68. package/dist/{forth-BGTlwczu.js → forth-DEaRrLUi.js} +1 -1
  69. package/dist/{fortran-UUzzVROb.js → fortran-Bv6JRUjY.js} +1 -1
  70. package/dist/{gas-CjkVDeev.js → gas-JNerWj3-.js} +1 -1
  71. package/dist/{gherkin-CF2G_sqt.js → gherkin-CSrl-H70.js} +1 -1
  72. package/dist/{glide-data-editor-n5E9BAD8.js → glide-data-editor-sPZ8fUFn.js} +8 -8
  73. package/dist/{glide-utils-C0dRuWI_.js → glide-utils-NShAPPtn.js} +3 -3
  74. package/dist/{groovy-YcvlOKLA.js → groovy-X7euO_vE.js} +1 -1
  75. package/dist/{haskell-BdvVmmhX.js → haskell-C48Z70Az.js} +1 -1
  76. package/dist/{haxe-Dkk4Avys.js → haxe-CAUWMmwR.js} +1 -1
  77. package/dist/{html-to-image-B09MiZT1.js → html-to-image-BTYnN4ev.js} +3782 -3784
  78. package/dist/{http-Cncc-AcB.js → http-BrSBnhDH.js} +1 -1
  79. package/dist/{idl-D5eSUN-2.js → idl-BXuPleZv.js} +1 -1
  80. package/dist/{javascript-DV7jbCN7.js → javascript-B4EPWJf_.js} +1 -1
  81. package/dist/{julia-DRMVPyrg.js → julia-ke9Kh8b7.js} +1 -1
  82. package/dist/{label-CEgg1Ymb.js → label-lwzzBHUW.js} +2 -2
  83. package/dist/{livescript-3tVlEl0n.js → livescript-Ce4uqGAC.js} +1 -1
  84. package/dist/{loader-D8jS1unC.js → loader-VZ__bv4g.js} +1 -1
  85. package/dist/{lua-DvuDcwhK.js → lua-D6fti_Jk.js} +2 -2
  86. package/dist/main.js +6189 -6189
  87. package/dist/{mathematica-DeUYrmDQ.js → mathematica-DcEpZ3Vj.js} +1 -1
  88. package/dist/{mbox-CP8ncY6Y.js → mbox-DFBbOu0X.js} +1 -1
  89. package/dist/{mermaid-CKjZUiG7.js → mermaid-BsHdQeQf.js} +4 -4
  90. package/dist/{mirc-D0BFuM5A.js → mirc-CqeibO3N.js} +1 -1
  91. package/dist/{mllike-EW0YU24D.js → mllike-D54QZYTP.js} +1 -1
  92. package/dist/{modelica-0c53v3vH.js → modelica-DuML2-8V.js} +1 -1
  93. package/dist/{mscgen-DXtnmkk0.js → mscgen-CJmKwp3b.js} +1 -1
  94. package/dist/{mumps-DuZvAoq5.js → mumps-DaVgFtkd.js} +1 -1
  95. package/dist/{nginx-BgxmKoMB.js → nginx-BXN1rqI0.js} +1 -1
  96. package/dist/{nsis-CXKR4weY.js → nsis-CMfRqf0V.js} +2 -2
  97. package/dist/{ntriples-BvwIFlGB.js → ntriples-BiOGlMDR.js} +1 -1
  98. package/dist/{octave-Ddh8-k4Y.js → octave-CgVnzxKk.js} +1 -1
  99. package/dist/{oz-DASBLPdZ.js → oz-B2mky97X.js} +1 -1
  100. package/dist/{pascal-DKEHBGVg.js → pascal-BoZhBf6s.js} +1 -1
  101. package/dist/{perl-CG83_G1y.js → perl-DjzMqXtt.js} +1 -1
  102. package/dist/{pig-C1IvQ7dn.js → pig-B2mB-01d.js} +1 -1
  103. package/dist/{powershell-Mh2j_Y9A.js → powershell-D0zT88Aj.js} +1 -1
  104. package/dist/{process-output-kUlWbyzk.js → process-output-CsALk6tp.js} +3 -3
  105. package/dist/{properties-Cr3dDyK_.js → properties-3_5qCgOj.js} +1 -1
  106. package/dist/{protobuf-5RkBxiY2.js → protobuf-Dgoxfi1H.js} +1 -1
  107. package/dist/{pug-CZBnH0wJ.js → pug-CNRdd8oG.js} +2 -2
  108. package/dist/{puppet-CjiD4zLe.js → puppet-DzILxZfz.js} +1 -1
  109. package/dist/{python-n5psJoQh.js → python-AfVdMn_l.js} +1 -1
  110. package/dist/{q-tF-lfOc1.js → q-C6p-CGWh.js} +1 -1
  111. package/dist/{r-E-Ox73Cl.js → r-CzKF1D2X.js} +1 -1
  112. package/dist/{reveal-component-AkbqvWB3.js → reveal-component-AqJKkAES.js} +446 -446
  113. package/dist/{rpm-6OeX6y2d.js → rpm-Bx7FkjTO.js} +1 -1
  114. package/dist/{ruby-BfKhtJ9W.js → ruby-BMzgq2bf.js} +1 -1
  115. package/dist/{sas-BXINOUe8.js → sas-ClGVnK3F.js} +1 -1
  116. package/dist/{schemas-JTyiKlcH.js → schemas-DzK6U94N.js} +1380 -1364
  117. package/dist/{scheme-Bl28UhhC.js → scheme-C0MXqXep.js} +1 -1
  118. package/dist/{select-DQ9jU_B_.js → select-3qHpFKF9.js} +295 -295
  119. package/dist/{shell-C6dbyRNm.js → shell-CiQZv6oG.js} +1 -1
  120. package/dist/{sieve-CtzpqaVa.js → sieve-BiIMePvV.js} +1 -1
  121. package/dist/{simple-mode-Fa0cHplh.js → simple-mode-8ETW2RS6.js} +1 -1
  122. package/dist/{smalltalk-SWUbrj2a.js → smalltalk-9-llftyG.js} +1 -1
  123. package/dist/{solr-DrqND0L5.js → solr-CxCKEuwq.js} +1 -1
  124. package/dist/{sparql-DNeyanaw.js → sparql-BRmy7pzx.js} +1 -1
  125. package/dist/{spec-DNZWpXiu.js → spec-CutWdqo3.js} +4 -4
  126. package/dist/{spreadsheet-DUXiDdBd.js → spreadsheet-UCNUIGsn.js} +1 -1
  127. package/dist/{sql-BKgWZE5S.js → sql-D0hSGZ-H.js} +1 -1
  128. package/dist/{stex-DylRJo9v.js → stex-UeT_Aofp.js} +1 -1
  129. package/dist/style.css +1 -1
  130. package/dist/{stylus-dWe8kzGp.js → stylus-Fi4waA2H.js} +1 -1
  131. package/dist/{swift-BmWs7LJc.js → swift-NqPyaBye.js} +1 -1
  132. package/dist/{swiper-component-deYugN58.js → swiper-component-C90YjhaV.js} +2 -2
  133. package/dist/{tcl-DxdPnAuD.js → tcl-B4f0xfmM.js} +1 -1
  134. package/dist/{textile-CJnP1piA.js → textile-CnNbnPTe.js} +1 -1
  135. package/dist/{tiddlywiki-DwhP379Y.js → tiddlywiki-CSGSOg38.js} +1 -1
  136. package/dist/{tiki-1YDPYy3B.js → tiki-9F02WBA6.js} +1 -1
  137. package/dist/{toDate-DfFzRDkN.js → toDate-D-Rx3ux5.js} +3 -3
  138. package/dist/{toml-Cm-dCBP-.js → toml-AesZ6RBt.js} +1 -1
  139. package/dist/{tooltip-7p_32zdw.js → tooltip-Dt77sBeT.js} +88 -88
  140. package/dist/{troff-DNWcQdLA.js → troff-DlfvveK1.js} +1 -1
  141. package/dist/{ttcn-CaUsDYVT.js → ttcn--YVSkGs_.js} +1 -1
  142. package/dist/{ttcn-cfg-BqNhpRrY.js → ttcn-cfg-Bb1Knl_J.js} +1 -1
  143. package/dist/{turtle-CK42qVcQ.js → turtle-DC24v1bz.js} +1 -1
  144. package/dist/{useAsyncData-Cyh2jLTR.js → useAsyncData-CH6-CgJF.js} +1 -1
  145. package/dist/{useDateFormatter-CcY1uXEk.js → useDateFormatter-Cp9Jdxls.js} +2 -2
  146. package/dist/{useDeepCompareMemoize-BqcHK9ZZ.js → useDeepCompareMemoize-JC87C_jO.js} +1 -1
  147. package/dist/{useIframeCapabilities-BmYPLMe1.js → useIframeCapabilities-De3C-9b4.js} +1 -1
  148. package/dist/{useLifecycle-foJH5Q8T.js → useLifecycle-B4RGlyf0.js} +10 -10
  149. package/dist/{useTheme-C2ZreN00.js → useTheme-CVJ0UOf2.js} +3 -2
  150. package/dist/{vb-DUEXFGmn.js → vb-Dpc8vhvF.js} +1 -1
  151. package/dist/{vbscript-O6Mq-1Bt.js → vbscript-B-Y1XnZe.js} +1 -1
  152. package/dist/{vega-component-LgU-A6O9.js → vega-component-D-IXRnlx.js} +9 -9
  153. package/dist/{velocity-DTlmtsPi.js → velocity-DHMu9kc-.js} +1 -1
  154. package/dist/{verilog-prDoxOJS.js → verilog-DhiEaoUl.js} +1 -1
  155. package/dist/{vhdl-BAJ9qF1C.js → vhdl-D4X23YKO.js} +1 -1
  156. package/dist/{webidl-ybLbdZxR.js → webidl-SyzNxWpJ.js} +1 -1
  157. package/dist/{xquery-81N7rqzd.js → xquery-BC2R4Hk6.js} +1 -1
  158. package/dist/{yacas-BwVftjEP.js → yacas-DLNXPMmH.js} +1 -1
  159. package/dist/{z80-CmT0MNUO.js → z80-CDXWHOO6.js} +1 -1
  160. package/package.json +26 -26
  161. package/src/components/ai/ai-provider-icon.tsx +2 -2
  162. package/src/components/ai/ai-utils.ts +1 -1
  163. package/src/components/app-config/ai-config.tsx +33 -37
  164. package/src/components/app-config/user-config-form.tsx +1 -1
  165. package/src/components/data-table/__tests__/column-explorer.test.tsx +64 -4
  166. package/src/components/data-table/__tests__/column-visibility-dropdown.test.tsx +137 -4
  167. package/src/components/data-table/__tests__/url-detector.test.tsx +1 -1
  168. package/src/components/data-table/__tests__/useColumnVisibility.test.ts +153 -1
  169. package/src/components/data-table/column-explorer-panel/column-explorer.tsx +54 -25
  170. package/src/components/data-table/column-visibility-dropdown.tsx +62 -14
  171. package/src/components/data-table/date-popover.tsx +2 -1
  172. package/src/components/data-table/hooks/use-column-visibility.ts +76 -0
  173. package/src/components/data-table/renderers.tsx +4 -8
  174. package/src/components/data-table/show-only-column-button.tsx +58 -0
  175. package/src/components/dependency-graph/__tests__/elements.test.ts +151 -0
  176. package/src/components/dependency-graph/custom-edge.tsx +68 -0
  177. package/src/components/dependency-graph/custom-node.tsx +54 -26
  178. package/src/components/dependency-graph/dependency-graph-tree.tsx +110 -21
  179. package/src/components/dependency-graph/elements.ts +225 -31
  180. package/src/components/dependency-graph/panels.tsx +23 -2
  181. package/src/components/dependency-graph/utils/__tests__/layout.test.ts +78 -0
  182. package/src/components/dependency-graph/utils/layout.ts +108 -18
  183. package/src/components/editor/Output.tsx +40 -0
  184. package/src/components/editor/__tests__/Output.test.tsx +85 -2
  185. package/src/components/editor/connections/secret-combobox.tsx +3 -1
  186. package/src/components/editor/file-tree/__tests__/file-explorer-navigation.test.tsx +832 -0
  187. package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +27 -0
  188. package/src/components/editor/file-tree/__tests__/requesting-tree.test.ts +130 -0
  189. package/src/components/editor/file-tree/file-browser-row.tsx +82 -0
  190. package/src/components/editor/file-tree/file-explorer.tsx +377 -159
  191. package/src/components/editor/file-tree/file-operations.tsx +1 -1
  192. package/src/components/editor/file-tree/file-search-results.tsx +142 -0
  193. package/src/components/editor/file-tree/file-tree-row.tsx +40 -0
  194. package/src/components/editor/file-tree/file-viewer.tsx +2 -1
  195. package/src/components/editor/file-tree/renderers.tsx +4 -2
  196. package/src/components/editor/file-tree/requesting-tree.tsx +162 -32
  197. package/src/components/editor/file-tree/use-file-search.ts +142 -0
  198. package/src/components/editor/file-tree/use-hover-expand.ts +34 -0
  199. package/src/components/editor/navigation/__tests__/navigation.test.ts +30 -0
  200. package/src/components/editor/navigation/navigation.ts +20 -0
  201. package/src/components/forms/form.tsx +6 -4
  202. package/src/components/home/components.tsx +1 -0
  203. package/src/components/static-html/share-modal.tsx +3 -2
  204. package/src/components/ui/__tests__/badge.test.ts +63 -0
  205. package/src/components/ui/__tests__/button.test.ts +19 -0
  206. package/src/components/ui/__tests__/fullscreen.test.tsx +88 -0
  207. package/src/components/ui/__tests__/menu-items.test.ts +31 -0
  208. package/src/components/ui/badge.tsx +9 -7
  209. package/src/components/ui/button.tsx +1 -0
  210. package/src/components/ui/combobox.tsx +1 -1
  211. package/src/components/ui/date-input.tsx +1 -1
  212. package/src/components/ui/dialog.tsx +3 -1
  213. package/src/components/ui/fullscreen.tsx +43 -1
  214. package/src/components/ui/input.tsx +5 -1
  215. package/src/components/ui/links.tsx +2 -1
  216. package/src/components/ui/menu-items.tsx +9 -9
  217. package/src/components/ui/native-select.tsx +2 -2
  218. package/src/components/ui/navigation.tsx +1 -1
  219. package/src/components/ui/range-slider.tsx +5 -3
  220. package/src/components/ui/select.tsx +1 -1
  221. package/src/components/ui/sheet.tsx +1 -1
  222. package/src/components/ui/toast.tsx +8 -5
  223. package/src/components/ui/toaster.tsx +2 -2
  224. package/src/core/ai/ids/__tests__/ids.test.ts +0 -8
  225. package/src/core/ai/ids/ids.ts +1 -1
  226. package/src/core/cells/__tests__/add-missing-import.test.ts +20 -0
  227. package/src/core/codemirror/language/__tests__/utils.test.ts +1 -1
  228. package/src/core/config/config-schema.ts +1 -0
  229. package/src/core/hotkeys/hotkeys.ts +5 -0
  230. package/src/core/network/__tests__/requests-toasting.test.tsx +14 -0
  231. package/src/core/network/requests-toasting.tsx +1 -1
  232. package/src/css/globals.css +28 -0
  233. package/src/hooks/useEventListener.ts +1 -1
  234. package/src/plugins/core/RenderHTML.tsx +6 -4
  235. package/src/plugins/impl/MatrixPlugin.tsx +1 -1
  236. package/src/plugins/impl/code/any-language-editor.tsx +7 -4
  237. package/src/plugins/impl/data-frames/__tests__/schema.test.ts +34 -1
  238. package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +25 -25
  239. package/src/plugins/impl/data-frames/schema.ts +5 -11
  240. package/src/plugins/impl/panel/__tests__/utils.test.ts +4 -4
  241. package/src/plugins/impl/vega/__tests__/vega.test.ts +1 -1
  242. package/src/stories/cell.stories.tsx +15 -11
  243. package/src/utils/__tests__/events.test.ts +1 -1
  244. package/dist/any-language-editor-D751ztAP.js +0 -76
  245. package/dist/assets/__vite-browser-external-Cf4O9gnt.js +0 -1
@@ -1,33 +1,33 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { g as t, h as n, m as r, p as i, r as a, u as o } from "./button-DlqUC8W-.js";
2
+ import { g as t, h as n, m as r, p as i, r as a, u as o } from "./button-CKBkqR9J.js";
3
3
  import { t as s } from "./react-DMWcHin-.js";
4
4
  import { t as c } from "./compiler-runtime-CAH9RLw2.js";
5
- import { a as l, c as u, i as d, n as f, r as p, t as m, u as h } from "./dist-wdOJ5T7-.js";
6
- import { t as g } from "./check-BcJDmQdF.js";
5
+ import { a as l, c as u, i as d, n as f, r as p, t as m, u as h } from "./dist-3_o3T78I.js";
6
+ import { t as g } from "./check-CHig47QV.js";
7
7
  import { t as _ } from "./react-dom-C94wmq5w.js";
8
8
  import { t as v } from "./jsx-runtime-CpoKNRgu.js";
9
- import { Ac as y, Bc as b, Dc as x, Ec as S, Fc as C, Hc as w, Kc as T, Lc as E, Nc as ee, Pc as D, Uc as O, Wc as k, jc as te, kc as A, qc as j, zc as ne } from "./schemas-JTyiKlcH.js";
10
- import { t as M } from "./invariant-DLmrl-hA.js";
11
- var N = h("chevron-down", [["path", {
9
+ import { Ac as y, Bc as b, Dc as x, Fc as S, Gc as C, Ic as ee, Jc as w, Mc as T, Oc as E, Pc as D, Rc as te, Uc as O, Vc as k, Wc as A, jc as ne, qc as re } from "./schemas-DzK6U94N.js";
10
+ import { t as j } from "./invariant-DLmrl-hA.js";
11
+ var M = h("chevron-down", [["path", {
12
12
  d: "m6 9 6 6 6-6",
13
13
  key: "qrunsl"
14
- }]]), re = h("chevron-up", [["path", {
14
+ }]]), ie = h("chevron-up", [["path", {
15
15
  d: "m18 15-6-6-6 6",
16
16
  key: "153udz"
17
- }]]), P = h("x", [["path", {
17
+ }]]), N = h("x", [["path", {
18
18
  d: "M18 6 6 18",
19
19
  key: "1bl5f8"
20
20
  }], ["path", {
21
21
  d: "m6 6 12 12",
22
22
  key: "d8bk6v"
23
- }]]), F = /* @__PURE__ */ e(_(), 1), I = /* @__PURE__ */ e(s(), 1), L = v();
24
- function R(e) {
25
- let t = e + "CollectionProvider", [n, r] = T(t), [a, s] = n(t, {
23
+ }]]), P = /* @__PURE__ */ e(_(), 1), F = /* @__PURE__ */ e(s(), 1), I = v();
24
+ function L(e) {
25
+ let t = e + "CollectionProvider", [n, r] = re(t), [a, s] = n(t, {
26
26
  collectionRef: { current: null },
27
27
  itemMap: /* @__PURE__ */ new Map()
28
28
  }), c = (e) => {
29
- let { scope: t, children: n } = e, r = I.useRef(null), i = I.useRef(/* @__PURE__ */ new Map()).current;
30
- return /* @__PURE__ */ (0, L.jsx)(a, {
29
+ let { scope: t, children: n } = e, r = F.useRef(null), i = F.useRef(/* @__PURE__ */ new Map()).current;
30
+ return /* @__PURE__ */ (0, I.jsx)(a, {
31
31
  scope: t,
32
32
  itemMap: i,
33
33
  collectionRef: r,
@@ -35,20 +35,20 @@ function R(e) {
35
35
  });
36
36
  };
37
37
  c.displayName = t;
38
- let l = e + "CollectionSlot", u = o(l), d = I.forwardRef((e, t) => {
38
+ let l = e + "CollectionSlot", u = o(l), d = F.forwardRef((e, t) => {
39
39
  let { scope: n, children: r } = e, a = s(l, n), o = i(t, a.collectionRef);
40
- return /* @__PURE__ */ (0, L.jsx)(u, {
40
+ return /* @__PURE__ */ (0, I.jsx)(u, {
41
41
  ref: o,
42
42
  children: r
43
43
  });
44
44
  });
45
45
  d.displayName = l;
46
- let f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = o(f), h = I.forwardRef((e, t) => {
47
- let { scope: n, children: r, ...a } = e, o = I.useRef(null), c = i(t, o), l = s(f, n);
48
- return I.useEffect(() => (l.itemMap.set(o, {
46
+ let f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = o(f), h = F.forwardRef((e, t) => {
47
+ let { scope: n, children: r, ...a } = e, o = F.useRef(null), c = i(t, o), l = s(f, n);
48
+ return F.useEffect(() => (l.itemMap.set(o, {
49
49
  ref: o,
50
50
  ...a
51
- }), () => void l.itemMap.delete(o))), /* @__PURE__ */ (0, L.jsx)(m, {
51
+ }), () => void l.itemMap.delete(o))), /* @__PURE__ */ (0, I.jsx)(m, {
52
52
  [p]: "",
53
53
  ref: c,
54
54
  children: r
@@ -57,7 +57,7 @@ function R(e) {
57
57
  h.displayName = f;
58
58
  function g(t) {
59
59
  let n = s(e + "CollectionConsumer", t);
60
- return I.useCallback(() => {
60
+ return F.useCallback(() => {
61
61
  let e = n.collectionRef.current;
62
62
  if (!e) return [];
63
63
  let t = Array.from(e.querySelectorAll(`[${p}]`));
@@ -76,96 +76,96 @@ function R(e) {
76
76
  }
77
77
  //#endregion
78
78
  //#region ../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.10_react@19.2.4/node_modules/@radix-ui/react-direction/dist/index.mjs
79
- var z = I.createContext(void 0);
80
- function B(e) {
81
- let t = I.useContext(z);
79
+ var R = F.createContext(void 0);
80
+ function z(e) {
81
+ let t = F.useContext(R);
82
82
  return e || t || "ltr";
83
83
  }
84
84
  //#endregion
85
85
  //#region ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.2.10_react@19.2.4/node_modules/@radix-ui/react-use-previous/dist/index.mjs
86
- function ie(e) {
87
- let t = I.useRef({
86
+ function ae(e) {
87
+ let t = F.useRef({
88
88
  value: e,
89
89
  previous: e
90
90
  });
91
- return I.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
91
+ return F.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
92
92
  }
93
93
  //#endregion
94
94
  //#region ../node_modules/.pnpm/@radix-ui+number@1.1.1/node_modules/@radix-ui/number/dist/index.mjs
95
- function V(e, [t, n]) {
95
+ function B(e, [t, n]) {
96
96
  return Math.min(n, Math.max(t, e));
97
97
  }
98
98
  //#endregion
99
99
  //#region ../node_modules/.pnpm/@radix-ui+react-select@2.2.6_@types+react-dom@19.2.3_@types+react@19.2.10__@types+react_1f7b4ff668a805c08339bb4e58c413b0/node_modules/@radix-ui/react-select/dist/index.mjs
100
- var ae = [
100
+ var oe = [
101
101
  " ",
102
102
  "Enter",
103
103
  "ArrowUp",
104
104
  "ArrowDown"
105
- ], oe = [" ", "Enter"], H = "Select", [U, W, se] = R(H), [G, ce] = T(H, [se, l]), K = l(), [le, q] = G(H), [ue, de] = G(H), fe = (e) => {
106
- let { __scopeSelect: t, children: n, open: r, defaultOpen: i, onOpenChange: a, value: o, defaultValue: s, onValueChange: c, dir: l, name: u, autoComplete: f, disabled: p, required: m, form: h } = e, g = K(t), [_, v] = I.useState(null), [y, x] = I.useState(null), [S, C] = I.useState(!1), T = B(l), [E, ee] = w({
105
+ ], se = [" ", "Enter"], V = "Select", [H, U, ce] = L(V), [W, le] = re(V, [ce, l]), G = l(), [ue, K] = W(V), [de, fe] = W(V), pe = (e) => {
106
+ let { __scopeSelect: t, children: n, open: r, defaultOpen: i, onOpenChange: a, value: o, defaultValue: s, onValueChange: c, dir: l, name: u, autoComplete: f, disabled: p, required: m, form: h } = e, g = G(t), [_, v] = F.useState(null), [y, b] = F.useState(null), [x, S] = F.useState(!1), C = z(l), [ee, w] = O({
107
107
  prop: r,
108
108
  defaultProp: i ?? !1,
109
109
  onChange: a,
110
- caller: H
111
- }), [D, O] = w({
110
+ caller: V
111
+ }), [T, E] = O({
112
112
  prop: o,
113
113
  defaultProp: s,
114
114
  onChange: c,
115
- caller: H
116
- }), k = I.useRef(null), te = !_ || h || !!_.closest("form"), [A, j] = I.useState(/* @__PURE__ */ new Set()), ne = Array.from(A).map((e) => e.props.value).join(";");
117
- return /* @__PURE__ */ (0, L.jsx)(d, {
115
+ caller: V
116
+ }), D = F.useRef(null), te = !_ || h || !!_.closest("form"), [A, ne] = F.useState(/* @__PURE__ */ new Set()), re = Array.from(A).map((e) => e.props.value).join(";");
117
+ return /* @__PURE__ */ (0, I.jsx)(d, {
118
118
  ...g,
119
- children: /* @__PURE__ */ (0, L.jsxs)(le, {
119
+ children: /* @__PURE__ */ (0, I.jsxs)(ue, {
120
120
  required: m,
121
121
  scope: t,
122
122
  trigger: _,
123
123
  onTriggerChange: v,
124
124
  valueNode: y,
125
- onValueNodeChange: x,
126
- valueNodeHasChildren: S,
127
- onValueNodeHasChildrenChange: C,
128
- contentId: b(),
129
- value: D,
130
- onValueChange: O,
131
- open: E,
132
- onOpenChange: ee,
133
- dir: T,
134
- triggerPointerDownPosRef: k,
125
+ onValueNodeChange: b,
126
+ valueNodeHasChildren: x,
127
+ onValueNodeHasChildrenChange: S,
128
+ contentId: k(),
129
+ value: T,
130
+ onValueChange: E,
131
+ open: ee,
132
+ onOpenChange: w,
133
+ dir: C,
134
+ triggerPointerDownPosRef: D,
135
135
  disabled: p,
136
- children: [/* @__PURE__ */ (0, L.jsx)(U.Provider, {
136
+ children: [/* @__PURE__ */ (0, I.jsx)(H.Provider, {
137
137
  scope: t,
138
- children: /* @__PURE__ */ (0, L.jsx)(ue, {
138
+ children: /* @__PURE__ */ (0, I.jsx)(de, {
139
139
  scope: e.__scopeSelect,
140
- onNativeOptionAdd: I.useCallback((e) => {
141
- j((t) => new Set(t).add(e));
140
+ onNativeOptionAdd: F.useCallback((e) => {
141
+ ne((t) => new Set(t).add(e));
142
142
  }, []),
143
- onNativeOptionRemove: I.useCallback((e) => {
144
- j((t) => {
143
+ onNativeOptionRemove: F.useCallback((e) => {
144
+ ne((t) => {
145
145
  let n = new Set(t);
146
146
  return n.delete(e), n;
147
147
  });
148
148
  }, []),
149
149
  children: n
150
150
  })
151
- }), te ? /* @__PURE__ */ (0, L.jsxs)(rt, {
151
+ }), te ? /* @__PURE__ */ (0, I.jsxs)(rt, {
152
152
  "aria-hidden": !0,
153
153
  required: m,
154
154
  tabIndex: -1,
155
155
  name: u,
156
156
  autoComplete: f,
157
- value: D,
158
- onChange: (e) => O(e.target.value),
157
+ value: T,
158
+ onChange: (e) => E(e.target.value),
159
159
  disabled: p,
160
160
  form: h,
161
- children: [D === void 0 ? /* @__PURE__ */ (0, L.jsx)("option", { value: "" }) : null, Array.from(A)]
162
- }, ne) : null]
161
+ children: [T === void 0 ? /* @__PURE__ */ (0, I.jsx)("option", { value: "" }) : null, Array.from(A)]
162
+ }, re) : null]
163
163
  })
164
164
  });
165
165
  };
166
- fe.displayName = H;
167
- var pe = "SelectTrigger", me = I.forwardRef((e, t) => {
168
- let { __scopeSelect: n, disabled: r = !1, ...a } = e, o = K(n), s = q(pe, n), c = s.disabled || r, l = i(t, s.onTriggerChange), u = W(n), d = I.useRef("touch"), [f, p, h] = at((e) => {
166
+ pe.displayName = V;
167
+ var me = "SelectTrigger", he = F.forwardRef((e, t) => {
168
+ let { __scopeSelect: n, disabled: r = !1, ...a } = e, o = G(n), s = K(me, n), c = s.disabled || r, l = i(t, s.onTriggerChange), u = U(n), d = F.useRef("touch"), [f, p, h] = at((e) => {
169
169
  let t = u().filter((e) => !e.disabled), n = ot(t, e, t.find((e) => e.value === s.value));
170
170
  n !== void 0 && s.onValueChange(n.value);
171
171
  }), g = (e) => {
@@ -174,10 +174,10 @@ var pe = "SelectTrigger", me = I.forwardRef((e, t) => {
174
174
  y: Math.round(e.pageY)
175
175
  });
176
176
  };
177
- return /* @__PURE__ */ (0, L.jsx)(m, {
177
+ return /* @__PURE__ */ (0, I.jsx)(m, {
178
178
  asChild: !0,
179
179
  ...o,
180
- children: /* @__PURE__ */ (0, L.jsx)(j.button, {
180
+ children: /* @__PURE__ */ (0, I.jsx)(w.button, {
181
181
  type: "button",
182
182
  role: "combobox",
183
183
  "aria-controls": s.contentId,
@@ -191,100 +191,100 @@ var pe = "SelectTrigger", me = I.forwardRef((e, t) => {
191
191
  "data-placeholder": it(s.value) ? "" : void 0,
192
192
  ...a,
193
193
  ref: l,
194
- onClick: k(a.onClick, (e) => {
194
+ onClick: C(a.onClick, (e) => {
195
195
  e.currentTarget.focus(), d.current !== "mouse" && g(e);
196
196
  }),
197
- onPointerDown: k(a.onPointerDown, (e) => {
197
+ onPointerDown: C(a.onPointerDown, (e) => {
198
198
  d.current = e.pointerType;
199
199
  let t = e.target;
200
200
  t.hasPointerCapture(e.pointerId) && t.releasePointerCapture(e.pointerId), e.button === 0 && e.ctrlKey === !1 && e.pointerType === "mouse" && (g(e), e.preventDefault());
201
201
  }),
202
- onKeyDown: k(a.onKeyDown, (e) => {
202
+ onKeyDown: C(a.onKeyDown, (e) => {
203
203
  let t = f.current !== "";
204
- !(e.ctrlKey || e.altKey || e.metaKey) && e.key.length === 1 && p(e.key), !(t && e.key === " ") && ae.includes(e.key) && (g(), e.preventDefault());
204
+ !(e.ctrlKey || e.altKey || e.metaKey) && e.key.length === 1 && p(e.key), !(t && e.key === " ") && oe.includes(e.key) && (g(), e.preventDefault());
205
205
  })
206
206
  })
207
207
  });
208
208
  });
209
- me.displayName = pe;
210
- var he = "SelectValue", ge = I.forwardRef((e, t) => {
211
- let { __scopeSelect: n, className: r, style: a, children: o, placeholder: s = "", ...c } = e, l = q(he, n), { onValueNodeHasChildrenChange: u } = l, d = o !== void 0, f = i(t, l.onValueNodeChange);
212
- return O(() => {
209
+ he.displayName = me;
210
+ var ge = "SelectValue", _e = F.forwardRef((e, t) => {
211
+ let { __scopeSelect: n, className: r, style: a, children: o, placeholder: s = "", ...c } = e, l = K(ge, n), { onValueNodeHasChildrenChange: u } = l, d = o !== void 0, f = i(t, l.onValueNodeChange);
212
+ return A(() => {
213
213
  u(d);
214
- }, [u, d]), /* @__PURE__ */ (0, L.jsx)(j.span, {
214
+ }, [u, d]), /* @__PURE__ */ (0, I.jsx)(w.span, {
215
215
  ...c,
216
216
  ref: f,
217
217
  style: { pointerEvents: "none" },
218
- children: it(l.value) ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: s }) : o
218
+ children: it(l.value) ? /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: s }) : o
219
219
  });
220
220
  });
221
- ge.displayName = he;
222
- var _e = "SelectIcon", ve = I.forwardRef((e, t) => {
221
+ _e.displayName = ge;
222
+ var ve = "SelectIcon", ye = F.forwardRef((e, t) => {
223
223
  let { __scopeSelect: n, children: r, ...i } = e;
224
- return /* @__PURE__ */ (0, L.jsx)(j.span, {
224
+ return /* @__PURE__ */ (0, I.jsx)(w.span, {
225
225
  "aria-hidden": !0,
226
226
  ...i,
227
227
  ref: t,
228
228
  children: r || "▼"
229
229
  });
230
230
  });
231
- ve.displayName = _e;
232
- var ye = "SelectPortal", be = (e) => /* @__PURE__ */ (0, L.jsx)(D, {
231
+ ye.displayName = ve;
232
+ var be = "SelectPortal", xe = (e) => /* @__PURE__ */ (0, I.jsx)(S, {
233
233
  asChild: !0,
234
234
  ...e
235
235
  });
236
- be.displayName = ye;
237
- var J = "SelectContent", xe = I.forwardRef((e, t) => {
238
- let n = q(J, e.__scopeSelect), [r, i] = I.useState();
239
- if (O(() => {
236
+ xe.displayName = be;
237
+ var q = "SelectContent", Se = F.forwardRef((e, t) => {
238
+ let n = K(q, e.__scopeSelect), [r, i] = F.useState();
239
+ if (A(() => {
240
240
  i(new DocumentFragment());
241
241
  }, []), !n.open) {
242
242
  let t = r;
243
- return t ? F.createPortal(/* @__PURE__ */ (0, L.jsx)(Se, {
243
+ return t ? P.createPortal(/* @__PURE__ */ (0, I.jsx)(Ce, {
244
244
  scope: e.__scopeSelect,
245
- children: /* @__PURE__ */ (0, L.jsx)(U.Slot, {
245
+ children: /* @__PURE__ */ (0, I.jsx)(H.Slot, {
246
246
  scope: e.__scopeSelect,
247
- children: /* @__PURE__ */ (0, L.jsx)("div", { children: e.children })
247
+ children: /* @__PURE__ */ (0, I.jsx)("div", { children: e.children })
248
248
  })
249
249
  }), t) : null;
250
250
  }
251
- return /* @__PURE__ */ (0, L.jsx)(Te, {
251
+ return /* @__PURE__ */ (0, I.jsx)(Ee, {
252
252
  ...e,
253
253
  ref: t
254
254
  });
255
255
  });
256
- xe.displayName = J;
257
- var Y = 10, [Se, X] = G(J), Ce = "SelectContentImpl", we = o("SelectContent.RemoveScroll"), Te = I.forwardRef((e, t) => {
258
- let { __scopeSelect: n, position: r = "item-aligned", onCloseAutoFocus: a, onEscapeKeyDown: o, onPointerDownOutside: s, side: c, sideOffset: l, align: u, alignOffset: d, arrowPadding: f, collisionBoundary: p, collisionPadding: m, sticky: h, hideWhenDetached: g, avoidCollisions: _, ...v } = e, b = q(J, n), [x, S] = I.useState(null), [w, T] = I.useState(null), D = i(t, (e) => S(e)), [O, A] = I.useState(null), [j, ne] = I.useState(null), M = W(n), [N, re] = I.useState(!1), P = I.useRef(!1);
259
- I.useEffect(() => {
260
- if (x) return y(x);
261
- }, [x]), ee();
262
- let F = I.useCallback((e) => {
263
- let [t, ...n] = M().map((e) => e.ref.current), [r] = n.slice(-1), i = document.activeElement;
264
- for (let n of e) if (n === i || (n?.scrollIntoView({ block: "nearest" }), n === t && w && (w.scrollTop = 0), n === r && w && (w.scrollTop = w.scrollHeight), n?.focus(), document.activeElement !== i)) return;
265
- }, [M, w]), R = I.useCallback(() => F([O, x]), [
266
- F,
256
+ Se.displayName = q;
257
+ var J = 10, [Ce, Y] = W(q), we = "SelectContentImpl", Te = o("SelectContent.RemoveScroll"), Ee = F.forwardRef((e, t) => {
258
+ let { __scopeSelect: n, position: r = "item-aligned", onCloseAutoFocus: a, onEscapeKeyDown: o, onPointerDownOutside: s, side: c, sideOffset: l, align: u, alignOffset: d, arrowPadding: f, collisionBoundary: p, collisionPadding: m, sticky: h, hideWhenDetached: g, avoidCollisions: _, ...v } = e, y = K(q, n), [b, x] = F.useState(null), [S, w] = F.useState(null), E = i(t, (e) => x(e)), [O, k] = F.useState(null), [A, re] = F.useState(null), j = U(n), [M, ie] = F.useState(!1), N = F.useRef(!1);
259
+ F.useEffect(() => {
260
+ if (b) return ne(b);
261
+ }, [b]), D();
262
+ let P = F.useCallback((e) => {
263
+ let [t, ...n] = j().map((e) => e.ref.current), [r] = n.slice(-1), i = document.activeElement;
264
+ for (let n of e) if (n === i || (n?.scrollIntoView({ block: "nearest" }), n === t && S && (S.scrollTop = 0), n === r && S && (S.scrollTop = S.scrollHeight), n?.focus(), document.activeElement !== i)) return;
265
+ }, [j, S]), L = F.useCallback(() => P([O, b]), [
266
+ P,
267
267
  O,
268
- x
268
+ b
269
269
  ]);
270
- I.useEffect(() => {
271
- N && R();
272
- }, [N, R]);
273
- let { onOpenChange: z, triggerPointerDownPosRef: B } = b;
274
- I.useEffect(() => {
275
- if (x) {
270
+ F.useEffect(() => {
271
+ M && L();
272
+ }, [M, L]);
273
+ let { onOpenChange: R, triggerPointerDownPosRef: z } = y;
274
+ F.useEffect(() => {
275
+ if (b) {
276
276
  let e = {
277
277
  x: 0,
278
278
  y: 0
279
279
  }, t = (t) => {
280
280
  e = {
281
- x: Math.abs(Math.round(t.pageX) - (B.current?.x ?? 0)),
282
- y: Math.abs(Math.round(t.pageY) - (B.current?.y ?? 0))
281
+ x: Math.abs(Math.round(t.pageX) - (z.current?.x ?? 0)),
282
+ y: Math.abs(Math.round(t.pageY) - (z.current?.y ?? 0))
283
283
  };
284
284
  }, n = (n) => {
285
- e.x <= 10 && e.y <= 10 ? n.preventDefault() : x.contains(n.target) || z(!1), document.removeEventListener("pointermove", t), B.current = null;
285
+ e.x <= 10 && e.y <= 10 ? n.preventDefault() : b.contains(n.target) || R(!1), document.removeEventListener("pointermove", t), z.current = null;
286
286
  };
287
- return B.current !== null && (document.addEventListener("pointermove", t), document.addEventListener("pointerup", n, {
287
+ return z.current !== null && (document.addEventListener("pointermove", t), document.addEventListener("pointerup", n, {
288
288
  capture: !0,
289
289
  once: !0
290
290
  })), () => {
@@ -292,25 +292,25 @@ var Y = 10, [Se, X] = G(J), Ce = "SelectContentImpl", we = o("SelectContent.Remo
292
292
  };
293
293
  }
294
294
  }, [
295
- x,
296
- z,
297
- B
298
- ]), I.useEffect(() => {
299
- let e = () => z(!1);
295
+ b,
296
+ R,
297
+ z
298
+ ]), F.useEffect(() => {
299
+ let e = () => R(!1);
300
300
  return window.addEventListener("blur", e), window.addEventListener("resize", e), () => {
301
301
  window.removeEventListener("blur", e), window.removeEventListener("resize", e);
302
302
  };
303
- }, [z]);
304
- let [ie, V] = at((e) => {
305
- let t = M().filter((e) => !e.disabled), n = ot(t, e, t.find((e) => e.ref.current === document.activeElement));
303
+ }, [R]);
304
+ let [ae, B] = at((e) => {
305
+ let t = j().filter((e) => !e.disabled), n = ot(t, e, t.find((e) => e.ref.current === document.activeElement));
306
306
  n && setTimeout(() => n.ref.current.focus());
307
- }), ae = I.useCallback((e, t, n) => {
308
- let r = !P.current && !n;
309
- (b.value !== void 0 && b.value === t || r) && (A(e), r && (P.current = !0));
310
- }, [b.value]), oe = I.useCallback(() => x?.focus(), [x]), H = I.useCallback((e, t, n) => {
311
- let r = !P.current && !n;
312
- (b.value !== void 0 && b.value === t || r) && ne(e);
313
- }, [b.value]), U = r === "popper" ? ke : De, se = U === ke ? {
307
+ }), oe = F.useCallback((e, t, n) => {
308
+ let r = !N.current && !n;
309
+ (y.value !== void 0 && y.value === t || r) && (k(e), r && (N.current = !0));
310
+ }, [y.value]), se = F.useCallback(() => b?.focus(), [b]), V = F.useCallback((e, t, n) => {
311
+ let r = !N.current && !n;
312
+ (y.value !== void 0 && y.value === t || r) && re(e);
313
+ }, [y.value]), H = r === "popper" ? Ae : Oe, ce = H === Ae ? {
314
314
  side: c,
315
315
  sideOffset: l,
316
316
  align: u,
@@ -322,69 +322,69 @@ var Y = 10, [Se, X] = G(J), Ce = "SelectContentImpl", we = o("SelectContent.Remo
322
322
  hideWhenDetached: g,
323
323
  avoidCollisions: _
324
324
  } : {};
325
- return /* @__PURE__ */ (0, L.jsx)(Se, {
325
+ return /* @__PURE__ */ (0, I.jsx)(Ce, {
326
326
  scope: n,
327
- content: x,
328
- viewport: w,
329
- onViewportChange: T,
330
- itemRefCallback: ae,
327
+ content: b,
328
+ viewport: S,
329
+ onViewportChange: w,
330
+ itemRefCallback: oe,
331
331
  selectedItem: O,
332
- onItemLeave: oe,
333
- itemTextRefCallback: H,
334
- focusSelectedItem: R,
335
- selectedItemText: j,
332
+ onItemLeave: se,
333
+ itemTextRefCallback: V,
334
+ focusSelectedItem: L,
335
+ selectedItemText: A,
336
336
  position: r,
337
- isPositioned: N,
338
- searchRef: ie,
339
- children: /* @__PURE__ */ (0, L.jsx)(te, {
340
- as: we,
337
+ isPositioned: M,
338
+ searchRef: ae,
339
+ children: /* @__PURE__ */ (0, I.jsx)(T, {
340
+ as: Te,
341
341
  allowPinchZoom: !0,
342
- children: /* @__PURE__ */ (0, L.jsx)(C, {
342
+ children: /* @__PURE__ */ (0, I.jsx)(ee, {
343
343
  asChild: !0,
344
- trapped: b.open,
344
+ trapped: y.open,
345
345
  onMountAutoFocus: (e) => {
346
346
  e.preventDefault();
347
347
  },
348
- onUnmountAutoFocus: k(a, (e) => {
349
- b.trigger?.focus({ preventScroll: !0 }), e.preventDefault();
348
+ onUnmountAutoFocus: C(a, (e) => {
349
+ y.trigger?.focus({ preventScroll: !0 }), e.preventDefault();
350
350
  }),
351
- children: /* @__PURE__ */ (0, L.jsx)(E, {
351
+ children: /* @__PURE__ */ (0, I.jsx)(te, {
352
352
  asChild: !0,
353
353
  disableOutsidePointerEvents: !0,
354
354
  onEscapeKeyDown: o,
355
355
  onPointerDownOutside: s,
356
356
  onFocusOutside: (e) => e.preventDefault(),
357
- onDismiss: () => b.onOpenChange(!1),
358
- children: /* @__PURE__ */ (0, L.jsx)(U, {
357
+ onDismiss: () => y.onOpenChange(!1),
358
+ children: /* @__PURE__ */ (0, I.jsx)(H, {
359
359
  role: "listbox",
360
- id: b.contentId,
361
- "data-state": b.open ? "open" : "closed",
362
- dir: b.dir,
360
+ id: y.contentId,
361
+ "data-state": y.open ? "open" : "closed",
362
+ dir: y.dir,
363
363
  onContextMenu: (e) => e.preventDefault(),
364
364
  ...v,
365
- ...se,
366
- onPlaced: () => re(!0),
367
- ref: D,
365
+ ...ce,
366
+ onPlaced: () => ie(!0),
367
+ ref: E,
368
368
  style: {
369
369
  display: "flex",
370
370
  flexDirection: "column",
371
371
  outline: "none",
372
372
  ...v.style
373
373
  },
374
- onKeyDown: k(v.onKeyDown, (e) => {
374
+ onKeyDown: C(v.onKeyDown, (e) => {
375
375
  let t = e.ctrlKey || e.altKey || e.metaKey;
376
- if (e.key === "Tab" && e.preventDefault(), !t && e.key.length === 1 && V(e.key), [
376
+ if (e.key === "Tab" && e.preventDefault(), !t && e.key.length === 1 && B(e.key), [
377
377
  "ArrowUp",
378
378
  "ArrowDown",
379
379
  "Home",
380
380
  "End"
381
381
  ].includes(e.key)) {
382
- let t = M().filter((e) => !e.disabled).map((e) => e.ref.current);
382
+ let t = j().filter((e) => !e.disabled).map((e) => e.ref.current);
383
383
  if (["ArrowUp", "End"].includes(e.key) && (t = t.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(e.key)) {
384
384
  let n = e.target, r = t.indexOf(n);
385
385
  t = t.slice(r + 1);
386
386
  }
387
- setTimeout(() => F(t)), e.preventDefault();
387
+ setTimeout(() => P(t)), e.preventDefault();
388
388
  }
389
389
  })
390
390
  })
@@ -393,31 +393,31 @@ var Y = 10, [Se, X] = G(J), Ce = "SelectContentImpl", we = o("SelectContent.Remo
393
393
  })
394
394
  });
395
395
  });
396
- Te.displayName = Ce;
397
- var Ee = "SelectItemAlignedPosition", De = I.forwardRef((e, t) => {
398
- let { __scopeSelect: n, onPlaced: r, ...a } = e, o = q(J, n), s = X(J, n), [c, l] = I.useState(null), [u, d] = I.useState(null), f = i(t, (e) => d(e)), p = W(n), m = I.useRef(!1), h = I.useRef(!0), { viewport: g, selectedItem: _, selectedItemText: v, focusSelectedItem: y } = s, b = I.useCallback(() => {
396
+ Ee.displayName = we;
397
+ var De = "SelectItemAlignedPosition", Oe = F.forwardRef((e, t) => {
398
+ let { __scopeSelect: n, onPlaced: r, ...a } = e, o = K(q, n), s = Y(q, n), [c, l] = F.useState(null), [u, d] = F.useState(null), f = i(t, (e) => d(e)), p = U(n), m = F.useRef(!1), h = F.useRef(!0), { viewport: g, selectedItem: _, selectedItemText: v, focusSelectedItem: y } = s, b = F.useCallback(() => {
399
399
  if (o.trigger && o.valueNode && c && u && g && _ && v) {
400
400
  let e = o.trigger.getBoundingClientRect(), t = u.getBoundingClientRect(), n = o.valueNode.getBoundingClientRect(), i = v.getBoundingClientRect();
401
401
  if (o.dir !== "rtl") {
402
- let r = i.left - t.left, a = n.left - r, o = e.left - a, s = e.width + o, l = Math.max(s, t.width), u = window.innerWidth - Y, d = V(a, [Y, Math.max(Y, u - l)]);
402
+ let r = i.left - t.left, a = n.left - r, o = e.left - a, s = e.width + o, l = Math.max(s, t.width), u = window.innerWidth - J, d = B(a, [J, Math.max(J, u - l)]);
403
403
  c.style.minWidth = s + "px", c.style.left = d + "px";
404
404
  } else {
405
- let r = t.right - i.right, a = window.innerWidth - n.right - r, o = window.innerWidth - e.right - a, s = e.width + o, l = Math.max(s, t.width), u = window.innerWidth - Y, d = V(a, [Y, Math.max(Y, u - l)]);
405
+ let r = t.right - i.right, a = window.innerWidth - n.right - r, o = window.innerWidth - e.right - a, s = e.width + o, l = Math.max(s, t.width), u = window.innerWidth - J, d = B(a, [J, Math.max(J, u - l)]);
406
406
  c.style.minWidth = s + "px", c.style.right = d + "px";
407
407
  }
408
- let a = p(), s = window.innerHeight - Y * 2, l = g.scrollHeight, d = window.getComputedStyle(u), f = parseInt(d.borderTopWidth, 10), h = parseInt(d.paddingTop, 10), y = parseInt(d.borderBottomWidth, 10), b = parseInt(d.paddingBottom, 10), x = f + h + l + b + y, S = Math.min(_.offsetHeight * 5, x), C = window.getComputedStyle(g), w = parseInt(C.paddingTop, 10), T = parseInt(C.paddingBottom, 10), E = e.top + e.height / 2 - Y, ee = s - E, D = _.offsetHeight / 2, O = _.offsetTop + D, k = f + h + O, te = x - k;
409
- if (k <= E) {
408
+ let a = p(), s = window.innerHeight - J * 2, l = g.scrollHeight, d = window.getComputedStyle(u), f = parseInt(d.borderTopWidth, 10), h = parseInt(d.paddingTop, 10), y = parseInt(d.borderBottomWidth, 10), b = parseInt(d.paddingBottom, 10), x = f + h + l + b + y, S = Math.min(_.offsetHeight * 5, x), C = window.getComputedStyle(g), ee = parseInt(C.paddingTop, 10), w = parseInt(C.paddingBottom, 10), T = e.top + e.height / 2 - J, E = s - T, D = _.offsetHeight / 2, te = _.offsetTop + D, O = f + h + te, k = x - O;
409
+ if (O <= T) {
410
410
  let e = a.length > 0 && _ === a[a.length - 1].ref.current;
411
411
  c.style.bottom = "0px";
412
- let t = u.clientHeight - g.offsetTop - g.offsetHeight, n = k + Math.max(ee, D + (e ? T : 0) + t + y);
412
+ let t = u.clientHeight - g.offsetTop - g.offsetHeight, n = O + Math.max(E, D + (e ? w : 0) + t + y);
413
413
  c.style.height = n + "px";
414
414
  } else {
415
415
  let e = a.length > 0 && _ === a[0].ref.current;
416
416
  c.style.top = "0px";
417
- let t = Math.max(E, f + g.offsetTop + (e ? w : 0) + D) + te;
418
- c.style.height = t + "px", g.scrollTop = k - E + g.offsetTop;
417
+ let t = Math.max(T, f + g.offsetTop + (e ? ee : 0) + D) + k;
418
+ c.style.height = t + "px", g.scrollTop = O - T + g.offsetTop;
419
419
  }
420
- c.style.margin = `${Y}px 0`, c.style.minHeight = S + "px", c.style.maxHeight = s + "px", r?.(), requestAnimationFrame(() => m.current = !0);
420
+ c.style.margin = `${J}px 0`, c.style.minHeight = S + "px", c.style.maxHeight = s + "px", r?.(), requestAnimationFrame(() => m.current = !0);
421
421
  }
422
422
  }, [
423
423
  p,
@@ -431,20 +431,20 @@ var Ee = "SelectItemAlignedPosition", De = I.forwardRef((e, t) => {
431
431
  o.dir,
432
432
  r
433
433
  ]);
434
- O(() => b(), [b]);
435
- let [x, S] = I.useState();
436
- O(() => {
434
+ A(() => b(), [b]);
435
+ let [x, S] = F.useState();
436
+ A(() => {
437
437
  u && S(window.getComputedStyle(u).zIndex);
438
438
  }, [u]);
439
- let C = I.useCallback((e) => {
439
+ let C = F.useCallback((e) => {
440
440
  e && h.current === !0 && (b(), y?.(), h.current = !1);
441
441
  }, [b, y]);
442
- return /* @__PURE__ */ (0, L.jsx)(Ae, {
442
+ return /* @__PURE__ */ (0, I.jsx)(je, {
443
443
  scope: n,
444
444
  contentWrapper: c,
445
445
  shouldExpandOnScrollRef: m,
446
446
  onScrollButtonChange: C,
447
- children: /* @__PURE__ */ (0, L.jsx)("div", {
447
+ children: /* @__PURE__ */ (0, I.jsx)("div", {
448
448
  ref: l,
449
449
  style: {
450
450
  display: "flex",
@@ -452,7 +452,7 @@ var Ee = "SelectItemAlignedPosition", De = I.forwardRef((e, t) => {
452
452
  position: "fixed",
453
453
  zIndex: x
454
454
  },
455
- children: /* @__PURE__ */ (0, L.jsx)(j.div, {
455
+ children: /* @__PURE__ */ (0, I.jsx)(w.div, {
456
456
  ...a,
457
457
  ref: f,
458
458
  style: {
@@ -464,10 +464,10 @@ var Ee = "SelectItemAlignedPosition", De = I.forwardRef((e, t) => {
464
464
  })
465
465
  });
466
466
  });
467
- De.displayName = Ee;
468
- var Oe = "SelectPopperPosition", ke = I.forwardRef((e, t) => {
469
- let { __scopeSelect: n, align: r = "start", collisionPadding: i = Y, ...a } = e, o = K(n);
470
- return /* @__PURE__ */ (0, L.jsx)(p, {
467
+ Oe.displayName = De;
468
+ var ke = "SelectPopperPosition", Ae = F.forwardRef((e, t) => {
469
+ let { __scopeSelect: n, align: r = "start", collisionPadding: i = J, ...a } = e, o = G(n);
470
+ return /* @__PURE__ */ (0, I.jsx)(p, {
471
471
  ...o,
472
472
  ...a,
473
473
  ref: t,
@@ -484,15 +484,15 @@ var Oe = "SelectPopperPosition", ke = I.forwardRef((e, t) => {
484
484
  }
485
485
  });
486
486
  });
487
- ke.displayName = Oe;
488
- var [Ae, je] = G(J, {}), Me = "SelectViewport", Ne = I.forwardRef((e, t) => {
489
- let { __scopeSelect: n, nonce: r, ...a } = e, o = X(Me, n), s = je(Me, n), c = i(t, o.onViewportChange), l = I.useRef(0);
490
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("style", {
487
+ Ae.displayName = ke;
488
+ var [je, Me] = W(q, {}), Ne = "SelectViewport", Pe = F.forwardRef((e, t) => {
489
+ let { __scopeSelect: n, nonce: r, ...a } = e, o = Y(Ne, n), s = Me(Ne, n), c = i(t, o.onViewportChange), l = F.useRef(0);
490
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("style", {
491
491
  dangerouslySetInnerHTML: { __html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}" },
492
492
  nonce: r
493
- }), /* @__PURE__ */ (0, L.jsx)(U.Slot, {
493
+ }), /* @__PURE__ */ (0, I.jsx)(H.Slot, {
494
494
  scope: n,
495
- children: /* @__PURE__ */ (0, L.jsx)(j.div, {
495
+ children: /* @__PURE__ */ (0, I.jsx)(w.div, {
496
496
  "data-radix-select-viewport": "",
497
497
  role: "presentation",
498
498
  ...a,
@@ -503,12 +503,12 @@ var [Ae, je] = G(J, {}), Me = "SelectViewport", Ne = I.forwardRef((e, t) => {
503
503
  overflow: "hidden auto",
504
504
  ...a.style
505
505
  },
506
- onScroll: k(a.onScroll, (e) => {
506
+ onScroll: C(a.onScroll, (e) => {
507
507
  let t = e.currentTarget, { contentWrapper: n, shouldExpandOnScrollRef: r } = s;
508
508
  if (r?.current && n) {
509
509
  let e = Math.abs(l.current - t.scrollTop);
510
510
  if (e > 0) {
511
- let r = window.innerHeight - Y * 2, i = parseFloat(n.style.minHeight), a = parseFloat(n.style.height), o = Math.max(i, a);
511
+ let r = window.innerHeight - J * 2, i = parseFloat(n.style.minHeight), a = parseFloat(n.style.height), o = Math.max(i, a);
512
512
  if (o < r) {
513
513
  let i = o + e, a = Math.min(r, i), s = i - a;
514
514
  n.style.height = a + "px", n.style.bottom === "0px" && (t.scrollTop = s > 0 ? s : 0, n.style.justifyContent = "flex-end");
@@ -520,13 +520,13 @@ var [Ae, je] = G(J, {}), Me = "SelectViewport", Ne = I.forwardRef((e, t) => {
520
520
  })
521
521
  })] });
522
522
  });
523
- Ne.displayName = Me;
524
- var Pe = "SelectGroup", [Fe, Ie] = G(Pe), Le = I.forwardRef((e, t) => {
525
- let { __scopeSelect: n, ...r } = e, i = b();
526
- return /* @__PURE__ */ (0, L.jsx)(Fe, {
523
+ Pe.displayName = Ne;
524
+ var Fe = "SelectGroup", [Ie, Le] = W(Fe), Re = F.forwardRef((e, t) => {
525
+ let { __scopeSelect: n, ...r } = e, i = k();
526
+ return /* @__PURE__ */ (0, I.jsx)(Ie, {
527
527
  scope: n,
528
528
  id: i,
529
- children: /* @__PURE__ */ (0, L.jsx)(j.div, {
529
+ children: /* @__PURE__ */ (0, I.jsx)(w.div, {
530
530
  role: "group",
531
531
  "aria-labelledby": i,
532
532
  ...r,
@@ -534,36 +534,36 @@ var Pe = "SelectGroup", [Fe, Ie] = G(Pe), Le = I.forwardRef((e, t) => {
534
534
  })
535
535
  });
536
536
  });
537
- Le.displayName = Pe;
538
- var Re = "SelectLabel", ze = I.forwardRef((e, t) => {
539
- let { __scopeSelect: n, ...r } = e, i = Ie(Re, n);
540
- return /* @__PURE__ */ (0, L.jsx)(j.div, {
537
+ Re.displayName = Fe;
538
+ var ze = "SelectLabel", Be = F.forwardRef((e, t) => {
539
+ let { __scopeSelect: n, ...r } = e, i = Le(ze, n);
540
+ return /* @__PURE__ */ (0, I.jsx)(w.div, {
541
541
  id: i.id,
542
542
  ...r,
543
543
  ref: t
544
544
  });
545
545
  });
546
- ze.displayName = Re;
547
- var Be = "SelectItem", [Ve, He] = G(Be), Ue = I.forwardRef((e, t) => {
548
- let { __scopeSelect: n, value: r, disabled: a = !1, textValue: o, ...s } = e, c = q(Be, n), l = X(Be, n), u = c.value === r, [d, f] = I.useState(o ?? ""), [p, m] = I.useState(!1), h = i(t, (e) => l.itemRefCallback?.(e, r, a)), g = b(), _ = I.useRef("touch"), v = () => {
546
+ Be.displayName = ze;
547
+ var X = "SelectItem", [Ve, He] = W(X), Ue = F.forwardRef((e, t) => {
548
+ let { __scopeSelect: n, value: r, disabled: a = !1, textValue: o, ...s } = e, c = K(X, n), l = Y(X, n), u = c.value === r, [d, f] = F.useState(o ?? ""), [p, m] = F.useState(!1), h = i(t, (e) => l.itemRefCallback?.(e, r, a)), g = k(), _ = F.useRef("touch"), v = () => {
549
549
  a || (c.onValueChange(r), c.onOpenChange(!1));
550
550
  };
551
551
  if (r === "") throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");
552
- return /* @__PURE__ */ (0, L.jsx)(Ve, {
552
+ return /* @__PURE__ */ (0, I.jsx)(Ve, {
553
553
  scope: n,
554
554
  value: r,
555
555
  disabled: a,
556
556
  textId: g,
557
557
  isSelected: u,
558
- onItemTextChange: I.useCallback((e) => {
558
+ onItemTextChange: F.useCallback((e) => {
559
559
  f((t) => t || (e?.textContent ?? "").trim());
560
560
  }, []),
561
- children: /* @__PURE__ */ (0, L.jsx)(U.ItemSlot, {
561
+ children: /* @__PURE__ */ (0, I.jsx)(H.ItemSlot, {
562
562
  scope: n,
563
563
  value: r,
564
564
  disabled: a,
565
565
  textValue: d,
566
- children: /* @__PURE__ */ (0, L.jsx)(j.div, {
566
+ children: /* @__PURE__ */ (0, I.jsx)(w.div, {
567
567
  role: "option",
568
568
  "aria-labelledby": g,
569
569
  "data-highlighted": p ? "" : void 0,
@@ -574,33 +574,33 @@ var Be = "SelectItem", [Ve, He] = G(Be), Ue = I.forwardRef((e, t) => {
574
574
  tabIndex: a ? void 0 : -1,
575
575
  ...s,
576
576
  ref: h,
577
- onFocus: k(s.onFocus, () => m(!0)),
578
- onBlur: k(s.onBlur, () => m(!1)),
579
- onClick: k(s.onClick, () => {
577
+ onFocus: C(s.onFocus, () => m(!0)),
578
+ onBlur: C(s.onBlur, () => m(!1)),
579
+ onClick: C(s.onClick, () => {
580
580
  _.current !== "mouse" && v();
581
581
  }),
582
- onPointerUp: k(s.onPointerUp, () => {
582
+ onPointerUp: C(s.onPointerUp, () => {
583
583
  _.current === "mouse" && v();
584
584
  }),
585
- onPointerDown: k(s.onPointerDown, (e) => {
585
+ onPointerDown: C(s.onPointerDown, (e) => {
586
586
  _.current = e.pointerType;
587
587
  }),
588
- onPointerMove: k(s.onPointerMove, (e) => {
588
+ onPointerMove: C(s.onPointerMove, (e) => {
589
589
  _.current = e.pointerType, a ? l.onItemLeave?.() : _.current === "mouse" && e.currentTarget.focus({ preventScroll: !0 });
590
590
  }),
591
- onPointerLeave: k(s.onPointerLeave, (e) => {
591
+ onPointerLeave: C(s.onPointerLeave, (e) => {
592
592
  e.currentTarget === document.activeElement && l.onItemLeave?.();
593
593
  }),
594
- onKeyDown: k(s.onKeyDown, (e) => {
595
- (l.searchRef?.current === "" || e.key !== " ") && (oe.includes(e.key) && v(), e.key === " " && e.preventDefault());
594
+ onKeyDown: C(s.onKeyDown, (e) => {
595
+ (l.searchRef?.current === "" || e.key !== " ") && (se.includes(e.key) && v(), e.key === " " && e.preventDefault());
596
596
  })
597
597
  })
598
598
  })
599
599
  });
600
600
  });
601
- Ue.displayName = Be;
602
- var Z = "SelectItemText", We = I.forwardRef((e, t) => {
603
- let { __scopeSelect: n, className: r, style: a, ...o } = e, s = q(Z, n), c = X(Z, n), l = He(Z, n), u = de(Z, n), [d, f] = I.useState(null), p = i(t, (e) => f(e), l.onItemTextChange, (e) => c.itemTextRefCallback?.(e, l.value, l.disabled)), m = d?.textContent, h = I.useMemo(() => /* @__PURE__ */ (0, L.jsx)("option", {
601
+ Ue.displayName = X;
602
+ var Z = "SelectItemText", We = F.forwardRef((e, t) => {
603
+ let { __scopeSelect: n, className: r, style: a, ...o } = e, s = K(Z, n), c = Y(Z, n), l = He(Z, n), u = fe(Z, n), [d, f] = F.useState(null), p = i(t, (e) => f(e), l.onItemTextChange, (e) => c.itemTextRefCallback?.(e, l.value, l.disabled)), m = d?.textContent, h = F.useMemo(() => /* @__PURE__ */ (0, I.jsx)("option", {
604
604
  value: l.value,
605
605
  disabled: l.disabled,
606
606
  children: m
@@ -609,29 +609,29 @@ var Z = "SelectItemText", We = I.forwardRef((e, t) => {
609
609
  l.value,
610
610
  m
611
611
  ]), { onNativeOptionAdd: g, onNativeOptionRemove: _ } = u;
612
- return O(() => (g(h), () => _(h)), [
612
+ return A(() => (g(h), () => _(h)), [
613
613
  g,
614
614
  _,
615
615
  h
616
- ]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(j.span, {
616
+ ]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(w.span, {
617
617
  id: l.textId,
618
618
  ...o,
619
619
  ref: p
620
- }), l.isSelected && s.valueNode && !s.valueNodeHasChildren ? F.createPortal(o.children, s.valueNode) : null] });
620
+ }), l.isSelected && s.valueNode && !s.valueNodeHasChildren ? P.createPortal(o.children, s.valueNode) : null] });
621
621
  });
622
622
  We.displayName = Z;
623
- var Ge = "SelectItemIndicator", Ke = I.forwardRef((e, t) => {
623
+ var Ge = "SelectItemIndicator", Ke = F.forwardRef((e, t) => {
624
624
  let { __scopeSelect: n, ...r } = e;
625
- return He(Ge, n).isSelected ? /* @__PURE__ */ (0, L.jsx)(j.span, {
625
+ return He(Ge, n).isSelected ? /* @__PURE__ */ (0, I.jsx)(w.span, {
626
626
  "aria-hidden": !0,
627
627
  ...r,
628
628
  ref: t
629
629
  }) : null;
630
630
  });
631
631
  Ke.displayName = Ge;
632
- var qe = "SelectScrollUpButton", Je = I.forwardRef((e, t) => {
633
- let n = X(qe, e.__scopeSelect), r = je(qe, e.__scopeSelect), [a, o] = I.useState(!1), s = i(t, r.onScrollButtonChange);
634
- return O(() => {
632
+ var qe = "SelectScrollUpButton", Je = F.forwardRef((e, t) => {
633
+ let n = Y(qe, e.__scopeSelect), r = Me(qe, e.__scopeSelect), [a, o] = F.useState(!1), s = i(t, r.onScrollButtonChange);
634
+ return A(() => {
635
635
  if (n.viewport && n.isPositioned) {
636
636
  let e = function() {
637
637
  let e = t.scrollTop > 0;
@@ -639,7 +639,7 @@ var qe = "SelectScrollUpButton", Je = I.forwardRef((e, t) => {
639
639
  }, t = n.viewport;
640
640
  return e(), t.addEventListener("scroll", e), () => t.removeEventListener("scroll", e);
641
641
  }
642
- }, [n.viewport, n.isPositioned]), a ? /* @__PURE__ */ (0, L.jsx)(Ze, {
642
+ }, [n.viewport, n.isPositioned]), a ? /* @__PURE__ */ (0, I.jsx)(Ze, {
643
643
  ...e,
644
644
  ref: s,
645
645
  onAutoScroll: () => {
@@ -649,9 +649,9 @@ var qe = "SelectScrollUpButton", Je = I.forwardRef((e, t) => {
649
649
  }) : null;
650
650
  });
651
651
  Je.displayName = qe;
652
- var Ye = "SelectScrollDownButton", Xe = I.forwardRef((e, t) => {
653
- let n = X(Ye, e.__scopeSelect), r = je(Ye, e.__scopeSelect), [a, o] = I.useState(!1), s = i(t, r.onScrollButtonChange);
654
- return O(() => {
652
+ var Ye = "SelectScrollDownButton", Xe = F.forwardRef((e, t) => {
653
+ let n = Y(Ye, e.__scopeSelect), r = Me(Ye, e.__scopeSelect), [a, o] = F.useState(!1), s = i(t, r.onScrollButtonChange);
654
+ return A(() => {
655
655
  if (n.viewport && n.isPositioned) {
656
656
  let e = function() {
657
657
  let e = t.scrollHeight - t.clientHeight, n = Math.ceil(t.scrollTop) < e;
@@ -659,7 +659,7 @@ var Ye = "SelectScrollDownButton", Xe = I.forwardRef((e, t) => {
659
659
  }, t = n.viewport;
660
660
  return e(), t.addEventListener("scroll", e), () => t.removeEventListener("scroll", e);
661
661
  }
662
- }, [n.viewport, n.isPositioned]), a ? /* @__PURE__ */ (0, L.jsx)(Ze, {
662
+ }, [n.viewport, n.isPositioned]), a ? /* @__PURE__ */ (0, I.jsx)(Ze, {
663
663
  ...e,
664
664
  ref: s,
665
665
  onAutoScroll: () => {
@@ -669,13 +669,13 @@ var Ye = "SelectScrollDownButton", Xe = I.forwardRef((e, t) => {
669
669
  }) : null;
670
670
  });
671
671
  Xe.displayName = Ye;
672
- var Ze = I.forwardRef((e, t) => {
673
- let { __scopeSelect: n, onAutoScroll: r, ...i } = e, a = X("SelectScrollButton", n), o = I.useRef(null), s = W(n), c = I.useCallback(() => {
672
+ var Ze = F.forwardRef((e, t) => {
673
+ let { __scopeSelect: n, onAutoScroll: r, ...i } = e, a = Y("SelectScrollButton", n), o = F.useRef(null), s = U(n), c = F.useCallback(() => {
674
674
  o.current !== null && (window.clearInterval(o.current), o.current = null);
675
675
  }, []);
676
- return I.useEffect(() => () => c(), [c]), O(() => {
676
+ return F.useEffect(() => () => c(), [c]), A(() => {
677
677
  s().find((e) => e.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
678
- }, [s]), /* @__PURE__ */ (0, L.jsx)(j.div, {
678
+ }, [s]), /* @__PURE__ */ (0, I.jsx)(w.div, {
679
679
  "aria-hidden": !0,
680
680
  ...i,
681
681
  ref: t,
@@ -683,37 +683,37 @@ var Ze = I.forwardRef((e, t) => {
683
683
  flexShrink: 0,
684
684
  ...i.style
685
685
  },
686
- onPointerDown: k(i.onPointerDown, () => {
686
+ onPointerDown: C(i.onPointerDown, () => {
687
687
  o.current === null && (o.current = window.setInterval(r, 50));
688
688
  }),
689
- onPointerMove: k(i.onPointerMove, () => {
689
+ onPointerMove: C(i.onPointerMove, () => {
690
690
  a.onItemLeave?.(), o.current === null && (o.current = window.setInterval(r, 50));
691
691
  }),
692
- onPointerLeave: k(i.onPointerLeave, () => {
692
+ onPointerLeave: C(i.onPointerLeave, () => {
693
693
  c();
694
694
  })
695
695
  });
696
- }), Qe = "SelectSeparator", $e = I.forwardRef((e, t) => {
696
+ }), Qe = "SelectSeparator", $e = F.forwardRef((e, t) => {
697
697
  let { __scopeSelect: n, ...r } = e;
698
- return /* @__PURE__ */ (0, L.jsx)(j.div, {
698
+ return /* @__PURE__ */ (0, I.jsx)(w.div, {
699
699
  "aria-hidden": !0,
700
700
  ...r,
701
701
  ref: t
702
702
  });
703
703
  });
704
704
  $e.displayName = Qe;
705
- var et = "SelectArrow", tt = I.forwardRef((e, t) => {
706
- let { __scopeSelect: n, ...r } = e, i = K(n), a = q(et, n), o = X(et, n);
707
- return a.open && o.position === "popper" ? /* @__PURE__ */ (0, L.jsx)(f, {
705
+ var et = "SelectArrow", tt = F.forwardRef((e, t) => {
706
+ let { __scopeSelect: n, ...r } = e, i = G(n), a = K(et, n), o = Y(et, n);
707
+ return a.open && o.position === "popper" ? /* @__PURE__ */ (0, I.jsx)(f, {
708
708
  ...i,
709
709
  ...r,
710
710
  ref: t
711
711
  }) : null;
712
712
  });
713
713
  tt.displayName = et;
714
- var nt = "SelectBubbleInput", rt = I.forwardRef(({ __scopeSelect: e, value: t, ...n }, r) => {
715
- let a = I.useRef(null), o = i(r, a), s = ie(t);
716
- return I.useEffect(() => {
714
+ var nt = "SelectBubbleInput", rt = F.forwardRef(({ __scopeSelect: e, value: t, ...n }, r) => {
715
+ let a = F.useRef(null), o = i(r, a), s = ae(t);
716
+ return F.useEffect(() => {
717
717
  let e = a.current;
718
718
  if (!e) return;
719
719
  let n = window.HTMLSelectElement.prototype, r = Object.getOwnPropertyDescriptor(n, "value").set;
@@ -721,7 +721,7 @@ var nt = "SelectBubbleInput", rt = I.forwardRef(({ __scopeSelect: e, value: t, .
721
721
  let n = new Event("change", { bubbles: !0 });
722
722
  r.call(e, t), e.dispatchEvent(n);
723
723
  }
724
- }, [s, t]), /* @__PURE__ */ (0, L.jsx)(j.select, {
724
+ }, [s, t]), /* @__PURE__ */ (0, I.jsx)(w.select, {
725
725
  ...n,
726
726
  style: {
727
727
  ...u,
@@ -736,15 +736,15 @@ function it(e) {
736
736
  return e === "" || e === void 0;
737
737
  }
738
738
  function at(e) {
739
- let t = ne(e), n = I.useRef(""), r = I.useRef(0), i = I.useCallback((e) => {
739
+ let t = b(e), n = F.useRef(""), r = F.useRef(0), i = F.useCallback((e) => {
740
740
  let i = n.current + e;
741
741
  t(i), (function e(t) {
742
742
  n.current = t, window.clearTimeout(r.current), t !== "" && (r.current = window.setTimeout(() => e(""), 1e3));
743
743
  })(i);
744
- }, [t]), a = I.useCallback(() => {
744
+ }, [t]), a = F.useCallback(() => {
745
745
  n.current = "", window.clearTimeout(r.current);
746
746
  }, []);
747
- return I.useEffect(() => () => window.clearTimeout(r.current), []), [
747
+ return F.useEffect(() => () => window.clearTimeout(r.current), []), [
748
748
  n,
749
749
  i,
750
750
  a
@@ -759,16 +759,16 @@ function ot(e, t, n) {
759
759
  function st(e, t) {
760
760
  return e.map((n, r) => e[(t + r) % e.length]);
761
761
  }
762
- var ct = fe, lt = me, ut = ge, dt = ve, ft = be, pt = xe, mt = Ne, ht = Le, gt = ze, _t = Ue, vt = We, yt = Ke, bt = Je, xt = Xe, St = $e, Ct = {
762
+ var ct = pe, lt = he, ut = _e, dt = ye, ft = xe, pt = Se, mt = Pe, ht = Re, gt = Be, _t = Ue, vt = We, yt = Ke, bt = Je, xt = Xe, St = $e, Ct = {
763
763
  prefix: String(Math.round(Math.random() * 1e10)),
764
764
  current: 0
765
- }, wt = /*#__PURE__*/ I.createContext(Ct), Tt = /*#__PURE__*/ I.createContext(!1);
765
+ }, wt = /*#__PURE__*/ F.createContext(Ct), Tt = /*#__PURE__*/ F.createContext(!1);
766
766
  typeof window < "u" && window.document && window.document.createElement;
767
767
  var Et = /* @__PURE__ */ new WeakMap();
768
768
  function Dt(e = !1) {
769
- let t = (0, I.useContext)(wt), n = (0, I.useRef)(null);
769
+ let t = (0, F.useContext)(wt), n = (0, F.useRef)(null);
770
770
  if (n.current === null && !e) {
771
- let e = I.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
771
+ let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
772
772
  if (e) {
773
773
  let n = Et.get(e);
774
774
  n == null ? Et.set(e, {
@@ -781,14 +781,14 @@ function Dt(e = !1) {
781
781
  return n.current;
782
782
  }
783
783
  function Ot(e) {
784
- let t = (0, I.useContext)(wt), n = Dt(!!e), r = `react-aria${t.prefix}`;
784
+ let t = (0, F.useContext)(wt), n = Dt(!!e), r = `react-aria${t.prefix}`;
785
785
  return e || `${r}-${n}`;
786
786
  }
787
787
  function kt(e) {
788
- let t = I.useId(), [n] = (0, I.useState)(Pt()), r = n ? "react-aria" : `react-aria${Ct.prefix}`;
788
+ let t = F.useId(), [n] = (0, F.useState)(Pt()), r = n ? "react-aria" : `react-aria${Ct.prefix}`;
789
789
  return e || `${r}-${t}`;
790
790
  }
791
- var At = typeof I.useId == "function" ? kt : Ot;
791
+ var At = typeof F.useId == "function" ? kt : Ot;
792
792
  function jt() {
793
793
  return !1;
794
794
  }
@@ -799,7 +799,7 @@ function Nt(e) {
799
799
  return () => {};
800
800
  }
801
801
  function Pt() {
802
- return typeof I.useSyncExternalStore == "function" ? I.useSyncExternalStore(Nt, jt, Mt) : (0, I.useContext)(Tt);
802
+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(Nt, jt, Mt) : (0, F.useContext)(Tt);
803
803
  }
804
804
  //#endregion
805
805
  //#region ../node_modules/.pnpm/@react-aria+i18n@3.12.16_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@react-aria/i18n/dist/utils.mjs
@@ -865,8 +865,8 @@ function Vt() {
865
865
  for (let e of Q) e(Bt);
866
866
  }
867
867
  function Ht() {
868
- let e = Pt(), [t, n] = (0, I.useState)(Bt);
869
- return (0, I.useEffect)(() => (Q.size === 0 && window.addEventListener("languagechange", Vt), Q.add(n), () => {
868
+ let e = Pt(), [t, n] = (0, F.useState)(Bt);
869
+ return (0, F.useEffect)(() => (Q.size === 0 && window.addEventListener("languagechange", Vt), Q.add(n), () => {
870
870
  Q.delete(n), Q.size === 0 && window.removeEventListener("languagechange", Vt);
871
871
  }), []), e ? {
872
872
  locale: typeof window < "u" && window[Rt] || "en-US",
@@ -875,28 +875,28 @@ function Ht() {
875
875
  }
876
876
  //#endregion
877
877
  //#region ../node_modules/.pnpm/@react-aria+i18n@3.12.16_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@react-aria/i18n/dist/context.mjs
878
- var Ut = /*#__PURE__*/ I.createContext(null);
878
+ var Ut = /*#__PURE__*/ F.createContext(null);
879
879
  function Wt(e) {
880
- let { locale: t, children: n } = e, r = I.useMemo(() => ({
880
+ let { locale: t, children: n } = e, r = F.useMemo(() => ({
881
881
  locale: t,
882
882
  direction: Lt(t) ? "rtl" : "ltr"
883
883
  }), [t]);
884
- return /*#__PURE__*/ I.createElement(Ut.Provider, { value: r }, n);
884
+ return /*#__PURE__*/ F.createElement(Ut.Provider, { value: r }, n);
885
885
  }
886
886
  function Gt(e) {
887
887
  let { children: t } = e, n = Ht();
888
- return /*#__PURE__*/ I.createElement(Ut.Provider, { value: n }, t);
888
+ return /*#__PURE__*/ F.createElement(Ut.Provider, { value: n }, t);
889
889
  }
890
890
  function Kt(e) {
891
891
  let { locale: t, children: n } = e;
892
- return t ? /*#__PURE__*/ I.createElement(Wt, {
892
+ return t ? /*#__PURE__*/ F.createElement(Wt, {
893
893
  locale: t,
894
894
  children: n
895
- }) : /*#__PURE__*/ I.createElement(Gt, { children: n });
895
+ }) : /*#__PURE__*/ F.createElement(Gt, { children: n });
896
896
  }
897
897
  function qt() {
898
898
  let e = Ht();
899
- return (0, I.useContext)(Ut) || e;
899
+ return (0, F.useContext)(Ut) || e;
900
900
  }
901
901
  //#endregion
902
902
  //#region ../node_modules/.pnpm/@internationalized+number@3.6.5/node_modules/@internationalized/number/dist/NumberFormatter.mjs
@@ -1003,12 +1003,12 @@ function en(e, t, n) {
1003
1003
  //#region ../node_modules/.pnpm/@react-aria+i18n@3.12.16_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@react-aria/i18n/dist/useNumberFormatter.mjs
1004
1004
  function tn(e = {}) {
1005
1005
  let { locale: t } = qt();
1006
- return (0, I.useMemo)(() => new Qt(t, e), [t, e]);
1006
+ return (0, F.useMemo)(() => new Qt(t, e), [t, e]);
1007
1007
  }
1008
1008
  //#endregion
1009
1009
  //#region src/utils/assertNever.ts
1010
1010
  function nn(e) {
1011
- M(!1, `Unexpected object: ${e}`);
1011
+ j(!1, `Unexpected object: ${e}`);
1012
1012
  }
1013
1013
  function rn(e) {
1014
1014
  return t.warn(`Unexpected object: ${JSON.stringify(e)}`), e;
@@ -1043,14 +1043,14 @@ var sn = {
1043
1043
  return String(e);
1044
1044
  }
1045
1045
  }
1046
- }, $ = c(), cn = a("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md", { variants: { subcontent: { true: "shadow-lg" } } }), ln = a("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", { variants: { inset: { true: "pl-8" } } }), un = "data-disabled:pointer-events-none data-disabled:opacity-50", dn = a(n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground", un), { variants: {} }), fn = a("absolute left-2 flex h-3.5 w-3.5 items-center justify-center", { variants: {} }), pn = a("px-2 py-1.5 text-sm font-semibold", { variants: { inset: { true: "pl-8" } } }), mn = a(n("menu-item relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden", un), {
1046
+ }, $ = c(), cn = a("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md forced-color-adjust-none forced-colors:border-[CanvasText] forced-colors:bg-[Canvas] forced-colors:text-[CanvasText]", { variants: { subcontent: { true: "shadow-lg" } } }), ln = a("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground forced-color-adjust-none forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText] forced-colors:data-[state=open]:bg-[Highlight] forced-colors:data-[state=open]:text-[HighlightText]", { variants: { inset: { true: "pl-8" } } }), un = "data-disabled:pointer-events-none data-disabled:opacity-50 forced-colors:data-disabled:text-[GrayText]", dn = a(n("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground forced-color-adjust-none forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText]", un), { variants: {} }), fn = a("absolute left-2 flex h-3.5 w-3.5 items-center justify-center", { variants: {} }), pn = a("px-2 py-1.5 text-sm font-semibold", { variants: { inset: { true: "pl-8" } } }), mn = a(n("menu-item relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden forced-color-adjust-none forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText] forced-colors:aria-selected:bg-[Highlight] forced-colors:aria-selected:text-[HighlightText]", un), {
1047
1047
  variants: {
1048
1048
  inset: { true: "pl-8" },
1049
1049
  variant: {
1050
- default: "focus:bg-accent focus:text-accent-foreground aria-selected:bg-accent aria-selected:text-accent-foreground",
1051
- danger: "focus:bg-(--red-5) focus:text-(--red-12) aria-selected:bg-(--red-5) aria-selected:text-(--red-12)",
1052
- muted: "focus:bg-muted/70 focus:text-muted-foreground aria-selected:bg-muted/70 aria-selected:text-muted-foreground",
1053
- success: "focus:bg-(--grass-3) focus:text-(--grass-11) aria-selected:bg-(--grass-3) aria-selected:text-(--grass-11)",
1050
+ default: "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground aria-selected:bg-accent aria-selected:text-accent-foreground",
1051
+ danger: "data-[highlighted]:bg-(--red-5) data-[highlighted]:text-(--red-12) aria-selected:bg-(--red-5) aria-selected:text-(--red-12)",
1052
+ muted: "data-[highlighted]:bg-muted/70 data-[highlighted]:text-muted-foreground aria-selected:bg-muted/70 aria-selected:text-muted-foreground",
1053
+ success: "data-[highlighted]:bg-(--grass-3) data-[highlighted]:text-(--grass-11) aria-selected:bg-(--grass-3) aria-selected:text-(--grass-11)",
1054
1054
  disabled: "text-muted-foreground"
1055
1055
  }
1056
1056
  },
@@ -1061,7 +1061,7 @@ var sn = {
1061
1061
  let a;
1062
1062
  t[3] === r ? a = t[4] : (a = n("ml-auto text-xs tracking-widest opacity-60", r), t[3] = r, t[4] = a);
1063
1063
  let o;
1064
- return t[5] !== i || t[6] !== a ? (o = /* @__PURE__ */ (0, L.jsx)("span", {
1064
+ return t[5] !== i || t[6] !== a ? (o = /* @__PURE__ */ (0, I.jsx)("span", {
1065
1065
  className: a,
1066
1066
  ...i
1067
1067
  }), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
@@ -1069,13 +1069,13 @@ var sn = {
1069
1069
  gn.displayName = "MenuShortcut";
1070
1070
  //#endregion
1071
1071
  //#region src/components/ui/native-select.tsx
1072
- var _n = a("flex h-6 w-fit mb-1 items-center justify-between rounded-sm bg-background px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground focus:outline-hidden focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 cursor-pointer", {
1072
+ var _n = a("flex h-6 w-fit mb-1 items-center justify-between rounded-sm bg-background px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 cursor-pointer forced-color-adjust-none forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText] forced-colors:disabled:text-[GrayText]", {
1073
1073
  variants: { variant: {
1074
- default: "shadow-xs-solid border border-input hover:shadow-sm-solid focus:border-primary focus:shadow-md-solid disabled:hover:shadow-xs-solid",
1074
+ default: "shadow-xs-solid border border-input hover:shadow-sm-solid focus-visible:border-primary focus-visible:shadow-md-solid disabled:hover:shadow-xs-solid forced-colors:border-[ButtonText] forced-colors:disabled:border-[GrayText]",
1075
1075
  ghost: "opacity-70 hover:opacity-100 focus:opacity-100"
1076
1076
  } },
1077
1077
  defaultVariants: { variant: "default" }
1078
- }), vn = I.forwardRef((e, t) => {
1078
+ }), vn = F.forwardRef((e, t) => {
1079
1079
  let i = (0, $.c)(12), a, o, s;
1080
1080
  i[0] === e ? (a = i[1], o = i[2], s = i[3]) : ({className: o, children: a, ...s} = e, i[0] = e, i[1] = a, i[2] = o, i[3] = s);
1081
1081
  let c;
@@ -1083,7 +1083,7 @@ var _n = a("flex h-6 w-fit mb-1 items-center justify-between rounded-sm bg-backg
1083
1083
  let l;
1084
1084
  i[5] === o ? l = i[6] : (l = n(_n({}), o), i[5] = o, i[6] = l);
1085
1085
  let u;
1086
- return i[7] !== a || i[8] !== s || i[9] !== t || i[10] !== l ? (u = /* @__PURE__ */ (0, L.jsx)("select", {
1086
+ return i[7] !== a || i[8] !== s || i[9] !== t || i[10] !== l ? (u = /* @__PURE__ */ (0, I.jsx)("select", {
1087
1087
  ref: t,
1088
1088
  onClick: c,
1089
1089
  className: l,
@@ -1094,25 +1094,25 @@ var _n = a("flex h-6 w-fit mb-1 items-center justify-between rounded-sm bg-backg
1094
1094
  vn.displayName = "NativeSelect";
1095
1095
  //#endregion
1096
1096
  //#region src/components/ui/select.tsx
1097
- var yn = ct, bn = ht, xn = S(ft), Sn = ut, Cn = I.forwardRef((e, t) => {
1097
+ var yn = ct, bn = ht, xn = x(ft), Sn = ut, Cn = F.forwardRef((e, t) => {
1098
1098
  let r = (0, $.c)(21), i, a, o, s, c, l;
1099
1099
  r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4], c = r[5], l = r[6]) : ({className: a, children: i, onClear: o, variant: l, hideChevron: c, ...s} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s, r[5] = c, r[6] = l);
1100
1100
  let u = c !== void 0 && c, d;
1101
1101
  r[7] !== a || r[8] !== l ? (d = n(_n({ variant: l }), "mb-0", a), r[7] = a, r[8] = l, r[9] = d) : d = r[9];
1102
1102
  let f;
1103
- r[10] !== u || r[11] !== o ? (f = o ? /* @__PURE__ */ (0, L.jsx)("span", {
1103
+ r[10] !== u || r[11] !== o ? (f = o ? /* @__PURE__ */ (0, I.jsx)("span", {
1104
1104
  onPointerDown: (e) => {
1105
1105
  e.preventDefault(), e.stopPropagation(), o();
1106
1106
  },
1107
- children: /* @__PURE__ */ (0, L.jsx)(P, { className: "h-4 w-4 opacity-50 hover:opacity-90" })
1108
- }) : !u && /* @__PURE__ */ (0, L.jsx)(N, { className: "h-4 w-4 opacity-50" }), r[10] = u, r[11] = o, r[12] = f) : f = r[12];
1107
+ children: /* @__PURE__ */ (0, I.jsx)(N, { className: "h-4 w-4 opacity-50 hover:opacity-90" })
1108
+ }) : !u && /* @__PURE__ */ (0, I.jsx)(M, { className: "h-4 w-4 opacity-50" }), r[10] = u, r[11] = o, r[12] = f) : f = r[12];
1109
1109
  let p;
1110
- r[13] === f ? p = r[14] : (p = /* @__PURE__ */ (0, L.jsx)(dt, {
1110
+ r[13] === f ? p = r[14] : (p = /* @__PURE__ */ (0, I.jsx)(dt, {
1111
1111
  asChild: !0,
1112
1112
  children: f
1113
1113
  }), r[13] = f, r[14] = p);
1114
1114
  let m;
1115
- return r[15] !== i || r[16] !== s || r[17] !== t || r[18] !== d || r[19] !== p ? (m = /* @__PURE__ */ (0, L.jsxs)(lt, {
1115
+ return r[15] !== i || r[16] !== s || r[17] !== t || r[18] !== d || r[19] !== p ? (m = /* @__PURE__ */ (0, I.jsxs)(lt, {
1116
1116
  ref: t,
1117
1117
  className: d,
1118
1118
  ...s,
@@ -1120,30 +1120,30 @@ var yn = ct, bn = ht, xn = S(ft), Sn = ut, Cn = I.forwardRef((e, t) => {
1120
1120
  }), r[15] = i, r[16] = s, r[17] = t, r[18] = d, r[19] = p, r[20] = m) : m = r[20], m;
1121
1121
  });
1122
1122
  Cn.displayName = lt.displayName;
1123
- var wn = x(pt), Tn = I.forwardRef((e, t) => {
1123
+ var wn = E(pt), Tn = F.forwardRef((e, t) => {
1124
1124
  let r = (0, $.c)(21), i, a, o, s;
1125
1125
  r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4]) : ({className: a, children: i, position: s, ...o} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s);
1126
1126
  let c = s === void 0 ? "popper" : s, l = c === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", u;
1127
1127
  r[5] !== a || r[6] !== l ? (u = n("max-h-[300px] relative z-50 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", l, a), r[5] = a, r[6] = l, r[7] = u) : u = r[7];
1128
1128
  let d;
1129
- r[8] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ (0, L.jsx)(bt, {
1129
+ r[8] === Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ (0, I.jsx)(bt, {
1130
1130
  className: "flex items-center justify-center h-[20px] bg-background text-muted-foreground cursor-default",
1131
- children: /* @__PURE__ */ (0, L.jsx)(re, { className: "h-4 w-4" })
1131
+ children: /* @__PURE__ */ (0, I.jsx)(ie, { className: "h-4 w-4" })
1132
1132
  }), r[8] = d) : d = r[8];
1133
1133
  let f = c === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)", p;
1134
1134
  r[9] === f ? p = r[10] : (p = n("p-1", f), r[9] = f, r[10] = p);
1135
1135
  let m;
1136
- r[11] !== i || r[12] !== p ? (m = /* @__PURE__ */ (0, L.jsx)(mt, {
1136
+ r[11] !== i || r[12] !== p ? (m = /* @__PURE__ */ (0, I.jsx)(mt, {
1137
1137
  className: p,
1138
1138
  children: i
1139
1139
  }), r[11] = i, r[12] = p, r[13] = m) : m = r[13];
1140
1140
  let h;
1141
- r[14] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, L.jsx)(xt, {
1141
+ r[14] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, I.jsx)(xt, {
1142
1142
  className: "flex items-center justify-center h-[20px] bg-background text-muted-foreground cursor-default",
1143
- children: /* @__PURE__ */ (0, L.jsx)(N, { className: "h-4 w-4 opacity-50" })
1143
+ children: /* @__PURE__ */ (0, I.jsx)(M, { className: "h-4 w-4 opacity-50" })
1144
1144
  }), r[14] = h) : h = r[14];
1145
1145
  let g;
1146
- return r[15] !== c || r[16] !== o || r[17] !== t || r[18] !== u || r[19] !== m ? (g = /* @__PURE__ */ (0, L.jsx)(xn, { children: /* @__PURE__ */ (0, L.jsx)(A, { children: /* @__PURE__ */ (0, L.jsxs)(wn, {
1146
+ return r[15] !== c || r[16] !== o || r[17] !== t || r[18] !== u || r[19] !== m ? (g = /* @__PURE__ */ (0, I.jsx)(xn, { children: /* @__PURE__ */ (0, I.jsx)(y, { children: /* @__PURE__ */ (0, I.jsxs)(wn, {
1147
1147
  ref: t,
1148
1148
  className: u,
1149
1149
  position: c,
@@ -1156,37 +1156,37 @@ var wn = x(pt), Tn = I.forwardRef((e, t) => {
1156
1156
  }) }) }), r[15] = c, r[16] = o, r[17] = t, r[18] = u, r[19] = m, r[20] = g) : g = r[20], g;
1157
1157
  });
1158
1158
  Tn.displayName = pt.displayName;
1159
- var En = I.forwardRef((e, t) => {
1159
+ var En = F.forwardRef((e, t) => {
1160
1160
  let r = (0, $.c)(9), i, a;
1161
1161
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
1162
1162
  let o;
1163
1163
  r[3] === i ? o = r[4] : (o = n("px-2 py-1.5 text-sm font-semibold", i), r[3] = i, r[4] = o);
1164
1164
  let s;
1165
- return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, L.jsx)(gt, {
1165
+ return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, I.jsx)(gt, {
1166
1166
  ref: t,
1167
1167
  className: o,
1168
1168
  ...a
1169
1169
  }), r[5] = a, r[6] = t, r[7] = o, r[8] = s) : s = r[8], s;
1170
1170
  });
1171
1171
  En.displayName = gt.displayName;
1172
- var Dn = I.forwardRef((e, t) => {
1172
+ var Dn = F.forwardRef((e, t) => {
1173
1173
  let r = (0, $.c)(17), i, a, o, s;
1174
1174
  r[0] === e ? (i = r[1], a = r[2], o = r[3], s = r[4]) : ({className: a, children: i, subtitle: s, ...o} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o, r[4] = s);
1175
1175
  let c;
1176
- r[5] === a ? c = r[6] : (c = n("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground", un, a), r[5] = a, r[6] = c);
1176
+ r[5] === a ? c = r[6] : (c = n("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-hidden data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground forced-colors:data-[highlighted]:bg-[Highlight] forced-colors:data-[highlighted]:text-[HighlightText]", un, a), r[5] = a, r[6] = c);
1177
1177
  let l;
1178
- r[7] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ (0, L.jsx)("span", {
1178
+ r[7] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ (0, I.jsx)("span", {
1179
1179
  className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
1180
- children: /* @__PURE__ */ (0, L.jsx)(yt, { children: /* @__PURE__ */ (0, L.jsx)(g, { className: "h-3 w-3" }) })
1180
+ children: /* @__PURE__ */ (0, I.jsx)(yt, { children: /* @__PURE__ */ (0, I.jsx)(g, { className: "h-3 w-3" }) })
1181
1181
  }), r[7] = l) : l = r[7];
1182
1182
  let u = typeof i != "string" || void 0, d;
1183
- r[8] !== i || r[9] !== u ? (d = /* @__PURE__ */ (0, L.jsx)(vt, {
1183
+ r[8] !== i || r[9] !== u ? (d = /* @__PURE__ */ (0, I.jsx)(vt, {
1184
1184
  asChild: u,
1185
1185
  className: "flex w-full flex-1",
1186
1186
  children: i
1187
1187
  }), r[8] = i, r[9] = u, r[10] = d) : d = r[10];
1188
1188
  let f;
1189
- return r[11] !== o || r[12] !== t || r[13] !== s || r[14] !== c || r[15] !== d ? (f = /* @__PURE__ */ (0, L.jsxs)(_t, {
1189
+ return r[11] !== o || r[12] !== t || r[13] !== s || r[14] !== c || r[15] !== d ? (f = /* @__PURE__ */ (0, I.jsxs)(_t, {
1190
1190
  ref: t,
1191
1191
  className: c,
1192
1192
  ...o,
@@ -1198,13 +1198,13 @@ var Dn = I.forwardRef((e, t) => {
1198
1198
  }), r[11] = o, r[12] = t, r[13] = s, r[14] = c, r[15] = d, r[16] = f) : f = r[16], f;
1199
1199
  });
1200
1200
  Dn.displayName = _t.displayName;
1201
- var On = I.forwardRef((e, t) => {
1201
+ var On = F.forwardRef((e, t) => {
1202
1202
  let r = (0, $.c)(9), i, a;
1203
1203
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
1204
1204
  let o;
1205
1205
  r[3] === i ? o = r[4] : (o = n("-mx-1 my-1 h-px bg-muted", i), r[3] = i, r[4] = o);
1206
1206
  let s;
1207
- return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, L.jsx)(St, {
1207
+ return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, I.jsx)(St, {
1208
1208
  ref: t,
1209
1209
  className: o,
1210
1210
  ...a
@@ -1212,4 +1212,4 @@ var On = I.forwardRef((e, t) => {
1212
1212
  });
1213
1213
  On.displayName = St.displayName;
1214
1214
  //#endregion
1215
- export { dt as A, rn as C, Kt as D, qt as E, R as F, P as I, re as L, V as M, ie as N, Pt as O, B as P, N as R, nn as S, Qt as T, pn as _, En as a, sn as b, Sn as c, un as d, gn as f, mn as g, dn as h, Dn as i, lt as j, At as k, vn as l, fn as m, Tn as n, On as o, cn as p, bn as r, Cn as s, yn as t, _n as u, hn as v, tn as w, an as x, ln as y };
1215
+ export { dt as A, rn as C, Kt as D, qt as E, L as F, N as I, ie as L, B as M, ae as N, Pt as O, z as P, M as R, nn as S, Qt as T, pn as _, En as a, sn as b, Sn as c, un as d, gn as f, mn as g, dn as h, Dn as i, lt as j, At as k, vn as l, fn as m, Tn as n, On as o, cn as p, bn as r, Cn as s, yn as t, _n as u, hn as v, tn as w, an as x, ln as y };