@mcp-use/inspector 20.0.0-beta.1 → 20.0.0-beta.10

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 (276) hide show
  1. package/README.md +7 -18
  2. package/dist/cdn/{AnimatePresence-B4HhIdgq.js → AnimatePresence-D1bZ5_-l.js} +80 -79
  3. package/dist/cdn/ChatTab-DRn-AnBV.js +6811 -0
  4. package/dist/cdn/{CheckboxIndicator-BF2cKfbA.js → CheckboxIndicator-BjF73mGX.js} +74 -73
  5. package/dist/cdn/ConnectionSettingsForm-CsG61Iyd.js +929 -0
  6. package/dist/cdn/ConnectionSettingsTab-CTJJK4hj.js +151 -0
  7. package/dist/cdn/{ElicitationTab-upPXq2q7.js → ElicitationTab-PEmEDvC5.js} +48 -47
  8. package/dist/cdn/{FormContext-Cl51-7O7.js → FormContext-NtUiZclE.js} +26 -26
  9. package/dist/cdn/{InspectorContext-DzXtgyTx.js → InspectorContext-BBKCdfmK.js} +2 -22
  10. package/dist/cdn/{JSONDisplay-D3RcyO9z.js → JSONDisplay-BJqMz7Ny.js} +23 -23
  11. package/dist/cdn/{ListTabHeader-8lULn-90.js → ListTabHeader-DzmTtN1e.js} +21 -20
  12. package/dist/cdn/{WidgetWrapper-D29YDxIu.js → MCPAppsDebugControls-C5-knSKL.js} +583 -620
  13. package/dist/cdn/{ManufactOAuthCallback-DEM8mhWD.js → ManufactOAuthCallback-ChbbjFIT.js} +3 -3
  14. package/dist/cdn/MarkdownRenderer-uUvyteZT.js +3610 -0
  15. package/dist/cdn/McpAppsViewPanel-Bj-1E9_v.js +56 -0
  16. package/dist/cdn/{NotificationsTab-CWopTIzT.js → NotificationsTab-B7uebqMV.js} +13 -13
  17. package/dist/cdn/{OAuthCallback-k3oeLtIC.js → OAuthCallback-Hdtybeu0.js} +3 -3
  18. package/dist/cdn/PromptsTab-b4UpzPPY.js +902 -0
  19. package/dist/cdn/{ResourcesTab-KfamsM6-.js → ResourcesTab-BCA0_b8c.js} +106 -124
  20. package/dist/cdn/{SamplingTab-vcufuK24.js → SamplingTab-CuPYqFyA.js} +43 -42
  21. package/dist/cdn/{ServerMetadataTab-DS0eiyyD.js → ServerMetadataTab-BM3VhSLf.js} +14 -14
  22. package/dist/cdn/{StatusIcon-BGXOEU2u.js → StatusIcon-Q3n3YRtE.js} +8 -9
  23. package/dist/cdn/{ToolsTab-DRjcZnpu.js → ToolsTab-4lvUZRQq.js} +671 -693
  24. package/dist/cdn/{ViewPreview-B_onhcUB.js → ViewPreview-BGClMNvo.js} +5 -4
  25. package/dist/cdn/{WidgetDebugContext-D4usL_MA.js → WidgetDebugContext-B6yoOVVV.js} +1 -11
  26. package/dist/cdn/WidgetWrapper-BlbQAh_X.js +12 -0
  27. package/dist/cdn/{bell-CGjAO_0s.js → bell-GrTZcnD2.js} +1 -1
  28. package/dist/cdn/{browser-CbQIH4w2.js → browser-DG2Z8392.js} +1 -1
  29. package/dist/cdn/{brush-B_mKhyxG.js → brush-CelVvMGp.js} +1 -1
  30. package/dist/cdn/button-CB4uOoUV.js +2509 -0
  31. package/dist/cdn/{card-DqjqAq0o.js → card-BA-DQk-G.js} +2 -2
  32. package/dist/cdn/{checkbox-B4oUG6Rr.js → checkbox-kwVa4gRX.js} +4 -4
  33. package/dist/cdn/{clock-CmUbSx_B.js → clock-YMF8Gtw5.js} +1 -1
  34. package/dist/cdn/{code-V_0nf5rg.js → code-C8sN2OGR.js} +1 -1
  35. package/dist/cdn/{jsx-runtime-CIxvMpEo.js → createLucideIcon-BONxC1L5.js} +57 -24
  36. package/dist/cdn/{dialog-Dnl-pZsY.js → dialog-CJGnC5Ag.js} +165 -165
  37. package/dist/cdn/{dist-DjXr_YO3.js → dist-CTJnCYmk.js} +1 -1
  38. package/dist/cdn/{dist-mRDqCgKU.js → dist-dw0FdK5Y.js} +116 -114
  39. package/dist/cdn/{external-link-CjmfT6rW.js → external-link-Bo4lQxr1.js} +1 -1
  40. package/dist/cdn/{eye-B7H96av8.js → eye-pSGG7nvf.js} +1 -1
  41. package/dist/cdn/{folder-open-B3lu2rG_.js → folder-open-aM8CPtBO.js} +1 -1
  42. package/dist/cdn/{hash-BVQnWi7q.js → hash-DDs2vE1k.js} +1 -1
  43. package/dist/cdn/{history-Csw4rb44.js → history-BfUFpL1d.js} +1 -1
  44. package/dist/cdn/{index-browser-CVUwR-Bu.js → index-browser-B1xWyLr0.js} +113 -201
  45. package/dist/cdn/{info-CNiOwqkf.js → info-BMkB68mB.js} +1 -1
  46. package/dist/cdn/{input-BLxOA7V-.js → input-BCpgLXU1.js} +3039 -3600
  47. package/dist/cdn/inspector.css +1 -1
  48. package/dist/cdn/inspector.js +7797 -7857
  49. package/dist/cdn/{label-CBvG613A.js → label-A0UGV8FE.js} +8 -8
  50. package/dist/cdn/{loader-circle-BLy9A_pp.js → loader-circle-BKRHJEB7.js} +1 -1
  51. package/dist/cdn/{manufact-auth-0TVxpeTA.js → manufact-auth-BQMHhbLV.js} +142 -106
  52. package/dist/cdn/{maximize-2-CH5Lq90B.js → maximize-2-DdrB_spi.js} +1 -1
  53. package/dist/cdn/{maximize-BALCV_ep.js → maximize-hSOCz133.js} +1 -1
  54. package/dist/cdn/{message-square-BnxdpJxZ.js → message-square-D3tKB3uJ.js} +1 -1
  55. package/dist/cdn/{not-found-BcNNsTjS.js → not-found-BajFyZpp.js} +4 -6
  56. package/dist/cdn/{play-vuZ5PLnI.js → play-B1leulYf.js} +1 -1
  57. package/dist/cdn/providerMeta-CjGU4rID.js +436 -0
  58. package/dist/cdn/{react-BxO-uEDZ.js → react-BoOQpLwo.js} +838 -849
  59. package/dist/cdn/{refresh-cw-BXY-Pa0U.js → refresh-cw-CyvXrS91.js} +1 -1
  60. package/dist/cdn/{save-Tgil_AJZ.js → save-CmdEPUAm.js} +1 -1
  61. package/dist/cdn/{select-BZ_IoKxg.js → select-CCFHjOGk.js} +843 -842
  62. package/dist/cdn/{servers-Dm72iTpY.js → servers-Dd0Vcp81.js} +5 -1
  63. package/dist/cdn/{shared-uMiV6Fx1.js → shared-CJVHJhag.js} +35 -35
  64. package/dist/cdn/sheet-oyq1mIyg.js +2078 -0
  65. package/dist/cdn/{sparkles-BntO2rDR.js → sparkles-CxeZpVtX.js} +1 -1
  66. package/dist/cdn/{spinner-CWcJhIY_.js → spinner-Be1GlSGX.js} +3 -3
  67. package/dist/cdn/{square-check-big-BvwQ17Bl.js → square-check-big-C_4wbfwF.js} +1 -1
  68. package/dist/cdn/{switch-DtQOLb9R.js → switch-DHXEA_N5.js} +211 -210
  69. package/dist/cdn/{tabs-subtle-C5cy35sY.js → tabs-subtle-Dubd6Kj8.js} +259 -258
  70. package/dist/cdn/{telemetry-Ct6pVkM1.js → telemetry-C7bt_ifQ.js} +38 -70
  71. package/dist/cdn/{textarea-Bj-CT7hC.js → textarea-CwmI8_uI.js} +2 -2
  72. package/dist/cdn/{trash-2-RwpJY5SL.js → trash-2-BhumJAFE.js} +1 -1
  73. package/dist/cdn/{useAriaLabelledBy-Bm9qHGK6.js → useAriaLabelledBy-Cra6w3YY.js} +2 -1
  74. package/dist/cdn/{useCompositeItem-CNJ6MXdi.js → useCompositeItem-Dhnm-7el.js} +3 -3
  75. package/dist/cdn/{useConfig-CwxZ6Quj.js → useConfig-DiOY6evp.js} +73 -46
  76. package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
  77. package/dist/cdn/{useViewHostProps-Dr6W2ooF.js → useViewHostProps-D1emxC9m.js} +124 -108
  78. package/dist/cdn/{wrench-DzGmCfnb.js → wrench-DvK20LUT.js} +1 -1
  79. package/dist/cdn/{x-C3vRQIYu.js → x-EilKPiCX.js} +1 -1
  80. package/dist/cdn/{zap-Mb-pbw2X.js → zap-0Wr9QO7N.js} +1 -1
  81. package/dist/cli.js +87 -14
  82. package/dist/client/auth/manufact-auth.d.ts +3 -1
  83. package/dist/client/auth/manufact-auth.d.ts.map +1 -1
  84. package/dist/client/components/ChatTab.d.ts +1 -8
  85. package/dist/client/components/ChatTab.d.ts.map +1 -1
  86. package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
  87. package/dist/client/components/ResourcesTab.d.ts.map +1 -1
  88. package/dist/client/components/ToolsTab.d.ts.map +1 -1
  89. package/dist/client/components/chat/ChatHeader.d.ts +7 -2
  90. package/dist/client/components/chat/ChatHeader.d.ts.map +1 -1
  91. package/dist/client/components/chat/ChatLandingForm.d.ts +4 -2
  92. package/dist/client/components/chat/ChatLandingForm.d.ts.map +1 -1
  93. package/dist/client/components/chat/ChatManagedNotice.d.ts +10 -0
  94. package/dist/client/components/chat/ChatManagedNotice.d.ts.map +1 -0
  95. package/dist/client/components/chat/ChatScrollTopFade.d.ts +7 -0
  96. package/dist/client/components/chat/ChatScrollTopFade.d.ts.map +1 -0
  97. package/dist/client/components/chat/ConfigurationDialog.d.ts +11 -9
  98. package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
  99. package/dist/client/components/chat/ConfigureEmptyState.d.ts +1 -6
  100. package/dist/client/components/chat/ConfigureEmptyState.d.ts.map +1 -1
  101. package/dist/client/components/chat/MessageList.d.ts +1 -0
  102. package/dist/client/components/chat/MessageList.d.ts.map +1 -1
  103. package/dist/client/components/chat/StreamingAssistantContent.d.ts.map +1 -1
  104. package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
  105. package/dist/client/components/chat/chatModeStorage.d.ts +11 -0
  106. package/dist/client/components/chat/chatModeStorage.d.ts.map +1 -0
  107. package/dist/client/components/chat/managedChatNotice.d.ts +16 -0
  108. package/dist/client/components/chat/managedChatNotice.d.ts.map +1 -0
  109. package/dist/client/components/chat/partialToolArgs.d.ts +10 -0
  110. package/dist/client/components/chat/partialToolArgs.d.ts.map +1 -0
  111. package/dist/client/components/chat/providerMeta.d.ts +11 -0
  112. package/dist/client/components/chat/providerMeta.d.ts.map +1 -1
  113. package/dist/client/components/chat/types.d.ts +1 -0
  114. package/dist/client/components/chat/types.d.ts.map +1 -1
  115. package/dist/client/components/chat/useChatMessages.d.ts +7 -5
  116. package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
  117. package/dist/client/components/chat/useChatMessagesClientSide.d.ts +4 -6
  118. package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
  119. package/dist/client/components/chat/useChatScrollToBottom.d.ts +1 -0
  120. package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +1 -1
  121. package/dist/client/components/chat/useConfig.d.ts +1 -1
  122. package/dist/client/components/chat/useConfig.d.ts.map +1 -1
  123. package/dist/client/components/chat/useHostedChatMode.d.ts +1 -1
  124. package/dist/client/components/chat/useHostedChatMode.d.ts.map +1 -1
  125. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts +29 -0
  126. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts.map +1 -0
  127. package/dist/client/components/shared/MarkdownRenderer.d.ts +2 -1
  128. package/dist/client/components/shared/MarkdownRenderer.d.ts.map +1 -1
  129. package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
  130. package/dist/client/components/tools/ToolResultDisplay.d.ts +2 -1
  131. package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
  132. package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
  133. package/dist/client/components/ui/MeshGradientCanvas.d.ts +13 -0
  134. package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -0
  135. package/dist/client/components/ui/chat-message.d.ts +1 -1
  136. package/dist/client/components/ui/chat-message.d.ts.map +1 -1
  137. package/dist/client/components/ui/file-thumbnail.d.ts.map +1 -1
  138. package/dist/client/components/ui/mesh-animation-pause.d.ts +14 -0
  139. package/dist/client/components/ui/mesh-animation-pause.d.ts.map +1 -0
  140. package/dist/client/components/ui/mesh-gradient-colors.d.ts +6 -0
  141. package/dist/client/components/ui/mesh-gradient-colors.d.ts.map +1 -0
  142. package/dist/client/components/ui/mesh-tab-background.d.ts +3 -1
  143. package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
  144. package/dist/client/components/ui/not-found.d.ts.map +1 -1
  145. package/dist/client/context/InspectorContext.d.ts.map +1 -1
  146. package/dist/client/context/WidgetDebugContext.d.ts +1 -11
  147. package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
  148. package/dist/client/hooks/useDeviceViewport.d.ts +1 -5
  149. package/dist/client/hooks/useDeviceViewport.d.ts.map +1 -1
  150. package/dist/client/hooks/useViewHostProps.d.ts +1 -1
  151. package/dist/client/hooks/useViewHostProps.d.ts.map +1 -1
  152. package/dist/client/index.js +4202 -3491
  153. package/dist/client/telemetry/init.d.ts.map +1 -1
  154. package/dist/client/telemetry/utils.d.ts.map +1 -1
  155. package/dist/client/utils/servers.d.ts +5 -0
  156. package/dist/client/utils/servers.d.ts.map +1 -1
  157. package/dist/server/asset-urls.d.ts +4 -0
  158. package/dist/server/asset-urls.d.ts.map +1 -1
  159. package/dist/server/asset-urls.js +7 -3
  160. package/dist/server/cdn-shell.d.ts.map +1 -1
  161. package/dist/server/cdn-shell.js +3 -3
  162. package/dist/server/{chunk-IXYK6ZOY.js → chunk-5XMQ5UJR.js} +2 -2
  163. package/dist/server/{chunk-KBVKS4J5.js → chunk-H6ZCIKBS.js} +10 -0
  164. package/dist/server/{chunk-VDUV6LR6.js → chunk-KTPQKADO.js} +75 -5
  165. package/dist/server/{chunk-Y2GBQOQW.js → chunk-LMLZJR2K.js} +2 -9
  166. package/dist/server/{chunk-K2V2SDQD.js → chunk-OWR2BIBW.js} +1 -1
  167. package/dist/server/{chunk-5B3SXGZP.js → chunk-UJLXHNQP.js} +1 -1
  168. package/dist/server/{chunk-6XWDZEFF.js → chunk-XCNS5CIW.js} +8 -3
  169. package/dist/server/cli.js +5 -5
  170. package/dist/server/create-dev-api-app.js +3 -3
  171. package/dist/server/dev-callback-redirect.d.ts +3 -0
  172. package/dist/server/dev-callback-redirect.d.ts.map +1 -0
  173. package/dist/server/dev-callback-redirect.js +18 -0
  174. package/dist/server/index.js +6 -6
  175. package/dist/server/middleware.js +6 -6
  176. package/dist/server/proxy/index.js +1 -1
  177. package/dist/server/proxy/mcp-proxy.d.ts +2 -0
  178. package/dist/server/proxy/mcp-proxy.d.ts.map +1 -1
  179. package/dist/server/proxy/mcp-proxy.js +3 -1
  180. package/dist/server/proxy-routes.js +2 -2
  181. package/dist/server/server.js +3 -3
  182. package/dist/server/version.js +1 -1
  183. package/dist/server/vite-dev-api-plugin.js +3 -3
  184. package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +9 -0
  185. package/dist/web/assets/ChatTab-x6dg7xyx.js +18 -0
  186. package/dist/web/assets/ConnectionSettingsTab-DUwCNYXJ.js +1 -0
  187. package/dist/web/assets/ElicitationTab-Dk04sjRw.js +1 -0
  188. package/dist/web/assets/FormContext-sV-yByKz.js +1 -0
  189. package/dist/web/assets/ListTabHeader-CrGae306.js +1 -0
  190. package/dist/web/assets/MCPAppsDebugControls-Kh10bYHm.js +34 -0
  191. package/dist/web/assets/{ManufactOAuthCallback-DCLbW-mz.js → ManufactOAuthCallback-Bq00h5wq.js} +1 -1
  192. package/dist/web/assets/MarkdownRenderer--ZbJc80m.js +47 -0
  193. package/dist/web/assets/McpAppsViewPanel-BM7S0O6E.js +1 -0
  194. package/dist/web/assets/{NotificationsTab-JevzvJTg.js → NotificationsTab-DTcas5xQ.js} +1 -1
  195. package/dist/web/assets/{OAuthCallback-BjcRxLh5.js → OAuthCallback-CZ5PbMLP.js} +1 -1
  196. package/dist/web/assets/PromptsTab-Ce9hFDPL.js +15 -0
  197. package/dist/web/assets/ResourcesTab-CfV_CTOT.js +2 -0
  198. package/dist/web/assets/SamplingTab-7FoVfzSl.js +1 -0
  199. package/dist/web/assets/ServerMetadataTab-DfOYnm2P.js +1 -0
  200. package/dist/web/assets/ToolsTab-CeDM6lbc.js +8 -0
  201. package/dist/web/assets/ViewPreview-DMpWAByN.js +1 -0
  202. package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +1 -0
  203. package/dist/web/assets/{brush--0LobUi4.js → brush-DX0UZ_pI.js} +1 -1
  204. package/dist/web/assets/button-C8Xa2k4x.js +1 -0
  205. package/dist/web/assets/checkbox-ocTkuPLe.js +1 -0
  206. package/dist/web/assets/code-B14rVdNt.js +1 -0
  207. package/dist/web/assets/createLucideIcon-BEHeJH0M.js +1 -0
  208. package/dist/web/assets/dist-D6mojCV5.js +21 -0
  209. package/dist/web/assets/index-BfmL5fRO.js +499 -0
  210. package/dist/web/assets/index-bCIH1Sdx.css +1 -0
  211. package/dist/web/assets/input-C0OQCUZy.js +1 -0
  212. package/dist/web/assets/{label-B5Q_Zr8M.js → label-CI7JWQOo.js} +1 -1
  213. package/dist/web/assets/{maximize-2-BTT9QQU9.js → maximize-2-Br1WQzT2.js} +1 -1
  214. package/dist/web/assets/{maximize-_O55kFcr.js → maximize-CJNgRe6S.js} +1 -1
  215. package/dist/web/assets/{refresh-cw-C9wQl8_d.js → refresh-cw-B5iaAZKn.js} +1 -1
  216. package/dist/web/assets/{save-B-MsgxX9.js → save-TM6fvNrt.js} +1 -1
  217. package/dist/web/assets/select-D6jzbLJn.js +1 -0
  218. package/dist/web/assets/shared-BaJnSpaR.js +1 -0
  219. package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
  220. package/dist/web/assets/tabs-subtle-C3U3Xswq.js +1 -0
  221. package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
  222. package/dist/web/assets/useConfig-tIq2w5rV.js +1 -0
  223. package/dist/web/assets/useViewHostProps--1CXsG5i.js +1 -0
  224. package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
  225. package/dist/web/index.html +10 -11
  226. package/package.json +5 -12
  227. package/dist/cdn/ChatTab-D8uwCHAf.js +0 -13218
  228. package/dist/cdn/ConnectionSettingsForm-BNS6bOMD.js +0 -873
  229. package/dist/cdn/ConnectionSettingsTab-B97gPPJW.js +0 -145
  230. package/dist/cdn/PromptsTab-Cspfnl6n.js +0 -4400
  231. package/dist/cdn/bundle-mjs-B0nmHDtp.js +0 -1953
  232. package/dist/cdn/chunk-BO2N2NFS-Cy167e0X.js +0 -17500
  233. package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
  234. package/dist/cdn/highlighted-body-OFNGDK62-CoReNbTX.js +0 -36
  235. package/dist/cdn/mermaid-GHXKKRXX-DgVIbk-D.js +0 -2
  236. package/dist/cdn/pdf-CxFT9FER.js +0 -16291
  237. package/dist/cdn/popover-C_SSrXT0.js +0 -2005
  238. package/dist/cdn/sheet-CerCdhxz.js +0 -78
  239. package/dist/cdn/useHostedSession-BA39Aegc.js +0 -153
  240. package/dist/cdn/useMCPPrompts-D3_Hla_z.js +0 -104
  241. package/dist/client/components/chat/streamdown-code-slim.d.ts +0 -4
  242. package/dist/client/components/chat/streamdown-code-slim.d.ts.map +0 -1
  243. package/dist/web/assets/AnimatePresence-CthXziG2.js +0 -9
  244. package/dist/web/assets/ChatTab-Cy8eyFYI.js +0 -460
  245. package/dist/web/assets/ConnectionSettingsTab-sDZGaUJn.js +0 -1
  246. package/dist/web/assets/ElicitationTab-wDKgU1qL.js +0 -1
  247. package/dist/web/assets/FormContext-Cqc_A12u.js +0 -1
  248. package/dist/web/assets/ListTabHeader-G-nQX18m.js +0 -1
  249. package/dist/web/assets/PromptsTab-DsQVOjKH.js +0 -61
  250. package/dist/web/assets/ResourcesTab-Bw8_p6M1.js +0 -2
  251. package/dist/web/assets/SamplingTab-BrcF1zJF.js +0 -1
  252. package/dist/web/assets/ServerMetadataTab-Bydeh1Po.js +0 -1
  253. package/dist/web/assets/ToolsTab-DJWF7Q_x.js +0 -8
  254. package/dist/web/assets/ViewPreview-jgeU7bY9.js +0 -1
  255. package/dist/web/assets/WidgetWrapper-B_vJU9uF.js +0 -34
  256. package/dist/web/assets/bundle-mjs-8puS6ou7.js +0 -1
  257. package/dist/web/assets/checkbox-BA-XURSj.js +0 -1
  258. package/dist/web/assets/chunk-BO2N2NFS-CGbd3eLY.js +0 -131
  259. package/dist/web/assets/code-tME-5H6D.js +0 -1
  260. package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
  261. package/dist/web/assets/dist-BcAQZluc.js +0 -21
  262. package/dist/web/assets/highlighted-body-OFNGDK62-BBJFbIMp.js +0 -1
  263. package/dist/web/assets/index-BjH-Qp85.css +0 -1
  264. package/dist/web/assets/index-D2UxaT9v.js +0 -475
  265. package/dist/web/assets/input-CjmxOFr6.js +0 -1
  266. package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
  267. package/dist/web/assets/mermaid-GHXKKRXX-B4MKVODA.js +0 -1
  268. package/dist/web/assets/pdf-CuwKm9zO.js +0 -54
  269. package/dist/web/assets/select-C0xlfLAa.js +0 -1
  270. package/dist/web/assets/shared-DQE60Op-.js +0 -1
  271. package/dist/web/assets/sheet-7TIkLdpr.js +0 -1
  272. package/dist/web/assets/tabs-subtle-AkJZvdxS.js +0 -1
  273. package/dist/web/assets/textarea-Ci09-en6.js +0 -1
  274. package/dist/web/assets/useConfig-Qglo4xs1.js +0 -1
  275. package/dist/web/assets/useMCPPrompts-USLYc1I4.js +0 -1
  276. package/dist/web/assets/useViewHostProps-DXAD1g7g.js +0 -1
@@ -1,9 +1,10 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { t as n } from "./jsx-runtime-CIxvMpEo.js";
3
- import { $t as r, An as i, Ar as a, Bt as o, Cn as s, Dt as c, En as l, Er as u, Et as d, Fn as f, Ft as p, Ht as m, In as h, J as g, Jt as _, Kn as v, Ln as y, Lr as b, Lt as x, Mn as S, Mr as ee, Mt as C, Nn as w, Nr as T, On as E, Or as D, Pt as O, Qt as k, Rr as A, Sn as te, Sr as j, Tn as M, Tr as N, Tt as P, Un as ne, Ut as re, Vt as ie, Wt as F, X as I, Xt as L, Yn as R, Yt as z, Z as B, Zt as ae, _n as V, _r as H, an as U, bn as W, br as oe, bt as se, cn as ce, dn as le, dr as ue, en as de, er as fe, f as pe, fn as me, fr as he, gn as ge, gr as _e, hn as ve, hr as ye, in as be, ir as xe, jn as Se, jt as Ce, kn as G, kr as we, ln as Te, mn as K, mr as Ee, nn as De, nt as Oe, o as ke, on as q, or as Ae, pn as je, pr as Me, q as Ne, qn as Pe, qt as Fe, rn as Ie, rr as Le, s as Re, sn as ze, st as Be, tn as Ve, tr as He, un as Ue, vn as We, wn as Ge, wr as J, wt as Y, xn as Ke, xr as qe, xt as X, yn as Je, zn as Ye, zr as Xe, zt as Ze } from "./input-BLxOA7V-.js";
4
- import { n as Qe } from "./label-CBvG613A.js";
5
- import { b as $e, l as et, n as tt, r as nt, t as rt, y as it } from "./AnimatePresence-B4HhIdgq.js";
6
- import { c as at, i as ot, l as st, o as ct, r as lt, t as ut } from "./FormContext-Cl51-7O7.js";
2
+ import { $t as n, An as r, Bt as i, Cn as a, Dt as o, En as s, Et as c, Fn as l, Ft as u, Ht as d, In as f, J as p, Jt as m, Kn as h, Ln as g, Lt as _, Mn as v, Mt as y, Nn as b, On as x, Pt as S, Qt as ee, Sn as C, Tn as w, Tt as T, Un as E, Ut as te, Vt as D, Wt as O, X as k, Xt as A, Yn as j, Yt as M, Z as N, Zt as ne, _n as re, an as ie, bn as P, bt as F, cn as I, dn as ae, en as L, er as R, f as z, fn as B, gn as V, hn as oe, in as H, ir as se, jn as ce, jt as le, kn as ue, ln as de, mn as U, nn as fe, nt as pe, o as me, on as W, or as he, pn as ge, q as _e, qn as ve, qt as ye, rn as be, rr as xe, s as Se, sn as Ce, st as we, tn as Te, tr as G, un as Ee, vn as K, wn as De, wt as q, xn as Oe, xt as J, yn as ke, zn as Ae, zt as je } from "./input-BCpgLXU1.js";
3
+ import { n as Me } from "./createLucideIcon-BONxC1L5.js";
4
+ import { F as Ne, H as Pe, I as Fe, M as Ie, T as Le, U as Re, W as ze, a as Be, c as Ve, d as He, g as Y, h as Ue, j as We, k as Ge, l as Ke, m as qe, o as Je, s as Ye, u as Xe, v as X, y as Ze } from "./button-CB4uOoUV.js";
5
+ import { n as Qe } from "./label-A0UGV8FE.js";
6
+ import { b as $e, l as et, n as tt, r as nt, t as rt, y as it } from "./AnimatePresence-D1bZ5_-l.js";
7
+ import { c as at, i as ot, l as st, o as ct, r as lt, t as ut } from "./FormContext-NtUiZclE.js";
7
8
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/floating-ui-react/utils/enqueueFocus.mjs
8
9
  var Z = /* @__PURE__ */ e(t(), 1), dt = 0;
9
10
  function ft(e, t = {}) {
@@ -12,7 +13,7 @@ function ft(e, t = {}) {
12
13
  function a() {
13
14
  i && !i() || e?.focus({ preventScroll: n });
14
15
  }
15
- if (r) return a(), Ee;
16
+ if (r) return a(), Ve;
16
17
  let o = requestAnimationFrame(a);
17
18
  return dt = o, () => {
18
19
  dt === o && (cancelAnimationFrame(o), dt = 0);
@@ -31,7 +32,7 @@ function vt(e) {
31
32
  return ht[e];
32
33
  }
33
34
  function yt(e) {
34
- return e ? T(e) ? e.host : yt(e.parentNode) : null;
35
+ return e ? Fe(e) ? e.host : yt(e.parentNode) : null;
35
36
  }
36
37
  var bt = (e, t) => t.map((t) => {
37
38
  if (e.contains(t)) return t;
@@ -46,7 +47,7 @@ var bt = (e, t) => t.map((t) => {
46
47
  }, St = (e, t, n) => {
47
48
  let r = [], i = (e) => {
48
49
  !e || n.has(e) || Array.from(e.children).forEach((e) => {
49
- u(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
50
+ Le(e) !== "script" && (t.has(e) ? i(e) : r.push(e));
50
51
  });
51
52
  };
52
53
  return i(e), r;
@@ -78,14 +79,14 @@ function Ct(e, t, n, r, { mark: i = !0 }) {
78
79
  };
79
80
  }
80
81
  function wt(e, t = {}) {
81
- let { ariaHidden: n = !1, inert: r = !1, mark: i = !0 } = t, a = q(e[0]).body;
82
+ let { ariaHidden: n = !1, inert: r = !1, mark: i = !0 } = t, a = W(e[0]).body;
82
83
  return Ct(e, a, n, r, { mark: i });
83
84
  }
84
85
  //#endregion
85
86
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/floating-ui-react/components/FloatingFocusManager.mjs
86
- var Q = n();
87
+ var Q = Me();
87
88
  function Tt(e, t) {
88
- let n = D(ve(e));
89
+ let n = Ge(oe(e));
89
90
  return e instanceof n.KeyboardEvent ? "keyboard" : e instanceof n.FocusEvent ? t || "keyboard" : "pointerType" in e ? e.pointerType || "keyboard" : "touches" in e ? "touch" : e instanceof n.MouseEvent ? t || (e.detail === 0 ? "keyboard" : "mouse") : "";
90
91
  }
91
92
  var Et = 20, Dt = [];
@@ -93,278 +94,278 @@ function Ot() {
93
94
  Dt = Dt.filter((e) => e.deref()?.isConnected);
94
95
  }
95
96
  function kt(e) {
96
- Ot(), e && u(e) !== "body" && (Dt.push(new WeakRef(e)), Dt.length > Et && (Dt = Dt.slice(-20)));
97
+ Ot(), e && Le(e) !== "body" && (Dt.push(new WeakRef(e)), Dt.length > Et && (Dt = Dt.slice(-20)));
97
98
  }
98
99
  function At() {
99
100
  return Ot(), Dt[Dt.length - 1]?.deref();
100
101
  }
101
102
  function jt(e) {
102
- return e ? _(e) ? e : z(e)[0] || e : null;
103
+ return e ? m(e) ? e : M(e)[0] || e : null;
103
104
  }
104
105
  function Mt(e) {
105
106
  if (e.hasAttribute("tabindex") && !e.hasAttribute("data-tabindex") || !e.getAttribute("role")?.includes("dialog")) return;
106
- let t = m(e).filter((e) => {
107
+ let t = d(e).filter((e) => {
107
108
  let t = e.getAttribute("data-tabindex") || "";
108
- return _(e) || e.hasAttribute("data-tabindex") && !t.startsWith("-");
109
+ return m(e) || e.hasAttribute("data-tabindex") && !t.startsWith("-");
109
110
  }), n = e.getAttribute("tabindex");
110
111
  t.length === 0 ? n !== "0" && (e.setAttribute("tabindex", "0"), e.setAttribute("data-tabindex", "0")) : (n !== "-1" || e.hasAttribute("data-tabindex") && e.getAttribute("data-tabindex") !== "-1") && (e.setAttribute("tabindex", "-1"), e.setAttribute("data-tabindex", "-1"));
111
112
  }
112
113
  function Nt(e) {
113
- let { context: t, children: n, disabled: i = !1, initialFocus: c = !0, returnFocus: l = !0, restoreFocus: d = !1, modal: f = !0, closeOnFocusOut: m = !0, openInteractionType: g = "", nextFocusableElement: v, previousFocusableElement: y, beforeContentFocusGuardRef: b, externalTree: x, getInsideElements: ee } = e, w = "rootStore" in t ? t.rootStore : t, T = w.useState("open"), D = w.useState("domReferenceElement"), O = w.useState("floatingElement"), { events: k, dataRef: A } = w.context, N = J(() => A.current.floatingContext?.nodeId), P = c === !1, I = le(D) && P, L = ze(c), R = ze(l), B = ze(g), ae = ze(T), V = C(x), H = p(), U = Z.useRef(!1), W = Z.useRef(!1), oe = Z.useRef(!1), se = Z.useRef(null), ue = Z.useRef(""), de = Z.useRef(""), fe = Z.useRef(null), pe = Z.useRef(null), he = _e(fe, b, H?.beforeInsideRef), ge = _e(pe, H?.afterInsideRef), ye = M(), be = M(), xe = Se(), Ce = H != null, G = Ue(O), we = J((e = G) => e ? z(e) : []), Ee = J(() => ee?.().filter((e) => e != null) ?? []);
114
+ let { context: t, children: r, disabled: o = !1, initialFocus: s = !0, returnFocus: c = !0, restoreFocus: l = !1, modal: d = !0, closeOnFocusOut: p = !0, openInteractionType: h = "", nextFocusableElement: g, previousFocusableElement: _, beforeContentFocusGuardRef: b, externalTree: S, getInsideElements: ee } = e, T = "rootStore" in t ? t.rootStore : t, k = T.useState("open"), A = T.useState("domReferenceElement"), j = T.useState("floatingElement"), { events: N, dataRef: ne } = T.context, re = X(() => ne.current.floatingContext?.nodeId), ie = s === !1, P = ae(A) && ie, F = Ce(s), L = Ce(c), R = Ce(h), z = Ce(k), V = y(S), H = u(), se = Z.useRef(!1), le = Z.useRef(!1), ue = Z.useRef(!1), fe = Z.useRef(null), pe = Z.useRef(""), me = Z.useRef(""), he = Z.useRef(null), _e = Z.useRef(null), ve = Xe(he, b, H?.beforeInsideRef), xe = Xe(_e, H?.afterInsideRef), Se = w(), we = w(), Te = ce(), G = H != null, K = Ee(j), De = X((e = K) => e ? M(e) : []), q = X(() => ee?.().filter((e) => e != null) ?? []);
114
115
  Z.useEffect(() => {
115
- if (i || !f) return;
116
+ if (o || !d) return;
116
117
  function e(e) {
117
- e.key === "Tab" && K(G, je(q(G))) && we().length === 0 && !I && s(e);
118
+ e.key === "Tab" && U(K, ge(W(K))) && De().length === 0 && !P && a(e);
118
119
  }
119
- return Te(q(G), "keydown", e);
120
+ return de(W(K), "keydown", e);
120
121
  }, [
121
- i,
122
- G,
123
- f,
124
- I,
125
- we
122
+ o,
123
+ K,
124
+ d,
125
+ P,
126
+ De
126
127
  ]), Z.useEffect(() => {
127
- if (i || !T) return;
128
- let e = q(G);
128
+ if (o || !k) return;
129
+ let e = W(K);
129
130
  function t() {
130
- oe.current = !1;
131
+ ue.current = !1;
131
132
  }
132
133
  function n(e) {
133
- let t = ve(e), n = Ee();
134
- oe.current = !(K(O, t) || K(D, t) || K(H?.portalNode, t) || n.some((e) => e === t || K(e, t))), de.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (W.current = !0, be.start(0, () => {
135
- W.current = !1;
134
+ let t = oe(e), n = q();
135
+ ue.current = !(U(j, t) || U(A, t) || U(H?.portalNode, t) || n.some((e) => e === t || U(e, t))), me.current = e.pointerType || "keyboard", t?.closest("[data-base-ui-click-trigger]") && (le.current = !0, we.start(0, () => {
136
+ le.current = !1;
136
137
  }));
137
138
  }
138
139
  function r() {
139
- de.current = "keyboard";
140
+ me.current = "keyboard";
140
141
  }
141
- return ce(Te(e, "pointerdown", n, !0), Te(e, "pointerup", t, !0), Te(e, "pointercancel", t, !0), Te(e, "keydown", r, !0), t);
142
+ return I(de(e, "pointerdown", n, !0), de(e, "pointerup", t, !0), de(e, "pointercancel", t, !0), de(e, "keydown", r, !0), t);
142
143
  }, [
143
- i,
144
- O,
145
- D,
146
- G,
147
- T,
144
+ o,
145
+ j,
146
+ A,
147
+ K,
148
+ k,
148
149
  H,
149
- be,
150
- Ee
150
+ we,
151
+ q
151
152
  ]), Z.useEffect(() => {
152
- if (i || !m) return;
153
- let e = q(G);
153
+ if (o || !p) return;
154
+ let e = W(K);
154
155
  function t() {
155
- W.current = !0, be.start(0, () => {
156
- W.current = !1;
156
+ le.current = !0, we.start(0, () => {
157
+ le.current = !1;
157
158
  });
158
159
  }
159
- function n(e) {
160
- let t = ve(e);
161
- _(t) && (se.current = t);
160
+ function r(e) {
161
+ let t = oe(e);
162
+ m(t) && (fe.current = t);
162
163
  }
163
- function s(t) {
164
- let n = t.relatedTarget, i = t.currentTarget, s = ve(t);
165
- f && n == null && s != null && K(O, s) && kt(s), queueMicrotask(() => {
166
- let c = N(), l = w.context.triggerElements, u = Ee(), p = n?.hasAttribute(Ze("focus-guard")) && [
167
- fe.current,
168
- pe.current,
164
+ function a(t) {
165
+ let r = t.relatedTarget, a = t.currentTarget, o = oe(t);
166
+ d && r == null && o != null && U(j, o) && kt(o), queueMicrotask(() => {
167
+ let s = re(), c = T.context.triggerElements, u = q(), f = r?.hasAttribute(je("focus-guard")) && [
168
+ he.current,
169
+ _e.current,
169
170
  H?.beforeInsideRef.current,
170
171
  H?.afterInsideRef.current,
171
172
  H?.beforeOutsideRef.current,
172
173
  H?.afterOutsideRef.current,
173
- E(y),
174
- E(v)
175
- ].includes(n), m = !(K(D, n) || K(O, n) || K(n, O) || K(H?.portalNode, n) || u.some((e) => e === n || K(e, n)) || n != null && l.hasElement(n) || l.hasMatchingElement((e) => K(e, n)) || p || V && (ie(V.nodesRef.current, c).find((e) => K(e.context?.elements.floating, n) || K(e.context?.elements.domReference, n)) || o(V.nodesRef.current, c).find((e) => [e.context?.elements.floating, Ue(e.context?.elements.floating)].includes(n) || e.context?.elements.domReference === n)));
176
- if (i === D && G && Mt(G), d && i !== D && !r(s) && je(e) === e.body) {
177
- if (a(G) && (G.focus(), d === "popup")) {
178
- xe.request(() => {
179
- G.focus();
174
+ x(_),
175
+ x(g)
176
+ ].includes(r), p = !(U(A, r) || U(j, r) || U(r, j) || U(H?.portalNode, r) || u.some((e) => e === r || U(e, r)) || r != null && c.hasElement(r) || c.hasMatchingElement((e) => U(e, r)) || f || V && (D(V.nodesRef.current, s).find((e) => U(e.context?.elements.floating, r) || U(e.context?.elements.domReference, r)) || i(V.nodesRef.current, s).find((e) => [e.context?.elements.floating, Ee(e.context?.elements.floating)].includes(r) || e.context?.elements.domReference === r)));
177
+ if (a === A && K && Mt(K), l && a !== A && !n(o) && ge(e) === e.body) {
178
+ if (Ie(K) && (K.focus(), l === "popup")) {
179
+ Te.request(() => {
180
+ K.focus();
180
181
  });
181
182
  return;
182
183
  }
183
- let e = we(), t = se.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] || G;
184
- a(n) && n.focus();
184
+ let e = De(), t = fe.current, n = (t && e.includes(t) ? t : null) || e[e.length - 1] || K;
185
+ Ie(n) && n.focus();
185
186
  }
186
- if (A.current.insideReactTree) {
187
- A.current.insideReactTree = !1;
187
+ if (ne.current.insideReactTree) {
188
+ ne.current.insideReactTree = !1;
188
189
  return;
189
190
  }
190
- (I || !f) && n && m && !W.current && (I || n !== At()) && (U.current = !0, w.setOpen(!1, S(ne, t)));
191
+ (P || !d) && r && p && !le.current && (P || r !== At()) && (se.current = !0, T.setOpen(!1, v(E, t)));
191
192
  });
192
193
  }
193
- function c() {
194
- oe.current || (A.current.insideReactTree = !0, ye.start(0, () => {
195
- A.current.insideReactTree = !1;
194
+ function s() {
195
+ ue.current || (ne.current.insideReactTree = !0, Se.start(0, () => {
196
+ ne.current.insideReactTree = !1;
196
197
  }));
197
198
  }
198
- let l = a(D) ? D : null;
199
- if (!(!O && !l)) return ce(l && Te(l, "focusout", s), l && Te(l, "pointerdown", t), O && Te(O, "focusin", n), O && Te(O, "focusout", s), O && H && Te(O, "focusout", c, !0));
199
+ let c = Ie(A) ? A : null;
200
+ if (!(!j && !c)) return I(c && de(c, "focusout", a), c && de(c, "pointerdown", t), j && de(j, "focusin", r), j && de(j, "focusout", a), j && H && de(j, "focusout", s, !0));
200
201
  }, [
201
- i,
202
- D,
203
- O,
204
- G,
205
- f,
202
+ o,
203
+ A,
204
+ j,
205
+ K,
206
+ d,
206
207
  V,
207
208
  H,
208
- w,
209
- m,
210
- d,
209
+ T,
210
+ p,
211
+ l,
212
+ De,
213
+ P,
214
+ re,
215
+ ne,
216
+ Se,
211
217
  we,
212
- I,
213
- N,
214
- A,
215
- ye,
216
- be,
217
- xe,
218
- v,
219
- y,
220
- Ee
218
+ Te,
219
+ g,
220
+ _,
221
+ q
221
222
  ]), Z.useEffect(() => {
222
- if (i || !O || !T) return;
223
- let e = Array.from(H?.portalNode?.querySelectorAll(`[${Ze("portal")}]`) || []), t = (V ? o(V.nodesRef.current, N()) : []).find((e) => le(e.context?.elements.domReference || null))?.context?.elements.domReference, n = wt([
224
- O,
223
+ if (o || !j || !k) return;
224
+ let e = Array.from(H?.portalNode?.querySelectorAll(`[${je("portal")}]`) || []), t = (V ? i(V.nodesRef.current, re()) : []).find((e) => ae(e.context?.elements.domReference || null))?.context?.elements.domReference, n = wt([
225
+ j,
225
226
  ...e,
226
- fe.current,
227
- pe.current,
227
+ he.current,
228
+ _e.current,
228
229
  H?.beforeOutsideRef.current,
229
230
  H?.afterOutsideRef.current,
230
- ...Ee(),
231
+ ...q(),
231
232
  t,
232
- E(y),
233
- E(v),
234
- I ? D : null
233
+ x(_),
234
+ x(g),
235
+ P ? A : null
235
236
  ].filter((e) => e != null), {
236
- ariaHidden: f || I,
237
+ ariaHidden: d || P,
237
238
  mark: !1
238
- }), r = wt([O, ...e].filter((e) => e != null));
239
+ }), r = wt([j, ...e].filter((e) => e != null));
239
240
  return () => {
240
241
  r(), n();
241
242
  };
242
243
  }, [
243
- T,
244
- i,
245
- D,
246
- O,
247
- f,
244
+ k,
245
+ o,
246
+ A,
247
+ j,
248
+ d,
248
249
  H,
249
- I,
250
+ P,
250
251
  V,
251
- N,
252
- v,
253
- y,
254
- Ee
255
- ]), j(() => {
256
- if (!T || i || !a(G)) return;
257
- let e = q(G), t = je(e);
252
+ re,
253
+ g,
254
+ _,
255
+ q
256
+ ]), Y(() => {
257
+ if (!k || o || !Ie(K)) return;
258
+ let e = W(K), t = ge(e);
258
259
  queueMicrotask(() => {
259
- let n = L.current, r = typeof n == "function" ? n(B.current || "") : n;
260
- if (r === void 0 || r === !1 || K(G, t)) return;
261
- let i = null, a = () => (i ??= we(G), i[0] || G), o;
262
- o = r === !0 || r === null ? a() : E(r), o ||= a();
263
- let s = K(G, je(e));
260
+ let n = F.current, r = typeof n == "function" ? n(R.current || "") : n;
261
+ if (r === void 0 || r === !1 || U(K, t)) return;
262
+ let i = null, a = () => (i ??= De(K), i[0] || K), o;
263
+ o = r === !0 || r === null ? a() : x(r), o ||= a();
264
+ let s = U(K, ge(e));
264
265
  ft(o, {
265
- preventScroll: o === G,
266
+ preventScroll: o === K,
266
267
  shouldFocus() {
267
- if (!ae.current) return !1;
268
+ if (!z.current) return !1;
268
269
  if (s) return !0;
269
- let t = je(e);
270
- return !(t !== o && K(G, t));
270
+ let t = ge(e);
271
+ return !(t !== o && U(K, t));
271
272
  }
272
273
  });
273
274
  });
274
275
  }, [
275
- i,
276
- T,
277
- G,
278
- we,
279
- L,
280
- B,
281
- ae
282
- ]), j(() => {
283
- if (i || !G) return;
284
- let e = q(G), t = je(e), n = B.current == null;
276
+ o,
277
+ k,
278
+ K,
279
+ De,
280
+ F,
281
+ R,
282
+ z
283
+ ]), Y(() => {
284
+ if (o || !K) return;
285
+ let e = W(K), t = ge(e), n = R.current == null;
285
286
  kt(t);
286
287
  function r(e) {
287
- if (e.open || (ue.current = Tt(e.nativeEvent, de.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (U.current = !0), e.reason === "outside-press") if (e.nested) U.current = !1;
288
- else if (Ke(e.nativeEvent) || te(e.nativeEvent)) U.current = !1;
288
+ if (e.open || (pe.current = Tt(e.nativeEvent, me.current)), e.reason === "trigger-hover" && e.nativeEvent.type === "mouseleave" && (se.current = !0), e.reason === "outside-press") if (e.nested) se.current = !1;
289
+ else if (Oe(e.nativeEvent) || C(e.nativeEvent)) se.current = !1;
289
290
  else {
290
291
  let e = !1;
291
- q(G).createElement("div").focus({ get preventScroll() {
292
+ W(K).createElement("div").focus({ get preventScroll() {
292
293
  return e = !0, !1;
293
- } }), e ? U.current = !1 : U.current = !0;
294
+ } }), e ? se.current = !1 : se.current = !0;
294
295
  }
295
296
  }
296
- k.on("openchange", r);
297
- function o() {
298
- let e = R.current, r = typeof e == "function" ? e(ue.current) : e;
297
+ N.on("openchange", r);
298
+ function i() {
299
+ let e = L.current, r = typeof e == "function" ? e(pe.current) : e;
299
300
  if (r === void 0 || r === !1) return null;
300
301
  r === null && (r = !0);
301
- let i = D?.isConnected ? D : null, a = t?.isConnected && u(t) !== "body" ? t : null, o = n ? a || i : i || a;
302
- return o ||= At() || null, typeof r == "boolean" ? o : E(r) || o || null;
302
+ let i = A?.isConnected ? A : null, a = t?.isConnected && Le(t) !== "body" ? t : null, o = n ? a || i : i || a;
303
+ return o ||= At() || null, typeof r == "boolean" ? o : x(r) || o || null;
303
304
  }
304
305
  return () => {
305
- k.off("openchange", r);
306
- let t = je(e), n = Ee(), i = K(O, t) || n.some((e) => e === t || K(e, t)) || V && ie(V.nodesRef.current, N(), !1).some((e) => K(e.context?.elements.floating, t)), s = R.current, c = o();
306
+ N.off("openchange", r);
307
+ let t = ge(e), n = q(), a = U(j, t) || n.some((e) => e === t || U(e, t)) || V && D(V.nodesRef.current, re(), !1).some((e) => U(e.context?.elements.floating, t)), o = L.current, s = i();
307
308
  queueMicrotask(() => {
308
- let n = jt(c), r = typeof s != "boolean";
309
- s && !U.current && a(n) && (!(!r && n !== t && t !== e.body) || i) && n.focus({ preventScroll: !0 }), U.current = !1;
309
+ let n = jt(s), r = typeof o != "boolean";
310
+ o && !se.current && Ie(n) && (!(!r && n !== t && t !== e.body) || a) && n.focus({ preventScroll: !0 }), se.current = !1;
310
311
  });
311
312
  };
312
313
  }, [
313
- i,
314
- O,
315
- G,
314
+ o,
315
+ j,
316
+ K,
317
+ L,
316
318
  R,
317
- B,
318
- k,
319
- V,
320
- D,
321
319
  N,
322
- Ee
323
- ]), j(() => {
324
- if (!h || T || !O) return;
325
- let e = je(q(O));
326
- !a(e) || !me(e) || K(O, e) && e.blur();
327
- }, [T, O]), j(() => {
328
- if (!(i || !H)) return H.setFocusManagerState({
329
- modal: f,
330
- closeOnFocusOut: m,
331
- open: T,
332
- onOpenChange: w.setOpen,
333
- domReference: D
320
+ V,
321
+ A,
322
+ re,
323
+ q
324
+ ]), Y(() => {
325
+ if (!f || k || !j) return;
326
+ let e = ge(W(j));
327
+ !Ie(e) || !B(e) || U(j, e) && e.blur();
328
+ }, [k, j]), Y(() => {
329
+ if (!(o || !H)) return H.setFocusManagerState({
330
+ modal: d,
331
+ closeOnFocusOut: p,
332
+ open: k,
333
+ onOpenChange: T.setOpen,
334
+ domReference: A
334
335
  }), () => {
335
336
  H.setFocusManagerState(null);
336
337
  };
337
338
  }, [
338
- i,
339
+ o,
339
340
  H,
340
- f,
341
+ d,
342
+ k,
341
343
  T,
342
- w,
343
- m,
344
- D
345
- ]), j(() => {
346
- if (!(i || !G)) return Mt(G), () => {
344
+ p,
345
+ A
346
+ ]), Y(() => {
347
+ if (!(o || !K)) return Mt(K), () => {
347
348
  queueMicrotask(Ot);
348
349
  };
349
- }, [i, G]);
350
- let De = !i && (f ? !I : !0) && (Ce || f);
350
+ }, [o, K]);
351
+ let J = !o && (d ? !P : !0) && (G || d);
351
352
  return /*#__PURE__*/ (0, Q.jsxs)(Z.Fragment, { children: [
352
- De && /*#__PURE__*/ (0, Q.jsx)(Ie, {
353
+ J && /*#__PURE__*/ (0, Q.jsx)(be, {
353
354
  "data-type": "inside",
354
- ref: he,
355
+ ref: ve,
355
356
  onFocus: (e) => {
356
- if (f) {
357
- let e = we();
357
+ if (d) {
358
+ let e = De();
358
359
  ft(e[e.length - 1]);
359
- } else H?.portalNode && (U.current = !1, Fe(e, H.portalNode) ? re(D)?.focus() : E(y ?? H.beforeOutsideRef)?.focus());
360
+ } else H?.portalNode && (se.current = !1, ye(e, H.portalNode) ? te(A)?.focus() : x(_ ?? H.beforeOutsideRef)?.focus());
360
361
  }
361
362
  }),
362
- n,
363
- De && /*#__PURE__*/ (0, Q.jsx)(Ie, {
363
+ r,
364
+ J && /*#__PURE__*/ (0, Q.jsx)(be, {
364
365
  "data-type": "inside",
365
- ref: ge,
366
+ ref: xe,
366
367
  onFocus: (e) => {
367
- f ? ft(we()[0]) : H?.portalNode && (m && (U.current = !0), Fe(e, H.portalNode) ? F(D)?.focus() : E(v ?? H.afterOutsideRef)?.focus());
368
+ d ? ft(De()[0]) : H?.portalNode && (p && (se.current = !0), ye(e, H.portalNode) ? O(A)?.focus() : x(g ?? H.afterOutsideRef)?.focus());
368
369
  }
369
370
  })
370
371
  ] });
@@ -372,9 +373,9 @@ function Nt(e) {
372
373
  //#endregion
373
374
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/floating-ui-react/hooks/useClick.mjs
374
375
  function Pt(e, t = {}) {
375
- let { enabled: n = !0, event: r = "click", toggle: i = !0, ignoreMouse: a = !1, stickIfOpen: o = !0, touchOpenDelay: s = 0, reason: c = fe } = t, l = "rootStore" in e ? e.rootStore : e, u = l.context.dataRef, d = Z.useRef(void 0), f = Se(), p = M(), m = Z.useMemo(() => {
376
+ let { enabled: n = !0, event: r = "click", toggle: i = !0, ignoreMouse: a = !1, stickIfOpen: o = !0, touchOpenDelay: s = 0, reason: c = R } = t, l = "rootStore" in e ? e.rootStore : e, u = l.context.dataRef, d = Z.useRef(void 0), f = ce(), p = w(), m = Z.useMemo(() => {
376
377
  function e(e, t, n, r) {
377
- let i = S(c, t, n);
378
+ let i = v(c, t, n);
378
379
  e && r === "touch" && s > 0 ? p.start(s, () => {
379
380
  l.setOpen(!0, i);
380
381
  }) : l.setOpen(e, i);
@@ -389,9 +390,9 @@ function Pt(e, t = {}) {
389
390
  },
390
391
  onMouseDown(n) {
391
392
  let i = d.current, o = n.nativeEvent, s = l.select("open");
392
- if (n.button !== 0 || r === "click" || W(i, !0) && a) return;
393
- let c = t(s, n.currentTarget, (e) => e === "click" || e === "mousedown"), u = ve(o);
394
- if (me(u)) {
393
+ if (n.button !== 0 || r === "click" || P(i, !0) && a) return;
394
+ let c = t(s, n.currentTarget, (e) => e === "click" || e === "mousedown"), u = oe(o);
395
+ if (B(u)) {
395
396
  e(c, o, u, i);
396
397
  return;
397
398
  }
@@ -407,7 +408,7 @@ function Pt(e, t = {}) {
407
408
  d.current = void 0;
408
409
  return;
409
410
  }
410
- W(i, !0) && a || e(t(l.select("open"), n.currentTarget, (e) => e === "click" || e === "mousedown" || e === "keydown" || e === "keyup"), n.nativeEvent, n.currentTarget, i);
411
+ P(i, !0) && a || e(t(l.select("open"), n.currentTarget, (e) => e === "click" || e === "mousedown" || e === "keydown" || e === "keyup"), n.nativeEvent, n.currentTarget, i);
411
412
  },
412
413
  onKeyDown() {
413
414
  d.current = void 0;
@@ -425,7 +426,7 @@ function Pt(e, t = {}) {
425
426
  p,
426
427
  s
427
428
  ]);
428
- return Z.useMemo(() => n ? { reference: m } : Me, [n, m]);
429
+ return Z.useMemo(() => n ? { reference: m } : Ye, [n, m]);
429
430
  }
430
431
  //#endregion
431
432
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/floating-ui-react/hooks/useListNavigation.mjs
@@ -444,210 +445,210 @@ function Rt(e, t, n) {
444
445
  return It(t, e === "ArrowDown", n ? e === "ArrowLeft" : e === "ArrowRight") || e === "Enter" || e === " " || e === "";
445
446
  }
446
447
  function zt(e, t, n) {
447
- return It(t, n ? e === V : e === We, e === ge);
448
+ return It(t, n ? e === re : e === K, e === V);
448
449
  }
449
450
  function Bt(e, t, n, r) {
450
- return t === "both" || t === "horizontal" && r ? e === Ft : It(t, n ? e === We : e === V, e === Je);
451
+ return t === "both" || t === "horizontal" && r ? e === Ft : It(t, n ? e === K : e === re, e === ke);
451
452
  }
452
453
  function Vt(e, t) {
453
- let { listRef: n, activeIndex: r, onNavigate: i = () => {}, enabled: o = !0, selectedIndex: c = null, allowEscape: l = !1, loopFocus: u = !1, nested: d = !1, rtl: f = !1, virtual: p = !1, focusItemOnOpen: m = "auto", focusItemOnHover: h = !0, openOnArrowKeyDown: g = !0, disabledIndices: _ = void 0, orientation: v = "vertical", parentOrientation: y, id: b, resetOnPointerLeave: x = !0, externalTree: ee, grid: w } = t, T = w != null;
454
- process.env.NODE_ENV !== "production" && (l && (u || console.warn("`useListNavigation` looping must be enabled to allow escaping."), p || console.warn("`useListNavigation` must be virtual to allow escaping.")), v === "vertical" && T && console.warn("In grid list navigation mode, the `orientation` should", "be either \"horizontal\" or \"both\"."));
455
- let E = "rootStore" in e ? e.rootStore : e, D = E.useState("open"), O = E.useState("floatingElement"), A = E.useState("domReferenceElement"), M = E.context.dataRef, N = Ue(O), P = le(A), re = ze(N), ie = Ce(), F = C(ee), I = Z.useRef(m), R = Z.useRef(c ?? -1), z = Z.useRef(null), B = Z.useRef(!0), V = J((e) => {
454
+ let { listRef: n, activeIndex: r, onNavigate: i = () => {}, enabled: o = !0, selectedIndex: s = null, allowEscape: c = !1, loopFocus: l = !1, nested: u = !1, rtl: d = !1, virtual: f = !1, focusItemOnOpen: p = "auto", focusItemOnHover: m = !0, openOnArrowKeyDown: h = !0, disabledIndices: g = void 0, orientation: _ = "vertical", parentOrientation: b, id: x, resetOnPointerLeave: S = !0, externalTree: w, grid: T } = t, te = T != null;
455
+ process.env.NODE_ENV !== "production" && (c && (l || console.warn("`useListNavigation` looping must be enabled to allow escaping."), f || console.warn("`useListNavigation` must be virtual to allow escaping.")), _ === "vertical" && te && console.warn("In grid list navigation mode, the `orientation` should", "be either \"horizontal\" or \"both\"."));
456
+ let D = "rootStore" in e ? e.rootStore : e, O = D.useState("open"), k = D.useState("floatingElement"), j = D.useState("domReferenceElement"), M = D.context.dataRef, N = Ee(k), re = ae(j), ie = Ce(N), P = le(), F = y(w), I = Z.useRef(p), R = Z.useRef(s ?? -1), z = Z.useRef(null), B = Z.useRef(!0), V = X((e) => {
456
457
  i(R.current === -1 ? null : R.current, e);
457
- }), H = Z.useRef(!!O), U = Z.useRef(D), W = Z.useRef(!1), oe = Z.useRef(!1), se = Z.useRef(null), ce = ze(_), ue = ze(D), fe = ze(c), pe = ze(x), me = Se(), he = Se(), ge = J(() => {
458
+ }), H = Z.useRef(!!k), se = Z.useRef(O), ue = Z.useRef(!1), de = Z.useRef(!1), fe = Z.useRef(null), pe = Ce(g), me = Ce(O), he = Ce(s), _e = Ce(S), ye = ce(), be = ce(), xe = X(() => {
458
459
  function e(e) {
459
- p ? F?.events.emit("virtualfocus", e) : se.current = ft(e, {
460
- sync: W.current,
460
+ f ? F?.events.emit("virtualfocus", e) : fe.current = ft(e, {
461
+ sync: ue.current,
461
462
  preventScroll: !0
462
463
  });
463
464
  }
464
- let t = n.current[R.current], r = oe.current;
465
- t && e(t), (W.current ? (e) => e() : (e) => me.request(e))(() => {
465
+ let t = n.current[R.current], r = de.current;
466
+ t && e(t), (ue.current ? (e) => e() : (e) => ye.request(e))(() => {
466
467
  let i = n.current[R.current] || t;
467
- i && (t || e(i), we && (r || !B.current) && i.scrollIntoView?.({
468
+ i && (t || e(i), De && (r || !B.current) && i.scrollIntoView?.({
468
469
  block: "nearest",
469
470
  inline: "nearest"
470
471
  }));
471
472
  });
472
473
  });
473
- j(() => {
474
- M.current.orientation = v;
475
- }, [M, v]), j(() => {
476
- o && (D && O ? (R.current = c ?? -1, I.current && c != null && (oe.current = !0, V())) : H.current && (R.current = -1, V()));
474
+ Y(() => {
475
+ M.current.orientation = _;
476
+ }, [M, _]), Y(() => {
477
+ o && (O && k ? (R.current = s ?? -1, I.current && s != null && (de.current = !0, V())) : H.current && (R.current = -1, V()));
477
478
  }, [
478
479
  o,
479
- D,
480
480
  O,
481
- c,
481
+ k,
482
+ s,
482
483
  V
483
- ]), j(() => {
484
+ ]), Y(() => {
484
485
  if (o) {
485
- if (!D) {
486
- W.current = !1;
486
+ if (!O) {
487
+ ue.current = !1;
487
488
  return;
488
489
  }
489
- if (O) if (r == null) {
490
- if (W.current = !1, fe.current != null) return;
491
- if (H.current && (R.current = -1, ge()), (!U.current || !H.current) && I.current && (z.current != null || I.current === !0 && z.current == null)) {
490
+ if (k) if (r == null) {
491
+ if (ue.current = !1, he.current != null) return;
492
+ if (H.current && (R.current = -1, xe()), (!se.current || !H.current) && I.current && (z.current != null || I.current === !0 && z.current == null)) {
492
493
  let e = 0, t = () => {
493
- n.current[0] == null ? (e < 2 && (e ? (e) => he.request(e) : queueMicrotask)(t), e += 1) : (R.current = z.current == null || Rt(z.current, v, f) || d ? k(n) : ae(n), z.current = null, V());
494
+ n.current[0] == null ? (e < 2 && (e ? (e) => be.request(e) : queueMicrotask)(t), e += 1) : (R.current = z.current == null || Rt(z.current, _, d) || u ? ee(n) : ne(n), z.current = null, V());
494
495
  };
495
496
  t();
496
497
  }
497
- } else de(n.current, r) || (R.current = r, ge(), oe.current = !1);
498
+ } else L(n.current, r) || (R.current = r, xe(), de.current = !1);
498
499
  }
499
500
  }, [
500
501
  o,
501
- D,
502
502
  O,
503
+ k,
503
504
  r,
504
- fe,
505
- d,
505
+ he,
506
+ u,
506
507
  n,
507
- v,
508
- f,
508
+ _,
509
+ d,
509
510
  V,
510
- ge,
511
- he
512
- ]), j(() => {
513
- if (!o || O || !F || p || !H.current) return;
514
- let e = F.nodesRef.current, t = e.find((e) => e.id === ie)?.context?.elements.floating, n = je(q(A ?? t ?? null)), r = e.some((e) => e.context && K(e.context.elements.floating, n));
511
+ xe,
512
+ be
513
+ ]), Y(() => {
514
+ if (!o || k || !F || f || !H.current) return;
515
+ let e = F.nodesRef.current, t = e.find((e) => e.id === P)?.context?.elements.floating, n = ge(W(j ?? t ?? null)), r = e.some((e) => e.context && U(e.context.elements.floating, n));
515
516
  t && !r && B.current && t.focus({ preventScroll: !0 });
516
517
  }, [
517
518
  o,
518
- O,
519
- A,
519
+ k,
520
+ j,
520
521
  F,
521
- ie,
522
- p
523
- ]), j(() => {
524
- U.current = D, H.current = !!O;
525
- }), j(() => {
526
- D || (z.current = null, I.current = m);
527
- }, [D, m]);
528
- let _e = r != null, ye = J((e) => {
529
- if (!ue.current) return;
522
+ P,
523
+ f
524
+ ]), Y(() => {
525
+ se.current = O, H.current = !!k;
526
+ }), Y(() => {
527
+ O || (z.current = null, I.current = p);
528
+ }, [O, p]);
529
+ let Se = r != null, we = X((e) => {
530
+ if (!me.current) return;
530
531
  let t = n.current.indexOf(e.currentTarget);
531
532
  t !== -1 && (R.current !== t || r !== t) && (R.current = t, V(e));
532
- }), be = J(() => y ?? F?.nodesRef.current.find((e) => e.id === ie)?.context?.dataRef?.current.orientation), xe = J(() => k(n, ce.current)), G = J((e) => {
533
- if (B.current = !1, W.current = !0, e.which === 229 || !ue.current && e.currentTarget === re.current) return;
534
- if (d && Bt(e.key, v, f, T)) {
535
- Lt(e.key, be()) || s(e), E.setOpen(!1, S(Pe, e.nativeEvent)), a(A) && (p ? F?.events.emit("virtualfocus", A) : A.focus());
533
+ }), Te = X(() => b ?? F?.nodesRef.current.find((e) => e.id === P)?.context?.dataRef?.current.orientation), G = X(() => ee(n, pe.current)), K = X((e) => {
534
+ if (B.current = !1, ue.current = !0, e.which === 229 || !me.current && e.currentTarget === ie.current) return;
535
+ if (u && Bt(e.key, _, d, te)) {
536
+ Lt(e.key, Te()) || a(e), D.setOpen(!1, v(ve, e.nativeEvent)), Ie(j) && (f ? F?.events.emit("virtualfocus", j) : j.focus());
536
537
  return;
537
538
  }
538
- let t = R.current, r = k(n, _), i = ae(n, _);
539
- if (P || (e.key === "Home" && (s(e), R.current = r, V(e)), e.key === "End" && (s(e), R.current = i, V(e))), w != null) {
540
- let t = w(e, R.current, n, v, u, f, _, r, i);
541
- if (t != null && (R.current = t, V(e)), v === "both") return;
539
+ let t = R.current, r = ee(n, g), i = ne(n, g);
540
+ if (re || (e.key === "Home" && (a(e), R.current = r, V(e)), e.key === "End" && (a(e), R.current = i, V(e))), T != null) {
541
+ let t = T(e, R.current, n, _, l, d, g, r, i);
542
+ if (t != null && (R.current = t, V(e)), _ === "both") return;
542
543
  }
543
- if (Lt(e.key, v)) {
544
- if (s(e), D && !p && je(e.currentTarget.ownerDocument) === e.currentTarget) {
545
- R.current = Rt(e.key, v, f) ? r : i, V(e);
544
+ if (Lt(e.key, _)) {
545
+ if (a(e), O && !f && ge(e.currentTarget.ownerDocument) === e.currentTarget) {
546
+ R.current = Rt(e.key, _, d) ? r : i, V(e);
546
547
  return;
547
548
  }
548
- Rt(e.key, v, f) ? u ? t >= i ? l && t !== n.current.length ? R.current = -1 : (W.current = !1, R.current = r) : R.current = L(n.current, {
549
+ Rt(e.key, _, d) ? l ? t >= i ? c && t !== n.current.length ? R.current = -1 : (ue.current = !1, R.current = r) : R.current = A(n.current, {
549
550
  startingIndex: t,
550
- disabledIndices: _
551
- }) : R.current = Math.min(i, L(n.current, {
551
+ disabledIndices: g
552
+ }) : R.current = Math.min(i, A(n.current, {
552
553
  startingIndex: t,
553
- disabledIndices: _
554
- })) : u ? t <= r ? l && t !== -1 ? R.current = n.current.length : (W.current = !1, R.current = i) : R.current = L(n.current, {
554
+ disabledIndices: g
555
+ })) : l ? t <= r ? c && t !== -1 ? R.current = n.current.length : (ue.current = !1, R.current = i) : R.current = A(n.current, {
555
556
  startingIndex: t,
556
557
  decrement: !0,
557
- disabledIndices: _
558
- }) : R.current = Math.max(r, L(n.current, {
558
+ disabledIndices: g
559
+ }) : R.current = Math.max(r, A(n.current, {
559
560
  startingIndex: t,
560
561
  decrement: !0,
561
- disabledIndices: _
562
- })), de(n.current, R.current) && (R.current = -1), V(e);
562
+ disabledIndices: g
563
+ })), L(n.current, R.current) && (R.current = -1), V(e);
563
564
  }
564
- }), we = Z.useMemo(() => ({
565
+ }), De = Z.useMemo(() => ({
565
566
  onFocus(e) {
566
- W.current = !0, ye(e);
567
+ ue.current = !0, we(e);
567
568
  },
568
569
  onClick: ({ currentTarget: e }) => e.focus({ preventScroll: !0 }),
569
570
  onMouseMove(e) {
570
- W.current = !0, oe.current = !1, h && ye(e);
571
+ ue.current = !0, de.current = !1, m && we(e);
571
572
  },
572
573
  onPointerLeave(e) {
573
- if (!ue.current || !B.current || e.pointerType === "touch") return;
574
- W.current = !0;
574
+ if (!me.current || !B.current || e.pointerType === "touch") return;
575
+ ue.current = !0;
575
576
  let t = e.relatedTarget;
576
- if (!(!h || n.current.includes(t)) && pe.current && (se.current?.(), se.current = null, R.current = -1, V(e), !p)) {
577
- let e = re.current, t = je(q(e));
578
- e && K(e, t) && e.focus({ preventScroll: !0 });
577
+ if (!(!m || n.current.includes(t)) && _e.current && (fe.current?.(), fe.current = null, R.current = -1, V(e), !f)) {
578
+ let e = ie.current, t = ge(W(e));
579
+ e && U(e, t) && e.focus({ preventScroll: !0 });
579
580
  }
580
581
  }
581
582
  }), [
582
- ye,
583
- ue,
584
- re,
585
- h,
583
+ we,
584
+ me,
585
+ ie,
586
+ m,
586
587
  n,
587
588
  V,
588
- pe,
589
- p
590
- ]), Te = Z.useMemo(() => p && D && _e && { "aria-activedescendant": `${b}-${r}` }, [
591
- p,
592
- D,
593
589
  _e,
594
- b,
590
+ f
591
+ ]), q = Z.useMemo(() => f && O && Se && { "aria-activedescendant": `${x}-${r}` }, [
592
+ f,
593
+ O,
594
+ Se,
595
+ x,
595
596
  r
596
- ]), Ee = Z.useMemo(() => ({
597
- "aria-orientation": v === "both" ? void 0 : v,
598
- ...P ? {} : Te,
597
+ ]), J = Z.useMemo(() => ({
598
+ "aria-orientation": _ === "both" ? void 0 : _,
599
+ ...re ? {} : q,
599
600
  onKeyDown(e) {
600
- if (e.key === "Tab" && e.shiftKey && D && !p) {
601
- let t = ve(e.nativeEvent);
602
- if (t && !K(re.current, t)) return;
603
- s(e), E.setOpen(!1, S(ne, e.nativeEvent)), a(A) && A.focus();
601
+ if (e.key === "Tab" && e.shiftKey && O && !f) {
602
+ let t = oe(e.nativeEvent);
603
+ if (t && !U(ie.current, t)) return;
604
+ a(e), D.setOpen(!1, v(E, e.nativeEvent)), Ie(j) && j.focus();
604
605
  return;
605
606
  }
606
- G(e);
607
+ K(e);
607
608
  },
608
609
  onPointerMove() {
609
610
  B.current = !0;
610
611
  }
611
612
  }), [
612
- Te,
613
- G,
613
+ q,
614
+ K,
615
+ ie,
616
+ _,
614
617
  re,
615
- v,
616
- P,
617
- E,
618
618
  D,
619
- p,
620
- A
621
- ]), De = Z.useMemo(() => {
619
+ O,
620
+ f,
621
+ j
622
+ ]), ke = Z.useMemo(() => {
622
623
  function e(e) {
623
- E.setOpen(!0, S(Pe, e.nativeEvent, e.currentTarget));
624
+ D.setOpen(!0, v(ve, e.nativeEvent, e.currentTarget));
624
625
  }
625
626
  function t(e) {
626
- m === "auto" && Ke(e.nativeEvent) && (I.current = !p);
627
+ p === "auto" && Oe(e.nativeEvent) && (I.current = !f);
627
628
  }
628
629
  function n(e) {
629
- I.current = m, m === "auto" && te(e.nativeEvent) && (I.current = !0);
630
+ I.current = p, p === "auto" && C(e.nativeEvent) && (I.current = !0);
630
631
  }
631
632
  return {
632
633
  onKeyDown(t) {
633
- let n = E.select("open");
634
+ let n = D.select("open");
634
635
  B.current = !1;
635
- let r = t.key.startsWith("Arrow"), i = zt(t.key, be(), f), a = Lt(t.key, v), o = (d ? i : a) || t.key === "Enter" || t.key.trim() === "";
636
- if (p && n) return G(t);
637
- if (!(!n && !g && r)) {
638
- if (o) {
639
- let e = Lt(t.key, be());
640
- z.current = d && e ? null : t.key;
636
+ let r = t.key.startsWith("Arrow"), i = zt(t.key, Te(), d), o = Lt(t.key, _), s = (u ? i : o) || t.key === "Enter" || t.key.trim() === "";
637
+ if (f && n) return K(t);
638
+ if (!(!n && !h && r)) {
639
+ if (s) {
640
+ let e = Lt(t.key, Te());
641
+ z.current = u && e ? null : t.key;
641
642
  }
642
- if (d) {
643
- i && (s(t), n ? (R.current = xe(), V(t)) : e(t));
643
+ if (u) {
644
+ i && (a(t), n ? (R.current = G(), V(t)) : e(t));
644
645
  return;
645
646
  }
646
- a && (fe.current != null && (R.current = fe.current), s(t), !n && g ? e(t) : G(t), n && V(t));
647
+ o && (he.current != null && (R.current = he.current), a(t), !n && h ? e(t) : K(t), n && V(t));
647
648
  }
648
649
  },
649
650
  onFocus(e) {
650
- E.select("open") && !p && (R.current = -1, V(e));
651
+ D.select("open") && !f && (R.current = -1, V(e));
651
652
  },
652
653
  onPointerDown: n,
653
654
  onPointerEnter: n,
@@ -655,45 +656,45 @@ function Vt(e, t) {
655
656
  onClick: t
656
657
  };
657
658
  }, [
659
+ K,
660
+ p,
658
661
  G,
659
- m,
660
- xe,
661
- d,
662
+ u,
662
663
  V,
663
- E,
664
- g,
665
- v,
666
- be,
667
- f,
668
- fe,
669
- p
670
- ]), Oe = Z.useMemo(() => ({
671
- ...Te,
672
- ...De
673
- }), [Te, De]);
664
+ D,
665
+ h,
666
+ _,
667
+ Te,
668
+ d,
669
+ he,
670
+ f
671
+ ]), Ae = Z.useMemo(() => ({
672
+ ...q,
673
+ ...ke
674
+ }), [q, ke]);
674
675
  return Z.useMemo(() => o ? {
675
- reference: Oe,
676
- floating: Ee,
677
- item: we,
678
- trigger: De
676
+ reference: Ae,
677
+ floating: J,
678
+ item: De,
679
+ trigger: ke
679
680
  } : {}, [
680
681
  o,
681
- Oe,
682
- Ee,
683
- De,
684
- we
682
+ Ae,
683
+ J,
684
+ ke,
685
+ De
685
686
  ]);
686
687
  }
687
688
  //#endregion
688
689
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/floating-ui-react/hooks/useTypeahead.mjs
689
690
  function Ht(e, t) {
690
- let { listRef: n, elementsRef: i, activeIndex: a, onMatch: o, disabledIndices: c, onTyping: l, enabled: u = !0, resetMs: d = 750, selectedIndex: f = null } = t, p = "rootStore" in e ? e.rootStore : e, m = p.useState("open"), h = M(), g = Z.useRef(""), _ = Z.useRef(f ?? a ?? -1), v = Z.useRef(null), y = J((e) => {
691
+ let { listRef: r, elementsRef: i, activeIndex: o, onMatch: s, disabledIndices: c, onTyping: l, enabled: u = !0, resetMs: d = 750, selectedIndex: f = null } = t, p = "rootStore" in e ? e.rootStore : e, m = p.useState("open"), h = w(), g = Z.useRef(""), _ = Z.useRef(f ?? o ?? -1), v = Z.useRef(null), y = X((e) => {
691
692
  function t(e) {
692
693
  let t = i?.current[e];
693
- return !t || r(t);
694
+ return !t || n(t);
694
695
  }
695
696
  function u(e) {
696
- return t(e) ? c == null || !Ve(he, e, c) : !1;
697
+ return t(e) ? c == null || !Te(Je, e, c) : !1;
697
698
  }
698
699
  function p(e, t, n = 0) {
699
700
  if (e.length === 0) return -1;
@@ -704,31 +705,31 @@ function Ht(e, t) {
704
705
  }
705
706
  return -1;
706
707
  }
707
- let y = n.current;
708
- if (g.current.length > 0 && e.key === " " && (s(e), l?.(!0)), g.current.length > 0 && g.current[0] !== " " && p(y, g.current) === -1 && e.key !== " " && l?.(!1), y == null || e.key.length !== 1 || e.ctrlKey || e.metaKey || e.altKey) return;
709
- m && e.key !== " " && (s(e), l?.(!0));
708
+ let y = r.current;
709
+ if (g.current.length > 0 && e.key === " " && (a(e), l?.(!0)), g.current.length > 0 && g.current[0] !== " " && p(y, g.current) === -1 && e.key !== " " && l?.(!1), y == null || e.key.length !== 1 || e.ctrlKey || e.metaKey || e.altKey) return;
710
+ m && e.key !== " " && (a(e), l?.(!0));
710
711
  let b = g.current === "";
711
- b && (_.current = f ?? a ?? -1), y.every((e, t) => e && u(t) ? e[0]?.toLowerCase() !== e[1]?.toLowerCase() : !0) && g.current === e.key && (g.current = "", _.current = v.current), g.current += e.key, h.start(d, () => {
712
+ b && (_.current = f ?? o ?? -1), y.every((e, t) => e && u(t) ? e[0]?.toLowerCase() !== e[1]?.toLowerCase() : !0) && g.current === e.key && (g.current = "", _.current = v.current), g.current += e.key, h.start(d, () => {
712
713
  g.current = "", _.current = v.current, l?.(!1);
713
714
  });
714
- let x = ((b ? f ?? a ?? -1 : _.current) ?? 0) + 1, S = p(y, g.current, x);
715
- S === -1 ? e.key !== " " && (g.current = "", l?.(!1)) : (o?.(S), v.current = S);
716
- }), b = J((e) => {
715
+ let x = ((b ? f ?? o ?? -1 : _.current) ?? 0) + 1, S = p(y, g.current, x);
716
+ S === -1 ? e.key !== " " && (g.current = "", l?.(!1)) : (s?.(S), v.current = S);
717
+ }), b = X((e) => {
717
718
  let t = e.relatedTarget, n = p.select("domReferenceElement"), r = p.select("floatingElement");
718
- K(n, t) || K(r, t) || (h.clear(), g.current = "", _.current = v.current, l?.(!1));
719
+ U(n, t) || U(r, t) || (h.clear(), g.current = "", _.current = v.current, l?.(!1));
719
720
  });
720
- j(() => {
721
+ Y(() => {
721
722
  !m && f !== null || (h.clear(), v.current = null, g.current !== "" && (g.current = ""));
722
723
  }, [
723
724
  m,
724
725
  f,
725
726
  h
726
- ]), j(() => {
727
- m && g.current === "" && (_.current = f ?? a ?? -1);
727
+ ]), Y(() => {
728
+ m && g.current === "" && (_.current = f ?? o ?? -1);
728
729
  }, [
729
730
  m,
730
731
  f,
731
- a
732
+ o
732
733
  ]);
733
734
  let x = Z.useMemo(() => ({
734
735
  onKeyDown: y,
@@ -745,13 +746,13 @@ var Ut = /*#__PURE__*/ Z.createContext(void 0);
745
746
  process.env.NODE_ENV !== "production" && (Ut.displayName = "ToolbarRootContext");
746
747
  function Wt(e) {
747
748
  let t = Z.useContext(Ut);
748
- if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? oe(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
749
+ if (t === void 0 && !e) throw Error(process.env.NODE_ENV === "production" ? qe(69) : "Base UI: ToolbarRootContext is missing. Toolbar parts must be placed within <Toolbar.Root>.");
749
750
  return t;
750
751
  }
751
752
  //#endregion
752
753
  //#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/inertValue.mjs
753
754
  function Gt(e) {
754
- return ye(19) ? e : e ? "true" : void 0;
755
+ return Ke(19) ? e : e ? "true" : void 0;
755
756
  }
756
757
  //#endregion
757
758
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/utils/InternalBackdrop.mjs
@@ -781,12 +782,12 @@ process.env.NODE_ENV !== "production" && (Kt.displayName = "InternalBackdrop");
781
782
  var qt = {}, Jt = {}, Yt = "";
782
783
  function Xt(e) {
783
784
  if (typeof document > "u") return !1;
784
- let t = q(e);
785
- return D(t).innerWidth - t.documentElement.clientWidth > 0;
785
+ let t = W(e);
786
+ return Ge(t).innerWidth - t.documentElement.clientWidth > 0;
786
787
  }
787
788
  function Zt(e) {
788
789
  if (!(typeof CSS < "u" && CSS.supports && CSS.supports("scrollbar-gutter", "stable")) || typeof document > "u") return !1;
789
- let t = q(e), n = t.documentElement, r = t.body, i = ee(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
790
+ let t = W(e), n = t.documentElement, r = t.body, i = Ne(n) ? n : r, a = i.style.overflowY, o = n.style.scrollbarGutter;
790
791
  n.style.scrollbarGutter = "stable", i.style.overflowY = "scroll";
791
792
  let s = i.offsetWidth;
792
793
  i.style.overflowY = "hidden";
@@ -794,7 +795,7 @@ function Zt(e) {
794
795
  return i.style.overflowY = a, n.style.scrollbarGutter = o, s === c;
795
796
  }
796
797
  function Qt(e) {
797
- let t = q(e), n = t.documentElement, r = t.body, i = ee(n) ? n : r, a = {
798
+ let t = W(e), n = t.documentElement, r = t.body, i = Ne(n) ? n : r, a = {
798
799
  overflowY: i.style.overflowY,
799
800
  overflowX: i.style.overflowX
800
801
  };
@@ -806,24 +807,24 @@ function Qt(e) {
806
807
  };
807
808
  }
808
809
  function $t(e) {
809
- let t = q(e), n = t.documentElement, r = t.body, a = D(n), o = 0, s = 0, c = !1, l = i.create();
810
- if (h && (a.visualViewport?.scale ?? 1) !== 1) return () => {};
810
+ let t = W(e), n = t.documentElement, i = t.body, a = Ge(n), o = 0, s = 0, c = !1, l = r.create();
811
+ if (f && (a.visualViewport?.scale ?? 1) !== 1) return () => {};
811
812
  function u() {
812
- let t = a.getComputedStyle(n), i = a.getComputedStyle(r), l = (t.scrollbarGutter || "").includes("both-edges") ? "stable both-edges" : "stable";
813
+ let t = a.getComputedStyle(n), r = a.getComputedStyle(i), l = (t.scrollbarGutter || "").includes("both-edges") ? "stable both-edges" : "stable";
813
814
  o = n.scrollTop, s = n.scrollLeft, qt = {
814
815
  scrollbarGutter: n.style.scrollbarGutter,
815
816
  overflowY: n.style.overflowY,
816
817
  overflowX: n.style.overflowX
817
818
  }, Yt = n.style.scrollBehavior, Jt = {
818
- position: r.style.position,
819
- height: r.style.height,
820
- width: r.style.width,
821
- boxSizing: r.style.boxSizing,
822
- overflowY: r.style.overflowY,
823
- overflowX: r.style.overflowX,
824
- scrollBehavior: r.style.scrollBehavior
819
+ position: i.style.position,
820
+ height: i.style.height,
821
+ width: i.style.width,
822
+ boxSizing: i.style.boxSizing,
823
+ overflowY: i.style.overflowY,
824
+ overflowX: i.style.overflowX,
825
+ scrollBehavior: i.style.scrollBehavior
825
826
  };
826
- let u = n.scrollHeight > n.clientHeight, d = n.scrollWidth > n.clientWidth, f = t.overflowY === "scroll" || i.overflowY === "scroll", p = t.overflowX === "scroll" || i.overflowX === "scroll", m = Math.max(0, a.innerWidth - r.clientWidth), h = Math.max(0, a.innerHeight - r.clientHeight), g = parseFloat(i.marginTop) + parseFloat(i.marginBottom), _ = parseFloat(i.marginLeft) + parseFloat(i.marginRight), v = ee(n) ? n : r;
827
+ let u = n.scrollHeight > n.clientHeight, d = n.scrollWidth > n.clientWidth, f = t.overflowY === "scroll" || r.overflowY === "scroll", p = t.overflowX === "scroll" || r.overflowX === "scroll", m = Math.max(0, a.innerWidth - i.clientWidth), h = Math.max(0, a.innerHeight - i.clientHeight), g = parseFloat(r.marginTop) + parseFloat(r.marginBottom), _ = parseFloat(r.marginLeft) + parseFloat(r.marginRight), v = Ne(n) ? n : i;
827
828
  if (c = Zt(e), c) {
828
829
  n.style.scrollbarGutter = l, v.style.overflowY = "hidden", v.style.overflowX = "hidden";
829
830
  return;
@@ -832,32 +833,32 @@ function $t(e) {
832
833
  scrollbarGutter: l,
833
834
  overflowY: "hidden",
834
835
  overflowX: "hidden"
835
- }), (u || f) && (n.style.overflowY = "scroll"), (d || p) && (n.style.overflowX = "scroll"), Object.assign(r.style, {
836
+ }), (u || f) && (n.style.overflowY = "scroll"), (d || p) && (n.style.overflowX = "scroll"), Object.assign(i.style, {
836
837
  position: "relative",
837
838
  height: g || h ? `calc(100dvh - ${g + h}px)` : "100dvh",
838
839
  width: _ || m ? `calc(100vw - ${_ + m}px)` : "100vw",
839
840
  boxSizing: "border-box",
840
841
  overflow: "hidden",
841
842
  scrollBehavior: "unset"
842
- }), r.scrollTop = o, r.scrollLeft = s, n.setAttribute("data-base-ui-scroll-locked", ""), n.style.scrollBehavior = "unset";
843
+ }), i.scrollTop = o, i.scrollLeft = s, n.setAttribute("data-base-ui-scroll-locked", ""), n.style.scrollBehavior = "unset";
843
844
  }
844
845
  function d() {
845
- Object.assign(n.style, qt), Object.assign(r.style, Jt), c || (n.scrollTop = o, n.scrollLeft = s, n.removeAttribute("data-base-ui-scroll-locked"), n.style.scrollBehavior = Yt);
846
+ Object.assign(n.style, qt), Object.assign(i.style, Jt), c || (n.scrollTop = o, n.scrollLeft = s, n.removeAttribute("data-base-ui-scroll-locked"), n.style.scrollBehavior = Yt);
846
847
  }
847
- function f() {
848
+ function p() {
848
849
  d(), l.request(u);
849
850
  }
850
851
  u();
851
- let p = Te(a, "resize", f);
852
+ let m = de(a, "resize", p);
852
853
  return () => {
853
- l.cancel(), d(), typeof a.removeEventListener == "function" && p();
854
+ l.cancel(), d(), typeof a.removeEventListener == "function" && m();
854
855
  };
855
856
  }
856
857
  var en = new class {
857
858
  lockCount = 0;
858
859
  restore = null;
859
- timeoutLock = Ge.create();
860
- timeoutUnlock = Ge.create();
860
+ timeoutLock = De.create();
861
+ timeoutUnlock = De.create();
861
862
  acquire(e) {
862
863
  return this.lockCount += 1, this.lockCount === 1 && this.restore === null && this.timeoutLock.start(0, () => this.lock(e)), this.release;
863
864
  }
@@ -869,17 +870,17 @@ var en = new class {
869
870
  };
870
871
  lock(e) {
871
872
  if (this.lockCount === 0 || this.restore !== null) return;
872
- let t = q(e).documentElement, n = D(t).getComputedStyle(t).overflowY;
873
+ let t = W(e).documentElement, n = Ge(t).getComputedStyle(t).overflowY;
873
874
  if (n === "hidden" || n === "clip") {
874
- this.restore = Ee;
875
+ this.restore = Ve;
875
876
  return;
876
877
  }
877
- let r = y || !Xt(e);
878
+ let r = g || !Xt(e);
878
879
  this.restore = r ? Qt(e) : $t(e);
879
880
  }
880
881
  }();
881
882
  function tn(e = !0, t = null) {
882
- j(() => {
883
+ Y(() => {
883
884
  if (e) return en.acquire(t);
884
885
  }, [e, t]);
885
886
  }
@@ -888,12 +889,12 @@ function tn(e = !0, t = null) {
888
889
  var nn = 20;
889
890
  function rn(e, t, n, r) {
890
891
  let [i, a] = Z.useState(!1);
891
- j(() => {
892
+ Y(() => {
892
893
  if (!e || !t || n == null) {
893
894
  a(!1);
894
895
  return;
895
896
  }
896
- let r = q(n).documentElement.clientWidth, i = n.offsetWidth;
897
+ let r = W(n).documentElement.clientWidth, i = n.offsetWidth;
897
898
  a(r > 0 && i > 0 && i >= r - nn);
898
899
  }, [
899
900
  e,
@@ -921,8 +922,8 @@ function an(e) {
921
922
  //#endregion
922
923
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/utils/useOpenInteractionType.mjs
923
924
  function on(e, t) {
924
- let { onClick: n, onPointerDown: r } = an(J((n, r) => {
925
- (typeof e == "function" ? e() : e) || t(r || (y ? "touch" : ""));
925
+ let { onClick: n, onPointerDown: r } = an(X((n, r) => {
926
+ (typeof e == "function" ? e() : e) || t(r || (g ? "touch" : ""));
926
927
  }));
927
928
  return Z.useMemo(() => ({
928
929
  onClick: n,
@@ -941,14 +942,14 @@ function sn(e) {
941
942
  //#endregion
942
943
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/utils/getPseudoElementBounds.mjs
943
944
  function cn(e) {
944
- let t = e.getBoundingClientRect(), n = D(e);
945
- if (f) return t;
945
+ let t = e.getBoundingClientRect(), n = Ge(e);
946
+ if (l) return t;
946
947
  let r = n.getComputedStyle(e, "::before"), i = n.getComputedStyle(e, "::after");
947
948
  if (!(r.content !== "none" || i.content !== "none")) return t;
948
- let a = parseFloat(r.width) || 0, o = parseFloat(r.height) || 0, s = parseFloat(i.width) || 0, c = parseFloat(i.height) || 0, l = Math.max(t.width, a, s), u = Math.max(t.height, o, c), d = l - t.width, p = u - t.height;
949
+ let a = parseFloat(r.width) || 0, o = parseFloat(r.height) || 0, s = parseFloat(i.width) || 0, c = parseFloat(i.height) || 0, u = Math.max(t.width, a, s), d = Math.max(t.height, o, c), f = u - t.width, p = d - t.height;
949
950
  return {
950
- left: t.left - d / 2,
951
- right: t.right + d / 2,
951
+ left: t.left - f / 2,
952
+ right: t.right + f / 2,
952
953
  top: t.top - p / 2,
953
954
  bottom: t.bottom + p / 2
954
955
  };
@@ -1110,7 +1111,7 @@ var xn = (0, Z.forwardRef)(({ offset: e, shadowLevel: t, className: n, children:
1110
1111
  value: s,
1111
1112
  children: /* @__PURE__ */ (0, Q.jsx)("div", {
1112
1113
  ref: a,
1113
- className: A(bn(s, t ?? s), n),
1114
+ className: Re(bn(s, t ?? s), n),
1114
1115
  ...i,
1115
1116
  children: r
1116
1117
  })
@@ -1125,26 +1126,26 @@ var Cn = /*#__PURE__*/ Z.createContext(null);
1125
1126
  process.env.NODE_ENV !== "production" && (Cn.displayName = "SelectFloatingContext");
1126
1127
  function wn() {
1127
1128
  let e = Z.useContext(Sn);
1128
- if (e === null) throw Error(process.env.NODE_ENV === "production" ? oe(60) : "Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>.");
1129
+ if (e === null) throw Error(process.env.NODE_ENV === "production" ? qe(60) : "Base UI: SelectRootContext is missing. Select parts must be placed within <Select.Root>.");
1129
1130
  return e;
1130
1131
  }
1131
1132
  function Tn() {
1132
1133
  let e = Z.useContext(Cn);
1133
- if (e === null) throw Error(process.env.NODE_ENV === "production" ? oe(61) : "Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>.");
1134
+ if (e === null) throw Error(process.env.NODE_ENV === "production" ? qe(61) : "Base UI: SelectFloatingContext is missing. Select parts must be placed within <Select.Root>.");
1134
1135
  return e;
1135
1136
  }
1136
1137
  //#endregion
1137
1138
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/labelable-provider/useLabelableId.mjs
1138
1139
  function En(e = {}) {
1139
- let { id: t, implicit: n = !1, controlRef: r } = e, { controlId: i, registerControlId: a } = lt(), o = w(t), s = n ? i : void 0, c = N(() => Symbol("labelable-control")), l = Z.useRef(!1), u = Z.useRef(t != null), d = J(() => {
1140
- !l.current || a === Ee || (l.current = !1, a(c.current, void 0));
1140
+ let { id: t, implicit: n = !1, controlRef: r } = e, { controlId: i, registerControlId: a } = lt(), o = b(t), s = n ? i : void 0, c = Ze(() => Symbol("labelable-control")), l = Z.useRef(!1), u = Z.useRef(t != null), d = X(() => {
1141
+ !l.current || a === Ve || (l.current = !1, a(c.current, void 0));
1141
1142
  });
1142
- return j(() => {
1143
- if (a === Ee) return;
1143
+ return Y(() => {
1144
+ if (a === Ve) return;
1144
1145
  let e;
1145
1146
  if (n) {
1146
1147
  let n = r?.current;
1147
- e = we(n) && n.closest("label") != null ? t ?? null : s ?? o;
1148
+ e = We(n) && n.closest("label") != null ? t ?? null : s ?? o;
1148
1149
  } else if (t != null) u.current = !0, e = t;
1149
1150
  else if (u.current) e = o;
1150
1151
  else {
@@ -1245,42 +1246,42 @@ function Rn(e, t, n) {
1245
1246
  //#endregion
1246
1247
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/select/store.mjs
1247
1248
  var $ = {
1248
- id: Y((e) => e.id),
1249
- labelId: Y((e) => e.labelId),
1250
- modal: Y((e) => e.modal),
1251
- multiple: Y((e) => e.multiple),
1252
- items: Y((e) => e.items),
1253
- itemToStringLabel: Y((e) => e.itemToStringLabel),
1254
- itemToStringValue: Y((e) => e.itemToStringValue),
1255
- isItemEqualToValue: Y((e) => e.isItemEqualToValue),
1256
- value: Y((e) => e.value),
1257
- hasSelectedValue: Y((e) => {
1249
+ id: q((e) => e.id),
1250
+ labelId: q((e) => e.labelId),
1251
+ modal: q((e) => e.modal),
1252
+ multiple: q((e) => e.multiple),
1253
+ items: q((e) => e.items),
1254
+ itemToStringLabel: q((e) => e.itemToStringLabel),
1255
+ itemToStringValue: q((e) => e.itemToStringValue),
1256
+ isItemEqualToValue: q((e) => e.isItemEqualToValue),
1257
+ value: q((e) => e.value),
1258
+ hasSelectedValue: q((e) => {
1258
1259
  let { value: t, multiple: n, itemToStringValue: r } = e;
1259
1260
  return t == null ? !1 : n && Array.isArray(t) ? t.length > 0 : In(t, r) !== "";
1260
1261
  }),
1261
- hasNullItemLabel: Y((e, t) => t ? Pn(e.items) : !1),
1262
- open: Y((e) => e.open),
1263
- mounted: Y((e) => e.mounted),
1264
- forceMount: Y((e) => e.forceMount),
1265
- transitionStatus: Y((e) => e.transitionStatus),
1266
- openMethod: Y((e) => e.openMethod),
1267
- activeIndex: Y((e) => e.activeIndex),
1268
- selectedIndex: Y((e) => e.selectedIndex),
1269
- isActive: Y((e, t) => e.activeIndex === t),
1270
- isSelected: Y((e, t) => {
1262
+ hasNullItemLabel: q((e, t) => t ? Pn(e.items) : !1),
1263
+ open: q((e) => e.open),
1264
+ mounted: q((e) => e.mounted),
1265
+ forceMount: q((e) => e.forceMount),
1266
+ transitionStatus: q((e) => e.transitionStatus),
1267
+ openMethod: q((e) => e.openMethod),
1268
+ activeIndex: q((e) => e.activeIndex),
1269
+ selectedIndex: q((e) => e.selectedIndex),
1270
+ isActive: q((e, t) => e.activeIndex === t),
1271
+ isSelected: q((e, t) => {
1271
1272
  let n = e.isItemEqualToValue, r = e.value;
1272
1273
  return e.multiple ? Array.isArray(r) && r.some((e) => On(t, e, n)) : On(t, r, n);
1273
1274
  }),
1274
- isSelectedByFocus: Y((e, t) => e.selectedIndex === t),
1275
- popupProps: Y((e) => e.popupProps),
1276
- triggerProps: Y((e) => e.triggerProps),
1277
- triggerElement: Y((e) => e.triggerElement),
1278
- positionerElement: Y((e) => e.positionerElement),
1279
- listElement: Y((e) => e.listElement),
1280
- popupSide: Y((e) => e.popupSide),
1281
- scrollUpArrowVisible: Y((e) => e.scrollUpArrowVisible),
1282
- scrollDownArrowVisible: Y((e) => e.scrollDownArrowVisible),
1283
- hasScrollArrows: Y((e) => e.hasScrollArrows)
1275
+ isSelectedByFocus: q((e, t) => e.selectedIndex === t),
1276
+ popupProps: q((e) => e.popupProps),
1277
+ triggerProps: q((e) => e.triggerProps),
1278
+ triggerElement: q((e) => e.triggerElement),
1279
+ positionerElement: q((e) => e.positionerElement),
1280
+ listElement: q((e) => e.listElement),
1281
+ popupSide: q((e) => e.popupSide),
1282
+ scrollUpArrowVisible: q((e) => e.scrollUpArrowVisible),
1283
+ scrollDownArrowVisible: q((e) => e.scrollDownArrowVisible),
1284
+ hasScrollArrows: q((e) => e.hasScrollArrows)
1284
1285
  };
1285
1286
  //#endregion
1286
1287
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/areArraysEqual.mjs
@@ -1303,33 +1304,33 @@ function Hn(e, t) {
1303
1304
  //#endregion
1304
1305
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/select/root/SelectRoot.mjs
1305
1306
  function Un(e) {
1306
- let { id: t, value: n, defaultValue: r = null, onValueChange: i, open: a, defaultOpen: o = !1, onOpenChange: s, name: u, form: d, autoComplete: f, disabled: p = !1, readOnly: m = !1, required: h = !1, modal: g = !0, actionsRef: _, inputRef: v, onOpenChangeComplete: y, items: b, multiple: x = !1, itemToStringLabel: ee, itemToStringValue: C, isItemEqualToValue: w = Dn, highlightItemOnHover: T = !0, children: E } = e, { clearErrors: D } = ut(), { setDirty: O, setTouched: k, setFocused: A, validityData: te, setFilled: M, name: ne, disabled: re, validation: ie, validationMode: F } = ct(), I = En({ id: t }), L = re || p, z = ne ?? u, [B, ae] = Qe({
1307
+ let { id: t, value: n, defaultValue: r = null, onValueChange: i, open: a, defaultOpen: c = !1, onOpenChange: l, name: u, form: d, autoComplete: f, disabled: p = !1, readOnly: m = !1, required: h = !1, modal: g = !0, actionsRef: _, inputRef: y, onOpenChangeComplete: b, items: x, multiple: S = !1, itemToStringLabel: ee, itemToStringValue: C, isItemEqualToValue: w = Dn, highlightItemOnHover: E = !0, children: te } = e, { clearErrors: D } = ut(), { setDirty: O, setTouched: k, setFocused: A, validityData: M, setFilled: N, name: ne, disabled: re, validation: P, validationMode: I } = ct(), ae = En({ id: t }), L = re || p, R = ne ?? u, [z, B] = Qe({
1307
1308
  controlled: n,
1308
- default: x ? r ?? he : r,
1309
+ default: S ? r ?? Je : r,
1309
1310
  name: "Select",
1310
1311
  state: "value"
1311
- }), [V, H] = Qe({
1312
+ }), [V, oe] = Qe({
1312
1313
  controlled: a,
1313
- default: o,
1314
+ default: c,
1314
1315
  name: "Select",
1315
1316
  state: "open"
1316
- }), W = Z.useRef([]), oe = Z.useRef([]), ce = Z.useRef(null), le = Z.useRef(null), ue = Z.useRef(0), de = Z.useRef(null), fe = Z.useRef([]), pe = Z.useRef(!1), me = Z.useRef(null), ge = Z.useRef(null), ve = Z.useRef({
1317
+ }), se = Z.useRef([]), ce = Z.useRef([]), le = Z.useRef(null), de = Z.useRef(null), U = Z.useRef(0), fe = Z.useRef(null), me = Z.useRef([]), W = Z.useRef(!1), he = Z.useRef(null), ge = Z.useRef(null), _e = Z.useRef({
1317
1318
  allowSelectedMouseUp: !1,
1318
1319
  allowUnselectedMouseUp: !1,
1319
1320
  dragY: 0
1320
- }), ye = Z.useRef(!1), { mounted: xe, setMounted: Se, transitionStatus: Ce } = G(V), { openMethod: we, triggerProps: Te } = sn(V), K = N(() => new se({
1321
- id: I,
1321
+ }), ve = Z.useRef(!1), { mounted: ye, setMounted: be, transitionStatus: xe } = ue(V), { openMethod: Se, triggerProps: Te } = sn(V), G = Ze(() => new F({
1322
+ id: ae,
1322
1323
  labelId: void 0,
1323
1324
  modal: g,
1324
- multiple: x,
1325
+ multiple: S,
1325
1326
  itemToStringLabel: ee,
1326
1327
  itemToStringValue: C,
1327
1328
  isItemEqualToValue: w,
1328
- value: B,
1329
+ value: z,
1329
1330
  open: V,
1330
- mounted: xe,
1331
- transitionStatus: Ce,
1332
- items: b,
1331
+ mounted: ye,
1332
+ transitionStatus: xe,
1333
+ items: x,
1333
1334
  forceMount: !1,
1334
1335
  openMethod: null,
1335
1336
  activeIndex: null,
@@ -1343,256 +1344,256 @@ function Un(e) {
1343
1344
  scrollUpArrowVisible: !1,
1344
1345
  scrollDownArrowVisible: !1,
1345
1346
  hasScrollArrows: !1
1346
- })).current, Ee = X(K, $.activeIndex), De = X(K, $.selectedIndex), ke = X(K, $.triggerElement), q = X(K, $.positionerElement), Ae = ln(we), je = we ?? Ae ?? null, Ne = Z.useMemo(() => x ? "" : In(B, C), [
1347
- x,
1348
- B,
1347
+ })).current, Ee = J(G, $.activeIndex), K = J(G, $.selectedIndex), De = J(G, $.triggerElement), q = J(G, $.positionerElement), Oe = ln(Se), ke = Se ?? Oe ?? null, Ae = Z.useMemo(() => S ? "" : In(z, C), [
1348
+ S,
1349
+ z,
1349
1350
  C
1350
- ]), Pe = Z.useMemo(() => x && Array.isArray(B) ? B.map((e) => In(e, C)) : In(B, C), [
1351
- x,
1352
- B,
1351
+ ]), je = Z.useMemo(() => S && Array.isArray(z) ? z.map((e) => In(e, C)) : In(z, C), [
1352
+ S,
1353
+ z,
1353
1354
  C
1354
1355
  ]);
1355
- ot(ze(K.state.triggerElement), I, B, J(() => Pe), !L, u);
1356
- let Fe = Z.useRef(B), Ie = x ? Array.isArray(B) && B.length > 0 : B != null && In(B, C) !== "";
1357
- j(() => {
1358
- B !== Fe.current && K.set("forceMount", !0);
1359
- }, [K, B]), j(() => {
1360
- M(Ie);
1361
- }, [Ie, M]), j(function() {
1362
- let e = fe.current, t;
1363
- if (x) {
1364
- let n = Array.isArray(B) ? B : [];
1356
+ ot(Ce(G.state.triggerElement), ae, z, X(() => je), !L, u);
1357
+ let Me = Z.useRef(z), Ne = S ? Array.isArray(z) && z.length > 0 : z != null && In(z, C) !== "";
1358
+ Y(() => {
1359
+ z !== Me.current && G.set("forceMount", !0);
1360
+ }, [G, z]), Y(() => {
1361
+ N(Ne);
1362
+ }, [Ne, N]), Y(function() {
1363
+ let e = me.current, t;
1364
+ if (S) {
1365
+ let n = Array.isArray(z) ? z : [];
1365
1366
  if (n.length === 0) t = null;
1366
1367
  else {
1367
1368
  let r = n[n.length - 1], i = An(e, r, w);
1368
1369
  t = i === -1 ? null : i;
1369
1370
  }
1370
1371
  } else {
1371
- let n = An(e, B, w);
1372
+ let n = An(e, z, w);
1372
1373
  t = n === -1 ? null : n;
1373
1374
  }
1374
- t === null && (ge.current = null), !V && K.set("selectedIndex", t);
1375
+ t === null && (ge.current = null), !V && G.set("selectedIndex", t);
1375
1376
  }, [
1376
- Ie,
1377
- x,
1377
+ Ne,
1378
+ S,
1378
1379
  V,
1379
- B,
1380
- fe,
1380
+ z,
1381
+ me,
1381
1382
  w,
1382
- K,
1383
+ G,
1383
1384
  ge
1384
1385
  ]);
1385
- function Le(e) {
1386
- let t = te.initialValue;
1386
+ function Pe(e) {
1387
+ let t = M.initialValue;
1387
1388
  return Array.isArray(e) && Array.isArray(t) ? !zn(e, t, (e, t) => On(e, t, w)) : e !== t;
1388
1389
  }
1389
- st(B, () => {
1390
- D(z), O(Le(B)), ie.change(B);
1390
+ st(z, () => {
1391
+ D(R), O(Pe(z)), P.change(z);
1391
1392
  });
1392
- let Re = J((e, t) => {
1393
- s?.(e, t), !t.isCanceled && (H(e), !e && (t.reason === "focus-out" || t.reason === "outside-press") && (k(!0), A(!1), F === "onBlur" && ie.commit(B)));
1394
- }), Ve = J(() => {
1395
- Se(!1), K.update({
1393
+ let Fe = X((e, t) => {
1394
+ l?.(e, t), !t.isCanceled && (oe(e), !e && (t.reason === "focus-out" || t.reason === "outside-press") && (k(!0), A(!1), I === "onBlur" && P.commit(z)));
1395
+ }), Ie = X(() => {
1396
+ be(!1), G.update({
1396
1397
  activeIndex: null,
1397
1398
  openMethod: null
1398
- }), y?.(!1);
1399
+ }), b?.(!1);
1399
1400
  });
1400
- l({
1401
+ s({
1401
1402
  enabled: !_,
1402
1403
  open: V,
1403
- ref: ce,
1404
+ ref: le,
1404
1405
  onComplete() {
1405
- V || Ve();
1406
+ V || Ie();
1406
1407
  }
1407
- }), Z.useImperativeHandle(_, () => ({ unmount: Ve }), [Ve]);
1408
- let He = J((e, t) => {
1409
- i?.(e, t), !t.isCanceled && ae(e);
1410
- }), Ue = J(() => {
1411
- let e = K.state.listElement || ce.current;
1408
+ }), Z.useImperativeHandle(_, () => ({ unmount: Ie }), [Ie]);
1409
+ let Le = X((e, t) => {
1410
+ i?.(e, t), !t.isCanceled && B(e);
1411
+ }), Re = X(() => {
1412
+ let e = G.state.listElement || le.current;
1412
1413
  if (!e) return;
1413
1414
  let t = Vn(e.scrollHeight, e.clientHeight), n = Hn(e.scrollTop, t), r = n > 0, i = n < t;
1414
- K.state.scrollUpArrowVisible !== r && K.set("scrollUpArrowVisible", r), K.state.scrollDownArrowVisible !== i && K.set("scrollDownArrowVisible", i);
1415
- }), We = Oe({
1415
+ G.state.scrollUpArrowVisible !== r && G.set("scrollUpArrowVisible", r), G.state.scrollDownArrowVisible !== i && G.set("scrollDownArrowVisible", i);
1416
+ }), ze = pe({
1416
1417
  open: V,
1417
- onOpenChange: Re,
1418
+ onOpenChange: Fe,
1418
1419
  elements: {
1419
- reference: ke,
1420
+ reference: De,
1420
1421
  floating: q
1421
1422
  }
1422
- }), Ge = Pt(We, {
1423
+ }), Be = Pt(ze, {
1423
1424
  enabled: !m && !L,
1424
1425
  event: "mousedown"
1425
- }), Y = c(We), Ke = Vt(We, {
1426
+ }), Ve = o(ze), He = Vt(ze, {
1426
1427
  enabled: !m && !L,
1427
- listRef: W,
1428
+ listRef: se,
1428
1429
  activeIndex: Ee,
1429
- selectedIndex: De,
1430
- disabledIndices: he,
1430
+ selectedIndex: K,
1431
+ disabledIndices: Je,
1431
1432
  onNavigate(e) {
1432
- e === null && !V || K.set("activeIndex", e);
1433
+ e === null && !V || G.set("activeIndex", e);
1433
1434
  },
1434
- focusItemOnHover: T
1435
- }), Je = Ht(We, {
1436
- enabled: !m && !L && (V || !x),
1437
- listRef: oe,
1435
+ focusItemOnHover: E
1436
+ }), We = Ht(ze, {
1437
+ enabled: !m && !L && (V || !S),
1438
+ listRef: ce,
1438
1439
  activeIndex: Ee,
1439
- selectedIndex: De,
1440
- disabledIndices: (e) => tt(W.current[e]),
1440
+ selectedIndex: K,
1441
+ disabledIndices: (e) => tt(se.current[e]),
1441
1442
  onMatch(e) {
1442
- V ? K.set("activeIndex", e) : He(fe.current[e], S("none"));
1443
+ V ? G.set("activeIndex", e) : Le(me.current[e], v("none"));
1443
1444
  },
1444
1445
  onTyping(e) {
1445
- pe.current = e;
1446
+ W.current = e;
1446
1447
  }
1447
- }), Ye = Z.useMemo(() => {
1448
- let e = qe(Je.reference, Ke.reference, Y.reference, Ge.reference, Te);
1449
- return I && (e.id = I), e;
1448
+ }), Ge = Z.useMemo(() => {
1449
+ let e = Ue(We.reference, He.reference, Ve.reference, Be.reference, Te);
1450
+ return ae && (e.id = ae), e;
1450
1451
  }, [
1451
- Ge.reference,
1452
- Je.reference,
1453
- Ke.reference,
1454
- Y.reference,
1452
+ Be.reference,
1453
+ We.reference,
1454
+ He.reference,
1455
+ Ve.reference,
1455
1456
  Te,
1456
- I
1457
- ]), Xe = Z.useMemo(() => qe(Be, Je.floating, Ke.floating, Y.floating), [
1458
- Je.floating,
1459
- Ke.floating,
1460
- Y.floating
1461
- ]), Ze = Ke.item ?? Me;
1462
- P(() => {
1463
- K.update({
1464
- popupProps: Xe,
1465
- triggerProps: Ye
1457
+ ae
1458
+ ]), Ke = Z.useMemo(() => Ue(we, We.floating, He.floating, Ve.floating), [
1459
+ We.floating,
1460
+ He.floating,
1461
+ Ve.floating
1462
+ ]), qe = He.item ?? Ye;
1463
+ T(() => {
1464
+ G.update({
1465
+ popupProps: Ke,
1466
+ triggerProps: Ge
1466
1467
  });
1467
- }), j(() => {
1468
- K.update({
1469
- id: I,
1468
+ }), Y(() => {
1469
+ G.update({
1470
+ id: ae,
1470
1471
  modal: g,
1471
- multiple: x,
1472
- value: B,
1472
+ multiple: S,
1473
+ value: z,
1473
1474
  open: V,
1474
- mounted: xe,
1475
- transitionStatus: Ce,
1476
- popupProps: Xe,
1477
- triggerProps: Ye,
1478
- items: b,
1475
+ mounted: ye,
1476
+ transitionStatus: xe,
1477
+ popupProps: Ke,
1478
+ triggerProps: Ge,
1479
+ items: x,
1479
1480
  itemToStringLabel: ee,
1480
1481
  itemToStringValue: C,
1481
1482
  isItemEqualToValue: w,
1482
- openMethod: je
1483
+ openMethod: ke
1483
1484
  });
1484
1485
  }, [
1485
- K,
1486
- I,
1486
+ G,
1487
+ ae,
1487
1488
  g,
1488
- x,
1489
- B,
1489
+ S,
1490
+ z,
1490
1491
  V,
1492
+ ye,
1491
1493
  xe,
1492
- Ce,
1493
- Xe,
1494
- Ye,
1495
- b,
1494
+ Ke,
1495
+ Ge,
1496
+ x,
1496
1497
  ee,
1497
1498
  C,
1498
1499
  w,
1499
- je
1500
+ ke
1500
1501
  ]);
1501
1502
  let $e = Z.useMemo(() => ({
1502
- store: K,
1503
- name: z,
1503
+ store: G,
1504
+ name: R,
1504
1505
  required: h,
1505
1506
  disabled: L,
1506
1507
  readOnly: m,
1507
- multiple: x,
1508
- highlightItemOnHover: T,
1509
- setValue: He,
1510
- setOpen: Re,
1511
- listRef: W,
1512
- popupRef: ce,
1513
- scrollHandlerRef: le,
1514
- handleScrollArrowVisibility: Ue,
1515
- scrollArrowsMountedCountRef: ue,
1516
- itemProps: Ze,
1517
- valueRef: de,
1518
- valuesRef: fe,
1519
- labelsRef: oe,
1520
- typingRef: pe,
1521
- selectionRef: ve,
1522
- firstItemTextRef: me,
1508
+ multiple: S,
1509
+ highlightItemOnHover: E,
1510
+ setValue: Le,
1511
+ setOpen: Fe,
1512
+ listRef: se,
1513
+ popupRef: le,
1514
+ scrollHandlerRef: de,
1515
+ handleScrollArrowVisibility: Re,
1516
+ scrollArrowsMountedCountRef: U,
1517
+ itemProps: qe,
1518
+ valueRef: fe,
1519
+ valuesRef: me,
1520
+ labelsRef: ce,
1521
+ typingRef: W,
1522
+ selectionRef: _e,
1523
+ firstItemTextRef: he,
1523
1524
  selectedItemTextRef: ge,
1524
- validation: ie,
1525
- onOpenChangeComplete: y,
1526
- alignItemWithTriggerActiveRef: ye,
1527
- initialValueRef: Fe
1525
+ validation: P,
1526
+ onOpenChangeComplete: b,
1527
+ alignItemWithTriggerActiveRef: ve,
1528
+ initialValueRef: Me
1528
1529
  }), [
1529
- K,
1530
- z,
1530
+ G,
1531
+ R,
1531
1532
  h,
1532
1533
  L,
1533
1534
  m,
1534
- x,
1535
- T,
1536
- He,
1537
- Re,
1538
- Ze,
1539
- ie,
1540
- y,
1541
- Ue
1542
- ]), et = _e(v, ie.inputRef), nt = x && Array.isArray(B) && B.length > 0, rt = x ? void 0 : z, it = Z.useMemo(() => !x || !Array.isArray(B) || !z ? null : B.map((e) => {
1535
+ S,
1536
+ E,
1537
+ Le,
1538
+ Fe,
1539
+ qe,
1540
+ P,
1541
+ b,
1542
+ Re
1543
+ ]), et = Xe(y, P.inputRef), nt = S && Array.isArray(z) && z.length > 0, rt = S ? void 0 : R, it = Z.useMemo(() => !S || !Array.isArray(z) || !R ? null : z.map((e) => {
1543
1544
  let t = In(e, C);
1544
1545
  return /*#__PURE__*/ (0, Q.jsx)("input", {
1545
1546
  type: "hidden",
1546
1547
  form: d,
1547
- name: z,
1548
+ name: R,
1548
1549
  value: t,
1549
1550
  disabled: L
1550
1551
  }, t);
1551
1552
  }), [
1552
- x,
1553
- B,
1554
- d,
1553
+ S,
1555
1554
  z,
1555
+ d,
1556
+ R,
1556
1557
  C,
1557
1558
  L
1558
1559
  ]);
1559
1560
  return /*#__PURE__*/ (0, Q.jsx)(Sn.Provider, {
1560
1561
  value: $e,
1561
1562
  children: /*#__PURE__*/ (0, Q.jsxs)(Cn.Provider, {
1562
- value: We,
1563
+ value: ze,
1563
1564
  children: [
1564
- E,
1565
+ te,
1565
1566
  /*#__PURE__*/ (0, Q.jsx)("input", {
1566
- ...ie.getValidationProps(L, {
1567
+ ...P.getValidationProps(L, {
1567
1568
  onFocus() {
1568
- K.state.triggerElement?.focus({ focusVisible: !0 });
1569
+ G.state.triggerElement?.focus({ focusVisible: !0 });
1569
1570
  },
1570
1571
  onChange(e) {
1571
1572
  if (e.nativeEvent.defaultPrevented || L || m) return;
1572
- let t = e.currentTarget.value, n = S(R, e.nativeEvent);
1573
+ let t = e.currentTarget.value, n = v(j, e.nativeEvent);
1573
1574
  function r() {
1574
- if (x) return;
1575
- let e = t.toLowerCase(), r = fe.current.findIndex((t) => In(t, C).toLowerCase() === e || Fn(t, ee).toLowerCase() === e);
1576
- r === -1 && (r = fe.current.findIndex((t, n) => {
1577
- let r = oe.current[n];
1575
+ if (S) return;
1576
+ let e = t.toLowerCase(), r = me.current.findIndex((t) => In(t, C).toLowerCase() === e || Fn(t, ee).toLowerCase() === e);
1577
+ r === -1 && (r = me.current.findIndex((t, n) => {
1578
+ let r = ce.current[n];
1578
1579
  return r != null && r.toLowerCase() === e;
1579
1580
  }));
1580
- let i = r === -1 ? void 0 : fe.current[r];
1581
- i != null && He(i, n);
1581
+ let i = r === -1 ? void 0 : me.current[r];
1582
+ i != null && Le(i, n);
1582
1583
  }
1583
- K.set("forceMount", !0), queueMicrotask(r);
1584
+ G.set("forceMount", !0), queueMicrotask(r);
1584
1585
  }
1585
1586
  }),
1586
- id: I && rt == null ? `${I}-hidden-input` : void 0,
1587
+ id: ae && rt == null ? `${ae}-hidden-input` : void 0,
1587
1588
  form: d,
1588
1589
  name: rt,
1589
1590
  autoComplete: f,
1590
- value: Ne,
1591
+ value: Ae,
1591
1592
  disabled: L,
1592
1593
  required: h && !nt,
1593
1594
  readOnly: m,
1594
1595
  ref: et,
1595
- style: z ? U : be,
1596
+ style: R ? ie : H,
1596
1597
  tabIndex: -1,
1597
1598
  "aria-hidden": !0,
1598
1599
  suppressHydrationWarning: !0
@@ -1610,21 +1611,21 @@ function Wn(e, t) {
1610
1611
  //#endregion
1611
1612
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/select/trigger/SelectTrigger.mjs
1612
1613
  var Gn = 2, Kn = 400, qn = {
1613
- ...xe,
1614
+ ...se,
1614
1615
  ...at,
1615
1616
  popupSide: (e) => e ? { "data-popup-side": e } : null,
1616
1617
  value: () => null
1617
1618
  }, Jn = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1618
- let { render: n, className: r, id: i, disabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { setTouched: l, setFocused: u, validationMode: d, state: f, disabled: p } = ct(), { labelId: m } = lt(), { store: h, setOpen: g, selectionRef: _, validation: v, readOnly: y, required: b, alignItemWithTriggerActiveRef: x, disabled: ee } = wn(), C = p || ee || a, w = X(h, $.open), T = X(h, $.mounted), E = X(h, $.value), D = X(h, $.triggerProps), O = X(h, $.positionerElement), k = X(h, $.listElement), A = X(h, $.popupSide), te = X(h, $.id), j = X(h, $.labelId), N = X(h, $.hasSelectedValue), P = T && O ? A : null, ne = i ?? te, re = Wn(m, j);
1619
- En({ id: ne });
1620
- let ie = ze(O), F = Z.useRef(null), { getButtonProps: I, buttonRef: L } = H({
1619
+ let { render: n, className: r, id: i, disabled: a = !1, nativeButton: o = !0, style: s, ...c } = e, { setTouched: l, setFocused: u, validationMode: d, state: f, disabled: p } = ct(), { labelId: m } = lt(), { store: h, setOpen: g, selectionRef: _, validation: y, readOnly: b, required: x, alignItemWithTriggerActiveRef: S, disabled: ee } = wn(), C = p || ee || a, T = J(h, $.open), E = J(h, $.mounted), te = J(h, $.value), D = J(h, $.triggerProps), O = J(h, $.positionerElement), k = J(h, $.listElement), A = J(h, $.popupSide), M = J(h, $.id), N = J(h, $.labelId), ne = J(h, $.hasSelectedValue), re = E && O ? A : null, ie = i ?? M, P = Wn(m, N);
1620
+ En({ id: ie });
1621
+ let F = Ce(O), I = Z.useRef(null), { getButtonProps: ae, buttonRef: L } = He({
1621
1622
  disabled: C,
1622
1623
  native: o
1623
- }), z = J((e) => {
1624
+ }), R = X((e) => {
1624
1625
  h.set("triggerElement", e);
1625
- }), B = M(), ae = M(), V = M();
1626
+ }), z = w(), B = w(), V = w();
1626
1627
  Z.useEffect(() => {
1627
- if (w) return V.start(Kn, () => {
1628
+ if (T) return V.start(Kn, () => {
1628
1629
  _.current.allowUnselectedMouseUp = !0, _.current.allowSelectedMouseUp = !0;
1629
1630
  }), () => {
1630
1631
  V.clear();
@@ -1633,77 +1634,77 @@ var Gn = 2, Kn = 400, qn = {
1633
1634
  allowSelectedMouseUp: !1,
1634
1635
  allowUnselectedMouseUp: !1,
1635
1636
  dragY: 0
1636
- }, ae.clear();
1637
+ }, B.clear();
1637
1638
  }, [
1638
- w,
1639
+ T,
1639
1640
  _,
1640
- ae,
1641
+ B,
1641
1642
  V
1642
1643
  ]);
1643
- let U = qe(D, {
1644
- id: ne,
1644
+ let oe = Ue(D, {
1645
+ id: ie,
1645
1646
  role: "combobox",
1646
- "aria-expanded": w ? "true" : "false",
1647
+ "aria-expanded": T ? "true" : "false",
1647
1648
  "aria-haspopup": "listbox",
1648
- "aria-controls": w ? k?.id ?? Ue(O)?.id : void 0,
1649
- "aria-labelledby": re,
1650
- "aria-readonly": y || void 0,
1651
- "aria-required": b || void 0,
1649
+ "aria-controls": T ? k?.id ?? Ee(O)?.id : void 0,
1650
+ "aria-labelledby": P,
1651
+ "aria-readonly": b || void 0,
1652
+ "aria-required": x || void 0,
1652
1653
  tabIndex: C ? -1 : 0,
1653
1654
  onFocus(e) {
1654
- u(!0), w && x.current && g(!1, S(R, e.nativeEvent)), B.start(0, () => {
1655
+ u(!0), T && S.current && g(!1, v(j, e.nativeEvent)), z.start(0, () => {
1655
1656
  h.set("forceMount", !0);
1656
1657
  });
1657
1658
  },
1658
1659
  onBlur(e) {
1659
- K(O, e.relatedTarget) || (l(!0), u(!1), d === "onBlur" && v.commit(E));
1660
+ U(O, e.relatedTarget) || (l(!0), u(!1), d === "onBlur" && y.commit(te));
1660
1661
  },
1661
1662
  onMouseDown(e) {
1662
- if (w) return;
1663
- let t = q(e.currentTarget);
1663
+ if (T) return;
1664
+ let t = W(e.currentTarget);
1664
1665
  function n(e) {
1665
- if (!F.current) return;
1666
+ if (!I.current) return;
1666
1667
  let t = e.target;
1667
- if (K(F.current, t) || K(ie.current, t)) return;
1668
- let n = cn(F.current);
1669
- e.clientX >= n.left - Gn && e.clientX <= n.right + Gn && e.clientY >= n.top - Gn && e.clientY <= n.bottom + Gn || g(!1, S(Ye, e));
1668
+ if (U(I.current, t) || U(F.current, t)) return;
1669
+ let n = cn(I.current);
1670
+ e.clientX >= n.left - Gn && e.clientX <= n.right + Gn && e.clientY >= n.top - Gn && e.clientY <= n.bottom + Gn || g(!1, v(Ae, e));
1670
1671
  }
1671
- ae.start(0, () => {
1672
+ B.start(0, () => {
1672
1673
  t.addEventListener("mouseup", n, { once: !0 });
1673
1674
  });
1674
1675
  }
1675
- }, c, I), W = v.getValidationProps(C, U);
1676
- W.role = "combobox";
1677
- let oe = {
1676
+ }, c, ae), H = y.getValidationProps(C, oe);
1677
+ H.role = "combobox";
1678
+ let se = {
1678
1679
  ...f,
1679
- open: w,
1680
+ open: T,
1680
1681
  disabled: C,
1681
- value: E,
1682
- readOnly: y,
1683
- popupSide: P,
1684
- placeholder: !N
1682
+ value: te,
1683
+ readOnly: b,
1684
+ popupSide: re,
1685
+ placeholder: !ne
1685
1686
  };
1686
- return ue("button", e, {
1687
+ return Be("button", e, {
1687
1688
  ref: [
1688
1689
  t,
1689
- F,
1690
+ I,
1690
1691
  L,
1691
- z
1692
+ R
1692
1693
  ],
1693
- state: oe,
1694
+ state: se,
1694
1695
  stateAttributesMapping: qn,
1695
- props: W
1696
+ props: H
1696
1697
  });
1697
1698
  });
1698
1699
  process.env.NODE_ENV !== "production" && (Jn.displayName = "SelectTrigger");
1699
1700
  //#endregion
1700
1701
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/select/value/SelectValue.mjs
1701
1702
  var Yn = { value: () => null }, Xn = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1702
- let { className: n, render: r, children: i, placeholder: a, style: o, ...s } = e, { store: c, valueRef: l } = wn(), u = X(c, $.value), d = X(c, $.items), f = X(c, $.itemToStringLabel), p = X(c, $.hasSelectedValue), m = !p && a != null && i == null, h = X(c, $.hasNullItemLabel, m), g = {
1703
+ let { className: n, render: r, children: i, placeholder: a, style: o, ...s } = e, { store: c, valueRef: l } = wn(), u = J(c, $.value), d = J(c, $.items), f = J(c, $.itemToStringLabel), p = J(c, $.hasSelectedValue), m = !p && a != null && i == null, h = J(c, $.hasNullItemLabel, m), g = {
1703
1704
  value: u,
1704
1705
  placeholder: !p
1705
1706
  }, _ = null;
1706
- return _ = typeof i == "function" ? i(u) : i ?? (!p && a != null && !h ? a : Array.isArray(u) ? Rn(u, d, f) : Ln(u, d, f)), ue("span", e, {
1707
+ return _ = typeof i == "function" ? i(u) : i ?? (!p && a != null && !h ? a : Array.isArray(u) ? Rn(u, d, f) : Ln(u, d, f)), Be("span", e, {
1707
1708
  state: g,
1708
1709
  ref: [t, l],
1709
1710
  props: [{ children: _ }, s],
@@ -1718,10 +1719,10 @@ process.env.NODE_ENV !== "production" && (Zn.displayName = "SelectPortalContext"
1718
1719
  //#endregion
1719
1720
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/select/portal/SelectPortal.mjs
1720
1721
  var Qn = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1721
- let { store: n } = wn(), r = X(n, $.mounted), i = X(n, $.forceMount);
1722
+ let { store: n } = wn(), r = J(n, $.mounted), i = J(n, $.forceMount);
1722
1723
  return r || i ? /*#__PURE__*/ (0, Q.jsx)(Zn.Provider, {
1723
1724
  value: !0,
1724
- children: /*#__PURE__*/ (0, Q.jsx)(O, {
1725
+ children: /*#__PURE__*/ (0, Q.jsx)(S, {
1725
1726
  ref: t,
1726
1727
  ...e
1727
1728
  })
@@ -1734,7 +1735,7 @@ var $n = /*#__PURE__*/ Z.createContext(void 0);
1734
1735
  process.env.NODE_ENV !== "production" && ($n.displayName = "SelectPositionerContext");
1735
1736
  function er() {
1736
1737
  let e = Z.useContext($n);
1737
- if (!e) throw Error(process.env.NODE_ENV === "production" ? oe(59) : "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.");
1738
+ if (!e) throw Error(process.env.NODE_ENV === "production" ? qe(59) : "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.");
1738
1739
  return e;
1739
1740
  }
1740
1741
  //#endregion
@@ -1748,13 +1749,13 @@ var nr = {
1748
1749
  overflowX: "hidden",
1749
1750
  overflowY: "auto"
1750
1751
  }, rr = { position: "fixed" }, ir = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1751
- let { anchor: n, positionMethod: r = "absolute", className: i, render: a, side: o = "bottom", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m, alignItemWithTrigger: h = !0, collisionAvoidance: _ = x, style: v, ...y } = e, { store: b, listRef: ee, labelsRef: C, alignItemWithTriggerActiveRef: w, selectedItemTextRef: T, valuesRef: E, initialValueRef: D, popupRef: O, setValue: k } = wn(), A = Tn(), te = X(b, $.open), M = X(b, $.mounted), N = X(b, $.modal), P = X(b, $.value), ne = X(b, $.openMethod), re = X(b, $.positionerElement), ie = X(b, $.triggerElement), F = X(b, $.isItemEqualToValue), I = X(b, $.transitionStatus), L = Z.useRef(null), z = Z.useRef(null), [B, ae] = Z.useState(h), V = M && B && ne !== "touch";
1752
- !M && B !== h && ae(h), j(() => {
1753
- M || ($.scrollUpArrowVisible(b.state) && b.set("scrollUpArrowVisible", !1), $.scrollDownArrowVisible(b.state) && b.set("scrollDownArrowVisible", !1));
1754
- }, [b, M]), Z.useImperativeHandle(w, () => V), rn((V || N) && te, ne === "touch", re, ie);
1755
- let H = g({
1752
+ let { anchor: n, positionMethod: r = "absolute", className: i, render: a, side: o = "bottom", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d, arrowPadding: f = 5, sticky: m = !1, disableAnchorTracking: h, alignItemWithTrigger: g = !0, collisionAvoidance: y = _, style: b, ...x } = e, { store: S, listRef: ee, labelsRef: C, alignItemWithTriggerActiveRef: w, selectedItemTextRef: T, valuesRef: E, initialValueRef: te, popupRef: D, setValue: O } = wn(), k = Tn(), A = J(S, $.open), M = J(S, $.mounted), N = J(S, $.modal), ne = J(S, $.value), re = J(S, $.openMethod), ie = J(S, $.positionerElement), P = J(S, $.triggerElement), F = J(S, $.isItemEqualToValue), I = J(S, $.transitionStatus), ae = Z.useRef(null), L = Z.useRef(null), [R, z] = Z.useState(g), B = M && R && re !== "touch";
1753
+ !M && R !== g && z(g), Y(() => {
1754
+ M || ($.scrollUpArrowVisible(S.state) && S.set("scrollUpArrowVisible", !1), $.scrollDownArrowVisible(S.state) && S.set("scrollDownArrowVisible", !1));
1755
+ }, [S, M]), Z.useImperativeHandle(w, () => B), rn((B || N) && A, re === "touch", ie, P);
1756
+ let V = p({
1756
1757
  anchor: n,
1757
- floatingRootContext: A,
1758
+ floatingRootContext: k,
1758
1759
  positionMethod: r,
1759
1760
  mounted: M,
1760
1761
  side: o,
@@ -1764,72 +1765,72 @@ var nr = {
1764
1765
  arrowPadding: f,
1765
1766
  collisionBoundary: u,
1766
1767
  collisionPadding: d,
1767
- sticky: p,
1768
- disableAnchorTracking: m ?? V,
1769
- collisionAvoidance: _,
1768
+ sticky: m,
1769
+ disableAnchorTracking: h ?? B,
1770
+ collisionAvoidance: y,
1770
1771
  keepMounted: !0
1771
- }), U = V ? "none" : H.side, W = V ? rr : H.positionerStyles, oe = {
1772
- open: te,
1773
- side: U,
1774
- align: H.align,
1775
- anchorHidden: H.anchorHidden
1772
+ }), oe = B ? "none" : V.side, H = B ? rr : V.positionerStyles, se = {
1773
+ open: A,
1774
+ side: oe,
1775
+ align: V.align,
1776
+ anchorHidden: V.anchorHidden
1776
1777
  };
1777
- j(() => {
1778
- b.set("popupSide", H.side);
1779
- }, [b, H.side]);
1780
- let se = Ne(e, oe, {
1781
- styles: W,
1778
+ Y(() => {
1779
+ S.set("popupSide", V.side);
1780
+ }, [S, V.side]);
1781
+ let ce = _e(e, se, {
1782
+ styles: H,
1782
1783
  transitionStatus: I,
1783
- props: y,
1784
- refs: [t, J((e) => {
1785
- b.set("positionerElement", e);
1784
+ props: x,
1785
+ refs: [t, X((e) => {
1786
+ S.set("positionerElement", e);
1786
1787
  })],
1787
1788
  hidden: !M,
1788
- inert: !te
1789
- }), ce = Z.useRef(0), le = J((e) => {
1790
- if (e.size === 0 && ce.current === 0 || E.current.length === 0) return;
1791
- let t = ce.current;
1792
- if (ce.current = e.size, e.size === t) return;
1793
- let n = S(R);
1794
- if (t !== 0 && !b.state.multiple && P !== null && An(E.current, P, F) === -1) {
1795
- let e = D.current, t = e != null && An(E.current, e, F) !== -1 ? e : null;
1796
- k(t, n), t === null && (b.set("selectedIndex", null), T.current = null);
1789
+ inert: !A
1790
+ }), le = Z.useRef(0), ue = X((e) => {
1791
+ if (e.size === 0 && le.current === 0 || E.current.length === 0) return;
1792
+ let t = le.current;
1793
+ if (le.current = e.size, e.size === t) return;
1794
+ let n = v(j);
1795
+ if (t !== 0 && !S.state.multiple && ne !== null && An(E.current, ne, F) === -1) {
1796
+ let e = te.current, t = e != null && An(E.current, e, F) !== -1 ? e : null;
1797
+ O(t, n), t === null && (S.set("selectedIndex", null), T.current = null);
1797
1798
  }
1798
- if (t !== 0 && b.state.multiple && Array.isArray(P)) {
1799
- let e = (e) => An(E.current, e, F) !== -1, t = P.filter((t) => e(t));
1800
- (t.length !== P.length || t.some((e) => !kn(P, e, F))) && (k(t, n), t.length === 0 && (b.set("selectedIndex", null), T.current = null));
1799
+ if (t !== 0 && S.state.multiple && Array.isArray(ne)) {
1800
+ let e = (e) => An(E.current, e, F) !== -1, t = ne.filter((t) => e(t));
1801
+ (t.length !== ne.length || t.some((e) => !kn(ne, e, F))) && (O(t, n), t.length === 0 && (S.set("selectedIndex", null), T.current = null));
1801
1802
  }
1802
- if (te && V) {
1803
- b.update({
1803
+ if (A && B) {
1804
+ S.update({
1804
1805
  scrollUpArrowVisible: !1,
1805
1806
  scrollDownArrowVisible: !1
1806
1807
  });
1807
1808
  let e = { height: "" };
1808
- tr(re, e), tr(O.current, e);
1809
+ tr(ie, e), tr(D.current, e);
1809
1810
  }
1810
- }), ue = Z.useMemo(() => ({
1811
- ...H,
1812
- side: U,
1813
- alignItemWithTriggerActive: V,
1814
- setControlledAlignItemWithTrigger: ae,
1815
- scrollUpArrowRef: L,
1816
- scrollDownArrowRef: z
1811
+ }), de = Z.useMemo(() => ({
1812
+ ...V,
1813
+ side: oe,
1814
+ alignItemWithTriggerActive: B,
1815
+ setControlledAlignItemWithTrigger: z,
1816
+ scrollUpArrowRef: ae,
1817
+ scrollDownArrowRef: L
1817
1818
  }), [
1818
- H,
1819
- U,
1820
1819
  V,
1821
- ae
1820
+ oe,
1821
+ B,
1822
+ z
1822
1823
  ]);
1823
1824
  return /*#__PURE__*/ (0, Q.jsx)(nt, {
1824
1825
  elementsRef: ee,
1825
1826
  labelsRef: C,
1826
- onMapChange: le,
1827
+ onMapChange: ue,
1827
1828
  children: /*#__PURE__*/ (0, Q.jsxs)($n.Provider, {
1828
- value: ue,
1829
+ value: de,
1829
1830
  children: [M && N && /*#__PURE__*/ (0, Q.jsx)(Kt, {
1830
- inert: Gt(!te),
1831
- cutout: ie
1832
- }), se]
1831
+ inert: Gt(!A),
1832
+ cutout: P
1833
+ }), ce]
1833
1834
  })
1834
1835
  });
1835
1836
  });
@@ -1859,25 +1860,25 @@ function lr() {
1859
1860
  //#endregion
1860
1861
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/select/popup/SelectPopup.mjs
1861
1862
  var ur = {
1862
- ...Le,
1863
- ...Ae
1863
+ ...xe,
1864
+ ...he
1864
1865
  }, dr = /*#__PURE__*/ Z.forwardRef(function(e, t) {
1865
- let { render: n, className: r, style: i, finalFocus: a, ...o } = e, { store: s, popupRef: c, onOpenChangeComplete: u, setOpen: d, valueRef: f, firstItemTextRef: p, selectedItemTextRef: m, multiple: g, handleScrollArrowVisibility: _, scrollHandlerRef: v, listRef: y, highlightItemOnHover: b } = wn(), { side: x, align: ee, alignItemWithTriggerActive: C, isPositioned: w, setControlledAlignItemWithTrigger: T } = er(), E = Wt(!0) != null, O = Tn(), k = I(), { nonce: A, disableStyleElements: te } = lr(), M = X(s, $.id), N = X(s, $.open), P = X(s, $.openMethod), ne = X(s, $.mounted), re = X(s, $.popupProps), ie = X(s, $.transitionStatus), F = X(s, $.triggerElement), L = X(s, $.positionerElement), R = X(s, $.listElement), z = Z.useRef(!1), ae = Z.useRef(!1), V = Z.useRef({}), H = Se(), U = J((e) => {
1866
- if (!L || !c.current || !ae.current) return;
1867
- if (z.current || !C) {
1866
+ let { render: n, className: r, style: i, finalFocus: a, ...o } = e, { store: c, popupRef: l, onOpenChangeComplete: u, setOpen: d, valueRef: p, firstItemTextRef: m, selectedItemTextRef: h, multiple: g, handleScrollArrowVisibility: _, scrollHandlerRef: y, listRef: b, highlightItemOnHover: x } = wn(), { side: S, align: ee, alignItemWithTriggerActive: C, isPositioned: w, setControlledAlignItemWithTrigger: T } = er(), E = Wt(!0) != null, te = Tn(), D = k(), { nonce: O, disableStyleElements: A } = lr(), j = J(c, $.id), M = J(c, $.open), ne = J(c, $.openMethod), re = J(c, $.mounted), ie = J(c, $.popupProps), P = J(c, $.transitionStatus), F = J(c, $.triggerElement), I = J(c, $.positionerElement), ae = J(c, $.listElement), L = Z.useRef(!1), R = Z.useRef(!1), z = Z.useRef({}), B = ce(), V = X((e) => {
1867
+ if (!I || !l.current || !R.current) return;
1868
+ if (L.current || !C) {
1868
1869
  _();
1869
1870
  return;
1870
1871
  }
1871
- let t = L.style.top === "0px", n = L.style.bottom === "0px";
1872
+ let t = I.style.top === "0px", n = I.style.bottom === "0px";
1872
1873
  if (!t && !n) {
1873
1874
  _();
1874
1875
  return;
1875
1876
  }
1876
- let r = mr(L), i = hr(L.getBoundingClientRect().height, "y", r), a = q(L), o = D(L), s = o.getComputedStyle(L), l = parseFloat(s.marginTop), u = parseFloat(s.marginBottom), d = fr(o.getComputedStyle(c.current)), f = Math.min(a.documentElement.clientHeight - l - u, d), p = e.scrollTop, m = pr(e), h = 0, g = null, v = !1, y = !1, b = (e) => {
1877
- L.style.height = `${e}px`;
1877
+ let r = mr(I), i = hr(I.getBoundingClientRect().height, "y", r), a = W(I), o = Ge(I), s = o.getComputedStyle(I), c = parseFloat(s.marginTop), u = parseFloat(s.marginBottom), d = fr(o.getComputedStyle(l.current)), f = Math.min(a.documentElement.clientHeight - c - u, d), p = e.scrollTop, m = pr(e), h = 0, g = null, v = !1, y = !1, b = (e) => {
1878
+ I.style.height = `${e}px`;
1878
1879
  }, x = (t, n) => {
1879
1880
  let r = Bn(t, 0, f - i);
1880
- r > 0 && b(i + r), e.scrollTop = n, f - (i + r) <= 1 && (z.current = !0), _();
1881
+ r > 0 && b(i + r), e.scrollTop = n, f - (i + r) <= 1 && (L.current = !0), _();
1881
1882
  }, S = t ? m - p : p, ee = Math.min(i + S, f);
1882
1883
  if (h = ee, S <= 1) {
1883
1884
  x(S, t ? m : 0);
@@ -1887,145 +1888,145 @@ var ur = {
1887
1888
  let t = pr(e), n = y ? t : Bn(g, 0, t);
1888
1889
  Math.abs(e.scrollTop - n) > 1 && (e.scrollTop = n);
1889
1890
  }
1890
- (v || h >= f - 1) && (z.current = !0), _();
1891
+ (v || h >= f - 1) && (L.current = !0), _();
1891
1892
  });
1892
- Z.useImperativeHandle(v, () => U, [U]), l({
1893
- open: N,
1894
- ref: c,
1893
+ Z.useImperativeHandle(y, () => V, [V]), s({
1894
+ open: M,
1895
+ ref: l,
1895
1896
  onComplete() {
1896
- N && u?.(!0);
1897
+ M && u?.(!0);
1897
1898
  }
1898
1899
  });
1899
- let W = {
1900
- open: N,
1901
- transitionStatus: ie,
1902
- side: x,
1900
+ let oe = {
1901
+ open: M,
1902
+ transitionStatus: P,
1903
+ side: S,
1903
1904
  align: ee
1904
1905
  };
1905
- j(() => {
1906
- !L || !c.current || Object.keys(V.current).length || (V.current = {
1907
- top: L.style.top || "0",
1908
- left: L.style.left || "0",
1909
- right: L.style.right,
1910
- height: L.style.height,
1911
- bottom: L.style.bottom,
1912
- minHeight: L.style.minHeight,
1913
- maxHeight: L.style.maxHeight,
1914
- marginTop: L.style.marginTop,
1915
- marginBottom: L.style.marginBottom
1906
+ Y(() => {
1907
+ !I || !l.current || Object.keys(z.current).length || (z.current = {
1908
+ top: I.style.top || "0",
1909
+ left: I.style.left || "0",
1910
+ right: I.style.right,
1911
+ height: I.style.height,
1912
+ bottom: I.style.bottom,
1913
+ minHeight: I.style.minHeight,
1914
+ maxHeight: I.style.maxHeight,
1915
+ marginTop: I.style.marginTop,
1916
+ marginBottom: I.style.marginBottom
1916
1917
  });
1917
- }, [c, L]), j(() => {
1918
- N || C || (ae.current = !1, z.current = !1, tr(L, V.current));
1918
+ }, [l, I]), Y(() => {
1919
+ M || C || (R.current = !1, L.current = !1, tr(I, z.current));
1919
1920
  }, [
1920
- N,
1921
+ M,
1921
1922
  C,
1922
- L,
1923
- c
1924
- ]), j(() => {
1925
- let e = c.current;
1926
- if (!N || !F || !L || !e || C && !w || s.state.transitionStatus === "ending") return;
1923
+ I,
1924
+ l
1925
+ ]), Y(() => {
1926
+ let e = l.current;
1927
+ if (!M || !F || !I || !e || C && !w || c.state.transitionStatus === "ending") return;
1927
1928
  if (!C) {
1928
- ae.current = !0, H.request(_), e.style.removeProperty("--transform-origin");
1929
+ R.current = !0, B.request(_), e.style.removeProperty("--transform-origin");
1929
1930
  return;
1930
1931
  }
1931
1932
  let t = vr(e);
1932
1933
  e.style.removeProperty("--transform-origin");
1933
1934
  try {
1934
- let t = m.current;
1935
- t?.isConnected || (t = !$.hasSelectedValue(s.state) && p.current?.isConnected ? p.current : null);
1936
- let n = f.current, r = D(L), i = r.getComputedStyle(L), a = r.getComputedStyle(e), o = q(F), c = mr(F), l = gr(F.getBoundingClientRect(), c), u = gr(L.getBoundingClientRect(), c), d = l.height, g = R || e, v = g.scrollHeight, x = parseFloat(a.borderBottomWidth), S = parseFloat(i.marginTop) || 10, ee = parseFloat(i.marginBottom) || 10, C = parseFloat(i.minHeight) || 100, w = fr(a), E = o.documentElement.clientHeight - S - ee, O = o.documentElement.clientWidth, A = E - l.bottom + d, te, j = k === "rtl" ? l.right - u.width : l.left, M = 0;
1935
+ let t = h.current;
1936
+ t?.isConnected || (t = !$.hasSelectedValue(c.state) && m.current?.isConnected ? m.current : null);
1937
+ let n = p.current, r = Ge(I), i = r.getComputedStyle(I), a = r.getComputedStyle(e), o = W(F), s = mr(F), l = gr(F.getBoundingClientRect(), s), u = gr(I.getBoundingClientRect(), s), d = l.height, g = ae || e, v = g.scrollHeight, y = parseFloat(a.borderBottomWidth), S = parseFloat(i.marginTop) || 10, ee = parseFloat(i.marginBottom) || 10, C = parseFloat(i.minHeight) || 100, w = fr(a), E = o.documentElement.clientHeight - S - ee, te = o.documentElement.clientWidth, O = E - l.bottom + d, k, A = D === "rtl" ? l.right - u.width : l.left, j = 0;
1937
1938
  if (t && n) {
1938
- let e = gr(n.getBoundingClientRect(), c);
1939
- te = gr(t.getBoundingClientRect(), c), j = u.left + (k === "rtl" ? e.right - te.right : e.left - te.left);
1939
+ let e = gr(n.getBoundingClientRect(), s);
1940
+ k = gr(t.getBoundingClientRect(), s), A = u.left + (D === "rtl" ? e.right - k.right : e.left - k.left);
1940
1941
  let r = e.top - l.top + e.height / 2;
1941
- M = te.top - u.top + te.height / 2 - r;
1942
+ j = k.top - u.top + k.height / 2 - r;
1942
1943
  }
1943
- let N = A + M + ee + x, P = Math.min(E, N), ne = E - S - ee, re = N - P, ie = O - 5;
1944
- L.style.left = `${Bn(j, 5, ie - u.width)}px`, L.style.height = `${P}px`, L.style.maxHeight = "none", L.style.marginTop = `${S}px`, L.style.marginBottom = `${ee}px`, e.style.height = "100%";
1945
- let I = pr(g), B = re >= I - 1;
1946
- B && (P = Math.min(E, u.height) - (re - I));
1947
- let H = l.top < 20 || l.bottom > E - 20 || Math.ceil(P) + 1 < Math.min(v, C), U = (r.visualViewport?.scale ?? 1) !== 1 && h;
1948
- if (H || U) {
1949
- ae.current = !0, tr(L, V.current), T(!1);
1944
+ let M = O + j + ee + y, N = Math.min(E, M), ne = E - S - ee, re = M - N, ie = te - 5;
1945
+ I.style.left = `${Bn(A, 5, ie - u.width)}px`, I.style.height = `${N}px`, I.style.maxHeight = "none", I.style.marginTop = `${S}px`, I.style.marginBottom = `${ee}px`, e.style.height = "100%";
1946
+ let P = pr(g), B = re >= P - 1;
1947
+ B && (N = Math.min(E, u.height) - (re - P));
1948
+ let V = l.top < 20 || l.bottom > E - 20 || Math.ceil(N) + 1 < Math.min(v, C), oe = (r.visualViewport?.scale ?? 1) !== 1 && f;
1949
+ if (V || oe) {
1950
+ R.current = !0, tr(I, z.current), T(!1);
1950
1951
  return;
1951
1952
  }
1952
- let W = Math.max(C, P);
1953
+ let H = Math.max(C, N);
1953
1954
  if (B) {
1954
- let e = Math.max(0, E - N);
1955
- L.style.top = u.height >= ne ? "0" : `${e}px`, L.style.height = `${P}px`, g.scrollTop = pr(g);
1956
- } else L.style.bottom = "0", g.scrollTop = re;
1957
- if (te) {
1958
- let t = u.top, n = u.height, r = te.top + te.height / 2, i = Bn(n > 0 ? (r - t) / n * 100 : 50, 0, 100);
1955
+ let e = Math.max(0, E - M);
1956
+ I.style.top = u.height >= ne ? "0" : `${e}px`, I.style.height = `${N}px`, g.scrollTop = pr(g);
1957
+ } else I.style.bottom = "0", g.scrollTop = re;
1958
+ if (k) {
1959
+ let t = u.top, n = u.height, r = k.top + k.height / 2, i = Bn(n > 0 ? (r - t) / n * 100 : 50, 0, 100);
1959
1960
  e.style.setProperty("--transform-origin", `50% ${i}%`);
1960
1961
  }
1961
- (W === E || P >= w) && (z.current = !0), _(), b && s.state.selectedIndex === null && s.state.activeIndex === null && y.current[0] != null && s.set("activeIndex", 0), ae.current = !0;
1962
+ (H === E || N >= w) && (L.current = !0), _(), x && c.state.selectedIndex === null && c.state.activeIndex === null && b.current[0] != null && c.set("activeIndex", 0), R.current = !0;
1962
1963
  } finally {
1963
1964
  t();
1964
1965
  }
1965
1966
  }, [
1966
- s,
1967
- N,
1968
- L,
1967
+ c,
1968
+ M,
1969
+ I,
1969
1970
  F,
1970
- f,
1971
1971
  p,
1972
1972
  m,
1973
- c,
1973
+ h,
1974
+ l,
1974
1975
  _,
1975
1976
  C,
1976
1977
  T,
1977
- H,
1978
- R,
1979
- y,
1978
+ B,
1979
+ ae,
1980
1980
  b,
1981
- k,
1981
+ x,
1982
+ D,
1982
1983
  w
1983
1984
  ]), Z.useEffect(() => {
1984
- if (!C || !L || !N) return;
1985
- let e = D(L);
1985
+ if (!C || !I || !M) return;
1986
+ let e = Ge(I);
1986
1987
  function t(e) {
1987
- d(!1, S(He, e));
1988
+ d(!1, v(G, e));
1988
1989
  }
1989
- return Te(e, "resize", t);
1990
+ return de(e, "resize", t);
1990
1991
  }, [
1991
1992
  d,
1992
1993
  C,
1993
- L,
1994
- N
1994
+ I,
1995
+ M
1995
1996
  ]);
1996
- let oe = {
1997
- ...R ? {
1997
+ let H = {
1998
+ ...ae ? {
1998
1999
  role: "presentation",
1999
2000
  "aria-orientation": void 0
2000
2001
  } : {
2001
2002
  role: "listbox",
2002
2003
  "aria-multiselectable": g || void 0,
2003
- id: `${M}-list`
2004
+ id: `${j}-list`
2004
2005
  },
2005
2006
  onKeyDown(e) {
2006
2007
  E && et.has(e.key) && e.stopPropagation();
2007
2008
  },
2008
2009
  onScroll(e) {
2009
- R || U(e.currentTarget);
2010
+ ae || V(e.currentTarget);
2010
2011
  },
2011
- ...C && { style: R ? { height: "100%" } : nr }
2012
- }, se = ue("div", e, {
2013
- ref: [t, c],
2014
- state: W,
2012
+ ...C && { style: ae ? { height: "100%" } : nr }
2013
+ }, se = Be("div", e, {
2014
+ ref: [t, l],
2015
+ state: oe,
2015
2016
  stateAttributesMapping: ur,
2016
2017
  props: [
2017
- re,
2018
- oe,
2019
- B(ie),
2020
- { className: !R && C ? or.className : void 0 },
2018
+ ie,
2019
+ H,
2020
+ N(P),
2021
+ { className: !ae && C ? or.className : void 0 },
2021
2022
  o
2022
2023
  ]
2023
2024
  });
2024
- return /*#__PURE__*/ (0, Q.jsxs)(Z.Fragment, { children: [!te && or.getElement(A), /*#__PURE__*/ (0, Q.jsx)(Nt, {
2025
- context: O,
2025
+ return /*#__PURE__*/ (0, Q.jsxs)(Z.Fragment, { children: [!A && or.getElement(O), /*#__PURE__*/ (0, Q.jsx)(Nt, {
2026
+ context: te,
2026
2027
  modal: !1,
2027
- disabled: !ne,
2028
- openInteractionType: P,
2028
+ disabled: !re,
2029
+ openInteractionType: ne,
2029
2030
  returnFocus: a,
2030
2031
  restoreFocus: !0,
2031
2032
  children: se
@@ -2040,13 +2041,13 @@ function pr(e) {
2040
2041
  return Vn(e.scrollHeight, e.clientHeight);
2041
2042
  }
2042
2043
  function mr(e) {
2043
- return d.getScale(e);
2044
+ return c.getScale(e);
2044
2045
  }
2045
2046
  function hr(e, t, n) {
2046
2047
  return e / n[t];
2047
2048
  }
2048
2049
  function gr(e, t) {
2049
- return De({
2050
+ return fe({
2050
2051
  x: hr(e.x, "x", t),
2051
2052
  y: hr(e.y, "y", t),
2052
2053
  width: hr(e.width, "x", t),
@@ -2074,7 +2075,7 @@ var yr = /*#__PURE__*/ Z.createContext(void 0);
2074
2075
  process.env.NODE_ENV !== "production" && (yr.displayName = "SelectItemContext");
2075
2076
  function br() {
2076
2077
  let e = Z.useContext(yr);
2077
- if (!e) throw Error(process.env.NODE_ENV === "production" ? oe(57) : "Base UI: SelectItemContext is missing. SelectItem parts must be placed within <Select.Item>.");
2078
+ if (!e) throw Error(process.env.NODE_ENV === "production" ? qe(57) : "Base UI: SelectItemContext is missing. SelectItem parts must be placed within <Select.Item>.");
2078
2079
  return e;
2079
2080
  }
2080
2081
  //#endregion
@@ -2084,32 +2085,32 @@ var xr = /*#__PURE__*/ Z.memo(/*#__PURE__*/ Z.forwardRef(function(e, t) {
2084
2085
  label: o,
2085
2086
  textRef: u,
2086
2087
  indexGuessBehavior: it.GuessFromOrder
2087
- }), { store: f, itemProps: p, setOpen: m, setValue: h, selectionRef: g, typingRef: _, valuesRef: y, multiple: b, selectedItemTextRef: x, disabled: ee, readOnly: C } = wn(), w = X(f, $.isActive, d.index), T = X(f, $.open), E = X(f, $.isSelected, a), D = X(f, $.isSelectedByFocus, d.index), O = X(f, $.isItemEqualToValue), k = d.index, A = k !== -1, te = Z.useRef(null);
2088
- j(() => {
2089
- if (!A) return;
2090
- let e = y.current;
2091
- return e[k] = a, () => {
2092
- delete e[k];
2088
+ }), { store: f, itemProps: p, setOpen: m, setValue: g, selectionRef: _, typingRef: y, valuesRef: b, multiple: x, selectedItemTextRef: S, disabled: ee, readOnly: C } = wn(), w = J(f, $.isActive, d.index), T = J(f, $.open), E = J(f, $.isSelected, a), te = J(f, $.isSelectedByFocus, d.index), D = J(f, $.isItemEqualToValue), O = d.index, k = O !== -1, A = Z.useRef(null);
2089
+ Y(() => {
2090
+ if (!k) return;
2091
+ let e = b.current;
2092
+ return e[O] = a, () => {
2093
+ delete e[O];
2093
2094
  };
2094
2095
  }, [
2095
- A,
2096
2096
  k,
2097
+ O,
2097
2098
  a,
2098
- y
2099
- ]), j(() => {
2100
- if (!A) return;
2099
+ b
2100
+ ]), Y(() => {
2101
+ if (!k) return;
2101
2102
  let e = f.state.value, t = e;
2102
- b && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 && On(a, t, O) && (f.set("selectedIndex", k), u.current && (x.current = u.current));
2103
+ x && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 && On(a, t, D) && (f.set("selectedIndex", O), u.current && (S.current = u.current));
2103
2104
  }, [
2104
- A,
2105
2105
  k,
2106
- b,
2107
2106
  O,
2107
+ x,
2108
+ D,
2108
2109
  f,
2109
2110
  a,
2110
- x
2111
+ S
2111
2112
  ]);
2112
- let M = Z.useRef(null), N = Z.useRef("mouse"), P = Z.useRef(!1), { getButtonProps: ne, buttonRef: re } = H({
2113
+ let j = Z.useRef(null), M = Z.useRef("mouse"), N = Z.useRef(!1), { getButtonProps: ne, buttonRef: re } = He({
2113
2114
  disabled: s,
2114
2115
  focusableWhenDisabled: !0,
2115
2116
  native: c,
@@ -2119,75 +2120,75 @@ var xr = /*#__PURE__*/ Z.memo(/*#__PURE__*/ Z.forwardRef(function(e, t) {
2119
2120
  selected: E,
2120
2121
  highlighted: w
2121
2122
  };
2122
- function F(e) {
2123
+ function P(e) {
2123
2124
  if (ee || C) return;
2124
2125
  let t = f.state.value;
2125
- if (b) {
2126
+ if (x) {
2126
2127
  let n = Array.isArray(t) ? t : [];
2127
- h(E ? jn(n, a, O) : [...n, a], S(v, e));
2128
- } else h(a, S(v, e)), m(!1, S(v, e));
2128
+ g(E ? jn(n, a, D) : [...n, a], v(h, e));
2129
+ } else g(a, v(h, e)), m(!1, v(h, e));
2129
2130
  }
2130
- function I() {
2131
- g.current.dragY = 0;
2131
+ function F() {
2132
+ _.current.dragY = 0;
2132
2133
  }
2133
- let L = {
2134
+ let I = {
2134
2135
  role: "option",
2135
2136
  "aria-selected": E,
2136
2137
  tabIndex: T && w ? 0 : -1,
2137
2138
  onKeyDown(e) {
2138
- M.current = e.key, f.set("activeIndex", k), e.key === " " && _.current && e.preventDefault();
2139
+ j.current = e.key, f.set("activeIndex", O), e.key === " " && y.current && e.preventDefault();
2139
2140
  },
2140
2141
  onClick(e) {
2141
- let t = e.type === "click" && N.current !== "touch", n = e.nativeEvent.pointerType, r = t && Ke(e.nativeEvent) && (n !== void 0 || w), i = t && !r && !P.current;
2142
- P.current = !1, !(e.type === "keydown" && M.current === null) && (s || e.type === "keydown" && M.current === " " && _.current || i || (M.current = null, F(e.nativeEvent)));
2142
+ let t = e.type === "click" && M.current !== "touch", n = e.nativeEvent.pointerType, r = t && Oe(e.nativeEvent) && (n !== void 0 || w), i = t && !r && !N.current;
2143
+ N.current = !1, !(e.type === "keydown" && j.current === null) && (s || e.type === "keydown" && j.current === " " && y.current || i || (j.current = null, P(e.nativeEvent)));
2143
2144
  },
2144
2145
  onPointerEnter(e) {
2145
- N.current = e.pointerType;
2146
+ M.current = e.pointerType;
2146
2147
  },
2147
2148
  onPointerMove(e) {
2148
2149
  if (e.pointerType === "mouse" && e.buttons === 1) {
2149
- let t = g.current;
2150
+ let t = _.current;
2150
2151
  t.dragY += e.movementY, t.dragY ** 2 >= 64 && (t.allowUnselectedMouseUp = !0);
2151
2152
  }
2152
2153
  },
2153
2154
  onPointerDown(e) {
2154
- N.current = e.pointerType, P.current = !0, I();
2155
+ M.current = e.pointerType, N.current = !0, F();
2155
2156
  },
2156
2157
  onMouseUp() {
2157
- if (I(), s || N.current === "touch" || P.current) return;
2158
- let e = !g.current.allowSelectedMouseUp && E, t = !g.current.allowUnselectedMouseUp && !E;
2159
- e || t || (P.current = !0, te.current?.click(), P.current = !1);
2158
+ if (F(), s || M.current === "touch" || N.current) return;
2159
+ let e = !_.current.allowSelectedMouseUp && E, t = !_.current.allowUnselectedMouseUp && !E;
2160
+ e || t || (N.current = !0, A.current?.click(), N.current = !1);
2160
2161
  }
2161
- }, R = ue("div", e, {
2162
+ }, ae = Be("div", e, {
2162
2163
  ref: [
2163
2164
  re,
2164
2165
  t,
2165
2166
  d.ref,
2166
- te
2167
+ A
2167
2168
  ],
2168
2169
  state: ie,
2169
2170
  props: [
2170
2171
  p,
2171
- L,
2172
+ I,
2172
2173
  l,
2173
2174
  ne
2174
2175
  ]
2175
- }), z = Z.useMemo(() => ({
2176
+ }), L = Z.useMemo(() => ({
2176
2177
  selected: E,
2177
- index: k,
2178
+ index: O,
2178
2179
  textRef: u,
2179
- selectedByFocus: D,
2180
- hasRegistered: A
2180
+ selectedByFocus: te,
2181
+ hasRegistered: k
2181
2182
  }), [
2182
2183
  E,
2183
- k,
2184
+ O,
2184
2185
  u,
2185
- D,
2186
- A
2186
+ te,
2187
+ k
2187
2188
  ]);
2188
2189
  return /*#__PURE__*/ (0, Q.jsx)(yr.Provider, {
2189
- value: z,
2190
- children: R
2190
+ value: L,
2191
+ children: ae
2191
2192
  });
2192
2193
  }));
2193
2194
  process.env.NODE_ENV !== "production" && (xr.displayName = "SelectItem");
@@ -2195,7 +2196,7 @@ process.env.NODE_ENV !== "production" && (xr.displayName = "SelectItem");
2195
2196
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/select/item-text/SelectItemText.mjs
2196
2197
  var Sr = /*#__PURE__*/ Z.memo(/*#__PURE__*/ Z.forwardRef(function(e, t) {
2197
2198
  let { index: n, textRef: r, selectedByFocus: i, hasRegistered: a } = br(), { firstItemTextRef: o, selectedItemTextRef: s } = wn(), { render: c, className: l, style: u, ...d } = e;
2198
- return ue("div", e, {
2199
+ return Be("div", e, {
2199
2200
  ref: [
2200
2201
  Z.useCallback((e) => {
2201
2202
  e && (a && n === 0 && (o.current = e), a && i && (s.current = e));
@@ -2259,7 +2260,7 @@ function Dr({ children: e, value: t, defaultValue: n, onValueChange: r, disabled
2259
2260
  });
2260
2261
  }
2261
2262
  Dr.displayName = "Select";
2262
- var Or = Xe([
2263
+ var Or = ze([
2263
2264
  "group inline-flex items-center justify-between gap-2 outline-none cursor-pointer",
2264
2265
  "text-[13px] h-9 px-3 min-w-[160px]",
2265
2266
  "transition-all duration-80",
@@ -2272,13 +2273,13 @@ var Or = Xe([
2272
2273
  } },
2273
2274
  defaultVariants: { variant: "bordered" }
2274
2275
  }), kr = (0, Z.forwardRef)(({ className: e, variant: t, icon: n, leading: r, placeholder: i = "Select…", error: a, ...o }, s) => {
2275
- let c = b();
2276
+ let c = Pe();
2276
2277
  return /* @__PURE__ */ (0, Q.jsxs)("div", {
2277
2278
  className: "flex flex-col gap-1",
2278
2279
  children: [/* @__PURE__ */ (0, Q.jsxs)(Jn, {
2279
2280
  ref: s,
2280
2281
  "aria-invalid": !!a || void 0,
2281
- className: A(Or({ variant: t }), c.input, a && "border-destructive/50 hover:border-destructive/50", e),
2282
+ className: Re(Or({ variant: t }), c.input, a && "border-destructive/50 hover:border-destructive/50", e),
2282
2283
  ...o,
2283
2284
  children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
2284
2285
  className: "flex items-center gap-2 min-w-0 flex-1",
@@ -2314,10 +2315,10 @@ var Or = Xe([
2314
2315
  });
2315
2316
  kr.displayName = "SelectTrigger";
2316
2317
  var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2317
- let { open: r, value: i, actionsRef: a } = wr(), o = b(), s = (0, Z.useRef)(null), { activeIndex: c, setActiveIndex: l, itemRects: u, sessionRef: d, handlers: f, registerItem: p, measureItems: m } = mn(s), [h, g] = (0, Z.useState)(null), [_, v] = (0, Z.useState)(void 0);
2318
+ let { open: r, value: i, actionsRef: a } = wr(), o = Pe(), s = (0, Z.useRef)(null), { activeIndex: c, setActiveIndex: l, itemRects: u, sessionRef: d, handlers: f, registerItem: p, measureItems: m } = mn(s), [h, g] = (0, Z.useState)(null), [_, v] = (0, Z.useState)(void 0);
2318
2319
  (0, Z.useEffect)(() => {
2319
2320
  if (r) return;
2320
- let e = setTimeout(() => a.current?.unmount(), ke(Re.fast));
2321
+ let e = setTimeout(() => a.current?.unmount(), me(Se.fast));
2321
2322
  return () => clearTimeout(e);
2322
2323
  }, [r, a]), (0, Z.useEffect)(() => {
2323
2324
  if (!r) return;
@@ -2339,7 +2340,7 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2339
2340
  m,
2340
2341
  i
2341
2342
  ]);
2342
- let y = c === null ? null : u[c], x = _ == null ? null : u[_], S = h === null ? null : u[h], ee = c !== null && c !== _, C = (0, Z.useMemo)(() => ({
2343
+ let y = c === null ? null : u[c], b = _ == null ? null : u[_], x = h === null ? null : u[h], S = c !== null && c !== _, ee = (0, Z.useMemo)(() => ({
2343
2344
  registerItem: p,
2344
2345
  activeIndex: c,
2345
2346
  checkedIndex: _
@@ -2354,7 +2355,7 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2354
2355
  sideOffset: 6,
2355
2356
  alignItemWithTrigger: !1,
2356
2357
  className: "z-50 outline-none",
2357
- children: /* @__PURE__ */ (0, Q.jsx)(pe.div, {
2358
+ children: /* @__PURE__ */ (0, Q.jsx)(z.div, {
2358
2359
  initial: {
2359
2360
  opacity: 0,
2360
2361
  y: -4,
@@ -2369,13 +2370,13 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2369
2370
  y: -4,
2370
2371
  scaleY: .96
2371
2372
  },
2372
- transition: r ? Re.fast : Re.fast.exit,
2373
+ transition: r ? Se.fast : Se.fast.exit,
2373
2374
  style: { transformOrigin: "top center" },
2374
2375
  onAnimationComplete: () => {
2375
2376
  r || a.current?.unmount();
2376
2377
  },
2377
2378
  children: /* @__PURE__ */ (0, Q.jsx)(Tr.Provider, {
2378
- value: C,
2379
+ value: ee,
2379
2380
  children: /* @__PURE__ */ (0, Q.jsxs)(dr, {
2380
2381
  render: /* @__PURE__ */ (0, Q.jsx)(xn, {
2381
2382
  offset: 2,
@@ -2399,35 +2400,35 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2399
2400
  onBlur: (e) => {
2400
2401
  s.current?.contains(e.relatedTarget) || (g(null), l(null));
2401
2402
  },
2402
- className: A(`relative flex flex-col gap-0.5 min-w-[var(--anchor-width)] max-h-[min(300px,var(--available-height))] overflow-y-auto ${o.container} p-1 select-none outline-none`, e),
2403
+ className: Re(`relative flex flex-col gap-0.5 min-w-[var(--anchor-width)] max-h-[min(300px,var(--available-height))] overflow-y-auto ${o.container} p-1 select-none outline-none`, e),
2403
2404
  children: [
2404
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: x && /* @__PURE__ */ (0, Q.jsx)(pe.div, {
2405
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: b && /* @__PURE__ */ (0, Q.jsx)(z.div, {
2405
2406
  className: `absolute ${o.bg} bg-active pointer-events-none`,
2406
2407
  initial: !1,
2407
2408
  animate: {
2408
- top: x.top,
2409
- left: x.left,
2410
- width: x.width,
2411
- height: x.height,
2412
- opacity: ee ? .8 : 1
2409
+ top: b.top,
2410
+ left: b.left,
2411
+ width: b.width,
2412
+ height: b.height,
2413
+ opacity: S ? .8 : 1
2413
2414
  },
2414
2415
  exit: {
2415
2416
  opacity: 0,
2416
- transition: Re.moderate.exit
2417
+ transition: Se.moderate.exit
2417
2418
  },
2418
2419
  transition: {
2419
- ...Re.moderate,
2420
+ ...Se.moderate,
2420
2421
  opacity: { duration: .08 }
2421
2422
  }
2422
2423
  }) }),
2423
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: y && /* @__PURE__ */ (0, Q.jsx)(pe.div, {
2424
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: y && /* @__PURE__ */ (0, Q.jsx)(z.div, {
2424
2425
  className: `absolute ${o.bg} bg-hover pointer-events-none`,
2425
2426
  initial: {
2426
2427
  opacity: 0,
2427
- top: x?.top ?? y.top,
2428
- left: x?.left ?? y.left,
2429
- width: x?.width ?? y.width,
2430
- height: x?.height ?? y.height
2428
+ top: b?.top ?? y.top,
2429
+ left: b?.left ?? y.left,
2430
+ width: b?.width ?? y.width,
2431
+ height: b?.height ?? y.height
2431
2432
  },
2432
2433
  animate: {
2433
2434
  opacity: 1,
@@ -2438,28 +2439,28 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2438
2439
  },
2439
2440
  exit: {
2440
2441
  opacity: 0,
2441
- transition: Re.fast.exit
2442
+ transition: Se.fast.exit
2442
2443
  },
2443
2444
  transition: {
2444
- ...Re.fast,
2445
+ ...Se.fast,
2445
2446
  opacity: { duration: .08 }
2446
2447
  }
2447
2448
  }, d.current) }),
2448
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: S && /* @__PURE__ */ (0, Q.jsx)(pe.div, {
2449
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: x && /* @__PURE__ */ (0, Q.jsx)(z.div, {
2449
2450
  className: `absolute ${o.focusRing} pointer-events-none z-20 border border-[color:var(--focus-ring,#6B97FF)]`,
2450
2451
  initial: !1,
2451
2452
  animate: {
2452
- left: S.left - 2,
2453
- top: S.top - 2,
2454
- width: S.width + 4,
2455
- height: S.height + 4
2453
+ left: x.left - 2,
2454
+ top: x.top - 2,
2455
+ width: x.width + 4,
2456
+ height: x.height + 4
2456
2457
  },
2457
2458
  exit: {
2458
2459
  opacity: 0,
2459
- transition: Re.fast.exit
2460
+ transition: Se.fast.exit
2460
2461
  },
2461
2462
  transition: {
2462
- ...Re.fast,
2463
+ ...Se.fast,
2463
2464
  opacity: { duration: .08 }
2464
2465
  }
2465
2466
  }) }),
@@ -2472,7 +2473,7 @@ var Ar = (0, Z.forwardRef)(({ className: e, children: t }, n) => {
2472
2473
  });
2473
2474
  Ar.displayName = "SelectContent";
2474
2475
  var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, index: i, disabled: a = !1, ...o }, s) => {
2475
- let c = wr(), l = (0, Z.useContext)(Tr), u = (0, Z.useRef)(null), d = b(), f = (0, Z.useRef)(!1);
2476
+ let c = wr(), l = (0, Z.useContext)(Tr), u = (0, Z.useRef)(null), d = Pe(), f = (0, Z.useRef)(!1);
2476
2477
  (0, Z.useEffect)(() => {
2477
2478
  f.current = !0;
2478
2479
  }, []), (0, Z.useEffect)(() => (l?.registerItem(i, u.current), () => l?.registerItem(i, null)), [i, l]);
@@ -2487,7 +2488,7 @@ var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, inde
2487
2488
  },
2488
2489
  "data-proximity-index": i,
2489
2490
  "data-value": r,
2490
- className: A(`relative z-10 flex h-9 items-center gap-2 ${d.item} px-2 text-[13px] cursor-pointer outline-none select-none`, "transition-[color] duration-80", p || m ? "text-foreground" : "text-muted-foreground", a && "opacity-50 pointer-events-none", e),
2491
+ className: Re(`relative z-10 flex h-9 items-center gap-2 ${d.item} px-2 text-[13px] cursor-pointer outline-none select-none`, "transition-[color] duration-80", p || m ? "text-foreground" : "text-muted-foreground", a && "opacity-50 pointer-events-none", e),
2491
2492
  ...o
2492
2493
  }),
2493
2494
  children: [
@@ -2500,7 +2501,7 @@ var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, inde
2500
2501
  render: /* @__PURE__ */ (0, Q.jsx)("span", { className: "flex-1 min-w-0 truncate [text-box:trim-both_cap_alphabetic] py-1 -my-1" }),
2501
2502
  children: t
2502
2503
  }),
2503
- /* @__PURE__ */ (0, Q.jsx)(rt, { children: m && /* @__PURE__ */ (0, Q.jsx)(pe.svg, {
2504
+ /* @__PURE__ */ (0, Q.jsx)(rt, { children: m && /* @__PURE__ */ (0, Q.jsx)(z.svg, {
2504
2505
  width: 16,
2505
2506
  height: 16,
2506
2507
  viewBox: "0 0 24 24",
@@ -2513,7 +2514,7 @@ var jr = (0, Z.forwardRef)(({ className: e, children: t, icon: n, value: r, inde
2513
2514
  initial: { opacity: 1 },
2514
2515
  animate: { opacity: 1 },
2515
2516
  exit: { opacity: 1 },
2516
- children: /* @__PURE__ */ (0, Q.jsx)(pe.path, {
2517
+ children: /* @__PURE__ */ (0, Q.jsx)(z.path, {
2517
2518
  d: "M4 12L9 17L20 6",
2518
2519
  initial: { pathLength: +!!h },
2519
2520
  animate: {
@@ -2547,14 +2548,14 @@ function Mr({ children: e, className: t, ...n }) {
2547
2548
  Mr.displayName = "SelectGroup";
2548
2549
  var Nr = (0, Z.forwardRef)(({ className: e, ...t }, n) => /* @__PURE__ */ (0, Q.jsx)("div", {
2549
2550
  ref: n,
2550
- className: A("px-2 py-1.5 text-[11px] text-muted-foreground", e),
2551
+ className: Re("px-2 py-1.5 text-[11px] text-muted-foreground", e),
2551
2552
  ...t
2552
2553
  }));
2553
2554
  Nr.displayName = "SelectLabel";
2554
2555
  var Pr = (0, Z.forwardRef)(({ className: e, ...t }, n) => /* @__PURE__ */ (0, Q.jsx)("div", {
2555
2556
  ref: n,
2556
2557
  role: "separator",
2557
- className: A("my-1 -mx-1 h-px bg-border/60", e),
2558
+ className: Re("my-1 -mx-1 h-px bg-border/60", e),
2558
2559
  ...t
2559
2560
  }));
2560
2561
  Pr.displayName = "SelectSeparator";